From a943aa609eb26f6bdc499dc5fe03e5944c63aa17 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 30 Jul 2025 10:25:46 -0700 Subject: [PATCH 01/12] Adding summary to all local activity execution functions --- temporalio/worker/_interceptor.py | 2 ++ temporalio/worker/_workflow_instance.py | 10 +++--- temporalio/workflow.py | 47 +++++++++++++++++++++++++ tests/worker/test_workflow.py | 1 + 4 files changed, 56 insertions(+), 4 deletions(-) diff --git a/temporalio/worker/_interceptor.py b/temporalio/worker/_interceptor.py index 358d34090..7119b0665 100644 --- a/temporalio/worker/_interceptor.py +++ b/temporalio/worker/_interceptor.py @@ -352,6 +352,8 @@ class StartLocalActivityInput: local_retry_threshold: Optional[timedelta] cancellation_type: temporalio.workflow.ActivityCancellationType headers: Mapping[str, temporalio.api.common.v1.Payload] + summary: Optional[str] + # The types may be absent arg_types: Optional[List[Type]] ret_type: Optional[Type] diff --git a/temporalio/worker/_workflow_instance.py b/temporalio/worker/_workflow_instance.py index c93155672..a5d9cda18 100644 --- a/temporalio/worker/_workflow_instance.py +++ b/temporalio/worker/_workflow_instance.py @@ -1464,6 +1464,7 @@ def workflow_start_local_activity( local_retry_threshold: Optional[timedelta], cancellation_type: temporalio.workflow.ActivityCancellationType, activity_id: Optional[str], + summary: Optional[str], ) -> temporalio.workflow.ActivityHandle[Any]: # Get activity definition if it's callable name: str @@ -1496,6 +1497,7 @@ def workflow_start_local_activity( retry_policy=retry_policy, local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, + summary=summary, headers={}, arg_types=arg_types, ret_type=ret_type, @@ -2766,6 +2768,10 @@ def _apply_schedule_command( v.start_to_close_timeout.FromTimedelta(self._input.start_to_close_timeout) if self._input.retry_policy: self._input.retry_policy.apply_to_proto(v.retry_policy) + if self._input.summary: + command.user_metadata.summary.CopyFrom( + self._instance._payload_converter.to_payload(self._input.summary) + ) v.cancellation_type = cast( temporalio.bridge.proto.workflow_commands.ActivityCancellationType.ValueType, int(self._input.cancellation_type), @@ -2787,10 +2793,6 @@ def _apply_schedule_command( command.schedule_activity.versioning_intent = ( self._input.versioning_intent._to_proto() ) - if self._input.summary: - command.user_metadata.summary.CopyFrom( - self._instance._payload_converter.to_payload(self._input.summary) - ) if self._input.priority: command.schedule_activity.priority.CopyFrom( self._input.priority._to_proto() diff --git a/temporalio/workflow.py b/temporalio/workflow.py index 423d5289b..497219424 100644 --- a/temporalio/workflow.py +++ b/temporalio/workflow.py @@ -850,6 +850,7 @@ def workflow_start_local_activity( local_retry_threshold: Optional[timedelta], cancellation_type: ActivityCancellationType, activity_id: Optional[str], + summary: Optional[str], ) -> ActivityHandle[Any]: ... @abstractmethod @@ -3073,6 +3074,7 @@ class LocalActivityConfig(TypedDict, total=False): local_retry_threshold: Optional[timedelta] cancellation_type: ActivityCancellationType activity_id: Optional[str] + summary: Optional[str] # Overload for async no-param activity @@ -3087,6 +3089,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3102,6 +3105,7 @@ def start_local_activity( retry_policy: Optional[temporalio.common.RetryPolicy] = None, local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3118,6 +3122,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3134,6 +3139,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3150,6 +3156,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3166,6 +3173,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3184,6 +3192,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[Any]: ... @@ -3200,6 +3209,7 @@ def start_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[Any]: """Start a local activity and return its handle. @@ -3227,6 +3237,7 @@ def start_local_activity( activity_id: Optional unique identifier for the activity. This is an advanced setting that should not be set unless users are sure they need to. Contact Temporal before setting this value. + summary: Optional summary for the activity. Returns: An activity handle to the activity which is an async task. @@ -3242,6 +3253,7 @@ def start_local_activity( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) @@ -3257,6 +3269,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3272,6 +3285,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3288,6 +3302,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3304,6 +3319,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3320,6 +3336,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3336,6 +3353,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3354,6 +3372,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> Any: ... @@ -3370,6 +3389,7 @@ async def execute_local_activity( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> Any: """Start a local activity and wait for completion. @@ -3388,6 +3408,7 @@ async def execute_local_activity( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) @@ -3497,6 +3518,7 @@ def start_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[Any]: """Start a local activity from a callable class. @@ -3513,6 +3535,7 @@ def start_local_activity_class( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) @@ -3528,6 +3551,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3543,6 +3567,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3559,6 +3584,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3575,6 +3601,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3591,6 +3618,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3607,6 +3635,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3622,6 +3651,7 @@ async def execute_local_activity_class( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> Any: """Start a local activity from a callable class and wait for completion. @@ -3640,6 +3670,7 @@ async def execute_local_activity_class( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) @@ -3655,6 +3686,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3670,6 +3702,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3686,6 +3719,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3702,6 +3736,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3718,6 +3753,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3734,6 +3770,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[ReturnType]: ... @@ -3749,6 +3786,7 @@ def start_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ActivityHandle[Any]: """Start a local activity from a method. @@ -3765,6 +3803,7 @@ def start_local_activity_method( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) @@ -3780,6 +3819,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3795,6 +3835,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3811,6 +3852,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3827,6 +3869,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3843,6 +3886,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3859,6 +3903,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> ReturnType: ... @@ -3874,6 +3919,7 @@ async def execute_local_activity_method( local_retry_threshold: Optional[timedelta] = None, cancellation_type: ActivityCancellationType = ActivityCancellationType.TRY_CANCEL, activity_id: Optional[str] = None, + summary: Optional[str] = None, ) -> Any: """Start a local activity from a method and wait for completion. @@ -3892,6 +3938,7 @@ async def execute_local_activity_method( local_retry_threshold=local_retry_threshold, cancellation_type=cancellation_type, activity_id=activity_id, + summary=summary, ) diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index e97bf3e02..f405bc80a 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2565,6 +2565,7 @@ async def run(self) -> None: local_activity_config = workflow.LocalActivityConfig( retry_policy=retry_policy, schedule_to_close_timeout=timedelta(seconds=5), + summary="Summary", ) result = await workflow.execute_local_activity( fail_until_attempt_activity, 2, **local_activity_config From 2e75c6a4b3237ea0604a745f882b22364ab4bd23 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 27 Aug 2025 11:34:47 -0700 Subject: [PATCH 02/12] Add summary to LocalActivityConfig --- temporalio/bridge/sdk-core | 2 +- tests/worker/test_workflow.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 199880d2f..d34c1d6d3 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c +Subproject commit d34c1d6d393462a816baf2469c256a21ffbaf196 diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index f405bc80a..67c48e3f3 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2589,12 +2589,22 @@ async def test_workflow_typed_config(client: Client): FailUntilAttemptWorkflow, activities=[fail_until_attempt_activity], ) as worker: - await client.execute_workflow( + handle = await client.start_workflow( TypedConfigWorkflow.run, id=f"workflow-{uuid.uuid4()}", task_queue=worker.task_queue, ) + await handle.result() + # Check that summary showed up in history + found_marker = False + async for e in handle.fetch_history_events(): + if e.HasField("marker_recorded_event_attributes"): + print("SUMMARY:", e.user_metadata.summary) + assert b'"Summary"' == e.user_metadata.summary.data + found_marker = True + break + assert found_marker @activity.defn async def fail_until_attempt_activity(until_attempt: int) -> str: From ce5d3fe4819d50ed816174c564b47422e9f5248f Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 28 Aug 2025 08:06:03 -0700 Subject: [PATCH 03/12] Linting --- temporalio/bridge/sdk-core | 2 +- tests/worker/test_workflow.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index d34c1d6d3..199880d2f 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit d34c1d6d393462a816baf2469c256a21ffbaf196 +Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index 67c48e3f3..ee5aebd18 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2606,6 +2606,7 @@ async def test_workflow_typed_config(client: Client): break assert found_marker + @activity.defn async def fail_until_attempt_activity(until_attempt: int) -> str: if activity.info().attempt < until_attempt: From 420f18f906b467b30e06a0532a64aa4bf39719ff Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 28 Aug 2025 11:28:16 -0700 Subject: [PATCH 04/12] Update Core --- temporalio/bridge/sdk-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 199880d2f..e9a0d8416 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c +Subproject commit e9a0d8416109560d66ca6af47c9932c8598ce05e From cf55cc0d515d12e0c2dd2d33d8034d9ef4953fd2 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 3 Sep 2025 08:55:02 -0700 Subject: [PATCH 05/12] Remove print --- temporalio/bridge/sdk-core | 2 +- tests/worker/test_workflow.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index e9a0d8416..199880d2f 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit e9a0d8416109560d66ca6af47c9932c8598ce05e +Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index ee5aebd18..351fa577c 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2600,7 +2600,6 @@ async def test_workflow_typed_config(client: Client): found_marker = False async for e in handle.fetch_history_events(): if e.HasField("marker_recorded_event_attributes"): - print("SUMMARY:", e.user_metadata.summary) assert b'"Summary"' == e.user_metadata.summary.data found_marker = True break From 5e41582136dc7f987146d077007780210f835117 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 3 Sep 2025 11:17:32 -0700 Subject: [PATCH 06/12] Revert "Remove print" This reverts commit cf55cc0d515d12e0c2dd2d33d8034d9ef4953fd2. --- temporalio/bridge/sdk-core | 2 +- tests/worker/test_workflow.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 199880d2f..e9a0d8416 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c +Subproject commit e9a0d8416109560d66ca6af47c9932c8598ce05e diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index 351fa577c..ee5aebd18 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2600,6 +2600,7 @@ async def test_workflow_typed_config(client: Client): found_marker = False async for e in handle.fetch_history_events(): if e.HasField("marker_recorded_event_attributes"): + print("SUMMARY:", e.user_metadata.summary) assert b'"Summary"' == e.user_metadata.summary.data found_marker = True break From 05ab51ef64db47a37814936bb887e85aeb494acd Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 3 Sep 2025 11:18:02 -0700 Subject: [PATCH 07/12] Remove print --- tests/worker/test_workflow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index ee5aebd18..351fa577c 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -2600,7 +2600,6 @@ async def test_workflow_typed_config(client: Client): found_marker = False async for e in handle.fetch_history_events(): if e.HasField("marker_recorded_event_attributes"): - print("SUMMARY:", e.user_metadata.summary) assert b'"Summary"' == e.user_metadata.summary.data found_marker = True break From b3b8c46e551d6294e2a3d20d6d9aa2473607b099 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 4 Sep 2025 08:39:54 -0700 Subject: [PATCH 08/12] Redo core update --- temporalio/bridge/sdk-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 199880d2f..4614dcb8f 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c +Subproject commit 4614dcb8f4ffd2cb244eb0a19d7485c896e3459e From d08faab2a91d06e933fe1a891a840e7b5df91753 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 4 Sep 2025 11:48:17 -0700 Subject: [PATCH 09/12] Update core --- temporalio/bridge/sdk-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 199880d2f..4614dcb8f 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 199880d2f5673895e6437bc39a031243c7b7861c +Subproject commit 4614dcb8f4ffd2cb244eb0a19d7485c896e3459e From 0fa6b415caf5fde05219280bee06b90ce95087b4 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 4 Sep 2025 13:13:41 -0700 Subject: [PATCH 10/12] Update protos --- temporalio/api/activity/v1/message_pb2.py | 46 +- temporalio/api/activity/v1/message_pb2.pyi | 41 +- temporalio/api/batch/v1/__init__.py | 24 +- temporalio/api/batch/v1/message_pb2.py | 288 +- temporalio/api/batch/v1/message_pb2.pyi | 273 +- temporalio/api/cloud/account/v1/__init__.py | 5 +- .../api/cloud/account/v1/message_pb2.py | 97 +- .../api/cloud/account/v1/message_pb2.pyi | 47 +- .../api/cloud/cloudservice/v1/__init__.py | 246 +- .../cloudservice/v1/request_response_pb2.py | 2516 +++----- .../cloudservice/v1/request_response_pb2.pyi | 1669 +---- .../v1/request_response_pb2_grpc.py | 2 +- .../api/cloud/cloudservice/v1/service_pb2.py | 416 +- .../api/cloud/cloudservice/v1/service_pb2.pyi | 1 - .../cloud/cloudservice/v1/service_pb2_grpc.py | 3417 +++++------ .../cloudservice/v1/service_pb2_grpc.pyi | 19 +- .../api/cloud/connectivityrule/v1/__init__.py | 10 +- .../cloud/connectivityrule/v1/message_pb2.py | 96 +- .../cloud/connectivityrule/v1/message_pb2.pyi | 71 +- temporalio/api/cloud/identity/v1/__init__.py | 40 +- .../api/cloud/identity/v1/message_pb2.py | 453 +- .../api/cloud/identity/v1/message_pb2.pyi | 376 +- temporalio/api/cloud/namespace/v1/__init__.py | 32 +- .../api/cloud/namespace/v1/message_pb2.py | 516 +- .../api/cloud/namespace/v1/message_pb2.pyi | 427 +- temporalio/api/cloud/nexus/v1/__init__.py | 14 +- temporalio/api/cloud/nexus/v1/message_pb2.py | 148 +- temporalio/api/cloud/nexus/v1/message_pb2.pyi | 129 +- .../api/cloud/operation/v1/message_pb2.py | 49 +- .../api/cloud/operation/v1/message_pb2.pyi | 51 +- temporalio/api/cloud/region/v1/message_pb2.py | 46 +- .../api/cloud/region/v1/message_pb2.pyi | 29 +- .../api/cloud/resource/v1/message_pb2.py | 21 +- .../api/cloud/resource/v1/message_pb2.pyi | 13 +- temporalio/api/cloud/sink/v1/__init__.py | 3 +- temporalio/api/cloud/sink/v1/message_pb2.py | 54 +- temporalio/api/cloud/sink/v1/message_pb2.pyi | 34 +- temporalio/api/cloud/usage/v1/__init__.py | 16 +- temporalio/api/cloud/usage/v1/message_pb2.py | 112 +- temporalio/api/cloud/usage/v1/message_pb2.pyi | 78 +- temporalio/api/command/v1/__init__.py | 38 +- temporalio/api/command/v1/message_pb2.py | 538 +- temporalio/api/command/v1/message_pb2.pyi | 726 +-- temporalio/api/common/v1/__init__.py | 38 +- temporalio/api/common/v1/grpc_status_pb2.py | 35 +- temporalio/api/common/v1/grpc_status_pb2.pyi | 17 +- temporalio/api/common/v1/message_pb2.py | 664 +- temporalio/api/common/v1/message_pb2.pyi | 387 +- temporalio/api/deployment/v1/__init__.py | 24 +- temporalio/api/deployment/v1/message_pb2.py | 426 +- temporalio/api/deployment/v1/message_pb2.pyi | 442 +- temporalio/api/enums/v1/__init__.py | 103 +- .../api/enums/v1/batch_operation_pb2.py | 27 +- .../api/enums/v1/batch_operation_pb2.pyi | 28 +- temporalio/api/enums/v1/command_type_pb2.py | 21 +- temporalio/api/enums/v1/command_type_pb2.pyi | 11 +- temporalio/api/enums/v1/common_pb2.py | 81 +- temporalio/api/enums/v1/common_pb2.pyi | 154 +- temporalio/api/enums/v1/deployment_pb2.py | 45 +- temporalio/api/enums/v1/deployment_pb2.pyi | 83 +- temporalio/api/enums/v1/event_type_pb2.py | 21 +- temporalio/api/enums/v1/event_type_pb2.pyi | 23 +- temporalio/api/enums/v1/failed_cause_pb2.py | 73 +- temporalio/api/enums/v1/failed_cause_pb2.pyi | 419 +- temporalio/api/enums/v1/namespace_pb2.py | 33 +- temporalio/api/enums/v1/namespace_pb2.pyi | 31 +- temporalio/api/enums/v1/nexus_pb2.py | 27 +- temporalio/api/enums/v1/nexus_pb2.pyi | 42 +- temporalio/api/enums/v1/query_pb2.py | 27 +- temporalio/api/enums/v1/query_pb2.pyi | 24 +- temporalio/api/enums/v1/reset_pb2.py | 41 +- temporalio/api/enums/v1/reset_pb2.pyi | 29 +- temporalio/api/enums/v1/schedule_pb2.py | 21 +- temporalio/api/enums/v1/schedule_pb2.pyi | 17 +- temporalio/api/enums/v1/task_queue_pb2.py | 51 +- temporalio/api/enums/v1/task_queue_pb2.pyi | 60 +- temporalio/api/enums/v1/update_pb2.py | 39 +- temporalio/api/enums/v1/update_pb2.pyi | 61 +- temporalio/api/enums/v1/workflow_pb2.py | 81 +- temporalio/api/enums/v1/workflow_pb2.pyi | 129 +- temporalio/api/errordetails/v1/__init__.py | 36 +- temporalio/api/errordetails/v1/message_pb2.py | 418 +- .../api/errordetails/v1/message_pb2.pyi | 158 +- temporalio/api/export/v1/__init__.py | 3 +- temporalio/api/export/v1/message_pb2.py | 57 +- temporalio/api/export/v1/message_pb2.pyi | 25 +- temporalio/api/failure/v1/__init__.py | 26 +- temporalio/api/failure/v1/message_pb2.py | 286 +- temporalio/api/failure/v1/message_pb2.pyi | 273 +- temporalio/api/filter/v1/__init__.py | 10 +- temporalio/api/filter/v1/message_pb2.py | 96 +- temporalio/api/filter/v1/message_pb2.pyi | 34 +- temporalio/api/history/v1/__init__.py | 120 +- temporalio/api/history/v1/message_pb2.py | 1698 ++---- temporalio/api/history/v1/message_pb2.pyi | 2703 ++------ temporalio/api/namespace/v1/__init__.py | 14 +- temporalio/api/namespace/v1/message_pb2.py | 270 +- temporalio/api/namespace/v1/message_pb2.pyi | 174 +- temporalio/api/nexus/v1/__init__.py | 28 +- temporalio/api/nexus/v1/message_pb2.py | 470 +- temporalio/api/nexus/v1/message_pb2.pyi | 326 +- temporalio/api/operatorservice/v1/__init__.py | 72 +- .../v1/request_response_pb2.py | 674 +- .../v1/request_response_pb2.pyi | 262 +- .../v1/request_response_pb2_grpc.py | 2 +- .../api/operatorservice/v1/service_pb2.py | 58 +- .../api/operatorservice/v1/service_pb2.pyi | 1 - .../operatorservice/v1/service_pb2_grpc.py | 727 +-- .../operatorservice/v1/service_pb2_grpc.pyi | 11 +- temporalio/api/protocol/v1/message_pb2.py | 37 +- temporalio/api/protocol/v1/message_pb2.pyi | 42 +- temporalio/api/query/v1/__init__.py | 4 +- temporalio/api/query/v1/message_pb2.py | 89 +- temporalio/api/query/v1/message_pb2.pyi | 49 +- temporalio/api/replication/v1/__init__.py | 8 +- temporalio/api/replication/v1/message_pb2.py | 78 +- temporalio/api/replication/v1/message_pb2.pyi | 41 +- temporalio/api/rules/v1/__init__.py | 4 +- temporalio/api/rules/v1/message_pb2.py | 121 +- temporalio/api/rules/v1/message_pb2.pyi | 87 +- temporalio/api/schedule/v1/__init__.py | 34 +- temporalio/api/schedule/v1/message_pb2.py | 368 +- temporalio/api/schedule/v1/message_pb2.pyi | 510 +- temporalio/api/sdk/v1/__init__.py | 22 +- .../api/sdk/v1/enhanced_stack_trace_pb2.py | 142 +- .../api/sdk/v1/enhanced_stack_trace_pb2.pyi | 82 +- .../api/sdk/v1/task_complete_metadata_pb2.py | 36 +- .../api/sdk/v1/task_complete_metadata_pb2.pyi | 26 +- temporalio/api/sdk/v1/user_metadata_pb2.py | 37 +- temporalio/api/sdk/v1/user_metadata_pb2.pyi | 19 +- temporalio/api/sdk/v1/worker_config_pb2.py | 82 +- temporalio/api/sdk/v1/worker_config_pb2.pyi | 63 +- .../api/sdk/v1/workflow_metadata_pb2.py | 76 +- .../api/sdk/v1/workflow_metadata_pb2.pyi | 69 +- temporalio/api/taskqueue/v1/__init__.py | 52 +- temporalio/api/taskqueue/v1/message_pb2.py | 590 +- temporalio/api/taskqueue/v1/message_pb2.pyi | 427 +- temporalio/api/testservice/v1/__init__.py | 34 +- .../testservice/v1/request_response_pb2.py | 181 +- .../testservice/v1/request_response_pb2.pyi | 28 +- .../v1/request_response_pb2_grpc.py | 2 +- temporalio/api/testservice/v1/service_pb2.py | 22 +- temporalio/api/testservice/v1/service_pb2.pyi | 1 - .../api/testservice/v1/service_pb2_grpc.py | 360 +- .../api/testservice/v1/service_pb2_grpc.pyi | 7 +- temporalio/api/update/v1/__init__.py | 20 +- temporalio/api/update/v1/message_pb2.py | 211 +- temporalio/api/update/v1/message_pb2.pyi | 124 +- temporalio/api/version/v1/__init__.py | 4 +- temporalio/api/version/v1/message_pb2.py | 76 +- temporalio/api/version/v1/message_pb2.pyi | 57 +- temporalio/api/worker/v1/__init__.py | 14 +- temporalio/api/worker/v1/message_pb2.py | 140 +- temporalio/api/worker/v1/message_pb2.pyi | 175 +- temporalio/api/workflow/v1/__init__.py | 42 +- temporalio/api/workflow/v1/message_pb2.py | 794 +-- temporalio/api/workflow/v1/message_pb2.pyi | 1025 +--- temporalio/api/workflowservice/v1/__init__.py | 390 +- .../v1/request_response_pb2.py | 5078 ++++++--------- .../v1/request_response_pb2.pyi | 5153 +++------------- .../v1/request_response_pb2_grpc.py | 2 +- .../api/workflowservice/v1/service_pb2.py | 466 +- .../api/workflowservice/v1/service_pb2.pyi | 1 - .../workflowservice/v1/service_pb2_grpc.py | 5433 +++++++---------- .../workflowservice/v1/service_pb2_grpc.pyi | 45 +- temporalio/bridge/proto/__init__.py | 14 +- .../bridge/proto/activity_result/__init__.py | 16 +- .../activity_result/activity_result_pb2.py | 168 +- .../activity_result/activity_result_pb2.pyi | 130 +- .../bridge/proto/activity_task/__init__.py | 12 +- .../proto/activity_task/activity_task_pb2.py | 137 +- .../proto/activity_task/activity_task_pb2.pyi | 188 +- .../bridge/proto/child_workflow/__init__.py | 16 +- .../child_workflow/child_workflow_pb2.py | 138 +- .../child_workflow/child_workflow_pb2.pyi | 116 +- temporalio/bridge/proto/common/__init__.py | 8 +- temporalio/bridge/proto/common/common_pb2.py | 64 +- temporalio/bridge/proto/common/common_pb2.pyi | 32 +- temporalio/bridge/proto/core_interface_pb2.py | 166 +- .../bridge/proto/core_interface_pb2.pyi | 61 +- .../bridge/proto/external_data/__init__.py | 3 +- .../proto/external_data/external_data_pb2.py | 59 +- .../proto/external_data/external_data_pb2.pyi | 41 +- temporalio/bridge/proto/health/v1/__init__.py | 3 +- .../bridge/proto/health/v1/health_pb2.py | 72 +- .../bridge/proto/health/v1/health_pb2.pyi | 21 +- temporalio/bridge/proto/nexus/__init__.py | 14 +- temporalio/bridge/proto/nexus/nexus_pb2.py | 134 +- temporalio/bridge/proto/nexus/nexus_pb2.pyi | 135 +- .../proto/workflow_activation/__init__.py | 44 +- .../workflow_activation_pb2.py | 602 +- .../workflow_activation_pb2.pyi | 697 +-- .../proto/workflow_commands/__init__.py | 52 +- .../workflow_commands_pb2.py | 859 ++- .../workflow_commands_pb2.pyi | 936 +-- .../proto/workflow_completion/__init__.py | 4 +- .../workflow_completion_pb2.py | 97 +- .../workflow_completion_pb2.pyi | 76 +- 198 files changed, 16227 insertions(+), 38062 deletions(-) diff --git a/temporalio/api/activity/v1/message_pb2.py b/temporalio/api/activity/v1/message_pb2.py index 58f1d95cb..cb99baef7 100644 --- a/temporalio/api/activity/v1/message_pb2.py +++ b/temporalio/api/activity/v1/message_pb2.py @@ -2,47 +2,37 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/activity/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a$temporal/api/common/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x02\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicyB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3" -) - - -_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name["ActivityOptions"] -ActivityOptions = _reflection.GeneratedProtocolMessageType( - "ActivityOptions", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYOPTIONS, - "__module__": "temporal.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a$temporal/api/common/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x02\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicyB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3') + + + +_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name['ActivityOptions'] +ActivityOptions = _reflection.GeneratedProtocolMessageType('ActivityOptions', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYOPTIONS, + '__module__' : 'temporal.api.activity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) + }) _sym_db.RegisterMessage(ActivityOptions) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" - _ACTIVITYOPTIONS._serialized_start = 180 - _ACTIVITYOPTIONS._serialized_end = 551 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z\'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1' + _ACTIVITYOPTIONS._serialized_start=180 + _ACTIVITYOPTIONS._serialized_end=551 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/activity/v1/message_pb2.pyi b/temporalio/api/activity/v1/message_pb2.pyi index 373c5f18f..0ef6d04ca 100644 --- a/temporalio/api/activity/v1/message_pb2.pyi +++ b/temporalio/api/activity/v1/message_pb2.pyi @@ -2,14 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.taskqueue.v1.message_pb2 @@ -73,39 +70,7 @@ class ActivityOptions(google.protobuf.message.Message): heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "heartbeat_timeout", - b"heartbeat_timeout", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "heartbeat_timeout", - b"heartbeat_timeout", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> None: ... global___ActivityOptions = ActivityOptions diff --git a/temporalio/api/batch/v1/__init__.py b/temporalio/api/batch/v1/__init__.py index 5ec8ad63a..515a5c498 100644 --- a/temporalio/api/batch/v1/__init__.py +++ b/temporalio/api/batch/v1/__init__.py @@ -1,16 +1,14 @@ -from .message_pb2 import ( - BatchOperationCancellation, - BatchOperationDeletion, - BatchOperationInfo, - BatchOperationReset, - BatchOperationResetActivities, - BatchOperationSignal, - BatchOperationTermination, - BatchOperationTriggerWorkflowRule, - BatchOperationUnpauseActivities, - BatchOperationUpdateActivityOptions, - BatchOperationUpdateWorkflowExecutionOptions, -) +from .message_pb2 import BatchOperationInfo +from .message_pb2 import BatchOperationTermination +from .message_pb2 import BatchOperationSignal +from .message_pb2 import BatchOperationCancellation +from .message_pb2 import BatchOperationDeletion +from .message_pb2 import BatchOperationReset +from .message_pb2 import BatchOperationUpdateWorkflowExecutionOptions +from .message_pb2 import BatchOperationUnpauseActivities +from .message_pb2 import BatchOperationTriggerWorkflowRule +from .message_pb2 import BatchOperationResetActivities +from .message_pb2 import BatchOperationUpdateActivityOptions __all__ = [ "BatchOperationCancellation", diff --git a/temporalio/api/batch/v1/message_pb2.py b/temporalio/api/batch/v1/message_pb2.py index 6e412e7bd..bda35f879 100644 --- a/temporalio/api/batch/v1/message_pb2.py +++ b/temporalio/api/batch/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/batch/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,206 +15,134 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.activity.v1 import ( - message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, -) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, -) -from temporalio.api.enums.v1 import ( - reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, -) -from temporalio.api.rules.v1 import ( - message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, -) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3' -) - - -_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name["BatchOperationInfo"] -_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name[ - "BatchOperationTermination" -] -_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name["BatchOperationSignal"] -_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name[ - "BatchOperationCancellation" -] -_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name["BatchOperationDeletion"] -_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name["BatchOperationReset"] -_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name[ - "BatchOperationUpdateWorkflowExecutionOptions" -] -_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name[ - "BatchOperationUnpauseActivities" -] -_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name[ - "BatchOperationTriggerWorkflowRule" -] -_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name[ - "BatchOperationResetActivities" -] -_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name[ - "BatchOperationUpdateActivityOptions" -] -BatchOperationInfo = _reflection.GeneratedProtocolMessageType( - "BatchOperationInfo", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONINFO, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) - }, -) +from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2 +from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 +from temporalio.api.rules.v1 import message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2 +from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t\"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t\".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t\"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t\"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule\"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3') + + + +_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name['BatchOperationInfo'] +_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name['BatchOperationTermination'] +_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name['BatchOperationSignal'] +_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name['BatchOperationCancellation'] +_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name['BatchOperationDeletion'] +_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name['BatchOperationReset'] +_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name['BatchOperationUpdateWorkflowExecutionOptions'] +_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name['BatchOperationUnpauseActivities'] +_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name['BatchOperationTriggerWorkflowRule'] +_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name['BatchOperationResetActivities'] +_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name['BatchOperationUpdateActivityOptions'] +BatchOperationInfo = _reflection.GeneratedProtocolMessageType('BatchOperationInfo', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONINFO, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) + }) _sym_db.RegisterMessage(BatchOperationInfo) -BatchOperationTermination = _reflection.GeneratedProtocolMessageType( - "BatchOperationTermination", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONTERMINATION, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) - }, -) +BatchOperationTermination = _reflection.GeneratedProtocolMessageType('BatchOperationTermination', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONTERMINATION, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) + }) _sym_db.RegisterMessage(BatchOperationTermination) -BatchOperationSignal = _reflection.GeneratedProtocolMessageType( - "BatchOperationSignal", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONSIGNAL, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) - }, -) +BatchOperationSignal = _reflection.GeneratedProtocolMessageType('BatchOperationSignal', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONSIGNAL, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) + }) _sym_db.RegisterMessage(BatchOperationSignal) -BatchOperationCancellation = _reflection.GeneratedProtocolMessageType( - "BatchOperationCancellation", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONCANCELLATION, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) - }, -) +BatchOperationCancellation = _reflection.GeneratedProtocolMessageType('BatchOperationCancellation', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONCANCELLATION, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) + }) _sym_db.RegisterMessage(BatchOperationCancellation) -BatchOperationDeletion = _reflection.GeneratedProtocolMessageType( - "BatchOperationDeletion", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONDELETION, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) - }, -) +BatchOperationDeletion = _reflection.GeneratedProtocolMessageType('BatchOperationDeletion', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONDELETION, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) + }) _sym_db.RegisterMessage(BatchOperationDeletion) -BatchOperationReset = _reflection.GeneratedProtocolMessageType( - "BatchOperationReset", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONRESET, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) - }, -) +BatchOperationReset = _reflection.GeneratedProtocolMessageType('BatchOperationReset', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONRESET, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) + }) _sym_db.RegisterMessage(BatchOperationReset) -BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( - "BatchOperationUpdateWorkflowExecutionOptions", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) - }, -) +BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType('BatchOperationUpdateWorkflowExecutionOptions', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) + }) _sym_db.RegisterMessage(BatchOperationUpdateWorkflowExecutionOptions) -BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType( - "BatchOperationUnpauseActivities", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUNPAUSEACTIVITIES, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) - }, -) +BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType('BatchOperationUnpauseActivities', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONUNPAUSEACTIVITIES, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) + }) _sym_db.RegisterMessage(BatchOperationUnpauseActivities) -BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType( - "BatchOperationTriggerWorkflowRule", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONTRIGGERWORKFLOWRULE, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) - }, -) +BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType('BatchOperationTriggerWorkflowRule', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONTRIGGERWORKFLOWRULE, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) + }) _sym_db.RegisterMessage(BatchOperationTriggerWorkflowRule) -BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType( - "BatchOperationResetActivities", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONRESETACTIVITIES, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) - }, -) +BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType('BatchOperationResetActivities', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONRESETACTIVITIES, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) + }) _sym_db.RegisterMessage(BatchOperationResetActivities) -BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType( - "BatchOperationUpdateActivityOptions", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUPDATEACTIVITYOPTIONS, - "__module__": "temporal.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) - }, -) +BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType('BatchOperationUpdateActivityOptions', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPERATIONUPDATEACTIVITYOPTIONS, + '__module__' : 'temporal.api.batch.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) + }) _sym_db.RegisterMessage(BatchOperationUpdateActivityOptions) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" - _BATCHOPERATIONRESET.fields_by_name["reset_type"]._options = None - _BATCHOPERATIONRESET.fields_by_name["reset_type"]._serialized_options = b"\030\001" - _BATCHOPERATIONRESET.fields_by_name["reset_reapply_type"]._options = None - _BATCHOPERATIONRESET.fields_by_name[ - "reset_reapply_type" - ]._serialized_options = b"\030\001" - _BATCHOPERATIONINFO._serialized_start = 397 - _BATCHOPERATIONINFO._serialized_end = 588 - _BATCHOPERATIONTERMINATION._serialized_start = 590 - _BATCHOPERATIONTERMINATION._serialized_end = 686 - _BATCHOPERATIONSIGNAL._serialized_start = 689 - _BATCHOPERATIONSIGNAL._serialized_end = 842 - _BATCHOPERATIONCANCELLATION._serialized_start = 844 - _BATCHOPERATIONCANCELLATION._serialized_end = 890 - _BATCHOPERATIONDELETION._serialized_start = 892 - _BATCHOPERATIONDELETION._serialized_end = 934 - _BATCHOPERATIONRESET._serialized_start = 937 - _BATCHOPERATIONRESET._serialized_end = 1239 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start = 1242 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end = 1443 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start = 1446 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end = 1638 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start = 1641 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end = 1773 - _BATCHOPERATIONRESETACTIVITIES._serialized_start = 1776 - _BATCHOPERATIONRESETACTIVITIES._serialized_end = 2021 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start = 2024 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end = 2272 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1' + _BATCHOPERATIONRESET.fields_by_name['reset_type']._options = None + _BATCHOPERATIONRESET.fields_by_name['reset_type']._serialized_options = b'\030\001' + _BATCHOPERATIONRESET.fields_by_name['reset_reapply_type']._options = None + _BATCHOPERATIONRESET.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' + _BATCHOPERATIONINFO._serialized_start=397 + _BATCHOPERATIONINFO._serialized_end=588 + _BATCHOPERATIONTERMINATION._serialized_start=590 + _BATCHOPERATIONTERMINATION._serialized_end=686 + _BATCHOPERATIONSIGNAL._serialized_start=689 + _BATCHOPERATIONSIGNAL._serialized_end=842 + _BATCHOPERATIONCANCELLATION._serialized_start=844 + _BATCHOPERATIONCANCELLATION._serialized_end=890 + _BATCHOPERATIONDELETION._serialized_start=892 + _BATCHOPERATIONDELETION._serialized_end=934 + _BATCHOPERATIONRESET._serialized_start=937 + _BATCHOPERATIONRESET._serialized_end=1239 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start=1242 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end=1443 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start=1446 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end=1638 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start=1641 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end=1773 + _BATCHOPERATIONRESETACTIVITIES._serialized_start=1776 + _BATCHOPERATIONRESETACTIVITIES._serialized_end=2021 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start=2024 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end=2272 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/batch/v1/message_pb2.pyi b/temporalio/api/batch/v1/message_pb2.pyi index 0f7e87da0..84c3558aa 100644 --- a/temporalio/api/batch/v1/message_pb2.pyi +++ b/temporalio/api/batch/v1/message_pb2.pyi @@ -2,18 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.field_mask_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.activity.v1.message_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.batch_operation_pb2 @@ -53,25 +50,8 @@ class BatchOperationInfo(google.protobuf.message.Message): start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., close_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "close_time", b"close_time", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "close_time", - b"close_time", - "job_id", - b"job_id", - "start_time", - b"start_time", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "job_id", b"job_id", "start_time", b"start_time", "state", b"state"]) -> None: ... global___BatchOperationInfo = BatchOperationInfo @@ -96,15 +76,8 @@ class BatchOperationTermination(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "identity", b"identity" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity"]) -> None: ... global___BatchOperationTermination = BatchOperationTermination @@ -139,23 +112,8 @@ class BatchOperationSignal(google.protobuf.message.Message): header: temporalio.api.common.v1.message_pb2.Header | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["header", b"header", "input", b"input"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "identity", - b"identity", - "input", - b"input", - "signal", - b"signal", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "identity", b"identity", "input", b"input", "signal", b"signal"]) -> None: ... global___BatchOperationSignal = BatchOperationSignal @@ -175,9 +133,7 @@ class BatchOperationCancellation(google.protobuf.message.Message): *, identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["identity", b"identity"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity"]) -> None: ... global___BatchOperationCancellation = BatchOperationCancellation @@ -196,9 +152,7 @@ class BatchOperationDeletion(google.protobuf.message.Message): *, identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["identity", b"identity"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity"]) -> None: ... global___BatchOperationDeletion = BatchOperationDeletion @@ -224,11 +178,7 @@ class BatchOperationReset(google.protobuf.message.Message): reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType """Deprecated. Use `options`.""" @property - def post_reset_operations( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.PostResetOperation - ]: + def post_reset_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PostResetOperation]: """Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated @@ -240,29 +190,10 @@ class BatchOperationReset(google.protobuf.message.Message): options: temporalio.api.common.v1.message_pb2.ResetOptions | None = ..., reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., - post_reset_operations: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.PostResetOperation - ] - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "options", - b"options", - "post_reset_operations", - b"post_reset_operations", - "reset_reapply_type", - b"reset_reapply_type", - "reset_type", - b"reset_type", - ], + post_reset_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PostResetOperation] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["options", b"options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "options", b"options", "post_reset_operations", b"post_reset_operations", "reset_reapply_type", b"reset_reapply_type", "reset_type", b"reset_type"]) -> None: ... global___BatchOperationReset = BatchOperationReset @@ -279,9 +210,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa identity: builtins.str """The identity of the worker/client.""" @property - def workflow_execution_options( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -292,34 +221,13 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa self, *, identity: builtins.str = ..., - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions - | None = ..., + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "update_mask", - b"update_mask", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "update_mask", - b"update_mask", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... -global___BatchOperationUpdateWorkflowExecutionOptions = ( - BatchOperationUpdateWorkflowExecutionOptions -) +global___BatchOperationUpdateWorkflowExecutionOptions = BatchOperationUpdateWorkflowExecutionOptions class BatchOperationUnpauseActivities(google.protobuf.message.Message): """BatchOperationUnpauseActivities sends unpause requests to batch workflows.""" @@ -355,41 +263,9 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): reset_heartbeat: builtins.bool = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "jitter", - b"jitter", - "match_all", - b"match_all", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "identity", - b"identity", - "jitter", - b"jitter", - "match_all", - b"match_all", - "reset_attempts", - b"reset_attempts", - "reset_heartbeat", - b"reset_heartbeat", - "type", - b"type", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "identity", b"identity", "jitter", b"jitter", "match_all", b"match_all", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationUnpauseActivities = BatchOperationUnpauseActivities @@ -415,21 +291,9 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): id: builtins.str = ..., spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "id", b"id", "rule", b"rule", "spec", b"spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["rule", b"rule"] - ) -> typing_extensions.Literal["id", "spec"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["id", b"id", "rule", b"rule", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["rule", b"rule"]) -> typing_extensions.Literal["id", "spec"] | None: ... global___BatchOperationTriggerWorkflowRule = BatchOperationTriggerWorkflowRule @@ -480,45 +344,9 @@ class BatchOperationResetActivities(google.protobuf.message.Message): jitter: google.protobuf.duration_pb2.Duration | None = ..., restore_original_options: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "jitter", - b"jitter", - "match_all", - b"match_all", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "identity", - b"identity", - "jitter", - b"jitter", - "keep_paused", - b"keep_paused", - "match_all", - b"match_all", - "reset_attempts", - b"reset_attempts", - "reset_heartbeat", - b"reset_heartbeat", - "restore_original_options", - b"restore_original_options", - "type", - b"type", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "identity", b"identity", "jitter", b"jitter", "keep_paused", b"keep_paused", "match_all", b"match_all", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "restore_original_options", b"restore_original_options", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationResetActivities = BatchOperationResetActivities @@ -540,9 +368,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): type: builtins.str match_all: builtins.bool @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Update Activity options. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -560,47 +386,12 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): identity: builtins.str = ..., type: builtins.str = ..., match_all: builtins.bool = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions - | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., restore_original: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "activity_options", - b"activity_options", - "match_all", - b"match_all", - "type", - b"type", - "update_mask", - b"update_mask", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "activity_options", - b"activity_options", - "identity", - b"identity", - "match_all", - b"match_all", - "restore_original", - b"restore_original", - "type", - b"type", - "update_mask", - b"update_mask", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "match_all", b"match_all", "type", b"type", "update_mask", b"update_mask"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "identity", b"identity", "match_all", b"match_all", "restore_original", b"restore_original", "type", b"type", "update_mask", b"update_mask"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationUpdateActivityOptions = BatchOperationUpdateActivityOptions diff --git a/temporalio/api/cloud/account/v1/__init__.py b/temporalio/api/cloud/account/v1/__init__.py index fef9ff367..f6dac5c67 100644 --- a/temporalio/api/cloud/account/v1/__init__.py +++ b/temporalio/api/cloud/account/v1/__init__.py @@ -1,4 +1,7 @@ -from .message_pb2 import Account, AccountSpec, Metrics, MetricsSpec +from .message_pb2 import MetricsSpec +from .message_pb2 import AccountSpec +from .message_pb2 import Metrics +from .message_pb2 import Account __all__ = [ "Account", diff --git a/temporalio/api/cloud/account/v1/message_pb2.py b/temporalio/api/cloud/account/v1/message_pb2.py index b212d7592..0493e8be3 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.py +++ b/temporalio/api/cloud/account/v1/message_pb2.py @@ -2,84 +2,65 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/account/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.resource.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, -) +from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.MetricsB\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c\"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec\"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.MetricsB\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3') -_METRICSSPEC = DESCRIPTOR.message_types_by_name["MetricsSpec"] -_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name["AccountSpec"] -_METRICS = DESCRIPTOR.message_types_by_name["Metrics"] -_ACCOUNT = DESCRIPTOR.message_types_by_name["Account"] -MetricsSpec = _reflection.GeneratedProtocolMessageType( - "MetricsSpec", - (_message.Message,), - { - "DESCRIPTOR": _METRICSSPEC, - "__module__": "temporal.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) - }, -) + +_METRICSSPEC = DESCRIPTOR.message_types_by_name['MetricsSpec'] +_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name['AccountSpec'] +_METRICS = DESCRIPTOR.message_types_by_name['Metrics'] +_ACCOUNT = DESCRIPTOR.message_types_by_name['Account'] +MetricsSpec = _reflection.GeneratedProtocolMessageType('MetricsSpec', (_message.Message,), { + 'DESCRIPTOR' : _METRICSSPEC, + '__module__' : 'temporal.api.cloud.account.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) + }) _sym_db.RegisterMessage(MetricsSpec) -AccountSpec = _reflection.GeneratedProtocolMessageType( - "AccountSpec", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNTSPEC, - "__module__": "temporal.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) - }, -) +AccountSpec = _reflection.GeneratedProtocolMessageType('AccountSpec', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTSPEC, + '__module__' : 'temporal.api.cloud.account.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) + }) _sym_db.RegisterMessage(AccountSpec) -Metrics = _reflection.GeneratedProtocolMessageType( - "Metrics", - (_message.Message,), - { - "DESCRIPTOR": _METRICS, - "__module__": "temporal.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) - }, -) +Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), { + 'DESCRIPTOR' : _METRICS, + '__module__' : 'temporal.api.cloud.account.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) + }) _sym_db.RegisterMessage(Metrics) -Account = _reflection.GeneratedProtocolMessageType( - "Account", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNT, - "__module__": "temporal.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) - }, -) +Account = _reflection.GeneratedProtocolMessageType('Account', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNT, + '__module__' : 'temporal.api.cloud.account.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) + }) _sym_db.RegisterMessage(Account) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" - _METRICSSPEC._serialized_start = 124 - _METRICSSPEC._serialized_end = 165 - _ACCOUNTSPEC._serialized_start = 167 - _ACCOUNTSPEC._serialized_end = 241 - _METRICS._serialized_start = 243 - _METRICS._serialized_end = 265 - _ACCOUNT._serialized_start = 268 - _ACCOUNT._serialized_end = 520 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1' + _METRICSSPEC._serialized_start=124 + _METRICSSPEC._serialized_end=165 + _ACCOUNTSPEC._serialized_start=167 + _ACCOUNTSPEC._serialized_end=241 + _METRICS._serialized_start=243 + _METRICS._serialized_end=265 + _ACCOUNT._serialized_start=268 + _ACCOUNT._serialized_end=520 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/account/v1/message_pb2.pyi b/temporalio/api/cloud/account/v1/message_pb2.pyi index 34775c232..6b3bd60f5 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.pyi +++ b/temporalio/api/cloud/account/v1/message_pb2.pyi @@ -2,13 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message - +import sys import temporalio.api.cloud.resource.v1.message_pb2 if sys.version_info >= (3, 8): @@ -31,12 +28,7 @@ class MetricsSpec(google.protobuf.message.Message): *, accepted_client_ca: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_client_ca", b"accepted_client_ca" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted_client_ca", b"accepted_client_ca"]) -> None: ... global___MetricsSpec = MetricsSpec @@ -54,12 +46,8 @@ class AccountSpec(google.protobuf.message.Message): *, metrics: global___MetricsSpec | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["metrics", b"metrics"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["metrics", b"metrics"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["metrics", b"metrics"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["metrics", b"metrics"]) -> None: ... global___AccountSpec = AccountSpec @@ -76,9 +64,7 @@ class Metrics(google.protobuf.message.Message): *, uri: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["uri", b"uri"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["uri", b"uri"]) -> None: ... global___Metrics = Metrics @@ -117,26 +103,7 @@ class Account(google.protobuf.message.Message): async_operation_id: builtins.str = ..., metrics: global___Metrics | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "id", - b"id", - "metrics", - b"metrics", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "id", b"id", "metrics", b"metrics", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... global___Account = Account diff --git a/temporalio/api/cloud/cloudservice/v1/__init__.py b/temporalio/api/cloud/cloudservice/v1/__init__.py index 53f3cb0e6..90e2d64db 100644 --- a/temporalio/api/cloud/cloudservice/v1/__init__.py +++ b/temporalio/api/cloud/cloudservice/v1/__init__.py @@ -1,117 +1,115 @@ -from .request_response_pb2 import ( - AddNamespaceRegionRequest, - AddNamespaceRegionResponse, - AddUserGroupMemberRequest, - AddUserGroupMemberResponse, - CreateApiKeyRequest, - CreateApiKeyResponse, - CreateConnectivityRuleRequest, - CreateConnectivityRuleResponse, - CreateNamespaceExportSinkRequest, - CreateNamespaceExportSinkResponse, - CreateNamespaceRequest, - CreateNamespaceResponse, - CreateNexusEndpointRequest, - CreateNexusEndpointResponse, - CreateServiceAccountRequest, - CreateServiceAccountResponse, - CreateUserGroupRequest, - CreateUserGroupResponse, - CreateUserRequest, - CreateUserResponse, - DeleteApiKeyRequest, - DeleteApiKeyResponse, - DeleteConnectivityRuleRequest, - DeleteConnectivityRuleResponse, - DeleteNamespaceExportSinkRequest, - DeleteNamespaceExportSinkResponse, - DeleteNamespaceRegionRequest, - DeleteNamespaceRegionResponse, - DeleteNamespaceRequest, - DeleteNamespaceResponse, - DeleteNexusEndpointRequest, - DeleteNexusEndpointResponse, - DeleteServiceAccountRequest, - DeleteServiceAccountResponse, - DeleteUserGroupRequest, - DeleteUserGroupResponse, - DeleteUserRequest, - DeleteUserResponse, - FailoverNamespaceRegionRequest, - FailoverNamespaceRegionResponse, - GetAccountRequest, - GetAccountResponse, - GetApiKeyRequest, - GetApiKeyResponse, - GetApiKeysRequest, - GetApiKeysResponse, - GetAsyncOperationRequest, - GetAsyncOperationResponse, - GetConnectivityRuleRequest, - GetConnectivityRuleResponse, - GetConnectivityRulesRequest, - GetConnectivityRulesResponse, - GetNamespaceExportSinkRequest, - GetNamespaceExportSinkResponse, - GetNamespaceExportSinksRequest, - GetNamespaceExportSinksResponse, - GetNamespaceRequest, - GetNamespaceResponse, - GetNamespacesRequest, - GetNamespacesResponse, - GetNexusEndpointRequest, - GetNexusEndpointResponse, - GetNexusEndpointsRequest, - GetNexusEndpointsResponse, - GetRegionRequest, - GetRegionResponse, - GetRegionsRequest, - GetRegionsResponse, - GetServiceAccountRequest, - GetServiceAccountResponse, - GetServiceAccountsRequest, - GetServiceAccountsResponse, - GetUsageRequest, - GetUsageResponse, - GetUserGroupMembersRequest, - GetUserGroupMembersResponse, - GetUserGroupRequest, - GetUserGroupResponse, - GetUserGroupsRequest, - GetUserGroupsResponse, - GetUserRequest, - GetUserResponse, - GetUsersRequest, - GetUsersResponse, - RemoveUserGroupMemberRequest, - RemoveUserGroupMemberResponse, - RenameCustomSearchAttributeRequest, - RenameCustomSearchAttributeResponse, - SetUserGroupNamespaceAccessRequest, - SetUserGroupNamespaceAccessResponse, - SetUserNamespaceAccessRequest, - SetUserNamespaceAccessResponse, - UpdateAccountRequest, - UpdateAccountResponse, - UpdateApiKeyRequest, - UpdateApiKeyResponse, - UpdateNamespaceExportSinkRequest, - UpdateNamespaceExportSinkResponse, - UpdateNamespaceRequest, - UpdateNamespaceResponse, - UpdateNamespaceTagsRequest, - UpdateNamespaceTagsResponse, - UpdateNexusEndpointRequest, - UpdateNexusEndpointResponse, - UpdateServiceAccountRequest, - UpdateServiceAccountResponse, - UpdateUserGroupRequest, - UpdateUserGroupResponse, - UpdateUserRequest, - UpdateUserResponse, - ValidateNamespaceExportSinkRequest, - ValidateNamespaceExportSinkResponse, -) +from .request_response_pb2 import GetUsersRequest +from .request_response_pb2 import GetUsersResponse +from .request_response_pb2 import GetUserRequest +from .request_response_pb2 import GetUserResponse +from .request_response_pb2 import CreateUserRequest +from .request_response_pb2 import CreateUserResponse +from .request_response_pb2 import UpdateUserRequest +from .request_response_pb2 import UpdateUserResponse +from .request_response_pb2 import DeleteUserRequest +from .request_response_pb2 import DeleteUserResponse +from .request_response_pb2 import SetUserNamespaceAccessRequest +from .request_response_pb2 import SetUserNamespaceAccessResponse +from .request_response_pb2 import GetAsyncOperationRequest +from .request_response_pb2 import GetAsyncOperationResponse +from .request_response_pb2 import CreateNamespaceRequest +from .request_response_pb2 import CreateNamespaceResponse +from .request_response_pb2 import GetNamespacesRequest +from .request_response_pb2 import GetNamespacesResponse +from .request_response_pb2 import GetNamespaceRequest +from .request_response_pb2 import GetNamespaceResponse +from .request_response_pb2 import UpdateNamespaceRequest +from .request_response_pb2 import UpdateNamespaceResponse +from .request_response_pb2 import RenameCustomSearchAttributeRequest +from .request_response_pb2 import RenameCustomSearchAttributeResponse +from .request_response_pb2 import DeleteNamespaceRequest +from .request_response_pb2 import DeleteNamespaceResponse +from .request_response_pb2 import FailoverNamespaceRegionRequest +from .request_response_pb2 import FailoverNamespaceRegionResponse +from .request_response_pb2 import AddNamespaceRegionRequest +from .request_response_pb2 import AddNamespaceRegionResponse +from .request_response_pb2 import DeleteNamespaceRegionRequest +from .request_response_pb2 import DeleteNamespaceRegionResponse +from .request_response_pb2 import GetRegionsRequest +from .request_response_pb2 import GetRegionsResponse +from .request_response_pb2 import GetRegionRequest +from .request_response_pb2 import GetRegionResponse +from .request_response_pb2 import GetApiKeysRequest +from .request_response_pb2 import GetApiKeysResponse +from .request_response_pb2 import GetApiKeyRequest +from .request_response_pb2 import GetApiKeyResponse +from .request_response_pb2 import CreateApiKeyRequest +from .request_response_pb2 import CreateApiKeyResponse +from .request_response_pb2 import UpdateApiKeyRequest +from .request_response_pb2 import UpdateApiKeyResponse +from .request_response_pb2 import DeleteApiKeyRequest +from .request_response_pb2 import DeleteApiKeyResponse +from .request_response_pb2 import GetNexusEndpointsRequest +from .request_response_pb2 import GetNexusEndpointsResponse +from .request_response_pb2 import GetNexusEndpointRequest +from .request_response_pb2 import GetNexusEndpointResponse +from .request_response_pb2 import CreateNexusEndpointRequest +from .request_response_pb2 import CreateNexusEndpointResponse +from .request_response_pb2 import UpdateNexusEndpointRequest +from .request_response_pb2 import UpdateNexusEndpointResponse +from .request_response_pb2 import DeleteNexusEndpointRequest +from .request_response_pb2 import DeleteNexusEndpointResponse +from .request_response_pb2 import GetUserGroupsRequest +from .request_response_pb2 import GetUserGroupsResponse +from .request_response_pb2 import GetUserGroupRequest +from .request_response_pb2 import GetUserGroupResponse +from .request_response_pb2 import CreateUserGroupRequest +from .request_response_pb2 import CreateUserGroupResponse +from .request_response_pb2 import UpdateUserGroupRequest +from .request_response_pb2 import UpdateUserGroupResponse +from .request_response_pb2 import DeleteUserGroupRequest +from .request_response_pb2 import DeleteUserGroupResponse +from .request_response_pb2 import SetUserGroupNamespaceAccessRequest +from .request_response_pb2 import SetUserGroupNamespaceAccessResponse +from .request_response_pb2 import AddUserGroupMemberRequest +from .request_response_pb2 import AddUserGroupMemberResponse +from .request_response_pb2 import RemoveUserGroupMemberRequest +from .request_response_pb2 import RemoveUserGroupMemberResponse +from .request_response_pb2 import GetUserGroupMembersRequest +from .request_response_pb2 import GetUserGroupMembersResponse +from .request_response_pb2 import CreateServiceAccountRequest +from .request_response_pb2 import CreateServiceAccountResponse +from .request_response_pb2 import GetServiceAccountRequest +from .request_response_pb2 import GetServiceAccountResponse +from .request_response_pb2 import GetServiceAccountsRequest +from .request_response_pb2 import GetServiceAccountsResponse +from .request_response_pb2 import UpdateServiceAccountRequest +from .request_response_pb2 import UpdateServiceAccountResponse +from .request_response_pb2 import DeleteServiceAccountRequest +from .request_response_pb2 import DeleteServiceAccountResponse +from .request_response_pb2 import GetUsageRequest +from .request_response_pb2 import GetUsageResponse +from .request_response_pb2 import GetAccountRequest +from .request_response_pb2 import GetAccountResponse +from .request_response_pb2 import UpdateAccountRequest +from .request_response_pb2 import UpdateAccountResponse +from .request_response_pb2 import CreateNamespaceExportSinkRequest +from .request_response_pb2 import CreateNamespaceExportSinkResponse +from .request_response_pb2 import GetNamespaceExportSinkRequest +from .request_response_pb2 import GetNamespaceExportSinkResponse +from .request_response_pb2 import GetNamespaceExportSinksRequest +from .request_response_pb2 import GetNamespaceExportSinksResponse +from .request_response_pb2 import UpdateNamespaceExportSinkRequest +from .request_response_pb2 import UpdateNamespaceExportSinkResponse +from .request_response_pb2 import DeleteNamespaceExportSinkRequest +from .request_response_pb2 import DeleteNamespaceExportSinkResponse +from .request_response_pb2 import ValidateNamespaceExportSinkRequest +from .request_response_pb2 import ValidateNamespaceExportSinkResponse +from .request_response_pb2 import UpdateNamespaceTagsRequest +from .request_response_pb2 import UpdateNamespaceTagsResponse +from .request_response_pb2 import CreateConnectivityRuleRequest +from .request_response_pb2 import CreateConnectivityRuleResponse +from .request_response_pb2 import GetConnectivityRuleRequest +from .request_response_pb2 import GetConnectivityRuleResponse +from .request_response_pb2 import GetConnectivityRulesRequest +from .request_response_pb2 import GetConnectivityRulesResponse +from .request_response_pb2 import DeleteConnectivityRuleRequest +from .request_response_pb2 import DeleteConnectivityRuleResponse __all__ = [ "AddNamespaceRegionRequest", @@ -231,19 +229,9 @@ # gRPC is optional try: import grpc - - from .service_pb2_grpc import ( - CloudServiceServicer, - CloudServiceStub, - add_CloudServiceServicer_to_server, - ) - - __all__.extend( - [ - "CloudServiceServicer", - "CloudServiceStub", - "add_CloudServiceServicer_to_server", - ] - ) + from .service_pb2_grpc import add_CloudServiceServicer_to_server + from .service_pb2_grpc import CloudServiceStub + from .service_pb2_grpc import CloudServiceServicer + __all__.extend(["CloudServiceServicer", "CloudServiceStub", "add_CloudServiceServicer_to_server"]) except ImportError: - pass + pass \ No newline at end of file diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py index 718a075bb..99071d95b 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py @@ -2,1801 +2,1203 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/cloudservice/v1/request_response.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.cloud.account.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_account_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.connectivityrule.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.identity.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_identity_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.namespace.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_namespace_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_nexus_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.operation.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_operation_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.region.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_region_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.usage.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_usage_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc6\x01\n"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x13\n\x11GetRegionsRequest"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region""\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc0\x01\n"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x13\n\x11GetAccountRequest"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"v\n"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec"%\n#ValidateNamespaceExportSinkResponse"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperationB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' -) - - -_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name["GetUsersRequest"] -_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name["GetUsersResponse"] -_GETUSERREQUEST = DESCRIPTOR.message_types_by_name["GetUserRequest"] -_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name["GetUserResponse"] -_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name["CreateUserRequest"] -_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserResponse"] -_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserRequest"] -_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserResponse"] -_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserRequest"] -_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserResponse"] -_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ - "SetUserNamespaceAccessRequest" -] -_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetUserNamespaceAccessResponse" -] -_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["GetAsyncOperationRequest"] -_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetAsyncOperationResponse" -] -_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["CreateNamespaceRequest"] -_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name[ - "TagsEntry" -] -_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["CreateNamespaceResponse"] -_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["GetNamespacesRequest"] -_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["GetNamespacesResponse"] -_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["GetNamespaceRequest"] -_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["GetNamespaceResponse"] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] -_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name[ - "RenameCustomSearchAttributeRequest" -] -_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name[ - "RenameCustomSearchAttributeResponse" -] -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] -_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "FailoverNamespaceRegionRequest" -] -_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "FailoverNamespaceRegionResponse" -] -_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "AddNamespaceRegionRequest" -] -_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddNamespaceRegionResponse" -] -_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceRegionRequest" -] -_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceRegionResponse" -] -_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name["GetRegionsRequest"] -_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionsResponse"] -_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name["GetRegionRequest"] -_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionResponse"] -_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeysRequest"] -_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeysResponse"] -_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeyRequest"] -_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeyResponse"] -_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["CreateApiKeyRequest"] -_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["CreateApiKeyResponse"] -_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["UpdateApiKeyRequest"] -_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["UpdateApiKeyResponse"] -_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["DeleteApiKeyRequest"] -_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["DeleteApiKeyResponse"] -_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointsRequest"] -_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNexusEndpointsResponse" -] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointRequest" -] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointResponse" -] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointRequest" -] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointResponse" -] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointRequest" -] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointResponse" -] -_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupsRequest"] -_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ - "GoogleGroupFilter" -] -_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ - "SCIMGroupFilter" -] -_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupsResponse"] -_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupRequest"] -_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupResponse"] -_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["CreateUserGroupRequest"] -_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserGroupResponse"] -_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserGroupRequest"] -_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserGroupResponse"] -_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserGroupRequest"] -_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserGroupResponse"] -_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ - "SetUserGroupNamespaceAccessRequest" -] -_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetUserGroupNamespaceAccessResponse" -] -_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ - "AddUserGroupMemberRequest" -] -_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddUserGroupMemberResponse" -] -_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveUserGroupMemberRequest" -] -_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveUserGroupMemberResponse" -] -_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetUserGroupMembersRequest" -] -_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetUserGroupMembersResponse" -] -_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateServiceAccountRequest" -] -_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateServiceAccountResponse" -] -_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetServiceAccountRequest"] -_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountResponse" -] -_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountsRequest" -] -_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountsResponse" -] -_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateServiceAccountRequest" -] -_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateServiceAccountResponse" -] -_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteServiceAccountRequest" -] -_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteServiceAccountResponse" -] -_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name["GetUsageRequest"] -_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name["GetUsageResponse"] -_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetAccountRequest"] -_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["GetAccountResponse"] -_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["UpdateAccountRequest"] -_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["UpdateAccountResponse"] -_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNamespaceExportSinkRequest" -] -_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNamespaceExportSinkResponse" -] -_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinkRequest" -] -_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinkResponse" -] -_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinksRequest" -] -_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinksResponse" -] -_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceExportSinkRequest" -] -_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceExportSinkResponse" -] -_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceExportSinkRequest" -] -_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceExportSinkResponse" -] -_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "ValidateNamespaceExportSinkRequest" -] -_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "ValidateNamespaceExportSinkResponse" -] -_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceTagsRequest" -] -_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = ( - _UPDATENAMESPACETAGSREQUEST.nested_types_by_name["TagsToUpsertEntry"] -) -_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceTagsResponse" -] -_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateConnectivityRuleRequest" -] -_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateConnectivityRuleResponse" -] -_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRuleRequest" -] -_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRuleResponse" -] -_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRulesRequest" -] -_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRulesResponse" -] -_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteConnectivityRuleRequest" -] -_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteConnectivityRuleResponse" -] -GetUsersRequest = _reflection.GeneratedProtocolMessageType( - "GetUsersRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) - }, -) +from temporalio.api.cloud.operation.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_operation_dot_v1_dot_message__pb2 +from temporalio.api.cloud.identity.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_identity_dot_v1_dot_message__pb2 +from temporalio.api.cloud.namespace.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_namespace_dot_v1_dot_message__pb2 +from temporalio.api.cloud.nexus.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_nexus_dot_v1_dot_message__pb2 +from temporalio.api.cloud.region.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_region_dot_v1_dot_message__pb2 +from temporalio.api.cloud.account.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_account_dot_v1_dot_message__pb2 +from temporalio.api.cloud.usage.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_usage_dot_v1_dot_message__pb2 +from temporalio.api.cloud.connectivityrule.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User\"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t\"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc6\x01\n\"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x13\n\x11GetRegionsRequest\"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\"\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t\"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\"\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc0\x01\n\"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t\"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x13\n\x11GetAccountRequest\"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account\"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"v\n\"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\"%\n#ValidateNamespaceExportSinkResponse\"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperationB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3') + + + +_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name['GetUsersRequest'] +_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name['GetUsersResponse'] +_GETUSERREQUEST = DESCRIPTOR.message_types_by_name['GetUserRequest'] +_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name['GetUserResponse'] +_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name['CreateUserRequest'] +_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name['CreateUserResponse'] +_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name['UpdateUserRequest'] +_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name['UpdateUserResponse'] +_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name['DeleteUserRequest'] +_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name['DeleteUserResponse'] +_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name['SetUserNamespaceAccessRequest'] +_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name['SetUserNamespaceAccessResponse'] +_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['GetAsyncOperationRequest'] +_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetAsyncOperationResponse'] +_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['CreateNamespaceRequest'] +_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name['TagsEntry'] +_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['CreateNamespaceResponse'] +_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['GetNamespacesRequest'] +_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespacesResponse'] +_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceRequest'] +_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceResponse'] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceRequest'] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceResponse'] +_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name['RenameCustomSearchAttributeRequest'] +_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name['RenameCustomSearchAttributeResponse'] +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRequest'] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceResponse'] +_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['FailoverNamespaceRegionRequest'] +_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['FailoverNamespaceRegionResponse'] +_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['AddNamespaceRegionRequest'] +_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['AddNamespaceRegionResponse'] +_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRegionRequest'] +_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceRegionResponse'] +_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name['GetRegionsRequest'] +_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name['GetRegionsResponse'] +_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name['GetRegionRequest'] +_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name['GetRegionResponse'] +_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name['GetApiKeysRequest'] +_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name['GetApiKeysResponse'] +_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['GetApiKeyRequest'] +_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['GetApiKeyResponse'] +_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['CreateApiKeyRequest'] +_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['CreateApiKeyResponse'] +_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['UpdateApiKeyRequest'] +_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['UpdateApiKeyResponse'] +_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['DeleteApiKeyRequest'] +_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['DeleteApiKeyResponse'] +_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointsRequest'] +_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointsResponse'] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointRequest'] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointResponse'] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['CreateNexusEndpointRequest'] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['CreateNexusEndpointResponse'] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointRequest'] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointResponse'] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointRequest'] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointResponse'] +_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupsRequest'] +_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name['GoogleGroupFilter'] +_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name['SCIMGroupFilter'] +_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupsResponse'] +_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupRequest'] +_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupResponse'] +_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['CreateUserGroupRequest'] +_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['CreateUserGroupResponse'] +_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['UpdateUserGroupRequest'] +_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['UpdateUserGroupResponse'] +_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['DeleteUserGroupRequest'] +_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['DeleteUserGroupResponse'] +_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name['SetUserGroupNamespaceAccessRequest'] +_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name['SetUserGroupNamespaceAccessResponse'] +_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name['AddUserGroupMemberRequest'] +_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name['AddUserGroupMemberResponse'] +_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name['RemoveUserGroupMemberRequest'] +_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name['RemoveUserGroupMemberResponse'] +_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupMembersRequest'] +_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupMembersResponse'] +_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['CreateServiceAccountRequest'] +_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['CreateServiceAccountResponse'] +_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['GetServiceAccountRequest'] +_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['GetServiceAccountResponse'] +_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name['GetServiceAccountsRequest'] +_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name['GetServiceAccountsResponse'] +_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['UpdateServiceAccountRequest'] +_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateServiceAccountResponse'] +_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['DeleteServiceAccountRequest'] +_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteServiceAccountResponse'] +_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name['GetUsageRequest'] +_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name['GetUsageResponse'] +_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['GetAccountRequest'] +_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['GetAccountResponse'] +_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['UpdateAccountRequest'] +_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateAccountResponse'] +_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['CreateNamespaceExportSinkRequest'] +_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['CreateNamespaceExportSinkResponse'] +_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinkRequest'] +_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinkResponse'] +_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinksRequest'] +_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinksResponse'] +_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceExportSinkRequest'] +_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceExportSinkResponse'] +_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceExportSinkRequest'] +_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceExportSinkResponse'] +_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['ValidateNamespaceExportSinkRequest'] +_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['ValidateNamespaceExportSinkResponse'] +_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceTagsRequest'] +_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = _UPDATENAMESPACETAGSREQUEST.nested_types_by_name['TagsToUpsertEntry'] +_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceTagsResponse'] +_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['CreateConnectivityRuleRequest'] +_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['CreateConnectivityRuleResponse'] +_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['GetConnectivityRuleRequest'] +_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['GetConnectivityRuleResponse'] +_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name['GetConnectivityRulesRequest'] +_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name['GetConnectivityRulesResponse'] +_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteConnectivityRuleRequest'] +_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteConnectivityRuleResponse'] +GetUsersRequest = _reflection.GeneratedProtocolMessageType('GetUsersRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) + }) _sym_db.RegisterMessage(GetUsersRequest) -GetUsersResponse = _reflection.GeneratedProtocolMessageType( - "GetUsersResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) - }, -) +GetUsersResponse = _reflection.GeneratedProtocolMessageType('GetUsersResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) + }) _sym_db.RegisterMessage(GetUsersResponse) -GetUserRequest = _reflection.GeneratedProtocolMessageType( - "GetUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) - }, -) +GetUserRequest = _reflection.GeneratedProtocolMessageType('GetUserRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) + }) _sym_db.RegisterMessage(GetUserRequest) -GetUserResponse = _reflection.GeneratedProtocolMessageType( - "GetUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) - }, -) +GetUserResponse = _reflection.GeneratedProtocolMessageType('GetUserResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) + }) _sym_db.RegisterMessage(GetUserResponse) -CreateUserRequest = _reflection.GeneratedProtocolMessageType( - "CreateUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) - }, -) +CreateUserRequest = _reflection.GeneratedProtocolMessageType('CreateUserRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATEUSERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) + }) _sym_db.RegisterMessage(CreateUserRequest) -CreateUserResponse = _reflection.GeneratedProtocolMessageType( - "CreateUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) - }, -) +CreateUserResponse = _reflection.GeneratedProtocolMessageType('CreateUserResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATEUSERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) + }) _sym_db.RegisterMessage(CreateUserResponse) -UpdateUserRequest = _reflection.GeneratedProtocolMessageType( - "UpdateUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) - }, -) +UpdateUserRequest = _reflection.GeneratedProtocolMessageType('UpdateUserRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEUSERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) + }) _sym_db.RegisterMessage(UpdateUserRequest) -UpdateUserResponse = _reflection.GeneratedProtocolMessageType( - "UpdateUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) - }, -) +UpdateUserResponse = _reflection.GeneratedProtocolMessageType('UpdateUserResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEUSERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) + }) _sym_db.RegisterMessage(UpdateUserResponse) -DeleteUserRequest = _reflection.GeneratedProtocolMessageType( - "DeleteUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) - }, -) +DeleteUserRequest = _reflection.GeneratedProtocolMessageType('DeleteUserRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEUSERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) + }) _sym_db.RegisterMessage(DeleteUserRequest) -DeleteUserResponse = _reflection.GeneratedProtocolMessageType( - "DeleteUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) - }, -) +DeleteUserResponse = _reflection.GeneratedProtocolMessageType('DeleteUserResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEUSERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) + }) _sym_db.RegisterMessage(DeleteUserResponse) -SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( - "SetUserNamespaceAccessRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERNAMESPACEACCESSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) - }, -) +SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType('SetUserNamespaceAccessRequest', (_message.Message,), { + 'DESCRIPTOR' : _SETUSERNAMESPACEACCESSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) + }) _sym_db.RegisterMessage(SetUserNamespaceAccessRequest) -SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( - "SetUserNamespaceAccessResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERNAMESPACEACCESSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) - }, -) +SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType('SetUserNamespaceAccessResponse', (_message.Message,), { + 'DESCRIPTOR' : _SETUSERNAMESPACEACCESSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) + }) _sym_db.RegisterMessage(SetUserNamespaceAccessResponse) -GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType( - "GetAsyncOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETASYNCOPERATIONREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) - }, -) +GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType('GetAsyncOperationRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETASYNCOPERATIONREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) + }) _sym_db.RegisterMessage(GetAsyncOperationRequest) -GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType( - "GetAsyncOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETASYNCOPERATIONRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) - }, -) +GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType('GetAsyncOperationResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETASYNCOPERATIONRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) + }) _sym_db.RegisterMessage(GetAsyncOperationResponse) -CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceRequest", - (_message.Message,), - { - "TagsEntry": _reflection.GeneratedProtocolMessageType( - "TagsEntry", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEREQUEST_TAGSENTRY, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) - }, - ), - "DESCRIPTOR": _CREATENAMESPACEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) - }, -) +CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType('CreateNamespaceRequest', (_message.Message,), { + + 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { + 'DESCRIPTOR' : _CREATENAMESPACEREQUEST_TAGSENTRY, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) + }) + , + 'DESCRIPTOR' : _CREATENAMESPACEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) + }) _sym_db.RegisterMessage(CreateNamespaceRequest) _sym_db.RegisterMessage(CreateNamespaceRequest.TagsEntry) -CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) - }, -) +CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType('CreateNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATENAMESPACERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) + }) _sym_db.RegisterMessage(CreateNamespaceResponse) -GetNamespacesRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespacesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACESREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) - }, -) +GetNamespacesRequest = _reflection.GeneratedProtocolMessageType('GetNamespacesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACESREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) + }) _sym_db.RegisterMessage(GetNamespacesRequest) -GetNamespacesResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespacesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACESRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) - }, -) +GetNamespacesResponse = _reflection.GeneratedProtocolMessageType('GetNamespacesResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACESRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) + }) _sym_db.RegisterMessage(GetNamespacesResponse) -GetNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) - }, -) +GetNamespaceRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) + }) _sym_db.RegisterMessage(GetNamespaceRequest) -GetNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) - }, -) +GetNamespaceResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) + }) _sym_db.RegisterMessage(GetNamespaceResponse) -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) - }, -) +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) + }) _sym_db.RegisterMessage(UpdateNamespaceRequest) -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) - }, -) +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) + }) _sym_db.RegisterMessage(UpdateNamespaceResponse) -RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType( - "RenameCustomSearchAttributeRequest", - (_message.Message,), - { - "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) - }, -) +RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType('RenameCustomSearchAttributeRequest', (_message.Message,), { + 'DESCRIPTOR' : _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) + }) _sym_db.RegisterMessage(RenameCustomSearchAttributeRequest) -RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType( - "RenameCustomSearchAttributeResponse", - (_message.Message,), - { - "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) - }, -) +RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType('RenameCustomSearchAttributeResponse', (_message.Message,), { + 'DESCRIPTOR' : _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) + }) _sym_db.RegisterMessage(RenameCustomSearchAttributeResponse) -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) - }, -) +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) + }) _sym_db.RegisterMessage(DeleteNamespaceRequest) -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) - }, -) +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) + }) _sym_db.RegisterMessage(DeleteNamespaceResponse) -FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "FailoverNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERNAMESPACEREGIONREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) - }, -) +FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('FailoverNamespaceRegionRequest', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERNAMESPACEREGIONREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) + }) _sym_db.RegisterMessage(FailoverNamespaceRegionRequest) -FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "FailoverNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERNAMESPACEREGIONRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) - }, -) +FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('FailoverNamespaceRegionResponse', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERNAMESPACEREGIONRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) + }) _sym_db.RegisterMessage(FailoverNamespaceRegionResponse) -AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "AddNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDNAMESPACEREGIONREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) - }, -) +AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('AddNamespaceRegionRequest', (_message.Message,), { + 'DESCRIPTOR' : _ADDNAMESPACEREGIONREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) + }) _sym_db.RegisterMessage(AddNamespaceRegionRequest) -AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "AddNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDNAMESPACEREGIONRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) - }, -) +AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('AddNamespaceRegionResponse', (_message.Message,), { + 'DESCRIPTOR' : _ADDNAMESPACEREGIONRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) + }) _sym_db.RegisterMessage(AddNamespaceRegionResponse) -DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREGIONREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) - }, -) +DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRegionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEREGIONREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) + }) _sym_db.RegisterMessage(DeleteNamespaceRegionRequest) -DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREGIONRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) - }, -) +DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRegionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEREGIONRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) + }) _sym_db.RegisterMessage(DeleteNamespaceRegionResponse) -GetRegionsRequest = _reflection.GeneratedProtocolMessageType( - "GetRegionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) - }, -) +GetRegionsRequest = _reflection.GeneratedProtocolMessageType('GetRegionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETREGIONSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) + }) _sym_db.RegisterMessage(GetRegionsRequest) -GetRegionsResponse = _reflection.GeneratedProtocolMessageType( - "GetRegionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) - }, -) +GetRegionsResponse = _reflection.GeneratedProtocolMessageType('GetRegionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETREGIONSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) + }) _sym_db.RegisterMessage(GetRegionsResponse) -GetRegionRequest = _reflection.GeneratedProtocolMessageType( - "GetRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) - }, -) +GetRegionRequest = _reflection.GeneratedProtocolMessageType('GetRegionRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETREGIONREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) + }) _sym_db.RegisterMessage(GetRegionRequest) -GetRegionResponse = _reflection.GeneratedProtocolMessageType( - "GetRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) - }, -) +GetRegionResponse = _reflection.GeneratedProtocolMessageType('GetRegionResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETREGIONRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) + }) _sym_db.RegisterMessage(GetRegionResponse) -GetApiKeysRequest = _reflection.GeneratedProtocolMessageType( - "GetApiKeysRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) - }, -) +GetApiKeysRequest = _reflection.GeneratedProtocolMessageType('GetApiKeysRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETAPIKEYSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) + }) _sym_db.RegisterMessage(GetApiKeysRequest) -GetApiKeysResponse = _reflection.GeneratedProtocolMessageType( - "GetApiKeysResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) - }, -) +GetApiKeysResponse = _reflection.GeneratedProtocolMessageType('GetApiKeysResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETAPIKEYSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) + }) _sym_db.RegisterMessage(GetApiKeysResponse) -GetApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "GetApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) - }, -) +GetApiKeyRequest = _reflection.GeneratedProtocolMessageType('GetApiKeyRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETAPIKEYREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) + }) _sym_db.RegisterMessage(GetApiKeyRequest) -GetApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "GetApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) - }, -) +GetApiKeyResponse = _reflection.GeneratedProtocolMessageType('GetApiKeyResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETAPIKEYRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) + }) _sym_db.RegisterMessage(GetApiKeyResponse) -CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "CreateApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEAPIKEYREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) - }, -) +CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType('CreateApiKeyRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATEAPIKEYREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) + }) _sym_db.RegisterMessage(CreateApiKeyRequest) -CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "CreateApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEAPIKEYRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) - }, -) +CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType('CreateApiKeyResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATEAPIKEYRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) + }) _sym_db.RegisterMessage(CreateApiKeyResponse) -UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "UpdateApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEAPIKEYREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) - }, -) +UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType('UpdateApiKeyRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEAPIKEYREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) + }) _sym_db.RegisterMessage(UpdateApiKeyRequest) -UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "UpdateApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEAPIKEYRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) - }, -) +UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType('UpdateApiKeyResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEAPIKEYRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) + }) _sym_db.RegisterMessage(UpdateApiKeyResponse) -DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "DeleteApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEAPIKEYREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) - }, -) +DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType('DeleteApiKeyRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEAPIKEYREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) + }) _sym_db.RegisterMessage(DeleteApiKeyRequest) -DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "DeleteApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEAPIKEYRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) - }, -) +DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType('DeleteApiKeyResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEAPIKEYRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) + }) _sym_db.RegisterMessage(DeleteApiKeyResponse) -GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) - }, -) +GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointsRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) + }) _sym_db.RegisterMessage(GetNexusEndpointsRequest) -GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) - }, -) +GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) + }) _sym_db.RegisterMessage(GetNexusEndpointsResponse) -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) - }, -) +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) + }) _sym_db.RegisterMessage(GetNexusEndpointRequest) -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) - }, -) +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) + }) _sym_db.RegisterMessage(GetNexusEndpointResponse) -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) - }, -) +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) + }) _sym_db.RegisterMessage(CreateNexusEndpointRequest) -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) - }, -) +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) + }) _sym_db.RegisterMessage(CreateNexusEndpointResponse) -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) - }, -) +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) + }) _sym_db.RegisterMessage(UpdateNexusEndpointRequest) -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) - }, -) +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) + }) _sym_db.RegisterMessage(UpdateNexusEndpointResponse) -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) - }, -) +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) + }) _sym_db.RegisterMessage(DeleteNexusEndpointRequest) -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) - }, -) +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) + }) _sym_db.RegisterMessage(DeleteNexusEndpointResponse) -GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupsRequest", - (_message.Message,), - { - "GoogleGroupFilter": _reflection.GeneratedProtocolMessageType( - "GoogleGroupFilter", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) - }, - ), - "SCIMGroupFilter": _reflection.GeneratedProtocolMessageType( - "SCIMGroupFilter", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) - }, - ), - "DESCRIPTOR": _GETUSERGROUPSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) - }, -) +GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupsRequest', (_message.Message,), { + + 'GoogleGroupFilter' : _reflection.GeneratedProtocolMessageType('GoogleGroupFilter', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) + }) + , + + 'SCIMGroupFilter' : _reflection.GeneratedProtocolMessageType('SCIMGroupFilter', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) + }) + , + 'DESCRIPTOR' : _GETUSERGROUPSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) + }) _sym_db.RegisterMessage(GetUserGroupsRequest) _sym_db.RegisterMessage(GetUserGroupsRequest.GoogleGroupFilter) _sym_db.RegisterMessage(GetUserGroupsRequest.SCIMGroupFilter) -GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) - }, -) +GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) + }) _sym_db.RegisterMessage(GetUserGroupsResponse) -GetUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) - }, -) +GetUserGroupRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) + }) _sym_db.RegisterMessage(GetUserGroupRequest) -GetUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) - }, -) +GetUserGroupResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) + }) _sym_db.RegisterMessage(GetUserGroupResponse) -CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "CreateUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERGROUPREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) - }, -) +CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType('CreateUserGroupRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATEUSERGROUPREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) + }) _sym_db.RegisterMessage(CreateUserGroupRequest) -CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "CreateUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERGROUPRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) - }, -) +CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType('CreateUserGroupResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATEUSERGROUPRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) + }) _sym_db.RegisterMessage(CreateUserGroupResponse) -UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "UpdateUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERGROUPREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) - }, -) +UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType('UpdateUserGroupRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEUSERGROUPREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) + }) _sym_db.RegisterMessage(UpdateUserGroupRequest) -UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "UpdateUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERGROUPRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) - }, -) +UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType('UpdateUserGroupResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEUSERGROUPRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) + }) _sym_db.RegisterMessage(UpdateUserGroupResponse) -DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "DeleteUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERGROUPREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) - }, -) +DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType('DeleteUserGroupRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEUSERGROUPREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) + }) _sym_db.RegisterMessage(DeleteUserGroupRequest) -DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "DeleteUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERGROUPRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) - }, -) +DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType('DeleteUserGroupResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEUSERGROUPRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) + }) _sym_db.RegisterMessage(DeleteUserGroupResponse) -SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( - "SetUserGroupNamespaceAccessRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) - }, -) +SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType('SetUserGroupNamespaceAccessRequest', (_message.Message,), { + 'DESCRIPTOR' : _SETUSERGROUPNAMESPACEACCESSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) + }) _sym_db.RegisterMessage(SetUserGroupNamespaceAccessRequest) -SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( - "SetUserGroupNamespaceAccessResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) - }, -) +SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType('SetUserGroupNamespaceAccessResponse', (_message.Message,), { + 'DESCRIPTOR' : _SETUSERGROUPNAMESPACEACCESSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) + }) _sym_db.RegisterMessage(SetUserGroupNamespaceAccessResponse) -AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( - "AddUserGroupMemberRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDUSERGROUPMEMBERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) - }, -) +AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType('AddUserGroupMemberRequest', (_message.Message,), { + 'DESCRIPTOR' : _ADDUSERGROUPMEMBERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) + }) _sym_db.RegisterMessage(AddUserGroupMemberRequest) -AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( - "AddUserGroupMemberResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDUSERGROUPMEMBERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) - }, -) +AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType('AddUserGroupMemberResponse', (_message.Message,), { + 'DESCRIPTOR' : _ADDUSERGROUPMEMBERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) + }) _sym_db.RegisterMessage(AddUserGroupMemberResponse) -RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( - "RemoveUserGroupMemberRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEUSERGROUPMEMBERREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) - }, -) +RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType('RemoveUserGroupMemberRequest', (_message.Message,), { + 'DESCRIPTOR' : _REMOVEUSERGROUPMEMBERREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) + }) _sym_db.RegisterMessage(RemoveUserGroupMemberRequest) -RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( - "RemoveUserGroupMemberResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEUSERGROUPMEMBERRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) - }, -) +RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType('RemoveUserGroupMemberResponse', (_message.Message,), { + 'DESCRIPTOR' : _REMOVEUSERGROUPMEMBERRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) + }) _sym_db.RegisterMessage(RemoveUserGroupMemberResponse) -GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupMembersRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPMEMBERSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) - }, -) +GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupMembersRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPMEMBERSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) + }) _sym_db.RegisterMessage(GetUserGroupMembersRequest) -GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupMembersResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPMEMBERSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) - }, -) +GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupMembersResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSERGROUPMEMBERSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) + }) _sym_db.RegisterMessage(GetUserGroupMembersResponse) -CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "CreateServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATESERVICEACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) - }, -) +CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType('CreateServiceAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATESERVICEACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) + }) _sym_db.RegisterMessage(CreateServiceAccountRequest) -CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "CreateServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATESERVICEACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) - }, -) +CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType('CreateServiceAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATESERVICEACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) + }) _sym_db.RegisterMessage(CreateServiceAccountResponse) -GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) - }, -) +GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType('GetServiceAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETSERVICEACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) + }) _sym_db.RegisterMessage(GetServiceAccountRequest) -GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) - }, -) +GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType('GetServiceAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETSERVICEACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) + }) _sym_db.RegisterMessage(GetServiceAccountResponse) -GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) - }, -) +GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType('GetServiceAccountsRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETSERVICEACCOUNTSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) + }) _sym_db.RegisterMessage(GetServiceAccountsRequest) -GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) - }, -) +GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType('GetServiceAccountsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETSERVICEACCOUNTSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) + }) _sym_db.RegisterMessage(GetServiceAccountsResponse) -UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "UpdateServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESERVICEACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) - }, -) +UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType('UpdateServiceAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATESERVICEACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) + }) _sym_db.RegisterMessage(UpdateServiceAccountRequest) -UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "UpdateServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESERVICEACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) - }, -) +UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType('UpdateServiceAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATESERVICEACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) + }) _sym_db.RegisterMessage(UpdateServiceAccountResponse) -DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "DeleteServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETESERVICEACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) - }, -) +DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType('DeleteServiceAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETESERVICEACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) + }) _sym_db.RegisterMessage(DeleteServiceAccountRequest) -DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "DeleteServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETESERVICEACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) - }, -) +DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType('DeleteServiceAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETESERVICEACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) + }) _sym_db.RegisterMessage(DeleteServiceAccountResponse) -GetUsageRequest = _reflection.GeneratedProtocolMessageType( - "GetUsageRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSAGEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) - }, -) +GetUsageRequest = _reflection.GeneratedProtocolMessageType('GetUsageRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETUSAGEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) + }) _sym_db.RegisterMessage(GetUsageRequest) -GetUsageResponse = _reflection.GeneratedProtocolMessageType( - "GetUsageResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSAGERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) - }, -) +GetUsageResponse = _reflection.GeneratedProtocolMessageType('GetUsageResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETUSAGERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) + }) _sym_db.RegisterMessage(GetUsageResponse) -GetAccountRequest = _reflection.GeneratedProtocolMessageType( - "GetAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) - }, -) +GetAccountRequest = _reflection.GeneratedProtocolMessageType('GetAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) + }) _sym_db.RegisterMessage(GetAccountRequest) -GetAccountResponse = _reflection.GeneratedProtocolMessageType( - "GetAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) - }, -) +GetAccountResponse = _reflection.GeneratedProtocolMessageType('GetAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) + }) _sym_db.RegisterMessage(GetAccountResponse) -UpdateAccountRequest = _reflection.GeneratedProtocolMessageType( - "UpdateAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) - }, -) +UpdateAccountRequest = _reflection.GeneratedProtocolMessageType('UpdateAccountRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEACCOUNTREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) + }) _sym_db.RegisterMessage(UpdateAccountRequest) -UpdateAccountResponse = _reflection.GeneratedProtocolMessageType( - "UpdateAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) - }, -) +UpdateAccountResponse = _reflection.GeneratedProtocolMessageType('UpdateAccountResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEACCOUNTRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) + }) _sym_db.RegisterMessage(UpdateAccountResponse) -CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) - }, -) +CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('CreateNamespaceExportSinkRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATENAMESPACEEXPORTSINKREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) + }) _sym_db.RegisterMessage(CreateNamespaceExportSinkRequest) -CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) - }, -) +CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('CreateNamespaceExportSinkResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATENAMESPACEEXPORTSINKRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) + }) _sym_db.RegisterMessage(CreateNamespaceExportSinkResponse) -GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) - }, -) +GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinkRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) + }) _sym_db.RegisterMessage(GetNamespaceExportSinkRequest) -GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) - }, -) +GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinkResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) + }) _sym_db.RegisterMessage(GetNamespaceExportSinkResponse) -GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinksRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) - }, -) +GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinksRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) + }) _sym_db.RegisterMessage(GetNamespaceExportSinksRequest) -GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinksResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) - }, -) +GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinksResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) + }) _sym_db.RegisterMessage(GetNamespaceExportSinksResponse) -UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) - }, -) +UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceExportSinkRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACEEXPORTSINKREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) + }) _sym_db.RegisterMessage(UpdateNamespaceExportSinkRequest) -UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) - }, -) +UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceExportSinkResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACEEXPORTSINKRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) + }) _sym_db.RegisterMessage(UpdateNamespaceExportSinkResponse) -DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) - }, -) +DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceExportSinkRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEEXPORTSINKREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) + }) _sym_db.RegisterMessage(DeleteNamespaceExportSinkRequest) -DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) - }, -) +DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceExportSinkResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEEXPORTSINKRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) + }) _sym_db.RegisterMessage(DeleteNamespaceExportSinkResponse) -ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "ValidateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) - }, -) +ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('ValidateNamespaceExportSinkRequest', (_message.Message,), { + 'DESCRIPTOR' : _VALIDATENAMESPACEEXPORTSINKREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) + }) _sym_db.RegisterMessage(ValidateNamespaceExportSinkRequest) -ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "ValidateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) - }, -) +ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('ValidateNamespaceExportSinkResponse', (_message.Message,), { + 'DESCRIPTOR' : _VALIDATENAMESPACEEXPORTSINKRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) + }) _sym_db.RegisterMessage(ValidateNamespaceExportSinkResponse) -UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceTagsRequest", - (_message.Message,), - { - "TagsToUpsertEntry": _reflection.GeneratedProtocolMessageType( - "TagsToUpsertEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) - }, - ), - "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) - }, -) +UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceTagsRequest', (_message.Message,), { + + 'TagsToUpsertEntry' : _reflection.GeneratedProtocolMessageType('TagsToUpsertEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) + }) + , + 'DESCRIPTOR' : _UPDATENAMESPACETAGSREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) + }) _sym_db.RegisterMessage(UpdateNamespaceTagsRequest) _sym_db.RegisterMessage(UpdateNamespaceTagsRequest.TagsToUpsertEntry) -UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceTagsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACETAGSRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) - }, -) +UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceTagsResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACETAGSRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) + }) _sym_db.RegisterMessage(UpdateNamespaceTagsResponse) -CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "CreateConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATECONNECTIVITYRULEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) - }, -) +CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('CreateConnectivityRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATECONNECTIVITYRULEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) + }) _sym_db.RegisterMessage(CreateConnectivityRuleRequest) -CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "CreateConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATECONNECTIVITYRULERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) - }, -) +CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('CreateConnectivityRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATECONNECTIVITYRULERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) + }) _sym_db.RegisterMessage(CreateConnectivityRuleResponse) -GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) - }, -) +GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('GetConnectivityRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCONNECTIVITYRULEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) + }) _sym_db.RegisterMessage(GetConnectivityRuleRequest) -GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) - }, -) +GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('GetConnectivityRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETCONNECTIVITYRULERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) + }) _sym_db.RegisterMessage(GetConnectivityRuleResponse) -GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULESREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) - }, -) +GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType('GetConnectivityRulesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCONNECTIVITYRULESREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) + }) _sym_db.RegisterMessage(GetConnectivityRulesRequest) -GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULESRESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) - }, -) +GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType('GetConnectivityRulesResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETCONNECTIVITYRULESRESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) + }) _sym_db.RegisterMessage(GetConnectivityRulesResponse) -DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETECONNECTIVITYRULEREQUEST, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) - }, -) +DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('DeleteConnectivityRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETECONNECTIVITYRULEREQUEST, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) + }) _sym_db.RegisterMessage(DeleteConnectivityRuleRequest) -DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETECONNECTIVITYRULERESPONSE, - "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) - }, -) +DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('DeleteConnectivityRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETECONNECTIVITYRULERESPONSE, + '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) + }) _sym_db.RegisterMessage(DeleteConnectivityRuleResponse) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" - _CREATENAMESPACEREQUEST_TAGSENTRY._options = None - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b"8\001" - _GETAPIKEYSREQUEST.fields_by_name["owner_type_deprecated"]._options = None - _GETAPIKEYSREQUEST.fields_by_name[ - "owner_type_deprecated" - ]._serialized_options = b"\030\001" - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b"8\001" - _GETUSERSREQUEST._serialized_start = 499 - _GETUSERSREQUEST._serialized_end = 589 - _GETUSERSRESPONSE._serialized_start = 591 - _GETUSERSRESPONSE._serialized_end = 687 - _GETUSERREQUEST._serialized_start = 689 - _GETUSERREQUEST._serialized_end = 722 - _GETUSERRESPONSE._serialized_start = 724 - _GETUSERRESPONSE._serialized_end = 793 - _CREATEUSERREQUEST._serialized_start = 795 - _CREATEUSERREQUEST._serialized_end = 898 - _CREATEUSERRESPONSE._serialized_start = 900 - _CREATEUSERRESPONSE._serialized_end = 1011 - _UPDATEUSERREQUEST._serialized_start = 1014 - _UPDATEUSERREQUEST._serialized_end = 1160 - _UPDATEUSERRESPONSE._serialized_start = 1162 - _UPDATEUSERRESPONSE._serialized_end = 1256 - _DELETEUSERREQUEST._serialized_start = 1258 - _DELETEUSERREQUEST._serialized_end = 1348 - _DELETEUSERRESPONSE._serialized_start = 1350 - _DELETEUSERRESPONSE._serialized_end = 1444 - _SETUSERNAMESPACEACCESSREQUEST._serialized_start = 1447 - _SETUSERNAMESPACEACCESSREQUEST._serialized_end = 1633 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_start = 1635 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_end = 1741 - _GETASYNCOPERATIONREQUEST._serialized_start = 1743 - _GETASYNCOPERATIONREQUEST._serialized_end = 1797 - _GETASYNCOPERATIONRESPONSE._serialized_start = 1799 - _GETASYNCOPERATIONRESPONSE._serialized_end = 1900 - _CREATENAMESPACEREQUEST._serialized_start = 1903 - _CREATENAMESPACEREQUEST._serialized_end = 2146 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start = 2103 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end = 2146 - _CREATENAMESPACERESPONSE._serialized_start = 2148 - _CREATENAMESPACERESPONSE._serialized_end = 2266 - _GETNAMESPACESREQUEST._serialized_start = 2268 - _GETNAMESPACESREQUEST._serialized_end = 2343 - _GETNAMESPACESRESPONSE._serialized_start = 2345 - _GETNAMESPACESRESPONSE._serialized_end = 2457 - _GETNAMESPACEREQUEST._serialized_start = 2459 - _GETNAMESPACEREQUEST._serialized_end = 2499 - _GETNAMESPACERESPONSE._serialized_start = 2501 - _GETNAMESPACERESPONSE._serialized_end = 2586 - _UPDATENAMESPACEREQUEST._serialized_start = 2589 - _UPDATENAMESPACEREQUEST._serialized_end = 2748 - _UPDATENAMESPACERESPONSE._serialized_start = 2750 - _UPDATENAMESPACERESPONSE._serialized_end = 2849 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start = 2852 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end = 3050 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start = 3052 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end = 3163 - _DELETENAMESPACEREQUEST._serialized_start = 3165 - _DELETENAMESPACEREQUEST._serialized_end = 3262 - _DELETENAMESPACERESPONSE._serialized_start = 3264 - _DELETENAMESPACERESPONSE._serialized_end = 3363 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_start = 3365 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_end = 3460 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start = 3462 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end = 3569 - _ADDNAMESPACEREGIONREQUEST._serialized_start = 3571 - _ADDNAMESPACEREGIONREQUEST._serialized_end = 3687 - _ADDNAMESPACEREGIONRESPONSE._serialized_start = 3689 - _ADDNAMESPACEREGIONRESPONSE._serialized_end = 3791 - _DELETENAMESPACEREGIONREQUEST._serialized_start = 3793 - _DELETENAMESPACEREGIONREQUEST._serialized_end = 3912 - _DELETENAMESPACEREGIONRESPONSE._serialized_start = 3914 - _DELETENAMESPACEREGIONRESPONSE._serialized_end = 4019 - _GETREGIONSREQUEST._serialized_start = 4021 - _GETREGIONSREQUEST._serialized_end = 4040 - _GETREGIONSRESPONSE._serialized_start = 4042 - _GETREGIONSRESPONSE._serialized_end = 4117 - _GETREGIONREQUEST._serialized_start = 4119 - _GETREGIONREQUEST._serialized_end = 4153 - _GETREGIONRESPONSE._serialized_start = 4155 - _GETREGIONRESPONSE._serialized_end = 4228 - _GETAPIKEYSREQUEST._serialized_start = 4231 - _GETAPIKEYSREQUEST._serialized_end = 4405 - _GETAPIKEYSRESPONSE._serialized_start = 4407 - _GETAPIKEYSRESPONSE._serialized_end = 4510 - _GETAPIKEYREQUEST._serialized_start = 4512 - _GETAPIKEYREQUEST._serialized_end = 4546 - _GETAPIKEYRESPONSE._serialized_start = 4548 - _GETAPIKEYRESPONSE._serialized_end = 4624 - _CREATEAPIKEYREQUEST._serialized_start = 4626 - _CREATEAPIKEYREQUEST._serialized_end = 4733 - _CREATEAPIKEYRESPONSE._serialized_start = 4735 - _CREATEAPIKEYRESPONSE._serialized_end = 4862 - _UPDATEAPIKEYREQUEST._serialized_start = 4865 - _UPDATEAPIKEYREQUEST._serialized_end = 5014 - _UPDATEAPIKEYRESPONSE._serialized_start = 5016 - _UPDATEAPIKEYRESPONSE._serialized_end = 5112 - _DELETEAPIKEYREQUEST._serialized_start = 5114 - _DELETEAPIKEYREQUEST._serialized_end = 5205 - _DELETEAPIKEYRESPONSE._serialized_start = 5207 - _DELETEAPIKEYRESPONSE._serialized_end = 5303 - _GETNEXUSENDPOINTSREQUEST._serialized_start = 5306 - _GETNEXUSENDPOINTSREQUEST._serialized_end = 5441 - _GETNEXUSENDPOINTSRESPONSE._serialized_start = 5443 - _GETNEXUSENDPOINTSRESPONSE._serialized_end = 5553 - _GETNEXUSENDPOINTREQUEST._serialized_start = 5555 - _GETNEXUSENDPOINTREQUEST._serialized_end = 5601 - _GETNEXUSENDPOINTRESPONSE._serialized_start = 5603 - _GETNEXUSENDPOINTRESPONSE._serialized_end = 5686 - _CREATENEXUSENDPOINTREQUEST._serialized_start = 5688 - _CREATENEXUSENDPOINTREQUEST._serialized_end = 5801 - _CREATENEXUSENDPOINTRESPONSE._serialized_start = 5803 - _CREATENEXUSENDPOINTRESPONSE._serialized_end = 5927 - _UPDATENEXUSENDPOINTREQUEST._serialized_start = 5930 - _UPDATENEXUSENDPOINTREQUEST._serialized_end = 6090 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 6092 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 6195 - _DELETENEXUSENDPOINTREQUEST._serialized_start = 6197 - _DELETENEXUSENDPOINTREQUEST._serialized_end = 6300 - _DELETENEXUSENDPOINTRESPONSE._serialized_start = 6302 - _DELETENEXUSENDPOINTRESPONSE._serialized_end = 6405 - _GETUSERGROUPSREQUEST._serialized_start = 6408 - _GETUSERGROUPSREQUEST._serialized_end = 6781 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start = 6704 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end = 6746 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start = 6748 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end = 6781 - _GETUSERGROUPSRESPONSE._serialized_start = 6783 - _GETUSERGROUPSRESPONSE._serialized_end = 6890 - _GETUSERGROUPREQUEST._serialized_start = 6892 - _GETUSERGROUPREQUEST._serialized_end = 6931 - _GETUSERGROUPRESPONSE._serialized_start = 6933 - _GETUSERGROUPRESPONSE._serialized_end = 7013 - _CREATEUSERGROUPREQUEST._serialized_start = 7015 - _CREATEUSERGROUPREQUEST._serialized_end = 7128 - _CREATEUSERGROUPRESPONSE._serialized_start = 7130 - _CREATEUSERGROUPRESPONSE._serialized_end = 7247 - _UPDATEUSERGROUPREQUEST._serialized_start = 7250 - _UPDATEUSERGROUPREQUEST._serialized_end = 7407 - _UPDATEUSERGROUPRESPONSE._serialized_start = 7409 - _UPDATEUSERGROUPRESPONSE._serialized_end = 7508 - _DELETEUSERGROUPREQUEST._serialized_start = 7510 - _DELETEUSERGROUPREQUEST._serialized_end = 7606 - _DELETEUSERGROUPRESPONSE._serialized_start = 7608 - _DELETEUSERGROUPRESPONSE._serialized_end = 7707 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start = 7710 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end = 7902 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start = 7904 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end = 8015 - _ADDUSERGROUPMEMBERREQUEST._serialized_start = 8018 - _ADDUSERGROUPMEMBERREQUEST._serialized_end = 8161 - _ADDUSERGROUPMEMBERRESPONSE._serialized_start = 8163 - _ADDUSERGROUPMEMBERRESPONSE._serialized_end = 8265 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_start = 8268 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_end = 8414 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start = 8416 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end = 8521 - _GETUSERGROUPMEMBERSREQUEST._serialized_start = 8523 - _GETUSERGROUPMEMBERSREQUEST._serialized_end = 8608 - _GETUSERGROUPMEMBERSRESPONSE._serialized_start = 8610 - _GETUSERGROUPMEMBERSRESPONSE._serialized_end = 8730 - _CREATESERVICEACCOUNTREQUEST._serialized_start = 8732 - _CREATESERVICEACCOUNTREQUEST._serialized_end = 8855 - _CREATESERVICEACCOUNTRESPONSE._serialized_start = 8858 - _CREATESERVICEACCOUNTRESPONSE._serialized_end = 8990 - _GETSERVICEACCOUNTREQUEST._serialized_start = 8992 - _GETSERVICEACCOUNTREQUEST._serialized_end = 9046 - _GETSERVICEACCOUNTRESPONSE._serialized_start = 9048 - _GETSERVICEACCOUNTRESPONSE._serialized_end = 9148 - _GETSERVICEACCOUNTSREQUEST._serialized_start = 9150 - _GETSERVICEACCOUNTSREQUEST._serialized_end = 9216 - _GETSERVICEACCOUNTSRESPONSE._serialized_start = 9218 - _GETSERVICEACCOUNTSRESPONSE._serialized_end = 9344 - _UPDATESERVICEACCOUNTREQUEST._serialized_start = 9347 - _UPDATESERVICEACCOUNTREQUEST._serialized_end = 9524 - _UPDATESERVICEACCOUNTRESPONSE._serialized_start = 9526 - _UPDATESERVICEACCOUNTRESPONSE._serialized_end = 9630 - _DELETESERVICEACCOUNTREQUEST._serialized_start = 9632 - _DELETESERVICEACCOUNTREQUEST._serialized_end = 9743 - _DELETESERVICEACCOUNTRESPONSE._serialized_start = 9745 - _DELETESERVICEACCOUNTRESPONSE._serialized_end = 9849 - _GETUSAGEREQUEST._serialized_start = 9852 - _GETUSAGEREQUEST._serialized_end = 10022 - _GETUSAGERESPONSE._serialized_start = 10024 - _GETUSAGERESPONSE._serialized_end = 10124 - _GETACCOUNTREQUEST._serialized_start = 10126 - _GETACCOUNTREQUEST._serialized_end = 10145 - _GETACCOUNTRESPONSE._serialized_start = 10147 - _GETACCOUNTRESPONSE._serialized_end = 10224 - _UPDATEACCOUNTREQUEST._serialized_start = 10227 - _UPDATEACCOUNTREQUEST._serialized_end = 10361 - _UPDATEACCOUNTRESPONSE._serialized_start = 10363 - _UPDATEACCOUNTRESPONSE._serialized_end = 10460 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start = 10463 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end = 10607 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 10609 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 10718 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_start = 10720 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_end = 10784 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start = 10786 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end = 10877 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start = 10879 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end = 10969 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start = 10971 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end = 11089 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11092 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11262 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11264 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11373 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start = 11375 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end = 11496 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11498 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11607 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11609 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11727 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11729 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11766 - _UPDATENAMESPACETAGSREQUEST._serialized_start = 11769 - _UPDATENAMESPACETAGSREQUEST._serialized_end = 12027 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start = 11976 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end = 12027 - _UPDATENAMESPACETAGSRESPONSE._serialized_start = 12029 - _UPDATENAMESPACETAGSRESPONSE._serialized_end = 12132 - _CREATECONNECTIVITYRULEREQUEST._serialized_start = 12135 - _CREATECONNECTIVITYRULEREQUEST._serialized_end = 12270 - _CREATECONNECTIVITYRULERESPONSE._serialized_start = 12273 - _CREATECONNECTIVITYRULERESPONSE._serialized_end = 12409 - _GETCONNECTIVITYRULEREQUEST._serialized_start = 12411 - _GETCONNECTIVITYRULEREQUEST._serialized_end = 12469 - _GETCONNECTIVITYRULERESPONSE._serialized_start = 12471 - _GETCONNECTIVITYRULERESPONSE._serialized_end = 12585 - _GETCONNECTIVITYRULESREQUEST._serialized_start = 12587 - _GETCONNECTIVITYRULESREQUEST._serialized_end = 12674 - _GETCONNECTIVITYRULESRESPONSE._serialized_start = 12677 - _GETCONNECTIVITYRULESRESPONSE._serialized_end = 12818 - _DELETECONNECTIVITYRULEREQUEST._serialized_start = 12820 - _DELETECONNECTIVITYRULEREQUEST._serialized_end = 12935 - _DELETECONNECTIVITYRULERESPONSE._serialized_start = 12937 - _DELETECONNECTIVITYRULERESPONSE._serialized_end = 13043 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1' + _CREATENAMESPACEREQUEST_TAGSENTRY._options = None + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b'8\001' + _GETAPIKEYSREQUEST.fields_by_name['owner_type_deprecated']._options = None + _GETAPIKEYSREQUEST.fields_by_name['owner_type_deprecated']._serialized_options = b'\030\001' + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b'8\001' + _GETUSERSREQUEST._serialized_start=499 + _GETUSERSREQUEST._serialized_end=589 + _GETUSERSRESPONSE._serialized_start=591 + _GETUSERSRESPONSE._serialized_end=687 + _GETUSERREQUEST._serialized_start=689 + _GETUSERREQUEST._serialized_end=722 + _GETUSERRESPONSE._serialized_start=724 + _GETUSERRESPONSE._serialized_end=793 + _CREATEUSERREQUEST._serialized_start=795 + _CREATEUSERREQUEST._serialized_end=898 + _CREATEUSERRESPONSE._serialized_start=900 + _CREATEUSERRESPONSE._serialized_end=1011 + _UPDATEUSERREQUEST._serialized_start=1014 + _UPDATEUSERREQUEST._serialized_end=1160 + _UPDATEUSERRESPONSE._serialized_start=1162 + _UPDATEUSERRESPONSE._serialized_end=1256 + _DELETEUSERREQUEST._serialized_start=1258 + _DELETEUSERREQUEST._serialized_end=1348 + _DELETEUSERRESPONSE._serialized_start=1350 + _DELETEUSERRESPONSE._serialized_end=1444 + _SETUSERNAMESPACEACCESSREQUEST._serialized_start=1447 + _SETUSERNAMESPACEACCESSREQUEST._serialized_end=1633 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_start=1635 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_end=1741 + _GETASYNCOPERATIONREQUEST._serialized_start=1743 + _GETASYNCOPERATIONREQUEST._serialized_end=1797 + _GETASYNCOPERATIONRESPONSE._serialized_start=1799 + _GETASYNCOPERATIONRESPONSE._serialized_end=1900 + _CREATENAMESPACEREQUEST._serialized_start=1903 + _CREATENAMESPACEREQUEST._serialized_end=2146 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start=2103 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end=2146 + _CREATENAMESPACERESPONSE._serialized_start=2148 + _CREATENAMESPACERESPONSE._serialized_end=2266 + _GETNAMESPACESREQUEST._serialized_start=2268 + _GETNAMESPACESREQUEST._serialized_end=2343 + _GETNAMESPACESRESPONSE._serialized_start=2345 + _GETNAMESPACESRESPONSE._serialized_end=2457 + _GETNAMESPACEREQUEST._serialized_start=2459 + _GETNAMESPACEREQUEST._serialized_end=2499 + _GETNAMESPACERESPONSE._serialized_start=2501 + _GETNAMESPACERESPONSE._serialized_end=2586 + _UPDATENAMESPACEREQUEST._serialized_start=2589 + _UPDATENAMESPACEREQUEST._serialized_end=2748 + _UPDATENAMESPACERESPONSE._serialized_start=2750 + _UPDATENAMESPACERESPONSE._serialized_end=2849 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start=2852 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end=3050 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start=3052 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end=3163 + _DELETENAMESPACEREQUEST._serialized_start=3165 + _DELETENAMESPACEREQUEST._serialized_end=3262 + _DELETENAMESPACERESPONSE._serialized_start=3264 + _DELETENAMESPACERESPONSE._serialized_end=3363 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_start=3365 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_end=3460 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start=3462 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end=3569 + _ADDNAMESPACEREGIONREQUEST._serialized_start=3571 + _ADDNAMESPACEREGIONREQUEST._serialized_end=3687 + _ADDNAMESPACEREGIONRESPONSE._serialized_start=3689 + _ADDNAMESPACEREGIONRESPONSE._serialized_end=3791 + _DELETENAMESPACEREGIONREQUEST._serialized_start=3793 + _DELETENAMESPACEREGIONREQUEST._serialized_end=3912 + _DELETENAMESPACEREGIONRESPONSE._serialized_start=3914 + _DELETENAMESPACEREGIONRESPONSE._serialized_end=4019 + _GETREGIONSREQUEST._serialized_start=4021 + _GETREGIONSREQUEST._serialized_end=4040 + _GETREGIONSRESPONSE._serialized_start=4042 + _GETREGIONSRESPONSE._serialized_end=4117 + _GETREGIONREQUEST._serialized_start=4119 + _GETREGIONREQUEST._serialized_end=4153 + _GETREGIONRESPONSE._serialized_start=4155 + _GETREGIONRESPONSE._serialized_end=4228 + _GETAPIKEYSREQUEST._serialized_start=4231 + _GETAPIKEYSREQUEST._serialized_end=4405 + _GETAPIKEYSRESPONSE._serialized_start=4407 + _GETAPIKEYSRESPONSE._serialized_end=4510 + _GETAPIKEYREQUEST._serialized_start=4512 + _GETAPIKEYREQUEST._serialized_end=4546 + _GETAPIKEYRESPONSE._serialized_start=4548 + _GETAPIKEYRESPONSE._serialized_end=4624 + _CREATEAPIKEYREQUEST._serialized_start=4626 + _CREATEAPIKEYREQUEST._serialized_end=4733 + _CREATEAPIKEYRESPONSE._serialized_start=4735 + _CREATEAPIKEYRESPONSE._serialized_end=4862 + _UPDATEAPIKEYREQUEST._serialized_start=4865 + _UPDATEAPIKEYREQUEST._serialized_end=5014 + _UPDATEAPIKEYRESPONSE._serialized_start=5016 + _UPDATEAPIKEYRESPONSE._serialized_end=5112 + _DELETEAPIKEYREQUEST._serialized_start=5114 + _DELETEAPIKEYREQUEST._serialized_end=5205 + _DELETEAPIKEYRESPONSE._serialized_start=5207 + _DELETEAPIKEYRESPONSE._serialized_end=5303 + _GETNEXUSENDPOINTSREQUEST._serialized_start=5306 + _GETNEXUSENDPOINTSREQUEST._serialized_end=5441 + _GETNEXUSENDPOINTSRESPONSE._serialized_start=5443 + _GETNEXUSENDPOINTSRESPONSE._serialized_end=5553 + _GETNEXUSENDPOINTREQUEST._serialized_start=5555 + _GETNEXUSENDPOINTREQUEST._serialized_end=5601 + _GETNEXUSENDPOINTRESPONSE._serialized_start=5603 + _GETNEXUSENDPOINTRESPONSE._serialized_end=5686 + _CREATENEXUSENDPOINTREQUEST._serialized_start=5688 + _CREATENEXUSENDPOINTREQUEST._serialized_end=5801 + _CREATENEXUSENDPOINTRESPONSE._serialized_start=5803 + _CREATENEXUSENDPOINTRESPONSE._serialized_end=5927 + _UPDATENEXUSENDPOINTREQUEST._serialized_start=5930 + _UPDATENEXUSENDPOINTREQUEST._serialized_end=6090 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start=6092 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end=6195 + _DELETENEXUSENDPOINTREQUEST._serialized_start=6197 + _DELETENEXUSENDPOINTREQUEST._serialized_end=6300 + _DELETENEXUSENDPOINTRESPONSE._serialized_start=6302 + _DELETENEXUSENDPOINTRESPONSE._serialized_end=6405 + _GETUSERGROUPSREQUEST._serialized_start=6408 + _GETUSERGROUPSREQUEST._serialized_end=6781 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start=6704 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end=6746 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start=6748 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end=6781 + _GETUSERGROUPSRESPONSE._serialized_start=6783 + _GETUSERGROUPSRESPONSE._serialized_end=6890 + _GETUSERGROUPREQUEST._serialized_start=6892 + _GETUSERGROUPREQUEST._serialized_end=6931 + _GETUSERGROUPRESPONSE._serialized_start=6933 + _GETUSERGROUPRESPONSE._serialized_end=7013 + _CREATEUSERGROUPREQUEST._serialized_start=7015 + _CREATEUSERGROUPREQUEST._serialized_end=7128 + _CREATEUSERGROUPRESPONSE._serialized_start=7130 + _CREATEUSERGROUPRESPONSE._serialized_end=7247 + _UPDATEUSERGROUPREQUEST._serialized_start=7250 + _UPDATEUSERGROUPREQUEST._serialized_end=7407 + _UPDATEUSERGROUPRESPONSE._serialized_start=7409 + _UPDATEUSERGROUPRESPONSE._serialized_end=7508 + _DELETEUSERGROUPREQUEST._serialized_start=7510 + _DELETEUSERGROUPREQUEST._serialized_end=7606 + _DELETEUSERGROUPRESPONSE._serialized_start=7608 + _DELETEUSERGROUPRESPONSE._serialized_end=7707 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start=7710 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end=7902 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start=7904 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end=8015 + _ADDUSERGROUPMEMBERREQUEST._serialized_start=8018 + _ADDUSERGROUPMEMBERREQUEST._serialized_end=8161 + _ADDUSERGROUPMEMBERRESPONSE._serialized_start=8163 + _ADDUSERGROUPMEMBERRESPONSE._serialized_end=8265 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_start=8268 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_end=8414 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start=8416 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end=8521 + _GETUSERGROUPMEMBERSREQUEST._serialized_start=8523 + _GETUSERGROUPMEMBERSREQUEST._serialized_end=8608 + _GETUSERGROUPMEMBERSRESPONSE._serialized_start=8610 + _GETUSERGROUPMEMBERSRESPONSE._serialized_end=8730 + _CREATESERVICEACCOUNTREQUEST._serialized_start=8732 + _CREATESERVICEACCOUNTREQUEST._serialized_end=8855 + _CREATESERVICEACCOUNTRESPONSE._serialized_start=8858 + _CREATESERVICEACCOUNTRESPONSE._serialized_end=8990 + _GETSERVICEACCOUNTREQUEST._serialized_start=8992 + _GETSERVICEACCOUNTREQUEST._serialized_end=9046 + _GETSERVICEACCOUNTRESPONSE._serialized_start=9048 + _GETSERVICEACCOUNTRESPONSE._serialized_end=9148 + _GETSERVICEACCOUNTSREQUEST._serialized_start=9150 + _GETSERVICEACCOUNTSREQUEST._serialized_end=9216 + _GETSERVICEACCOUNTSRESPONSE._serialized_start=9218 + _GETSERVICEACCOUNTSRESPONSE._serialized_end=9344 + _UPDATESERVICEACCOUNTREQUEST._serialized_start=9347 + _UPDATESERVICEACCOUNTREQUEST._serialized_end=9524 + _UPDATESERVICEACCOUNTRESPONSE._serialized_start=9526 + _UPDATESERVICEACCOUNTRESPONSE._serialized_end=9630 + _DELETESERVICEACCOUNTREQUEST._serialized_start=9632 + _DELETESERVICEACCOUNTREQUEST._serialized_end=9743 + _DELETESERVICEACCOUNTRESPONSE._serialized_start=9745 + _DELETESERVICEACCOUNTRESPONSE._serialized_end=9849 + _GETUSAGEREQUEST._serialized_start=9852 + _GETUSAGEREQUEST._serialized_end=10022 + _GETUSAGERESPONSE._serialized_start=10024 + _GETUSAGERESPONSE._serialized_end=10124 + _GETACCOUNTREQUEST._serialized_start=10126 + _GETACCOUNTREQUEST._serialized_end=10145 + _GETACCOUNTRESPONSE._serialized_start=10147 + _GETACCOUNTRESPONSE._serialized_end=10224 + _UPDATEACCOUNTREQUEST._serialized_start=10227 + _UPDATEACCOUNTREQUEST._serialized_end=10361 + _UPDATEACCOUNTRESPONSE._serialized_start=10363 + _UPDATEACCOUNTRESPONSE._serialized_end=10460 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start=10463 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end=10607 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start=10609 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end=10718 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_start=10720 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_end=10784 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start=10786 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end=10877 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start=10879 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end=10969 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start=10971 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end=11089 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start=11092 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end=11262 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start=11264 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end=11373 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start=11375 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end=11496 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start=11498 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end=11607 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start=11609 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end=11727 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start=11729 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end=11766 + _UPDATENAMESPACETAGSREQUEST._serialized_start=11769 + _UPDATENAMESPACETAGSREQUEST._serialized_end=12027 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start=11976 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end=12027 + _UPDATENAMESPACETAGSRESPONSE._serialized_start=12029 + _UPDATENAMESPACETAGSRESPONSE._serialized_end=12132 + _CREATECONNECTIVITYRULEREQUEST._serialized_start=12135 + _CREATECONNECTIVITYRULEREQUEST._serialized_end=12270 + _CREATECONNECTIVITYRULERESPONSE._serialized_start=12273 + _CREATECONNECTIVITYRULERESPONSE._serialized_end=12409 + _GETCONNECTIVITYRULEREQUEST._serialized_start=12411 + _GETCONNECTIVITYRULEREQUEST._serialized_end=12469 + _GETCONNECTIVITYRULERESPONSE._serialized_start=12471 + _GETCONNECTIVITYRULERESPONSE._serialized_end=12585 + _GETCONNECTIVITYRULESREQUEST._serialized_start=12587 + _GETCONNECTIVITYRULESREQUEST._serialized_end=12674 + _GETCONNECTIVITYRULESRESPONSE._serialized_start=12677 + _GETCONNECTIVITYRULESRESPONSE._serialized_end=12818 + _DELETECONNECTIVITYRULEREQUEST._serialized_start=12820 + _DELETECONNECTIVITYRULEREQUEST._serialized_end=12935 + _DELETECONNECTIVITYRULERESPONSE._serialized_start=12937 + _DELETECONNECTIVITYRULERESPONSE._serialized_end=13043 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi index 9202f86bb..e97c3bf84 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.cloud.account.v1.message_pb2 import temporalio.api.cloud.connectivityrule.v1.message_pb2 import temporalio.api.cloud.identity.v1.message_pb2 @@ -53,19 +50,7 @@ class GetUsersRequest(google.protobuf.message.Message): email: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "email", - b"email", - "namespace", - b"namespace", - "page_size", - b"page_size", - "page_token", - b"page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["email", b"email", "namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetUsersRequest = GetUsersRequest @@ -75,29 +60,17 @@ class GetUsersResponse(google.protobuf.message.Message): USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def users( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.identity.v1.message_pb2.User - ]: + def users(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.User]: """The list of users in ascending ids order""" next_page_token: builtins.str """The next page's token""" def __init__( self, *, - users: collections.abc.Iterable[ - temporalio.api.cloud.identity.v1.message_pb2.User - ] - | None = ..., + users: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.User] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "users", b"users" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "users", b"users"]) -> None: ... global___GetUsersResponse = GetUsersResponse @@ -112,9 +85,7 @@ class GetUserRequest(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["user_id", b"user_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["user_id", b"user_id"]) -> None: ... global___GetUserRequest = GetUserRequest @@ -130,12 +101,8 @@ class GetUserResponse(google.protobuf.message.Message): *, user: temporalio.api.cloud.identity.v1.message_pb2.User | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["user", b"user"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["user", b"user"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["user", b"user"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["user", b"user"]) -> None: ... global___GetUserResponse = GetUserResponse @@ -155,15 +122,8 @@ class CreateUserRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.UserSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateUserRequest = CreateUserRequest @@ -175,27 +135,16 @@ class CreateUserResponse(google.protobuf.message.Message): user_id: builtins.str """The id of the user that was invited""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, user_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", b"async_operation", "user_id", b"user_id" - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "user_id", b"user_id"]) -> None: ... global___CreateUserResponse = CreateUserResponse @@ -225,22 +174,8 @@ class UpdateUserRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "resource_version", - b"resource_version", - "spec", - b"spec", - "user_id", - b"user_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "spec", b"spec", "user_id", b"user_id"]) -> None: ... global___UpdateUserRequest = UpdateUserRequest @@ -249,24 +184,15 @@ class UpdateUserResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateUserResponse = UpdateUserResponse @@ -291,17 +217,7 @@ class DeleteUserRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "resource_version", - b"resource_version", - "user_id", - b"user_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "user_id", b"user_id"]) -> None: ... global___DeleteUserRequest = DeleteUserRequest @@ -310,24 +226,15 @@ class DeleteUserResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteUserResponse = DeleteUserResponse @@ -357,29 +264,12 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., user_id: builtins.str = ..., - access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess - | None = ..., + access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", - b"access", - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - "user_id", - b"user_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "user_id", b"user_id"]) -> None: ... global___SetUserNamespaceAccessRequest = SetUserNamespaceAccessRequest @@ -388,24 +278,15 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___SetUserNamespaceAccessResponse = SetUserNamespaceAccessResponse @@ -420,12 +301,7 @@ class GetAsyncOperationRequest(google.protobuf.message.Message): *, async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id"]) -> None: ... global___GetAsyncOperationRequest = GetAsyncOperationRequest @@ -434,24 +310,15 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___GetAsyncOperationResponse = GetAsyncOperationResponse @@ -471,10 +338,7 @@ class CreateNamespaceRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int @@ -487,9 +351,7 @@ class CreateNamespaceRequest(google.protobuf.message.Message): Optional, if not provided a random id will be generated. """ @property - def tags( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags to add to the namespace. Note: This field can be set by global admins or account owners only. """ @@ -500,20 +362,8 @@ class CreateNamespaceRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "spec", - b"spec", - "tags", - b"tags", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec", "tags", b"tags"]) -> None: ... global___CreateNamespaceRequest = CreateNamespaceRequest @@ -525,27 +375,16 @@ class CreateNamespaceResponse(google.protobuf.message.Message): namespace: builtins.str """The namespace that was created.""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, namespace: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", b"async_operation", "namespace", b"namespace" - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "namespace", b"namespace"]) -> None: ... global___CreateNamespaceResponse = CreateNamespaceResponse @@ -575,12 +414,7 @@ class GetNamespacesRequest(google.protobuf.message.Message): page_token: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", b"name", "page_size", b"page_size", "page_token", b"page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetNamespacesRequest = GetNamespacesRequest @@ -590,29 +424,17 @@ class GetNamespacesResponse(google.protobuf.message.Message): NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def namespaces( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.namespace.v1.message_pb2.Namespace - ]: + def namespaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.namespace.v1.message_pb2.Namespace]: """The list of namespaces in ascending name order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - namespaces: collections.abc.Iterable[ - temporalio.api.cloud.namespace.v1.message_pb2.Namespace - ] - | None = ..., + namespaces: collections.abc.Iterable[temporalio.api.cloud.namespace.v1.message_pb2.Namespace] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespaces", b"namespaces", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces", "next_page_token", b"next_page_token"]) -> None: ... global___GetNamespacesResponse = GetNamespacesResponse @@ -627,9 +449,7 @@ class GetNamespaceRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... global___GetNamespaceRequest = GetNamespaceRequest @@ -645,12 +465,8 @@ class GetNamespaceResponse(google.protobuf.message.Message): *, namespace: temporalio.api.cloud.namespace.v1.message_pb2.Namespace | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... global___GetNamespaceResponse = GetNamespaceResponse @@ -682,22 +498,8 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateNamespaceRequest = UpdateNamespaceRequest @@ -706,24 +508,15 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceResponse = UpdateNamespaceResponse @@ -758,21 +551,7 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "existing_custom_search_attribute_name", - b"existing_custom_search_attribute_name", - "namespace", - b"namespace", - "new_custom_search_attribute_name", - b"new_custom_search_attribute_name", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "existing_custom_search_attribute_name", b"existing_custom_search_attribute_name", "namespace", b"namespace", "new_custom_search_attribute_name", b"new_custom_search_attribute_name", "resource_version", b"resource_version"]) -> None: ... global___RenameCustomSearchAttributeRequest = RenameCustomSearchAttributeRequest @@ -781,24 +560,15 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___RenameCustomSearchAttributeResponse = RenameCustomSearchAttributeResponse @@ -825,17 +595,7 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... global___DeleteNamespaceRequest = DeleteNamespaceRequest @@ -844,24 +604,15 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceResponse = DeleteNamespaceResponse @@ -886,17 +637,7 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): region: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "region", - b"region", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region"]) -> None: ... global___FailoverNamespaceRegionRequest = FailoverNamespaceRegionRequest @@ -905,24 +646,15 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___FailoverNamespaceRegionResponse = FailoverNamespaceRegionResponse @@ -954,19 +686,7 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "region", - b"region", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region", "resource_version", b"resource_version"]) -> None: ... global___AddNamespaceRegionRequest = AddNamespaceRegionRequest @@ -975,24 +695,15 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___AddNamespaceRegionResponse = AddNamespaceRegionResponse @@ -1024,19 +735,7 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "region", - b"region", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region", "resource_version", b"resource_version"]) -> None: ... global___DeleteNamespaceRegionRequest = DeleteNamespaceRegionRequest @@ -1045,24 +744,15 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceRegionResponse = DeleteNamespaceRegionResponse @@ -1080,23 +770,14 @@ class GetRegionsResponse(google.protobuf.message.Message): REGIONS_FIELD_NUMBER: builtins.int @property - def regions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.region.v1.message_pb2.Region - ]: + def regions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.region.v1.message_pb2.Region]: """The temporal cloud regions.""" def __init__( self, *, - regions: collections.abc.Iterable[ - temporalio.api.cloud.region.v1.message_pb2.Region - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["regions", b"regions"] + regions: collections.abc.Iterable[temporalio.api.cloud.region.v1.message_pb2.Region] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["regions", b"regions"]) -> None: ... global___GetRegionsResponse = GetRegionsResponse @@ -1111,9 +792,7 @@ class GetRegionRequest(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["region", b"region"]) -> None: ... global___GetRegionRequest = GetRegionRequest @@ -1129,12 +808,8 @@ class GetRegionResponse(google.protobuf.message.Message): *, region: temporalio.api.cloud.region.v1.message_pb2.Region | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["region", b"region"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["region", b"region"]) -> None: ... global___GetRegionResponse = GetRegionResponse @@ -1171,21 +846,7 @@ class GetApiKeysRequest(google.protobuf.message.Message): owner_type_deprecated: builtins.str = ..., owner_type: temporalio.api.cloud.identity.v1.message_pb2.OwnerType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "owner_id", - b"owner_id", - "owner_type", - b"owner_type", - "owner_type_deprecated", - b"owner_type_deprecated", - "page_size", - b"page_size", - "page_token", - b"page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["owner_id", b"owner_id", "owner_type", b"owner_type", "owner_type_deprecated", b"owner_type_deprecated", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetApiKeysRequest = GetApiKeysRequest @@ -1195,29 +856,17 @@ class GetApiKeysResponse(google.protobuf.message.Message): API_KEYS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def api_keys( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.identity.v1.message_pb2.ApiKey - ]: + def api_keys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.ApiKey]: """The list of api keys in ascending id order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - api_keys: collections.abc.Iterable[ - temporalio.api.cloud.identity.v1.message_pb2.ApiKey - ] - | None = ..., + api_keys: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.ApiKey] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "api_keys", b"api_keys", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["api_keys", b"api_keys", "next_page_token", b"next_page_token"]) -> None: ... global___GetApiKeysResponse = GetApiKeysResponse @@ -1232,9 +881,7 @@ class GetApiKeyRequest(google.protobuf.message.Message): *, key_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["key_id", b"key_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key_id", b"key_id"]) -> None: ... global___GetApiKeyRequest = GetApiKeyRequest @@ -1250,12 +897,8 @@ class GetApiKeyResponse(google.protobuf.message.Message): *, api_key: temporalio.api.cloud.identity.v1.message_pb2.ApiKey | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["api_key", b"api_key"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["api_key", b"api_key"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["api_key", b"api_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["api_key", b"api_key"]) -> None: ... global___GetApiKeyResponse = GetApiKeyResponse @@ -1277,15 +920,8 @@ class CreateApiKeyRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateApiKeyRequest = CreateApiKeyRequest @@ -1303,33 +939,17 @@ class CreateApiKeyResponse(google.protobuf.message.Message): It will not be retrievable after this response. """ @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, key_id: builtins.str = ..., token: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", - b"async_operation", - "key_id", - b"key_id", - "token", - b"token", - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "key_id", b"key_id", "token", b"token"]) -> None: ... global___CreateApiKeyResponse = CreateApiKeyResponse @@ -1359,22 +979,8 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "key_id", - b"key_id", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "key_id", b"key_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateApiKeyRequest = UpdateApiKeyRequest @@ -1383,24 +989,15 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateApiKeyResponse = UpdateApiKeyResponse @@ -1425,17 +1022,7 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "key_id", - b"key_id", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "key_id", b"key_id", "resource_version", b"resource_version"]) -> None: ... global___DeleteApiKeyRequest = DeleteApiKeyRequest @@ -1444,24 +1031,15 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteApiKeyResponse = DeleteApiKeyResponse @@ -1494,21 +1072,7 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): target_task_queue: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", - b"name", - "page_size", - b"page_size", - "page_token", - b"page_token", - "target_namespace_id", - b"target_namespace_id", - "target_task_queue", - b"target_task_queue", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "page_size", b"page_size", "page_token", b"page_token", "target_namespace_id", b"target_namespace_id", "target_task_queue", b"target_task_queue"]) -> None: ... global___GetNexusEndpointsRequest = GetNexusEndpointsRequest @@ -1518,29 +1082,17 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): ENDPOINTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def endpoints( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.nexus.v1.message_pb2.Endpoint - ]: + def endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.nexus.v1.message_pb2.Endpoint]: """The list of endpoints in ascending id order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - endpoints: collections.abc.Iterable[ - temporalio.api.cloud.nexus.v1.message_pb2.Endpoint - ] - | None = ..., + endpoints: collections.abc.Iterable[temporalio.api.cloud.nexus.v1.message_pb2.Endpoint] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "endpoints", b"endpoints", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoints", b"endpoints", "next_page_token", b"next_page_token"]) -> None: ... global___GetNexusEndpointsResponse = GetNexusEndpointsResponse @@ -1555,9 +1107,7 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, endpoint_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"]) -> None: ... global___GetNexusEndpointRequest = GetNexusEndpointRequest @@ -1573,12 +1123,8 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.cloud.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... global___GetNexusEndpointResponse = GetNexusEndpointResponse @@ -1598,15 +1144,8 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateNexusEndpointRequest = CreateNexusEndpointRequest @@ -1618,27 +1157,16 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): endpoint_id: builtins.str """The id of the endpoint that was created.""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, endpoint_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", b"async_operation", "endpoint_id", b"endpoint_id" - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "endpoint_id", b"endpoint_id"]) -> None: ... global___CreateNexusEndpointResponse = CreateNexusEndpointResponse @@ -1668,22 +1196,8 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "endpoint_id", - b"endpoint_id", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "endpoint_id", b"endpoint_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest @@ -1692,24 +1206,15 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse @@ -1734,17 +1239,7 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "endpoint_id", - b"endpoint_id", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "endpoint_id", b"endpoint_id", "resource_version", b"resource_version"]) -> None: ... global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest @@ -1753,24 +1248,15 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse @@ -1788,10 +1274,7 @@ class GetUserGroupsRequest(google.protobuf.message.Message): *, email_address: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["email_address", b"email_address"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["email_address", b"email_address"]) -> None: ... class SCIMGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1804,9 +1287,7 @@ class GetUserGroupsRequest(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["idp_id", b"idp_id"]) -> None: ... PAGE_SIZE_FIELD_NUMBER: builtins.int PAGE_TOKEN_FIELD_NUMBER: builtins.int @@ -1840,29 +1321,8 @@ class GetUserGroupsRequest(google.protobuf.message.Message): google_group: global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., scim_group: global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "google_group", b"google_group", "scim_group", b"scim_group" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "display_name", - b"display_name", - "google_group", - b"google_group", - "namespace", - b"namespace", - "page_size", - b"page_size", - "page_token", - b"page_token", - "scim_group", - b"scim_group", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["google_group", b"google_group", "scim_group", b"scim_group"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["display_name", b"display_name", "google_group", b"google_group", "namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token", "scim_group", b"scim_group"]) -> None: ... global___GetUserGroupsRequest = GetUserGroupsRequest @@ -1872,29 +1332,17 @@ class GetUserGroupsResponse(google.protobuf.message.Message): GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def groups( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.identity.v1.message_pb2.UserGroup - ]: + def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.UserGroup]: """The list of groups in ascending name order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - groups: collections.abc.Iterable[ - temporalio.api.cloud.identity.v1.message_pb2.UserGroup - ] - | None = ..., + groups: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.UserGroup] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "groups", b"groups", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "next_page_token", b"next_page_token"]) -> None: ... global___GetUserGroupsResponse = GetUserGroupsResponse @@ -1909,9 +1357,7 @@ class GetUserGroupRequest(google.protobuf.message.Message): *, group_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["group_id", b"group_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id"]) -> None: ... global___GetUserGroupRequest = GetUserGroupRequest @@ -1927,12 +1373,8 @@ class GetUserGroupResponse(google.protobuf.message.Message): *, group: temporalio.api.cloud.identity.v1.message_pb2.UserGroup | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["group", b"group"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["group", b"group"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["group", b"group"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["group", b"group"]) -> None: ... global___GetUserGroupResponse = GetUserGroupResponse @@ -1954,15 +1396,8 @@ class CreateUserGroupRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateUserGroupRequest = CreateUserGroupRequest @@ -1974,27 +1409,16 @@ class CreateUserGroupResponse(google.protobuf.message.Message): group_id: builtins.str """The id of the group that was created.""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, group_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", b"async_operation", "group_id", b"group_id" - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "group_id", b"group_id"]) -> None: ... global___CreateUserGroupResponse = CreateUserGroupResponse @@ -2026,22 +1450,8 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "group_id", - b"group_id", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateUserGroupRequest = UpdateUserGroupRequest @@ -2050,24 +1460,15 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateUserGroupResponse = UpdateUserGroupResponse @@ -2094,17 +1495,7 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "group_id", - b"group_id", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "resource_version", b"resource_version"]) -> None: ... global___DeleteUserGroupRequest = DeleteUserGroupRequest @@ -2113,24 +1504,15 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteUserGroupResponse = DeleteUserGroupResponse @@ -2160,29 +1542,12 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., group_id: builtins.str = ..., - access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess - | None = ..., + access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", - b"access", - "async_operation_id", - b"async_operation_id", - "group_id", - b"group_id", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "async_operation_id", b"async_operation_id", "group_id", b"group_id", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... global___SetUserGroupNamespaceAccessRequest = SetUserGroupNamespaceAccessRequest @@ -2191,24 +1556,15 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___SetUserGroupNamespaceAccessResponse = SetUserGroupNamespaceAccessResponse @@ -2221,9 +1577,7 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): group_id: builtins.str """The id of the group to add the member for.""" @property - def member_id( - self, - ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: + def member_id(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -2233,24 +1587,11 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): self, *, group_id: builtins.str = ..., - member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId - | None = ..., + member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["member_id", b"member_id"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "group_id", - b"group_id", - "member_id", - b"member_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["member_id", b"member_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "member_id", b"member_id"]) -> None: ... global___AddUserGroupMemberRequest = AddUserGroupMemberRequest @@ -2259,24 +1600,15 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___AddUserGroupMemberResponse = AddUserGroupMemberResponse @@ -2289,9 +1621,7 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): group_id: builtins.str """The id of the group to add the member for.""" @property - def member_id( - self, - ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: + def member_id(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -2301,24 +1631,11 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): self, *, group_id: builtins.str = ..., - member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId - | None = ..., + member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["member_id", b"member_id"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "group_id", - b"group_id", - "member_id", - b"member_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["member_id", b"member_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "member_id", b"member_id"]) -> None: ... global___RemoveUserGroupMemberRequest = RemoveUserGroupMemberRequest @@ -2327,24 +1644,15 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___RemoveUserGroupMemberResponse = RemoveUserGroupMemberResponse @@ -2369,17 +1677,7 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): page_token: builtins.str = ..., group_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "group_id", - b"group_id", - "page_size", - b"page_size", - "page_token", - b"page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetUserGroupMembersRequest = GetUserGroupMembersRequest @@ -2389,29 +1687,17 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): MEMBERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def members( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember - ]: + def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember]: """The list of group members""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - members: collections.abc.Iterable[ - temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember - ] - | None = ..., + members: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "members", b"members", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["members", b"members", "next_page_token", b"next_page_token"]) -> None: ... global___GetUserGroupMembersResponse = GetUserGroupMembersResponse @@ -2428,19 +1714,11 @@ class CreateServiceAccountRequest(google.protobuf.message.Message): def __init__( self, *, - spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec - | None = ..., + spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateServiceAccountRequest = CreateServiceAccountRequest @@ -2452,30 +1730,16 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): service_account_id: builtins.str """The ID of the created service account.""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, service_account_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", - b"async_operation", - "service_account_id", - b"service_account_id", - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "service_account_id", b"service_account_id"]) -> None: ... global___CreateServiceAccountResponse = CreateServiceAccountResponse @@ -2490,12 +1754,7 @@ class GetServiceAccountRequest(google.protobuf.message.Message): *, service_account_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "service_account_id", b"service_account_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["service_account_id", b"service_account_id"]) -> None: ... global___GetServiceAccountRequest = GetServiceAccountRequest @@ -2504,24 +1763,15 @@ class GetServiceAccountResponse(google.protobuf.message.Message): SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int @property - def service_account( - self, - ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: + def service_account(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The service account retrieved.""" def __init__( self, *, - service_account: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["service_account", b"service_account"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["service_account", b"service_account"], + service_account: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["service_account", b"service_account"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["service_account", b"service_account"]) -> None: ... global___GetServiceAccountResponse = GetServiceAccountResponse @@ -2542,12 +1792,7 @@ class GetServiceAccountsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "page_size", b"page_size", "page_token", b"page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetServiceAccountsRequest = GetServiceAccountsRequest @@ -2557,29 +1802,17 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def service_account( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount - ]: + def service_account(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount]: """The list of service accounts in ascending ID order.""" next_page_token: builtins.str """The next page token, set if there is another page.""" def __init__( self, *, - service_account: collections.abc.Iterable[ - temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount - ] - | None = ..., + service_account: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "service_account", b"service_account" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "service_account", b"service_account"]) -> None: ... global___GetServiceAccountsResponse = GetServiceAccountsResponse @@ -2605,27 +1838,12 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): self, *, service_account_id: builtins.str = ..., - spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec - | None = ..., + spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "resource_version", - b"resource_version", - "service_account_id", - b"service_account_id", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "service_account_id", b"service_account_id", "spec", b"spec"]) -> None: ... global___UpdateServiceAccountRequest = UpdateServiceAccountRequest @@ -2634,24 +1852,15 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateServiceAccountResponse = UpdateServiceAccountResponse @@ -2676,17 +1885,7 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "resource_version", - b"resource_version", - "service_account_id", - b"service_account_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "service_account_id", b"service_account_id"]) -> None: ... global___DeleteServiceAccountRequest = DeleteServiceAccountRequest @@ -2695,24 +1894,15 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteServiceAccountResponse = DeleteServiceAccountResponse @@ -2752,28 +1942,8 @@ class GetUsageRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "end_time_exclusive", - b"end_time_exclusive", - "start_time_inclusive", - b"start_time_inclusive", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_time_exclusive", - b"end_time_exclusive", - "page_size", - b"page_size", - "page_token", - b"page_token", - "start_time_inclusive", - b"start_time_inclusive", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", b"start_time_inclusive"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["end_time_exclusive", b"end_time_exclusive", "page_size", b"page_size", "page_token", b"page_token", "start_time_inclusive", b"start_time_inclusive"]) -> None: ... global___GetUsageRequest = GetUsageRequest @@ -2783,11 +1953,7 @@ class GetUsageResponse(google.protobuf.message.Message): SUMMARIES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def summaries( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.usage.v1.message_pb2.Summary - ]: + def summaries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.usage.v1.message_pb2.Summary]: """The list of data based on granularity (per Day for now) Ordered by: time range in ascending order """ @@ -2796,18 +1962,10 @@ class GetUsageResponse(google.protobuf.message.Message): def __init__( self, *, - summaries: collections.abc.Iterable[ - temporalio.api.cloud.usage.v1.message_pb2.Summary - ] - | None = ..., + summaries: collections.abc.Iterable[temporalio.api.cloud.usage.v1.message_pb2.Summary] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "summaries", b"summaries" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "summaries", b"summaries"]) -> None: ... global___GetUsageResponse = GetUsageResponse @@ -2832,12 +1990,8 @@ class GetAccountResponse(google.protobuf.message.Message): *, account: temporalio.api.cloud.account.v1.message_pb2.Account | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["account", b"account"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["account", b"account"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["account", b"account"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["account", b"account"]) -> None: ... global___GetAccountResponse = GetAccountResponse @@ -2865,20 +2019,8 @@ class UpdateAccountRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateAccountRequest = UpdateAccountRequest @@ -2887,24 +2029,15 @@ class UpdateAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateAccountResponse = UpdateAccountResponse @@ -2928,20 +2061,8 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "spec", b"spec"]) -> None: ... global___CreateNamespaceExportSinkRequest = CreateNamespaceExportSinkRequest @@ -2950,24 +2071,15 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___CreateNamespaceExportSinkResponse = CreateNamespaceExportSinkResponse @@ -2986,12 +2098,7 @@ class GetNamespaceExportSinkRequest(google.protobuf.message.Message): namespace: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", b"name", "namespace", b"namespace" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "namespace", b"namespace"]) -> None: ... global___GetNamespaceExportSinkRequest = GetNamespaceExportSinkRequest @@ -3007,12 +2114,8 @@ class GetNamespaceExportSinkResponse(google.protobuf.message.Message): *, sink: temporalio.api.cloud.namespace.v1.message_pb2.ExportSink | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["sink", b"sink"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["sink", b"sink"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["sink", b"sink"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["sink", b"sink"]) -> None: ... global___GetNamespaceExportSinkResponse = GetNamespaceExportSinkResponse @@ -3037,17 +2140,7 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "page_size", - b"page_size", - "page_token", - b"page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetNamespaceExportSinksRequest = GetNamespaceExportSinksRequest @@ -3057,29 +2150,17 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def sinks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.namespace.v1.message_pb2.ExportSink - ]: + def sinks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.namespace.v1.message_pb2.ExportSink]: """The list of export sinks retrieved.""" next_page_token: builtins.str """The next page token, set if there is another page.""" def __init__( self, *, - sinks: collections.abc.Iterable[ - temporalio.api.cloud.namespace.v1.message_pb2.ExportSink - ] - | None = ..., + sinks: collections.abc.Iterable[temporalio.api.cloud.namespace.v1.message_pb2.ExportSink] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "sinks", b"sinks" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "sinks", b"sinks"]) -> None: ... global___GetNamespaceExportSinksResponse = GetNamespaceExportSinksResponse @@ -3109,22 +2190,8 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... global___UpdateNamespaceExportSinkRequest = UpdateNamespaceExportSinkRequest @@ -3133,24 +2200,15 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceExportSinkResponse = UpdateNamespaceExportSinkResponse @@ -3179,19 +2237,7 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "name", - b"name", - "namespace", - b"namespace", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "name", b"name", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... global___DeleteNamespaceExportSinkRequest = DeleteNamespaceExportSinkRequest @@ -3200,24 +2246,15 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceExportSinkResponse = DeleteNamespaceExportSinkResponse @@ -3237,15 +2274,8 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): namespace: builtins.str = ..., spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "spec", b"spec"]) -> None: ... global___ValidateNamespaceExportSinkRequest = ValidateNamespaceExportSinkRequest @@ -3274,10 +2304,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TAGS_TO_UPSERT_FIELD_NUMBER: builtins.int @@ -3286,18 +2313,14 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace to set tags for.""" @property - def tags_to_upsert( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """A list of tags to add or update. - If a key of an existing tag is added, the tag's value is updated. + def tags_to_upsert(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + """A list of tags to add or update. + If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified. """ @property - def tags_to_remove( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """A list of tag keys to remove. + def tags_to_remove(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified. """ @@ -3307,24 +2330,11 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - tags_to_upsert: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., + tags_to_upsert: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., tags_to_remove: collections.abc.Iterable[builtins.str] | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "namespace", - b"namespace", - "tags_to_remove", - b"tags_to_remove", - "tags_to_upsert", - b"tags_to_upsert", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "tags_to_remove", b"tags_to_remove", "tags_to_upsert", b"tags_to_upsert"]) -> None: ... global___UpdateNamespaceTagsRequest = UpdateNamespaceTagsRequest @@ -3333,24 +2343,15 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceTagsResponse = UpdateNamespaceTagsResponse @@ -3360,9 +2361,7 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int @property - def spec( - self, - ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: + def spec(self) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: """The connectivity rule specification.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -3371,19 +2370,11 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): def __init__( self, *, - spec: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec - | None = ..., + spec: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id", "spec", b"spec" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... global___CreateConnectivityRuleRequest = CreateConnectivityRuleRequest @@ -3395,30 +2386,16 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): connectivity_rule_id: builtins.str """The id of the connectivity rule that was created.""" @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, connectivity_rule_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation", - b"async_operation", - "connectivity_rule_id", - b"connectivity_rule_id", - ], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "connectivity_rule_id", b"connectivity_rule_id"]) -> None: ... global___CreateConnectivityRuleResponse = CreateConnectivityRuleResponse @@ -3433,12 +2410,7 @@ class GetConnectivityRuleRequest(google.protobuf.message.Message): *, connectivity_rule_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rule_id", b"connectivity_rule_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["connectivity_rule_id", b"connectivity_rule_id"]) -> None: ... global___GetConnectivityRuleRequest = GetConnectivityRuleRequest @@ -3447,27 +2419,14 @@ class GetConnectivityRuleResponse(google.protobuf.message.Message): CONNECTIVITY_RULE_FIELD_NUMBER: builtins.int @property - def connectivity_rule( - self, - ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule: ... + def connectivity_rule(self) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule: ... def __init__( self, *, - connectivity_rule: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rule", b"connectivity_rule" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rule", b"connectivity_rule" - ], + connectivity_rule: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["connectivity_rule", b"connectivity_rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["connectivity_rule", b"connectivity_rule"]) -> None: ... global___GetConnectivityRuleResponse = GetConnectivityRuleResponse @@ -3494,17 +2453,7 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): page_token: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "page_size", - b"page_size", - "page_token", - b"page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... global___GetConnectivityRulesRequest = GetConnectivityRulesRequest @@ -3514,32 +2463,17 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): CONNECTIVITY_RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def connectivity_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule - ]: + def connectivity_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule]: """connectivity_rules returned""" next_page_token: builtins.str """The next page token""" def __init__( self, *, - connectivity_rules: collections.abc.Iterable[ - temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule - ] - | None = ..., + connectivity_rules: collections.abc.Iterable[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule] | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rules", - b"connectivity_rules", - "next_page_token", - b"next_page_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["connectivity_rules", b"connectivity_rules", "next_page_token", b"next_page_token"]) -> None: ... global___GetConnectivityRulesResponse = GetConnectivityRulesResponse @@ -3566,17 +2500,7 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "connectivity_rule_id", - b"connectivity_rule_id", - "resource_version", - b"resource_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "connectivity_rule_id", b"connectivity_rule_id", "resource_version", b"resource_version"]) -> None: ... global___DeleteConnectivityRuleRequest = DeleteConnectivityRuleRequest @@ -3585,23 +2509,14 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation( - self, - ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteConnectivityRuleResponse = DeleteConnectivityRuleResponse diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py index bf947056a..2daafffeb 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc + diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2.py b/temporalio/api/cloud/cloudservice/v1/service_pb2.py index 7ff284911..9f2ee2ae4 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2.py @@ -2,315 +2,141 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/cloudservice/v1/service.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.cloud.cloudservice.v1 import request_response_pb2 as temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from temporalio.api.cloud.cloudservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xf2R\n\x0c\x43loudService\x12\x8b\x01\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x92\x01\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\x94\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"\x17\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x12\x9e\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x12\x9b\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xe0\x01\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"?\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xc0\x01\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse".\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xa8\x01\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x12\x9f\x01\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xa8\x01\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xb4\x01\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"(\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x12\xf7\x01\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"G\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"3\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\xd4\x01\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"6\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\x93\x01\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\x99\x01\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\x94\x01\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\x9a\x01\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\x9d\x01\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\x1a\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x12\xa6\x01\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa3\x01\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse" \x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xb0\x01\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xbb\x01\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse",\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x12\xb9\x01\n\x13\x43reateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x12\xc7\x01\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"/\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xc4\x01\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse",\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xa0\x01\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xa8\x01\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xa9\x01\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\x1d\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x12\xb4\x01\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"(\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x12\xb1\x01\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"%\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xf6\x01\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"F\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xc5\x01\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"0\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x12\xd4\x01\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"6\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xc5\x01\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xbd\x01\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse""\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x12\xc6\x01\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"4\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xb4\x01\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\xd2\x01\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"7\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x12\xcf\x01\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"4\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\x8b\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\x93\x01\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\x9f\x01\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\x19\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x12\xdf\x01\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"5\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\xda\x01\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xd6\x01\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"2\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\xeb\x01\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"A\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\xe3\x01\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"9\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xee\x01\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse">\x82\xd3\xe4\x93\x02\x38"3/cloud/namespaces/{namespace}/export-sinks/validate:\x01*\x12\xcc\x01\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"4\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xc5\x01\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x12\xd0\x01\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xbc\x01\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\xd9\x01\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"8\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}B\xc0\x01\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xf2R\n\x0c\x43loudService\x12\x8b\x01\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x92\x01\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\x94\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/cloud/users:\x01*\x12\x9e\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/users/{user_id}:\x01*\x12\x9b\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xe0\x01\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xc0\x01\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse\".\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xa8\x01\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/cloud/namespaces:\x01*\x12\x9f\x01\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xa8\x01\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xb4\x01\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/namespaces/{namespace}:\x01*\x12\xf7\x01\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse\"G\x82\xd3\xe4\x93\x02\x41\".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse\"3\x82\xd3\xe4\x93\x02-\"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\xd4\x01\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse\"6\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\x93\x01\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\x99\x01\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\x94\x01\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\x9a\x01\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\x9d\x01\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/cloud/api-keys:\x01*\x12\xa6\x01\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa3\x01\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xb0\x01\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xbb\x01\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x12\xb9\x01\n\x13\x43reateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/nexus/endpoints:\x01*\x12\xc7\x01\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse\"/\x82\xd3\xe4\x93\x02)\"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xc4\x01\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xa0\x01\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xa8\x01\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xa9\x01\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/cloud/user-groups:\x01*\x12\xb4\x01\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/user-groups/{group_id}:\x01*\x12\xb1\x01\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xf6\x01\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse\"F\x82\xd3\xe4\x93\x02@\";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xc5\x01\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse\"0\x82\xd3\xe4\x93\x02*\"%/cloud/user-groups/{group_id}/members:\x01*\x12\xd4\x01\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xc5\x01\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xbd\x01\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/cloud/service-accounts:\x01*\x12\xc6\x01\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xb4\x01\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\xd2\x01\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse\"7\x82\xd3\xe4\x93\x02\x31\",/cloud/service-accounts/{service_account_id}:\x01*\x12\xcf\x01\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\x8b\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\x93\x01\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\x9f\x01\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/cloud/account:\x01*\x12\xdf\x01\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse\"5\x82\xd3\xe4\x93\x02/\"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\xda\x01\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xd6\x01\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\xeb\x01\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse\"A\x82\xd3\xe4\x93\x02;\"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\xe3\x01\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xee\x01\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse\">\x82\xd3\xe4\x93\x02\x38\"3/cloud/namespaces/{namespace}/export-sinks/validate:\x01*\x12\xcc\x01\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse\"4\x82\xd3\xe4\x93\x02.\")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xc5\x01\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cloud/connectivity-rules:\x01*\x12\xd0\x01\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xbc\x01\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\xd9\x01\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}B\xc0\x01\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3') -_CLOUDSERVICE = DESCRIPTOR.services_by_name["CloudService"] + +_CLOUDSERVICE = DESCRIPTOR.services_by_name['CloudService'] if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" - _CLOUDSERVICE.methods_by_name["GetUsers"]._options = None - _CLOUDSERVICE.methods_by_name[ - "GetUsers" - ]._serialized_options = b"\202\323\344\223\002\016\022\014/cloud/users" - _CLOUDSERVICE.methods_by_name["GetUser"]._options = None - _CLOUDSERVICE.methods_by_name[ - "GetUser" - ]._serialized_options = b"\202\323\344\223\002\030\022\026/cloud/users/{user_id}" - _CLOUDSERVICE.methods_by_name["CreateUser"]._options = None - _CLOUDSERVICE.methods_by_name[ - "CreateUser" - ]._serialized_options = b'\202\323\344\223\002\021"\014/cloud/users:\001*' - _CLOUDSERVICE.methods_by_name["UpdateUser"]._options = None - _CLOUDSERVICE.methods_by_name[ - "UpdateUser" - ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/users/{user_id}:\001*' - _CLOUDSERVICE.methods_by_name["DeleteUser"]._options = None - _CLOUDSERVICE.methods_by_name[ - "DeleteUser" - ]._serialized_options = b"\202\323\344\223\002\030*\026/cloud/users/{user_id}" - _CLOUDSERVICE.methods_by_name["SetUserNamespaceAccess"]._options = None - _CLOUDSERVICE.methods_by_name[ - "SetUserNamespaceAccess" - ]._serialized_options = b'\202\323\344\223\0029"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*' - _CLOUDSERVICE.methods_by_name["GetAsyncOperation"]._options = None - _CLOUDSERVICE.methods_by_name[ - "GetAsyncOperation" - ]._serialized_options = ( - b"\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}" - ) - _CLOUDSERVICE.methods_by_name["CreateNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ - "CreateNamespace" - ]._serialized_options = b'\202\323\344\223\002\026"\021/cloud/namespaces:\001*' - _CLOUDSERVICE.methods_by_name["GetNamespaces"]._options = None - _CLOUDSERVICE.methods_by_name[ - "GetNamespaces" - ]._serialized_options = b"\202\323\344\223\002\023\022\021/cloud/namespaces" - _CLOUDSERVICE.methods_by_name["GetNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ - "GetNamespace" - ]._serialized_options = ( - b"\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}" - ) - _CLOUDSERVICE.methods_by_name["UpdateNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ - "UpdateNamespace" - ]._serialized_options = ( - b'\202\323\344\223\002""\035/cloud/namespaces/{namespace}:\001*' - ) - _CLOUDSERVICE.methods_by_name["RenameCustomSearchAttribute"]._options = None - _CLOUDSERVICE.methods_by_name[ - "RenameCustomSearchAttribute" - ]._serialized_options = b'\202\323\344\223\002A" ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse - ): + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse: """Get all namespaces""" @abc.abstractmethod def GetNamespace( @@ -507,9 +502,7 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse - ): + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse: """Get all user groups""" @abc.abstractmethod def GetUserGroup( @@ -622,9 +615,7 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse - ): + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse: """Update account information.""" @abc.abstractmethod def CreateNamespaceExportSink( @@ -706,6 +697,4 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse: """Deletes a connectivity rule by id""" -def add_CloudServiceServicer_to_server( - servicer: CloudServiceServicer, server: grpc.Server -) -> None: ... +def add_CloudServiceServicer_to_server(servicer: CloudServiceServicer, server: grpc.Server) -> None: ... diff --git a/temporalio/api/cloud/connectivityrule/v1/__init__.py b/temporalio/api/cloud/connectivityrule/v1/__init__.py index 233e98118..c940e6a75 100644 --- a/temporalio/api/cloud/connectivityrule/v1/__init__.py +++ b/temporalio/api/cloud/connectivityrule/v1/__init__.py @@ -1,9 +1,7 @@ -from .message_pb2 import ( - ConnectivityRule, - ConnectivityRuleSpec, - PrivateConnectivityRule, - PublicConnectivityRule, -) +from .message_pb2 import ConnectivityRule +from .message_pb2 import ConnectivityRuleSpec +from .message_pb2 import PublicConnectivityRule +from .message_pb2 import PrivateConnectivityRule __all__ = [ "ConnectivityRule", diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py index 86820b3bc..eda2057fc 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py @@ -2,86 +2,66 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/connectivityrule/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.cloud.resource.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type"\x18\n\x16PublicConnectivityRule"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04\"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type\"\x18\n\x16PublicConnectivityRule\"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3') -_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["ConnectivityRule"] -_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name["ConnectivityRuleSpec"] -_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PublicConnectivityRule"] -_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PrivateConnectivityRule"] -ConnectivityRule = _reflection.GeneratedProtocolMessageType( - "ConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _CONNECTIVITYRULE, - "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) - }, -) + +_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['ConnectivityRule'] +_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name['ConnectivityRuleSpec'] +_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['PublicConnectivityRule'] +_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['PrivateConnectivityRule'] +ConnectivityRule = _reflection.GeneratedProtocolMessageType('ConnectivityRule', (_message.Message,), { + 'DESCRIPTOR' : _CONNECTIVITYRULE, + '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) + }) _sym_db.RegisterMessage(ConnectivityRule) -ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType( - "ConnectivityRuleSpec", - (_message.Message,), - { - "DESCRIPTOR": _CONNECTIVITYRULESPEC, - "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) - }, -) +ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType('ConnectivityRuleSpec', (_message.Message,), { + 'DESCRIPTOR' : _CONNECTIVITYRULESPEC, + '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) + }) _sym_db.RegisterMessage(ConnectivityRuleSpec) -PublicConnectivityRule = _reflection.GeneratedProtocolMessageType( - "PublicConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _PUBLICCONNECTIVITYRULE, - "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) - }, -) +PublicConnectivityRule = _reflection.GeneratedProtocolMessageType('PublicConnectivityRule', (_message.Message,), { + 'DESCRIPTOR' : _PUBLICCONNECTIVITYRULE, + '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) + }) _sym_db.RegisterMessage(PublicConnectivityRule) -PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType( - "PrivateConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _PRIVATECONNECTIVITYRULE, - "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) - }, -) +PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType('PrivateConnectivityRule', (_message.Message,), { + 'DESCRIPTOR' : _PRIVATECONNECTIVITYRULE, + '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) + }) _sym_db.RegisterMessage(PrivateConnectivityRule) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" - _CONNECTIVITYRULE._serialized_start = 176 - _CONNECTIVITYRULE._serialized_end = 454 - _CONNECTIVITYRULESPEC._serialized_start = 457 - _CONNECTIVITYRULESPEC._serialized_end = 674 - _PUBLICCONNECTIVITYRULE._serialized_start = 676 - _PUBLICCONNECTIVITYRULE._serialized_end = 700 - _PRIVATECONNECTIVITYRULE._serialized_start = 702 - _PRIVATECONNECTIVITYRULE._serialized_end = 796 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1' + _CONNECTIVITYRULE._serialized_start=176 + _CONNECTIVITYRULE._serialized_end=454 + _CONNECTIVITYRULESPEC._serialized_start=457 + _CONNECTIVITYRULESPEC._serialized_end=674 + _PUBLICCONNECTIVITYRULE._serialized_start=676 + _PUBLICCONNECTIVITYRULE._serialized_end=700 + _PRIVATECONNECTIVITYRULE._serialized_start=702 + _PRIVATECONNECTIVITYRULE._serialized_end=796 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi index 06d8850d4..e91582606 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi @@ -2,14 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.cloud.resource.v1.message_pb2 if sys.version_info >= (3, 8): @@ -53,29 +50,8 @@ class ConnectivityRule(google.protobuf.message.Message): async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "spec", b"spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... global___ConnectivityRule = ConnectivityRule @@ -98,32 +74,9 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): public_rule: global___PublicConnectivityRule | None = ..., private_rule: global___PrivateConnectivityRule | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "connection_type", - b"connection_type", - "private_rule", - b"private_rule", - "public_rule", - b"public_rule", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "connection_type", - b"connection_type", - "private_rule", - b"private_rule", - "public_rule", - b"public_rule", - ], - ) -> None: ... - def WhichOneof( - self, - oneof_group: typing_extensions.Literal["connection_type", b"connection_type"], - ) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["connection_type", b"connection_type", "private_rule", b"private_rule", "public_rule", b"public_rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["connection_type", b"connection_type", "private_rule", b"private_rule", "public_rule", b"public_rule"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["connection_type", b"connection_type"]) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... global___ConnectivityRuleSpec = ConnectivityRuleSpec @@ -163,16 +116,6 @@ class PrivateConnectivityRule(google.protobuf.message.Message): gcp_project_id: builtins.str = ..., region: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "connection_id", - b"connection_id", - "gcp_project_id", - b"gcp_project_id", - "region", - b"region", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["connection_id", b"connection_id", "gcp_project_id", b"gcp_project_id", "region", b"region"]) -> None: ... global___PrivateConnectivityRule = PrivateConnectivityRule diff --git a/temporalio/api/cloud/identity/v1/__init__.py b/temporalio/api/cloud/identity/v1/__init__.py index 6b477fbef..b6730fa75 100644 --- a/temporalio/api/cloud/identity/v1/__init__.py +++ b/temporalio/api/cloud/identity/v1/__init__.py @@ -1,24 +1,22 @@ -from .message_pb2 import ( - Access, - AccountAccess, - ApiKey, - ApiKeySpec, - CloudGroupSpec, - GoogleGroupSpec, - Invitation, - NamespaceAccess, - NamespaceScopedAccess, - OwnerType, - SCIMGroupSpec, - ServiceAccount, - ServiceAccountSpec, - User, - UserGroup, - UserGroupMember, - UserGroupMemberId, - UserGroupSpec, - UserSpec, -) +from .message_pb2 import OwnerType +from .message_pb2 import AccountAccess +from .message_pb2 import NamespaceAccess +from .message_pb2 import Access +from .message_pb2 import NamespaceScopedAccess +from .message_pb2 import UserSpec +from .message_pb2 import Invitation +from .message_pb2 import User +from .message_pb2 import GoogleGroupSpec +from .message_pb2 import SCIMGroupSpec +from .message_pb2 import CloudGroupSpec +from .message_pb2 import UserGroupSpec +from .message_pb2 import UserGroup +from .message_pb2 import UserGroupMemberId +from .message_pb2 import UserGroupMember +from .message_pb2 import ServiceAccount +from .message_pb2 import ServiceAccountSpec +from .message_pb2 import ApiKey +from .message_pb2 import ApiKeySpec __all__ = [ "Access", diff --git a/temporalio/api/cloud/identity/v1/message_pb2.py b/temporalio/api/cloud/identity/v1/message_pb2.py index cd834be03..8afb7e4f2 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.py +++ b/temporalio/api/cloud/identity/v1/message_pb2.py @@ -2,330 +2,247 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/identity/v1/message.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.cloud.resource.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xff\x01\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03"\x95\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"\x10\n\x0e\x43loudGroupSpec"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x01\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role\"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06\"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission\"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03\"\x95\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01\"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t\"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"\x10\n\x0e\x43loudGroupSpec\"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type\"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type\"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3') -_OWNERTYPE = DESCRIPTOR.enum_types_by_name["OwnerType"] +_OWNERTYPE = DESCRIPTOR.enum_types_by_name['OwnerType'] OwnerType = enum_type_wrapper.EnumTypeWrapper(_OWNERTYPE) OWNER_TYPE_UNSPECIFIED = 0 OWNER_TYPE_USER = 1 OWNER_TYPE_SERVICE_ACCOUNT = 2 -_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name["AccountAccess"] -_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name["NamespaceAccess"] -_ACCESS = DESCRIPTOR.message_types_by_name["Access"] -_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name["NamespaceAccessesEntry"] -_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name["NamespaceScopedAccess"] -_USERSPEC = DESCRIPTOR.message_types_by_name["UserSpec"] -_INVITATION = DESCRIPTOR.message_types_by_name["Invitation"] -_USER = DESCRIPTOR.message_types_by_name["User"] -_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name["GoogleGroupSpec"] -_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name["SCIMGroupSpec"] -_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name["CloudGroupSpec"] -_USERGROUPSPEC = DESCRIPTOR.message_types_by_name["UserGroupSpec"] -_USERGROUP = DESCRIPTOR.message_types_by_name["UserGroup"] -_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name["UserGroupMemberId"] -_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name["UserGroupMember"] -_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name["ServiceAccount"] -_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name["ServiceAccountSpec"] -_APIKEY = DESCRIPTOR.message_types_by_name["ApiKey"] -_APIKEYSPEC = DESCRIPTOR.message_types_by_name["ApiKeySpec"] -_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name["Role"] -_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name["Permission"] -AccountAccess = _reflection.GeneratedProtocolMessageType( - "AccountAccess", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNTACCESS, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) - }, -) +_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name['AccountAccess'] +_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name['NamespaceAccess'] +_ACCESS = DESCRIPTOR.message_types_by_name['Access'] +_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name['NamespaceAccessesEntry'] +_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name['NamespaceScopedAccess'] +_USERSPEC = DESCRIPTOR.message_types_by_name['UserSpec'] +_INVITATION = DESCRIPTOR.message_types_by_name['Invitation'] +_USER = DESCRIPTOR.message_types_by_name['User'] +_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name['GoogleGroupSpec'] +_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name['SCIMGroupSpec'] +_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name['CloudGroupSpec'] +_USERGROUPSPEC = DESCRIPTOR.message_types_by_name['UserGroupSpec'] +_USERGROUP = DESCRIPTOR.message_types_by_name['UserGroup'] +_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name['UserGroupMemberId'] +_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name['UserGroupMember'] +_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name['ServiceAccount'] +_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name['ServiceAccountSpec'] +_APIKEY = DESCRIPTOR.message_types_by_name['ApiKey'] +_APIKEYSPEC = DESCRIPTOR.message_types_by_name['ApiKeySpec'] +_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name['Role'] +_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name['Permission'] +AccountAccess = _reflection.GeneratedProtocolMessageType('AccountAccess', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTACCESS, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) + }) _sym_db.RegisterMessage(AccountAccess) -NamespaceAccess = _reflection.GeneratedProtocolMessageType( - "NamespaceAccess", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEACCESS, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) - }, -) +NamespaceAccess = _reflection.GeneratedProtocolMessageType('NamespaceAccess', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEACCESS, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) + }) _sym_db.RegisterMessage(NamespaceAccess) -Access = _reflection.GeneratedProtocolMessageType( - "Access", - (_message.Message,), - { - "NamespaceAccessesEntry": _reflection.GeneratedProtocolMessageType( - "NamespaceAccessesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ACCESS_NAMESPACEACCESSESENTRY, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) - }, - ), - "DESCRIPTOR": _ACCESS, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) - }, -) +Access = _reflection.GeneratedProtocolMessageType('Access', (_message.Message,), { + + 'NamespaceAccessesEntry' : _reflection.GeneratedProtocolMessageType('NamespaceAccessesEntry', (_message.Message,), { + 'DESCRIPTOR' : _ACCESS_NAMESPACEACCESSESENTRY, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) + }) + , + 'DESCRIPTOR' : _ACCESS, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) + }) _sym_db.RegisterMessage(Access) _sym_db.RegisterMessage(Access.NamespaceAccessesEntry) -NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType( - "NamespaceScopedAccess", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESCOPEDACCESS, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) - }, -) +NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType('NamespaceScopedAccess', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACESCOPEDACCESS, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) + }) _sym_db.RegisterMessage(NamespaceScopedAccess) -UserSpec = _reflection.GeneratedProtocolMessageType( - "UserSpec", - (_message.Message,), - { - "DESCRIPTOR": _USERSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) - }, -) +UserSpec = _reflection.GeneratedProtocolMessageType('UserSpec', (_message.Message,), { + 'DESCRIPTOR' : _USERSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) + }) _sym_db.RegisterMessage(UserSpec) -Invitation = _reflection.GeneratedProtocolMessageType( - "Invitation", - (_message.Message,), - { - "DESCRIPTOR": _INVITATION, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) - }, -) +Invitation = _reflection.GeneratedProtocolMessageType('Invitation', (_message.Message,), { + 'DESCRIPTOR' : _INVITATION, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) + }) _sym_db.RegisterMessage(Invitation) -User = _reflection.GeneratedProtocolMessageType( - "User", - (_message.Message,), - { - "DESCRIPTOR": _USER, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) - }, -) +User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), { + 'DESCRIPTOR' : _USER, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) + }) _sym_db.RegisterMessage(User) -GoogleGroupSpec = _reflection.GeneratedProtocolMessageType( - "GoogleGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _GOOGLEGROUPSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) - }, -) +GoogleGroupSpec = _reflection.GeneratedProtocolMessageType('GoogleGroupSpec', (_message.Message,), { + 'DESCRIPTOR' : _GOOGLEGROUPSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) + }) _sym_db.RegisterMessage(GoogleGroupSpec) -SCIMGroupSpec = _reflection.GeneratedProtocolMessageType( - "SCIMGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _SCIMGROUPSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) - }, -) +SCIMGroupSpec = _reflection.GeneratedProtocolMessageType('SCIMGroupSpec', (_message.Message,), { + 'DESCRIPTOR' : _SCIMGROUPSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) + }) _sym_db.RegisterMessage(SCIMGroupSpec) -CloudGroupSpec = _reflection.GeneratedProtocolMessageType( - "CloudGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _CLOUDGROUPSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) - }, -) +CloudGroupSpec = _reflection.GeneratedProtocolMessageType('CloudGroupSpec', (_message.Message,), { + 'DESCRIPTOR' : _CLOUDGROUPSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) + }) _sym_db.RegisterMessage(CloudGroupSpec) -UserGroupSpec = _reflection.GeneratedProtocolMessageType( - "UserGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) - }, -) +UserGroupSpec = _reflection.GeneratedProtocolMessageType('UserGroupSpec', (_message.Message,), { + 'DESCRIPTOR' : _USERGROUPSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) + }) _sym_db.RegisterMessage(UserGroupSpec) -UserGroup = _reflection.GeneratedProtocolMessageType( - "UserGroup", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUP, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) - }, -) +UserGroup = _reflection.GeneratedProtocolMessageType('UserGroup', (_message.Message,), { + 'DESCRIPTOR' : _USERGROUP, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) + }) _sym_db.RegisterMessage(UserGroup) -UserGroupMemberId = _reflection.GeneratedProtocolMessageType( - "UserGroupMemberId", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPMEMBERID, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) - }, -) +UserGroupMemberId = _reflection.GeneratedProtocolMessageType('UserGroupMemberId', (_message.Message,), { + 'DESCRIPTOR' : _USERGROUPMEMBERID, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) + }) _sym_db.RegisterMessage(UserGroupMemberId) -UserGroupMember = _reflection.GeneratedProtocolMessageType( - "UserGroupMember", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPMEMBER, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) - }, -) +UserGroupMember = _reflection.GeneratedProtocolMessageType('UserGroupMember', (_message.Message,), { + 'DESCRIPTOR' : _USERGROUPMEMBER, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) + }) _sym_db.RegisterMessage(UserGroupMember) -ServiceAccount = _reflection.GeneratedProtocolMessageType( - "ServiceAccount", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEACCOUNT, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) - }, -) +ServiceAccount = _reflection.GeneratedProtocolMessageType('ServiceAccount', (_message.Message,), { + 'DESCRIPTOR' : _SERVICEACCOUNT, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) + }) _sym_db.RegisterMessage(ServiceAccount) -ServiceAccountSpec = _reflection.GeneratedProtocolMessageType( - "ServiceAccountSpec", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEACCOUNTSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) - }, -) +ServiceAccountSpec = _reflection.GeneratedProtocolMessageType('ServiceAccountSpec', (_message.Message,), { + 'DESCRIPTOR' : _SERVICEACCOUNTSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) + }) _sym_db.RegisterMessage(ServiceAccountSpec) -ApiKey = _reflection.GeneratedProtocolMessageType( - "ApiKey", - (_message.Message,), - { - "DESCRIPTOR": _APIKEY, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) - }, -) +ApiKey = _reflection.GeneratedProtocolMessageType('ApiKey', (_message.Message,), { + 'DESCRIPTOR' : _APIKEY, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) + }) _sym_db.RegisterMessage(ApiKey) -ApiKeySpec = _reflection.GeneratedProtocolMessageType( - "ApiKeySpec", - (_message.Message,), - { - "DESCRIPTOR": _APIKEYSPEC, - "__module__": "temporal.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) - }, -) +ApiKeySpec = _reflection.GeneratedProtocolMessageType('ApiKeySpec', (_message.Message,), { + 'DESCRIPTOR' : _APIKEYSPEC, + '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) + }) _sym_db.RegisterMessage(ApiKeySpec) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" - _ACCOUNTACCESS.fields_by_name["role_deprecated"]._options = None - _ACCOUNTACCESS.fields_by_name["role_deprecated"]._serialized_options = b"\030\001" - _NAMESPACEACCESS.fields_by_name["permission_deprecated"]._options = None - _NAMESPACEACCESS.fields_by_name[ - "permission_deprecated" - ]._serialized_options = b"\030\001" - _ACCESS_NAMESPACEACCESSESENTRY._options = None - _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b"8\001" - _USER.fields_by_name["state_deprecated"]._options = None - _USER.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _USERGROUP.fields_by_name["state_deprecated"]._options = None - _USERGROUP.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _SERVICEACCOUNT.fields_by_name["state_deprecated"]._options = None - _SERVICEACCOUNT.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _APIKEY.fields_by_name["state_deprecated"]._options = None - _APIKEY.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _APIKEYSPEC.fields_by_name["owner_type_deprecated"]._options = None - _APIKEYSPEC.fields_by_name[ - "owner_type_deprecated" - ]._serialized_options = b"\030\001" - _OWNERTYPE._serialized_start = 3713 - _OWNERTYPE._serialized_end = 3805 - _ACCOUNTACCESS._serialized_start = 160 - _ACCOUNTACCESS._serialized_end = 415 - _ACCOUNTACCESS_ROLE._serialized_start = 273 - _ACCOUNTACCESS_ROLE._serialized_end = 415 - _NAMESPACEACCESS._serialized_start = 418 - _NAMESPACEACCESS._serialized_end = 657 - _NAMESPACEACCESS_PERMISSION._serialized_start = 552 - _NAMESPACEACCESS_PERMISSION._serialized_end = 657 - _ACCESS._serialized_start = 660 - _ACCESS._serialized_end = 937 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_start = 832 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_end = 937 - _NAMESPACESCOPEDACCESS._serialized_start = 939 - _NAMESPACESCOPEDACCESS._serialized_end = 1046 - _USERSPEC._serialized_start = 1048 - _USERSPEC._serialized_end = 1129 - _INVITATION._serialized_start = 1131 - _INVITATION._serialized_end = 1243 - _USER._serialized_start = 1246 - _USER._serialized_end = 1636 - _GOOGLEGROUPSPEC._serialized_start = 1638 - _GOOGLEGROUPSPEC._serialized_end = 1678 - _SCIMGROUPSPEC._serialized_start = 1680 - _SCIMGROUPSPEC._serialized_end = 1711 - _CLOUDGROUPSPEC._serialized_start = 1713 - _CLOUDGROUPSPEC._serialized_end = 1729 - _USERGROUPSPEC._serialized_start = 1732 - _USERGROUPSPEC._serialized_end = 2052 - _USERGROUP._serialized_start = 2055 - _USERGROUP._serialized_end = 2391 - _USERGROUPMEMBERID._serialized_start = 2393 - _USERGROUPMEMBERID._serialized_end = 2446 - _USERGROUPMEMBER._serialized_start = 2449 - _USERGROUPMEMBER._serialized_end = 2586 - _SERVICEACCOUNT._serialized_start = 2589 - _SERVICEACCOUNT._serialized_end = 2935 - _SERVICEACCOUNTSPEC._serialized_start = 2938 - _SERVICEACCOUNTSPEC._serialized_end = 3137 - _APIKEY._serialized_start = 3140 - _APIKEY._serialized_end = 3470 - _APIKEYSPEC._serialized_start = 3473 - _APIKEYSPEC._serialized_end = 3711 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1' + _ACCOUNTACCESS.fields_by_name['role_deprecated']._options = None + _ACCOUNTACCESS.fields_by_name['role_deprecated']._serialized_options = b'\030\001' + _NAMESPACEACCESS.fields_by_name['permission_deprecated']._options = None + _NAMESPACEACCESS.fields_by_name['permission_deprecated']._serialized_options = b'\030\001' + _ACCESS_NAMESPACEACCESSESENTRY._options = None + _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b'8\001' + _USER.fields_by_name['state_deprecated']._options = None + _USER.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _USERGROUP.fields_by_name['state_deprecated']._options = None + _USERGROUP.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _SERVICEACCOUNT.fields_by_name['state_deprecated']._options = None + _SERVICEACCOUNT.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _APIKEY.fields_by_name['state_deprecated']._options = None + _APIKEY.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _APIKEYSPEC.fields_by_name['owner_type_deprecated']._options = None + _APIKEYSPEC.fields_by_name['owner_type_deprecated']._serialized_options = b'\030\001' + _OWNERTYPE._serialized_start=3713 + _OWNERTYPE._serialized_end=3805 + _ACCOUNTACCESS._serialized_start=160 + _ACCOUNTACCESS._serialized_end=415 + _ACCOUNTACCESS_ROLE._serialized_start=273 + _ACCOUNTACCESS_ROLE._serialized_end=415 + _NAMESPACEACCESS._serialized_start=418 + _NAMESPACEACCESS._serialized_end=657 + _NAMESPACEACCESS_PERMISSION._serialized_start=552 + _NAMESPACEACCESS_PERMISSION._serialized_end=657 + _ACCESS._serialized_start=660 + _ACCESS._serialized_end=937 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_start=832 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_end=937 + _NAMESPACESCOPEDACCESS._serialized_start=939 + _NAMESPACESCOPEDACCESS._serialized_end=1046 + _USERSPEC._serialized_start=1048 + _USERSPEC._serialized_end=1129 + _INVITATION._serialized_start=1131 + _INVITATION._serialized_end=1243 + _USER._serialized_start=1246 + _USER._serialized_end=1636 + _GOOGLEGROUPSPEC._serialized_start=1638 + _GOOGLEGROUPSPEC._serialized_end=1678 + _SCIMGROUPSPEC._serialized_start=1680 + _SCIMGROUPSPEC._serialized_end=1711 + _CLOUDGROUPSPEC._serialized_start=1713 + _CLOUDGROUPSPEC._serialized_end=1729 + _USERGROUPSPEC._serialized_start=1732 + _USERGROUPSPEC._serialized_end=2052 + _USERGROUP._serialized_start=2055 + _USERGROUP._serialized_end=2391 + _USERGROUPMEMBERID._serialized_start=2393 + _USERGROUPMEMBERID._serialized_end=2446 + _USERGROUPMEMBER._serialized_start=2449 + _USERGROUPMEMBER._serialized_end=2586 + _SERVICEACCOUNT._serialized_start=2589 + _SERVICEACCOUNT._serialized_end=2935 + _SERVICEACCOUNTSPEC._serialized_start=2938 + _SERVICEACCOUNTSPEC._serialized_end=3137 + _APIKEY._serialized_start=3140 + _APIKEY._serialized_end=3470 + _APIKEYSPEC._serialized_start=3473 + _APIKEYSPEC._serialized_end=3711 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/identity/v1/message_pb2.pyi b/temporalio/api/cloud/identity/v1/message_pb2.pyi index ced77ff78..e12b5907e 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.pyi +++ b/temporalio/api/cloud/identity/v1/message_pb2.pyi @@ -2,19 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.cloud.resource.v1.message_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -27,10 +24,7 @@ class _OwnerType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _OwnerTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], - builtins.type, -): # noqa: F821 +class _OwnerTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor OWNER_TYPE_UNSPECIFIED: _OwnerType.ValueType # 0 OWNER_TYPE_USER: _OwnerType.ValueType # 1 @@ -54,12 +48,7 @@ class AccountAccess(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _RoleEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - AccountAccess._Role.ValueType - ], - builtins.type, - ): # noqa: F821 + class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AccountAccess._Role.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ROLE_UNSPECIFIED: AccountAccess._Role.ValueType # 0 ROLE_OWNER: AccountAccess._Role.ValueType # 1 @@ -114,12 +103,7 @@ class AccountAccess(google.protobuf.message.Message): role_deprecated: builtins.str = ..., role: global___AccountAccess.Role.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "role", b"role", "role_deprecated", b"role_deprecated" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["role", b"role", "role_deprecated", b"role_deprecated"]) -> None: ... global___AccountAccess = AccountAccess @@ -130,12 +114,7 @@ class NamespaceAccess(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _PermissionEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - NamespaceAccess._Permission.ValueType - ], - builtins.type, - ): # noqa: F821 + class _PermissionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceAccess._Permission.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PERMISSION_UNSPECIFIED: NamespaceAccess._Permission.ValueType # 0 PERMISSION_ADMIN: NamespaceAccess._Permission.ValueType # 1 @@ -175,15 +154,7 @@ class NamespaceAccess(google.protobuf.message.Message): permission_deprecated: builtins.str = ..., permission: global___NamespaceAccess.Permission.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "permission", - b"permission", - "permission_deprecated", - b"permission_deprecated", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["permission", b"permission", "permission_deprecated", b"permission_deprecated"]) -> None: ... global___NamespaceAccess = NamespaceAccess @@ -204,13 +175,8 @@ class Access(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceAccess | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... ACCOUNT_ACCESS_FIELD_NUMBER: builtins.int NAMESPACE_ACCESSES_FIELD_NUMBER: builtins.int @@ -218,11 +184,7 @@ class Access(google.protobuf.message.Message): def account_access(self) -> global___AccountAccess: """The account access""" @property - def namespace_accesses( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___NamespaceAccess - ]: + def namespace_accesses(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NamespaceAccess]: """The map of namespace accesses The key is the namespace name and the value is the access to the namespace """ @@ -230,23 +192,10 @@ class Access(google.protobuf.message.Message): self, *, account_access: global___AccountAccess | None = ..., - namespace_accesses: collections.abc.Mapping[ - builtins.str, global___NamespaceAccess - ] - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["account_access", b"account_access"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "account_access", - b"account_access", - "namespace_accesses", - b"namespace_accesses", - ], + namespace_accesses: collections.abc.Mapping[builtins.str, global___NamespaceAccess] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["account_access", b"account_access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["account_access", b"account_access", "namespace_accesses", b"namespace_accesses"]) -> None: ... global___Access = Access @@ -266,15 +215,8 @@ class NamespaceScopedAccess(google.protobuf.message.Message): namespace: builtins.str = ..., access: global___NamespaceAccess | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", b"access", "namespace", b"namespace" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "namespace", b"namespace"]) -> None: ... global___NamespaceScopedAccess = NamespaceScopedAccess @@ -294,13 +236,8 @@ class UserSpec(google.protobuf.message.Message): email: builtins.str = ..., access: global___Access | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["access", b"access", "email", b"email"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "email", b"email"]) -> None: ... global___UserSpec = UserSpec @@ -321,18 +258,8 @@ class Invitation(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., expired_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "expired_time", b"expired_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "expired_time", b"expired_time" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "expired_time", b"expired_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "expired_time", b"expired_time"]) -> None: ... global___Invitation = Invitation @@ -394,42 +321,8 @@ class User(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "invitation", - b"invitation", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "invitation", - b"invitation", - "last_modified_time", - b"last_modified_time", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "invitation", b"invitation", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "invitation", b"invitation", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___User = User @@ -446,9 +339,7 @@ class GoogleGroupSpec(google.protobuf.message.Message): *, email_address: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["email_address", b"email_address"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["email_address", b"email_address"]) -> None: ... global___GoogleGroupSpec = GoogleGroupSpec @@ -463,9 +354,7 @@ class SCIMGroupSpec(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["idp_id", b"idp_id"]) -> None: ... global___SCIMGroupSpec = SCIMGroupSpec @@ -513,43 +402,9 @@ class UserGroupSpec(google.protobuf.message.Message): scim_group: global___SCIMGroupSpec | None = ..., cloud_group: global___CloudGroupSpec | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "access", - b"access", - "cloud_group", - b"cloud_group", - "google_group", - b"google_group", - "group_type", - b"group_type", - "scim_group", - b"scim_group", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", - b"access", - "cloud_group", - b"cloud_group", - "display_name", - b"display_name", - "google_group", - b"google_group", - "group_type", - b"group_type", - "scim_group", - b"scim_group", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["group_type", b"group_type"] - ) -> ( - typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access", "cloud_group", b"cloud_group", "google_group", b"google_group", "group_type", b"group_type", "scim_group", b"scim_group"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "cloud_group", b"cloud_group", "display_name", b"display_name", "google_group", b"google_group", "group_type", b"group_type", "scim_group", b"scim_group"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["group_type", b"group_type"]) -> typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None: ... global___UserGroupSpec = UserGroupSpec @@ -606,38 +461,8 @@ class UserGroup(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "last_modified_time", - b"last_modified_time", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___UserGroup = UserGroup @@ -651,21 +476,9 @@ class UserGroupMemberId(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "member_type", b"member_type", "user_id", b"user_id" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "member_type", b"member_type", "user_id", b"user_id" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["member_type", b"member_type"] - ) -> typing_extensions.Literal["user_id"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["member_type", b"member_type", "user_id", b"user_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["member_type", b"member_type", "user_id", b"user_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["member_type", b"member_type"]) -> typing_extensions.Literal["user_id"] | None: ... global___UserGroupMemberId = UserGroupMemberId @@ -684,18 +497,8 @@ class UserGroupMember(google.protobuf.message.Message): member_id: global___UserGroupMemberId | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "member_id", b"member_id" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "member_id", b"member_id" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "member_id", b"member_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "member_id", b"member_id"]) -> None: ... global___UserGroupMember = UserGroupMember @@ -754,38 +557,8 @@ class ServiceAccount(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "last_modified_time", - b"last_modified_time", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___ServiceAccount = ServiceAccount @@ -826,25 +599,8 @@ class ServiceAccountSpec(google.protobuf.message.Message): namespace_scoped_access: global___NamespaceScopedAccess | None = ..., description: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "access", b"access", "namespace_scoped_access", b"namespace_scoped_access" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", - b"access", - "description", - b"description", - "name", - b"name", - "namespace_scoped_access", - b"namespace_scoped_access", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["access", b"access", "namespace_scoped_access", b"namespace_scoped_access"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "description", b"description", "name", b"name", "namespace_scoped_access", b"namespace_scoped_access"]) -> None: ... global___ServiceAccountSpec = ServiceAccountSpec @@ -902,38 +658,8 @@ class ApiKey(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "last_modified_time", - b"last_modified_time", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___ApiKey = ApiKey @@ -985,27 +711,7 @@ class ApiKeySpec(google.protobuf.message.Message): expiry_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., disabled: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", - b"description", - "disabled", - b"disabled", - "display_name", - b"display_name", - "expiry_time", - b"expiry_time", - "owner_id", - b"owner_id", - "owner_type", - b"owner_type", - "owner_type_deprecated", - b"owner_type_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "disabled", b"disabled", "display_name", b"display_name", "expiry_time", b"expiry_time", "owner_id", b"owner_id", "owner_type", b"owner_type", "owner_type_deprecated", b"owner_type_deprecated"]) -> None: ... global___ApiKeySpec = ApiKeySpec diff --git a/temporalio/api/cloud/namespace/v1/__init__.py b/temporalio/api/cloud/namespace/v1/__init__.py index ed81cf865..64e82f794 100644 --- a/temporalio/api/cloud/namespace/v1/__init__.py +++ b/temporalio/api/cloud/namespace/v1/__init__.py @@ -1,20 +1,18 @@ -from .message_pb2 import ( - ApiKeyAuthSpec, - AWSPrivateLinkInfo, - CertificateFilterSpec, - CodecServerSpec, - Endpoints, - ExportSink, - ExportSinkSpec, - HighAvailabilitySpec, - LifecycleSpec, - Limits, - MtlsAuthSpec, - Namespace, - NamespaceRegionStatus, - NamespaceSpec, - PrivateConnectivity, -) +from .message_pb2 import CertificateFilterSpec +from .message_pb2 import MtlsAuthSpec +from .message_pb2 import ApiKeyAuthSpec +from .message_pb2 import CodecServerSpec +from .message_pb2 import LifecycleSpec +from .message_pb2 import HighAvailabilitySpec +from .message_pb2 import NamespaceSpec +from .message_pb2 import Endpoints +from .message_pb2 import Limits +from .message_pb2 import AWSPrivateLinkInfo +from .message_pb2 import PrivateConnectivity +from .message_pb2 import Namespace +from .message_pb2 import NamespaceRegionStatus +from .message_pb2 import ExportSinkSpec +from .message_pb2 import ExportSink __all__ = [ "AWSPrivateLinkInfo", diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.py b/temporalio/api/cloud/namespace/v1/message_pb2.py index 827ad10f4..9dc6a9cb8 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.py +++ b/temporalio/api/cloud/namespace/v1/message_pb2.py @@ -2,361 +2,267 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/namespace/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.cloud.sink.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_sink_dot_v1_dot_message__pb2 +from temporalio.api.cloud.connectivityrule.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2 + -from temporalio.api.cloud.connectivityrule.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.resource.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, -) -from temporalio.api.cloud.sink.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_sink_dot_v1_dot_message__pb2, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t\"\xb7\x01\n\x0cMtlsAuthSpec\x12%\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08\"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\"\x89\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01\"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12\"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n\"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07\"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t\"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05\"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12\"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t\"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo\"\xc6\x07\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05\"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32\".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec\"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xb1\x01\n\"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3') -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t"\xb7\x01\n\x0cMtlsAuthSpec\x12%\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08"\x89\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo"\xc6\x07\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xb1\x01\n"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3' -) -_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name["CertificateFilterSpec"] -_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name["MtlsAuthSpec"] -_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name["ApiKeyAuthSpec"] -_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name["CodecServerSpec"] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name[ - "CustomErrorMessage" -] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = ( - _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name["ErrorMessage"] -) -_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name["LifecycleSpec"] -_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name["HighAvailabilitySpec"] -_NAMESPACESPEC = DESCRIPTOR.message_types_by_name["NamespaceSpec"] -_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ - "CustomSearchAttributesEntry" -] -_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ - "SearchAttributesEntry" -] -_ENDPOINTS = DESCRIPTOR.message_types_by_name["Endpoints"] -_LIMITS = DESCRIPTOR.message_types_by_name["Limits"] -_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name["AWSPrivateLinkInfo"] -_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name["PrivateConnectivity"] -_NAMESPACE = DESCRIPTOR.message_types_by_name["Namespace"] -_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name["RegionStatusEntry"] -_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name["TagsEntry"] -_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name["NamespaceRegionStatus"] -_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name["ExportSinkSpec"] -_EXPORTSINK = DESCRIPTOR.message_types_by_name["ExportSink"] -_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name[ - "SearchAttributeType" -] -_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name["State"] -_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name["Health"] -CertificateFilterSpec = _reflection.GeneratedProtocolMessageType( - "CertificateFilterSpec", - (_message.Message,), - { - "DESCRIPTOR": _CERTIFICATEFILTERSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) - }, -) +_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name['CertificateFilterSpec'] +_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name['MtlsAuthSpec'] +_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name['ApiKeyAuthSpec'] +_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name['CodecServerSpec'] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name['CustomErrorMessage'] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name['ErrorMessage'] +_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name['LifecycleSpec'] +_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name['HighAvailabilitySpec'] +_NAMESPACESPEC = DESCRIPTOR.message_types_by_name['NamespaceSpec'] +_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name['CustomSearchAttributesEntry'] +_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name['SearchAttributesEntry'] +_ENDPOINTS = DESCRIPTOR.message_types_by_name['Endpoints'] +_LIMITS = DESCRIPTOR.message_types_by_name['Limits'] +_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name['AWSPrivateLinkInfo'] +_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name['PrivateConnectivity'] +_NAMESPACE = DESCRIPTOR.message_types_by_name['Namespace'] +_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name['RegionStatusEntry'] +_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name['TagsEntry'] +_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name['NamespaceRegionStatus'] +_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name['ExportSinkSpec'] +_EXPORTSINK = DESCRIPTOR.message_types_by_name['ExportSink'] +_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name['SearchAttributeType'] +_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name['State'] +_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name['Health'] +CertificateFilterSpec = _reflection.GeneratedProtocolMessageType('CertificateFilterSpec', (_message.Message,), { + 'DESCRIPTOR' : _CERTIFICATEFILTERSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) + }) _sym_db.RegisterMessage(CertificateFilterSpec) -MtlsAuthSpec = _reflection.GeneratedProtocolMessageType( - "MtlsAuthSpec", - (_message.Message,), - { - "DESCRIPTOR": _MTLSAUTHSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) - }, -) +MtlsAuthSpec = _reflection.GeneratedProtocolMessageType('MtlsAuthSpec', (_message.Message,), { + 'DESCRIPTOR' : _MTLSAUTHSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) + }) _sym_db.RegisterMessage(MtlsAuthSpec) -ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType( - "ApiKeyAuthSpec", - (_message.Message,), - { - "DESCRIPTOR": _APIKEYAUTHSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) - }, -) +ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType('ApiKeyAuthSpec', (_message.Message,), { + 'DESCRIPTOR' : _APIKEYAUTHSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) + }) _sym_db.RegisterMessage(ApiKeyAuthSpec) -CodecServerSpec = _reflection.GeneratedProtocolMessageType( - "CodecServerSpec", - (_message.Message,), - { - "CustomErrorMessage": _reflection.GeneratedProtocolMessageType( - "CustomErrorMessage", - (_message.Message,), - { - "ErrorMessage": _reflection.GeneratedProtocolMessageType( - "ErrorMessage", - (_message.Message,), - { - "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) - }, - ), - "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) - }, - ), - "DESCRIPTOR": _CODECSERVERSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) - }, -) +CodecServerSpec = _reflection.GeneratedProtocolMessageType('CodecServerSpec', (_message.Message,), { + + 'CustomErrorMessage' : _reflection.GeneratedProtocolMessageType('CustomErrorMessage', (_message.Message,), { + + 'ErrorMessage' : _reflection.GeneratedProtocolMessageType('ErrorMessage', (_message.Message,), { + 'DESCRIPTOR' : _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) + }) + , + 'DESCRIPTOR' : _CODECSERVERSPEC_CUSTOMERRORMESSAGE, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) + }) + , + 'DESCRIPTOR' : _CODECSERVERSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) + }) _sym_db.RegisterMessage(CodecServerSpec) _sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage) _sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage.ErrorMessage) -LifecycleSpec = _reflection.GeneratedProtocolMessageType( - "LifecycleSpec", - (_message.Message,), - { - "DESCRIPTOR": _LIFECYCLESPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) - }, -) +LifecycleSpec = _reflection.GeneratedProtocolMessageType('LifecycleSpec', (_message.Message,), { + 'DESCRIPTOR' : _LIFECYCLESPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) + }) _sym_db.RegisterMessage(LifecycleSpec) -HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType( - "HighAvailabilitySpec", - (_message.Message,), - { - "DESCRIPTOR": _HIGHAVAILABILITYSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) - }, -) +HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType('HighAvailabilitySpec', (_message.Message,), { + 'DESCRIPTOR' : _HIGHAVAILABILITYSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) + }) _sym_db.RegisterMessage(HighAvailabilitySpec) -NamespaceSpec = _reflection.GeneratedProtocolMessageType( - "NamespaceSpec", - (_message.Message,), - { - "CustomSearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "CustomSearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) - }, - ), - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _NAMESPACESPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) - }, -) +NamespaceSpec = _reflection.GeneratedProtocolMessageType('NamespaceSpec', (_message.Message,), { + + 'CustomSearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('CustomSearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) + }) + , + + 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) + }) + , + 'DESCRIPTOR' : _NAMESPACESPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) + }) _sym_db.RegisterMessage(NamespaceSpec) _sym_db.RegisterMessage(NamespaceSpec.CustomSearchAttributesEntry) _sym_db.RegisterMessage(NamespaceSpec.SearchAttributesEntry) -Endpoints = _reflection.GeneratedProtocolMessageType( - "Endpoints", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTS, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) - }, -) +Endpoints = _reflection.GeneratedProtocolMessageType('Endpoints', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTS, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) + }) _sym_db.RegisterMessage(Endpoints) -Limits = _reflection.GeneratedProtocolMessageType( - "Limits", - (_message.Message,), - { - "DESCRIPTOR": _LIMITS, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) - }, -) +Limits = _reflection.GeneratedProtocolMessageType('Limits', (_message.Message,), { + 'DESCRIPTOR' : _LIMITS, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) + }) _sym_db.RegisterMessage(Limits) -AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType( - "AWSPrivateLinkInfo", - (_message.Message,), - { - "DESCRIPTOR": _AWSPRIVATELINKINFO, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) - }, -) +AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType('AWSPrivateLinkInfo', (_message.Message,), { + 'DESCRIPTOR' : _AWSPRIVATELINKINFO, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) + }) _sym_db.RegisterMessage(AWSPrivateLinkInfo) -PrivateConnectivity = _reflection.GeneratedProtocolMessageType( - "PrivateConnectivity", - (_message.Message,), - { - "DESCRIPTOR": _PRIVATECONNECTIVITY, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) - }, -) +PrivateConnectivity = _reflection.GeneratedProtocolMessageType('PrivateConnectivity', (_message.Message,), { + 'DESCRIPTOR' : _PRIVATECONNECTIVITY, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) + }) _sym_db.RegisterMessage(PrivateConnectivity) -Namespace = _reflection.GeneratedProtocolMessageType( - "Namespace", - (_message.Message,), - { - "RegionStatusEntry": _reflection.GeneratedProtocolMessageType( - "RegionStatusEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACE_REGIONSTATUSENTRY, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) - }, - ), - "TagsEntry": _reflection.GeneratedProtocolMessageType( - "TagsEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACE_TAGSENTRY, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) - }, - ), - "DESCRIPTOR": _NAMESPACE, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) - }, -) +Namespace = _reflection.GeneratedProtocolMessageType('Namespace', (_message.Message,), { + + 'RegionStatusEntry' : _reflection.GeneratedProtocolMessageType('RegionStatusEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACE_REGIONSTATUSENTRY, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) + }) + , + + 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACE_TAGSENTRY, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) + }) + , + 'DESCRIPTOR' : _NAMESPACE, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) + }) _sym_db.RegisterMessage(Namespace) _sym_db.RegisterMessage(Namespace.RegionStatusEntry) _sym_db.RegisterMessage(Namespace.TagsEntry) -NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType( - "NamespaceRegionStatus", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEREGIONSTATUS, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) - }, -) +NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType('NamespaceRegionStatus', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEREGIONSTATUS, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) + }) _sym_db.RegisterMessage(NamespaceRegionStatus) -ExportSinkSpec = _reflection.GeneratedProtocolMessageType( - "ExportSinkSpec", - (_message.Message,), - { - "DESCRIPTOR": _EXPORTSINKSPEC, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) - }, -) +ExportSinkSpec = _reflection.GeneratedProtocolMessageType('ExportSinkSpec', (_message.Message,), { + 'DESCRIPTOR' : _EXPORTSINKSPEC, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) + }) _sym_db.RegisterMessage(ExportSinkSpec) -ExportSink = _reflection.GeneratedProtocolMessageType( - "ExportSink", - (_message.Message,), - { - "DESCRIPTOR": _EXPORTSINK, - "__module__": "temporal.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) - }, -) +ExportSink = _reflection.GeneratedProtocolMessageType('ExportSink', (_message.Message,), { + 'DESCRIPTOR' : _EXPORTSINK, + '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) + }) _sym_db.RegisterMessage(ExportSink) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _NAMESPACESPEC.fields_by_name["custom_search_attributes"]._options = None - _NAMESPACESPEC.fields_by_name[ - "custom_search_attributes" - ]._serialized_options = b"\030\001" - _NAMESPACE_REGIONSTATUSENTRY._options = None - _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b"8\001" - _NAMESPACE_TAGSENTRY._options = None - _NAMESPACE_TAGSENTRY._serialized_options = b"8\001" - _NAMESPACE.fields_by_name["state_deprecated"]._options = None - _NAMESPACE.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _NAMESPACEREGIONSTATUS.fields_by_name["state_deprecated"]._options = None - _NAMESPACEREGIONSTATUS.fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _CERTIFICATEFILTERSPEC._serialized_start = 258 - _CERTIFICATEFILTERSPEC._serialized_end = 387 - _MTLSAUTHSPEC._serialized_start = 390 - _MTLSAUTHSPEC._serialized_end = 573 - _APIKEYAUTHSPEC._serialized_start = 575 - _APIKEYAUTHSPEC._serialized_end = 608 - _CODECSERVERSPEC._serialized_start = 611 - _CODECSERVERSPEC._serialized_end = 983 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start = 817 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end = 983 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start = 938 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end = 983 - _LIFECYCLESPEC._serialized_start = 985 - _LIFECYCLESPEC._serialized_end = 1034 - _HIGHAVAILABILITYSPEC._serialized_start = 1036 - _HIGHAVAILABILITYSPEC._serialized_end = 1092 - _NAMESPACESPEC._serialized_start = 1095 - _NAMESPACESPEC._serialized_end = 2256 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start = 1767 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end = 1828 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start = 1830 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end = 1953 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start = 1956 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end = 2256 - _ENDPOINTS._serialized_start = 2258 - _ENDPOINTS._serialized_end = 2339 - _LIMITS._serialized_start = 2341 - _LIMITS._serialized_end = 2383 - _AWSPRIVATELINKINFO._serialized_start = 2385 - _AWSPRIVATELINKINFO._serialized_end = 2473 - _PRIVATECONNECTIVITY._serialized_start = 2475 - _PRIVATECONNECTIVITY._serialized_end = 2591 - _NAMESPACE._serialized_start = 2594 - _NAMESPACE._serialized_end = 3560 - _NAMESPACE_REGIONSTATUSENTRY._serialized_start = 3408 - _NAMESPACE_REGIONSTATUSENTRY._serialized_end = 3515 - _NAMESPACE_TAGSENTRY._serialized_start = 3517 - _NAMESPACE_TAGSENTRY._serialized_end = 3560 - _NAMESPACEREGIONSTATUS._serialized_start = 3563 - _NAMESPACEREGIONSTATUS._serialized_end = 3846 - _NAMESPACEREGIONSTATUS_STATE._serialized_start = 3723 - _NAMESPACEREGIONSTATUS_STATE._serialized_end = 3846 - _EXPORTSINKSPEC._serialized_start = 3849 - _EXPORTSINKSPEC._serialized_end = 3994 - _EXPORTSINK._serialized_start = 3997 - _EXPORTSINK._serialized_end = 4499 - _EXPORTSINK_HEALTH._serialized_start = 4388 - _EXPORTSINK_HEALTH._serialized_end = 4499 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _NAMESPACESPEC.fields_by_name['custom_search_attributes']._options = None + _NAMESPACESPEC.fields_by_name['custom_search_attributes']._serialized_options = b'\030\001' + _NAMESPACE_REGIONSTATUSENTRY._options = None + _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b'8\001' + _NAMESPACE_TAGSENTRY._options = None + _NAMESPACE_TAGSENTRY._serialized_options = b'8\001' + _NAMESPACE.fields_by_name['state_deprecated']._options = None + _NAMESPACE.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _NAMESPACEREGIONSTATUS.fields_by_name['state_deprecated']._options = None + _NAMESPACEREGIONSTATUS.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _CERTIFICATEFILTERSPEC._serialized_start=258 + _CERTIFICATEFILTERSPEC._serialized_end=387 + _MTLSAUTHSPEC._serialized_start=390 + _MTLSAUTHSPEC._serialized_end=573 + _APIKEYAUTHSPEC._serialized_start=575 + _APIKEYAUTHSPEC._serialized_end=608 + _CODECSERVERSPEC._serialized_start=611 + _CODECSERVERSPEC._serialized_end=983 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start=817 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end=983 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start=938 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end=983 + _LIFECYCLESPEC._serialized_start=985 + _LIFECYCLESPEC._serialized_end=1034 + _HIGHAVAILABILITYSPEC._serialized_start=1036 + _HIGHAVAILABILITYSPEC._serialized_end=1092 + _NAMESPACESPEC._serialized_start=1095 + _NAMESPACESPEC._serialized_end=2256 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start=1767 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end=1828 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start=1830 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end=1953 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start=1956 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end=2256 + _ENDPOINTS._serialized_start=2258 + _ENDPOINTS._serialized_end=2339 + _LIMITS._serialized_start=2341 + _LIMITS._serialized_end=2383 + _AWSPRIVATELINKINFO._serialized_start=2385 + _AWSPRIVATELINKINFO._serialized_end=2473 + _PRIVATECONNECTIVITY._serialized_start=2475 + _PRIVATECONNECTIVITY._serialized_end=2591 + _NAMESPACE._serialized_start=2594 + _NAMESPACE._serialized_end=3560 + _NAMESPACE_REGIONSTATUSENTRY._serialized_start=3408 + _NAMESPACE_REGIONSTATUSENTRY._serialized_end=3515 + _NAMESPACE_TAGSENTRY._serialized_start=3517 + _NAMESPACE_TAGSENTRY._serialized_end=3560 + _NAMESPACEREGIONSTATUS._serialized_start=3563 + _NAMESPACEREGIONSTATUS._serialized_end=3846 + _NAMESPACEREGIONSTATUS_STATE._serialized_start=3723 + _NAMESPACEREGIONSTATUS_STATE._serialized_end=3846 + _EXPORTSINKSPEC._serialized_start=3849 + _EXPORTSINKSPEC._serialized_end=3994 + _EXPORTSINK._serialized_start=3997 + _EXPORTSINK._serialized_end=4499 + _EXPORTSINK_HEALTH._serialized_start=4388 + _EXPORTSINK_HEALTH._serialized_end=4499 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.pyi b/temporalio/api/cloud/namespace/v1/message_pb2.pyi index ef666d6e5..1751b41cc 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.pyi +++ b/temporalio/api/cloud/namespace/v1/message_pb2.pyi @@ -2,21 +2,18 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.cloud.connectivityrule.v1.message_pb2 import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.cloud.sink.v1.message_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -56,19 +53,7 @@ class CertificateFilterSpec(google.protobuf.message.Message): organizational_unit: builtins.str = ..., subject_alternative_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "common_name", - b"common_name", - "organization", - b"organization", - "organizational_unit", - b"organizational_unit", - "subject_alternative_name", - b"subject_alternative_name", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["common_name", b"common_name", "organization", b"organization", "organizational_unit", b"organizational_unit", "subject_alternative_name", b"subject_alternative_name"]) -> None: ... global___CertificateFilterSpec = CertificateFilterSpec @@ -93,11 +78,7 @@ class MtlsAuthSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.2.0 """ @property - def certificate_filters( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CertificateFilterSpec - ]: + def certificate_filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CertificateFilterSpec]: """Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty. @@ -112,23 +93,10 @@ class MtlsAuthSpec(google.protobuf.message.Message): *, accepted_client_ca_deprecated: builtins.str = ..., accepted_client_ca: builtins.bytes = ..., - certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] - | None = ..., + certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] | None = ..., enabled: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_client_ca", - b"accepted_client_ca", - "accepted_client_ca_deprecated", - b"accepted_client_ca_deprecated", - "certificate_filters", - b"certificate_filters", - "enabled", - b"enabled", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted_client_ca", b"accepted_client_ca", "accepted_client_ca_deprecated", b"accepted_client_ca_deprecated", "certificate_filters", b"certificate_filters", "enabled", b"enabled"]) -> None: ... global___MtlsAuthSpec = MtlsAuthSpec @@ -145,9 +113,7 @@ class ApiKeyAuthSpec(google.protobuf.message.Message): *, enabled: builtins.bool = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["enabled", b"enabled"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled"]) -> None: ... global___ApiKeyAuthSpec = ApiKeyAuthSpec @@ -172,12 +138,7 @@ class CodecServerSpec(google.protobuf.message.Message): message: builtins.str = ..., link: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "link", b"link", "message", b"message" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["link", b"link", "message", b"message"]) -> None: ... DEFAULT_FIELD_NUMBER: builtins.int @property @@ -186,15 +147,10 @@ class CodecServerSpec(google.protobuf.message.Message): def __init__( self, *, - default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["default", b"default"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["default", b"default"] + default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["default", b"default"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["default", b"default"]) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int PASS_ACCESS_TOKEN_FIELD_NUMBER: builtins.int @@ -219,25 +175,8 @@ class CodecServerSpec(google.protobuf.message.Message): include_cross_origin_credentials: builtins.bool = ..., custom_error_message: global___CodecServerSpec.CustomErrorMessage | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "custom_error_message", b"custom_error_message" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "custom_error_message", - b"custom_error_message", - "endpoint", - b"endpoint", - "include_cross_origin_credentials", - b"include_cross_origin_credentials", - "pass_access_token", - b"pass_access_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["custom_error_message", b"custom_error_message"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["custom_error_message", b"custom_error_message", "endpoint", b"endpoint", "include_cross_origin_credentials", b"include_cross_origin_credentials", "pass_access_token", b"pass_access_token"]) -> None: ... global___CodecServerSpec = CodecServerSpec @@ -252,12 +191,7 @@ class LifecycleSpec(google.protobuf.message.Message): *, enable_delete_protection: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "enable_delete_protection", b"enable_delete_protection" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["enable_delete_protection", b"enable_delete_protection"]) -> None: ... global___LifecycleSpec = LifecycleSpec @@ -272,12 +206,7 @@ class HighAvailabilitySpec(google.protobuf.message.Message): *, disable_managed_failover: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "disable_managed_failover", b"disable_managed_failover" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["disable_managed_failover", b"disable_managed_failover"]) -> None: ... global___HighAvailabilitySpec = HighAvailabilitySpec @@ -288,31 +217,18 @@ class NamespaceSpec(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _SearchAttributeTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - NamespaceSpec._SearchAttributeType.ValueType - ], - builtins.type, - ): # noqa: F821 + class _SearchAttributeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceSpec._SearchAttributeType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: ( - NamespaceSpec._SearchAttributeType.ValueType - ) # 0 + SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: NamespaceSpec._SearchAttributeType.ValueType # 0 SEARCH_ATTRIBUTE_TYPE_TEXT: NamespaceSpec._SearchAttributeType.ValueType # 1 SEARCH_ATTRIBUTE_TYPE_KEYWORD: NamespaceSpec._SearchAttributeType.ValueType # 2 SEARCH_ATTRIBUTE_TYPE_INT: NamespaceSpec._SearchAttributeType.ValueType # 3 SEARCH_ATTRIBUTE_TYPE_DOUBLE: NamespaceSpec._SearchAttributeType.ValueType # 4 SEARCH_ATTRIBUTE_TYPE_BOOL: NamespaceSpec._SearchAttributeType.ValueType # 5 - SEARCH_ATTRIBUTE_TYPE_DATETIME: ( - NamespaceSpec._SearchAttributeType.ValueType - ) # 6 - SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: ( - NamespaceSpec._SearchAttributeType.ValueType - ) # 7 - - class SearchAttributeType( - _SearchAttributeType, metaclass=_SearchAttributeTypeEnumTypeWrapper - ): ... + SEARCH_ATTRIBUTE_TYPE_DATETIME: NamespaceSpec._SearchAttributeType.ValueType # 6 + SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: NamespaceSpec._SearchAttributeType.ValueType # 7 + + class SearchAttributeType(_SearchAttributeType, metaclass=_SearchAttributeTypeEnumTypeWrapper): ... SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: NamespaceSpec.SearchAttributeType.ValueType # 0 SEARCH_ATTRIBUTE_TYPE_TEXT: NamespaceSpec.SearchAttributeType.ValueType # 1 SEARCH_ATTRIBUTE_TYPE_KEYWORD: NamespaceSpec.SearchAttributeType.ValueType # 2 @@ -335,10 +251,7 @@ class NamespaceSpec(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -353,10 +266,7 @@ class NamespaceSpec(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceSpec.SearchAttributeType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAME_FIELD_NUMBER: builtins.int REGIONS_FIELD_NUMBER: builtins.int @@ -375,9 +285,7 @@ class NamespaceSpec(google.protobuf.message.Message): The name is immutable. Once set, it cannot be changed. """ @property - def regions( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def regions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. @@ -404,9 +312,7 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.2.0 """ @property - def custom_search_attributes( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def custom_search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. @@ -416,11 +322,7 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:max_version=v0.3.0 """ @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType - ]: + def search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. @@ -444,9 +346,7 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.4.0 """ @property - def connectivity_rule_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def connectivity_rule_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0 @@ -459,59 +359,15 @@ class NamespaceSpec(google.protobuf.message.Message): retention_days: builtins.int = ..., mtls_auth: global___MtlsAuthSpec | None = ..., api_key_auth: global___ApiKeyAuthSpec | None = ..., - custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., - search_attributes: collections.abc.Mapping[ - builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType - ] - | None = ..., + custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + search_attributes: collections.abc.Mapping[builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType] | None = ..., codec_server: global___CodecServerSpec | None = ..., lifecycle: global___LifecycleSpec | None = ..., high_availability: global___HighAvailabilitySpec | None = ..., connectivity_rule_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "api_key_auth", - b"api_key_auth", - "codec_server", - b"codec_server", - "high_availability", - b"high_availability", - "lifecycle", - b"lifecycle", - "mtls_auth", - b"mtls_auth", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "api_key_auth", - b"api_key_auth", - "codec_server", - b"codec_server", - "connectivity_rule_ids", - b"connectivity_rule_ids", - "custom_search_attributes", - b"custom_search_attributes", - "high_availability", - b"high_availability", - "lifecycle", - b"lifecycle", - "mtls_auth", - b"mtls_auth", - "name", - b"name", - "regions", - b"regions", - "retention_days", - b"retention_days", - "search_attributes", - b"search_attributes", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["api_key_auth", b"api_key_auth", "codec_server", b"codec_server", "high_availability", b"high_availability", "lifecycle", b"lifecycle", "mtls_auth", b"mtls_auth"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["api_key_auth", b"api_key_auth", "codec_server", b"codec_server", "connectivity_rule_ids", b"connectivity_rule_ids", "custom_search_attributes", b"custom_search_attributes", "high_availability", b"high_availability", "lifecycle", b"lifecycle", "mtls_auth", b"mtls_auth", "name", b"name", "regions", b"regions", "retention_days", b"retention_days", "search_attributes", b"search_attributes"]) -> None: ... global___NamespaceSpec = NamespaceSpec @@ -534,17 +390,7 @@ class Endpoints(google.protobuf.message.Message): mtls_grpc_address: builtins.str = ..., grpc_address: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "grpc_address", - b"grpc_address", - "mtls_grpc_address", - b"mtls_grpc_address", - "web_address", - b"web_address", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["grpc_address", b"grpc_address", "mtls_grpc_address", b"mtls_grpc_address", "web_address", b"web_address"]) -> None: ... global___Endpoints = Endpoints @@ -561,12 +407,7 @@ class Limits(google.protobuf.message.Message): *, actions_per_second_limit: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "actions_per_second_limit", b"actions_per_second_limit" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["actions_per_second_limit", b"actions_per_second_limit"]) -> None: ... global___Limits = Limits @@ -576,14 +417,10 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ALLOWED_PRINCIPAL_ARNS_FIELD_NUMBER: builtins.int VPC_ENDPOINT_SERVICE_NAMES_FIELD_NUMBER: builtins.int @property - def allowed_principal_arns( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def allowed_principal_arns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of principal arns that are allowed to access the namespace on the private link.""" @property - def vpc_endpoint_service_names( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def vpc_endpoint_service_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of vpc endpoint service names that are associated with the namespace.""" def __init__( self, @@ -591,15 +428,7 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): allowed_principal_arns: collections.abc.Iterable[builtins.str] | None = ..., vpc_endpoint_service_names: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "allowed_principal_arns", - b"allowed_principal_arns", - "vpc_endpoint_service_names", - b"vpc_endpoint_service_names", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allowed_principal_arns", b"allowed_principal_arns", "vpc_endpoint_service_names", b"vpc_endpoint_service_names"]) -> None: ... global___AWSPrivateLinkInfo = AWSPrivateLinkInfo @@ -621,16 +450,8 @@ class PrivateConnectivity(google.protobuf.message.Message): region: builtins.str = ..., aws_private_link: global___AWSPrivateLinkInfo | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "aws_private_link", b"aws_private_link", "region", b"region" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link", "region", b"region"]) -> None: ... global___PrivateConnectivity = PrivateConnectivity @@ -651,13 +472,8 @@ class Namespace(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceRegionStatus | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -672,10 +488,7 @@ class Namespace(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int @@ -723,11 +536,7 @@ class Namespace(google.protobuf.message.Message): def limits(self) -> global___Limits: """The limits set on the namespace currently.""" @property - def private_connectivities( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PrivateConnectivity - ]: + def private_connectivities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PrivateConnectivity]: """The private connectivities for the namespace, if any.""" @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -738,25 +547,15 @@ class Namespace(google.protobuf.message.Message): Will not be set if the namespace has never been modified. """ @property - def region_status( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___NamespaceRegionStatus - ]: + def region_status(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NamespaceRegionStatus]: """The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map. """ @property - def connectivity_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule - ]: + def connectivity_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule]: """The connectivity rules that are set on this namespace.""" @property - def tags( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags for the namespace.""" def __init__( self, @@ -770,70 +569,15 @@ class Namespace(google.protobuf.message.Message): endpoints: global___Endpoints | None = ..., active_region: builtins.str = ..., limits: global___Limits | None = ..., - private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] - | None = ..., + private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - region_status: collections.abc.Mapping[ - builtins.str, global___NamespaceRegionStatus - ] - | None = ..., - connectivity_rules: collections.abc.Iterable[ - temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule - ] - | None = ..., + region_status: collections.abc.Mapping[builtins.str, global___NamespaceRegionStatus] | None = ..., + connectivity_rules: collections.abc.Iterable[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule] | None = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "endpoints", - b"endpoints", - "last_modified_time", - b"last_modified_time", - "limits", - b"limits", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "active_region", - b"active_region", - "async_operation_id", - b"async_operation_id", - "connectivity_rules", - b"connectivity_rules", - "created_time", - b"created_time", - "endpoints", - b"endpoints", - "last_modified_time", - b"last_modified_time", - "limits", - b"limits", - "namespace", - b"namespace", - "private_connectivities", - b"private_connectivities", - "region_status", - b"region_status", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - "tags", - b"tags", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "endpoints", b"endpoints", "last_modified_time", b"last_modified_time", "limits", b"limits", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["active_region", b"active_region", "async_operation_id", b"async_operation_id", "connectivity_rules", b"connectivity_rules", "created_time", b"created_time", "endpoints", b"endpoints", "last_modified_time", b"last_modified_time", "limits", b"limits", "namespace", b"namespace", "private_connectivities", b"private_connectivities", "region_status", b"region_status", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated", "tags", b"tags"]) -> None: ... global___Namespace = Namespace @@ -844,12 +588,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _StateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - NamespaceRegionStatus._State.ValueType - ], - builtins.type, - ): # noqa: F821 + class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceRegionStatus._State.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: NamespaceRegionStatus._State.ValueType # 0 STATE_ADDING: NamespaceRegionStatus._State.ValueType # 1 @@ -900,17 +639,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): state: global___NamespaceRegionStatus.State.ValueType = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___NamespaceRegionStatus = NamespaceRegionStatus @@ -939,15 +668,8 @@ class ExportSinkSpec(google.protobuf.message.Message): s3: temporalio.api.cloud.sink.v1.message_pb2.S3Spec | None = ..., gcs: temporalio.api.cloud.sink.v1.message_pb2.GCSSpec | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3"]) -> None: ... global___ExportSinkSpec = ExportSinkSpec @@ -958,12 +680,7 @@ class ExportSink(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _HealthEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - ExportSink._Health.ValueType - ], - builtins.type, - ): # noqa: F821 + class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ExportSink._Health.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: ExportSink._Health.ValueType # 0 HEALTH_OK: ExportSink._Health.ValueType # 1 @@ -1015,37 +732,7 @@ class ExportSink(google.protobuf.message.Message): latest_data_export_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_health_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_health_check_time", - b"last_health_check_time", - "latest_data_export_time", - b"latest_data_export_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "error_message", - b"error_message", - "health", - b"health", - "last_health_check_time", - b"last_health_check_time", - "latest_data_export_time", - b"latest_data_export_time", - "name", - b"name", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_health_check_time", b"last_health_check_time", "latest_data_export_time", b"latest_data_export_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["error_message", b"error_message", "health", b"health", "last_health_check_time", b"last_health_check_time", "latest_data_export_time", b"latest_data_export_time", "name", b"name", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... global___ExportSink = ExportSink diff --git a/temporalio/api/cloud/nexus/v1/__init__.py b/temporalio/api/cloud/nexus/v1/__init__.py index a982975d8..fe5500d93 100644 --- a/temporalio/api/cloud/nexus/v1/__init__.py +++ b/temporalio/api/cloud/nexus/v1/__init__.py @@ -1,11 +1,9 @@ -from .message_pb2 import ( - AllowedCloudNamespacePolicySpec, - Endpoint, - EndpointPolicySpec, - EndpointSpec, - EndpointTargetSpec, - WorkerTargetSpec, -) +from .message_pb2 import EndpointSpec +from .message_pb2 import EndpointTargetSpec +from .message_pb2 import WorkerTargetSpec +from .message_pb2 import EndpointPolicySpec +from .message_pb2 import AllowedCloudNamespacePolicySpec +from .message_pb2 import Endpoint __all__ = [ "AllowedCloudNamespacePolicySpec", diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.py b/temporalio/api/cloud/nexus/v1/message_pb2.py index e7c3f6ea5..8e534c55e 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.py +++ b/temporalio/api/cloud/nexus/v1/message_pb2.py @@ -2,123 +2,89 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/nexus/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.cloud.resource.v1 import ( - message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, -) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12\"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant\"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant\"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3') -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] -_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name["EndpointTargetSpec"] -_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name["WorkerTargetSpec"] -_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name["EndpointPolicySpec"] -_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name[ - "AllowedCloudNamespacePolicySpec" -] -_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] -EndpointSpec = _reflection.GeneratedProtocolMessageType( - "EndpointSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTSPEC, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) - }, -) + +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name['EndpointSpec'] +_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name['EndpointTargetSpec'] +_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name['WorkerTargetSpec'] +_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name['EndpointPolicySpec'] +_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name['AllowedCloudNamespacePolicySpec'] +_ENDPOINT = DESCRIPTOR.message_types_by_name['Endpoint'] +EndpointSpec = _reflection.GeneratedProtocolMessageType('EndpointSpec', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTSPEC, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) + }) _sym_db.RegisterMessage(EndpointSpec) -EndpointTargetSpec = _reflection.GeneratedProtocolMessageType( - "EndpointTargetSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGETSPEC, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) - }, -) +EndpointTargetSpec = _reflection.GeneratedProtocolMessageType('EndpointTargetSpec', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTTARGETSPEC, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) + }) _sym_db.RegisterMessage(EndpointTargetSpec) -WorkerTargetSpec = _reflection.GeneratedProtocolMessageType( - "WorkerTargetSpec", - (_message.Message,), - { - "DESCRIPTOR": _WORKERTARGETSPEC, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) - }, -) +WorkerTargetSpec = _reflection.GeneratedProtocolMessageType('WorkerTargetSpec', (_message.Message,), { + 'DESCRIPTOR' : _WORKERTARGETSPEC, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) + }) _sym_db.RegisterMessage(WorkerTargetSpec) -EndpointPolicySpec = _reflection.GeneratedProtocolMessageType( - "EndpointPolicySpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTPOLICYSPEC, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) - }, -) +EndpointPolicySpec = _reflection.GeneratedProtocolMessageType('EndpointPolicySpec', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTPOLICYSPEC, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) + }) _sym_db.RegisterMessage(EndpointPolicySpec) -AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType( - "AllowedCloudNamespacePolicySpec", - (_message.Message,), - { - "DESCRIPTOR": _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) - }, -) +AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType('AllowedCloudNamespacePolicySpec', (_message.Message,), { + 'DESCRIPTOR' : _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) + }) _sym_db.RegisterMessage(AllowedCloudNamespacePolicySpec) -Endpoint = _reflection.GeneratedProtocolMessageType( - "Endpoint", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINT, - "__module__": "temporal.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) - }, -) +Endpoint = _reflection.GeneratedProtocolMessageType('Endpoint', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINT, + '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) + }) _sym_db.RegisterMessage(Endpoint) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" - _ENDPOINTSPEC.fields_by_name["description_deprecated"]._options = None - _ENDPOINTSPEC.fields_by_name[ - "description_deprecated" - ]._serialized_options = b"\030\001" - _ENDPOINTSPEC._serialized_start = 192 - _ENDPOINTSPEC._serialized_end = 451 - _ENDPOINTTARGETSPEC._serialized_start = 453 - _ENDPOINTTARGETSPEC._serialized_end = 561 - _WORKERTARGETSPEC._serialized_start = 563 - _WORKERTARGETSPEC._serialized_end = 623 - _ENDPOINTPOLICYSPEC._serialized_start = 626 - _ENDPOINTPOLICYSPEC._serialized_end = 766 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start = 768 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end = 823 - _ENDPOINT._serialized_start = 826 - _ENDPOINT._serialized_end = 1127 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z\'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1' + _ENDPOINTSPEC.fields_by_name['description_deprecated']._options = None + _ENDPOINTSPEC.fields_by_name['description_deprecated']._serialized_options = b'\030\001' + _ENDPOINTSPEC._serialized_start=192 + _ENDPOINTSPEC._serialized_end=451 + _ENDPOINTTARGETSPEC._serialized_start=453 + _ENDPOINTTARGETSPEC._serialized_end=561 + _WORKERTARGETSPEC._serialized_start=563 + _WORKERTARGETSPEC._serialized_end=623 + _ENDPOINTPOLICYSPEC._serialized_start=626 + _ENDPOINTPOLICYSPEC._serialized_end=766 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start=768 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end=823 + _ENDPOINT._serialized_start=826 + _ENDPOINT._serialized_end=1127 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.pyi b/temporalio/api/cloud/nexus/v1/message_pb2.pyi index 5ec14c3ac..b04eeae87 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.pyi +++ b/temporalio/api/cloud/nexus/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.common.v1.message_pb2 @@ -39,11 +36,7 @@ class EndpointSpec(google.protobuf.message.Message): def target_spec(self) -> global___EndpointTargetSpec: """Indicates where the endpoint should forward received nexus requests to.""" @property - def policy_specs( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___EndpointPolicySpec - ]: + def policy_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EndpointPolicySpec]: """The set of policies (e.g. authorization) for the endpoint. Each request's caller must match with at least one of the specs to be accepted by the endpoint. This field is mutable. @@ -62,32 +55,12 @@ class EndpointSpec(google.protobuf.message.Message): *, name: builtins.str = ..., target_spec: global___EndpointTargetSpec | None = ..., - policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] - | None = ..., + policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] | None = ..., description_deprecated: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "target_spec", b"target_spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", - b"description", - "description_deprecated", - b"description_deprecated", - "name", - b"name", - "policy_specs", - b"policy_specs", - "target_spec", - b"target_spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["description", b"description", "target_spec", b"target_spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "description_deprecated", b"description_deprecated", "name", b"name", "policy_specs", b"policy_specs", "target_spec", b"target_spec"]) -> None: ... global___EndpointSpec = EndpointSpec @@ -103,21 +76,9 @@ class EndpointTargetSpec(google.protobuf.message.Message): *, worker_target_spec: global___WorkerTargetSpec | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "variant", b"variant", "worker_target_spec", b"worker_target_spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "variant", b"variant", "worker_target_spec", b"worker_target_spec" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["worker_target_spec"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["variant", b"variant", "worker_target_spec", b"worker_target_spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["variant", b"variant", "worker_target_spec", b"worker_target_spec"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["worker_target_spec"] | None: ... global___EndpointTargetSpec = EndpointTargetSpec @@ -136,12 +97,7 @@ class WorkerTargetSpec(google.protobuf.message.Message): namespace_id: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace_id", b"namespace_id", "task_queue", b"task_queue" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id", "task_queue", b"task_queue"]) -> None: ... global___WorkerTargetSpec = WorkerTargetSpec @@ -150,37 +106,16 @@ class EndpointPolicySpec(google.protobuf.message.Message): ALLOWED_CLOUD_NAMESPACE_POLICY_SPEC_FIELD_NUMBER: builtins.int @property - def allowed_cloud_namespace_policy_spec( - self, - ) -> global___AllowedCloudNamespacePolicySpec: + def allowed_cloud_namespace_policy_spec(self) -> global___AllowedCloudNamespacePolicySpec: """A policy spec that allows one caller namespace to access the endpoint.""" def __init__( self, *, - allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec - | None = ..., + allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "allowed_cloud_namespace_policy_spec", - b"allowed_cloud_namespace_policy_spec", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "allowed_cloud_namespace_policy_spec", - b"allowed_cloud_namespace_policy_spec", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... global___EndpointPolicySpec = EndpointPolicySpec @@ -195,9 +130,7 @@ class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): *, namespace_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"]) -> None: ... global___AllowedCloudNamespacePolicySpec = AllowedCloudNamespacePolicySpec @@ -245,35 +178,7 @@ class Endpoint(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", - b"async_operation_id", - "created_time", - b"created_time", - "id", - b"id", - "last_modified_time", - b"last_modified_time", - "resource_version", - b"resource_version", - "spec", - b"spec", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... global___Endpoint = Endpoint diff --git a/temporalio/api/cloud/operation/v1/message_pb2.py b/temporalio/api/cloud/operation/v1/message_pb2.py index 230e00583..7496777ea 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.py +++ b/temporalio/api/cloud/operation/v1/message_pb2.py @@ -2,47 +2,42 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/operation/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3' -) - - -_ASYNCOPERATION = DESCRIPTOR.message_types_by_name["AsyncOperation"] -_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name["State"] -AsyncOperation = _reflection.GeneratedProtocolMessageType( - "AsyncOperation", - (_message.Message,), - { - "DESCRIPTOR": _ASYNCOPERATION, - "__module__": "temporal.api.cloud.operation.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n\"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3') + + + +_ASYNCOPERATION = DESCRIPTOR.message_types_by_name['AsyncOperation'] +_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name['State'] +AsyncOperation = _reflection.GeneratedProtocolMessageType('AsyncOperation', (_message.Message,), { + 'DESCRIPTOR' : _ASYNCOPERATION, + '__module__' : 'temporal.api.cloud.operation.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) + }) _sym_db.RegisterMessage(AsyncOperation) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' - _ASYNCOPERATION.fields_by_name["state_deprecated"]._options = None - _ASYNCOPERATION.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _ASYNCOPERATION._serialized_start = 175 - _ASYNCOPERATION._serialized_end = 705 - _ASYNCOPERATION_STATE._serialized_start = 553 - _ASYNCOPERATION_STATE._serialized_end = 705 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' + _ASYNCOPERATION.fields_by_name['state_deprecated']._options = None + _ASYNCOPERATION.fields_by_name['state_deprecated']._serialized_options = b'\030\001' + _ASYNCOPERATION._serialized_start=175 + _ASYNCOPERATION._serialized_end=705 + _ASYNCOPERATION_STATE._serialized_start=553 + _ASYNCOPERATION_STATE._serialized_end=705 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/operation/v1/message_pb2.pyi b/temporalio/api/cloud/operation/v1/message_pb2.pyi index 4e9346d96..4c5b39e1c 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.pyi +++ b/temporalio/api/cloud/operation/v1/message_pb2.pyi @@ -2,17 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -28,12 +26,7 @@ class AsyncOperation(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _StateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - AsyncOperation._State.ValueType - ], - builtins.type, - ): # noqa: F821 + class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AsyncOperation._State.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: AsyncOperation._State.ValueType # 0 STATE_PENDING: AsyncOperation._State.ValueType # 1 @@ -118,41 +111,7 @@ class AsyncOperation(google.protobuf.message.Message): started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., finished_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "check_duration", - b"check_duration", - "finished_time", - b"finished_time", - "operation_input", - b"operation_input", - "started_time", - b"started_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "check_duration", - b"check_duration", - "failure_reason", - b"failure_reason", - "finished_time", - b"finished_time", - "id", - b"id", - "operation_input", - b"operation_input", - "operation_type", - b"operation_type", - "started_time", - b"started_time", - "state", - b"state", - "state_deprecated", - b"state_deprecated", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["check_duration", b"check_duration", "finished_time", b"finished_time", "operation_input", b"operation_input", "started_time", b"started_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["check_duration", b"check_duration", "failure_reason", b"failure_reason", "finished_time", b"finished_time", "id", b"id", "operation_input", b"operation_input", "operation_type", b"operation_type", "started_time", b"started_time", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... global___AsyncOperation = AsyncOperation diff --git a/temporalio/api/cloud/region/v1/message_pb2.py b/temporalio/api/cloud/region/v1/message_pb2.py index edcb844b9..cdc9b3395 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.py +++ b/temporalio/api/cloud/region/v1/message_pb2.py @@ -2,45 +2,39 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/region/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02"Temporalio::Api::Cloud::Region::V1b\x06proto3' -) -_REGION = DESCRIPTOR.message_types_by_name["Region"] -_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name["CloudProvider"] -Region = _reflection.GeneratedProtocolMessageType( - "Region", - (_message.Message,), - { - "DESCRIPTOR": _REGION, - "__module__": "temporal.api.cloud.region.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1\"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t\"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02\"Temporalio::Api::Cloud::Region::V1b\x06proto3') + + + +_REGION = DESCRIPTOR.message_types_by_name['Region'] +_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name['CloudProvider'] +Region = _reflection.GeneratedProtocolMessageType('Region', (_message.Message,), { + 'DESCRIPTOR' : _REGION, + '__module__' : 'temporal.api.cloud.region.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) + }) _sym_db.RegisterMessage(Region) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' - _REGION.fields_by_name["cloud_provider_deprecated"]._options = None - _REGION.fields_by_name[ - "cloud_provider_deprecated" - ]._serialized_options = b"\030\001" - _REGION._serialized_start = 77 - _REGION._serialized_end = 358 - _REGION_CLOUDPROVIDER._serialized_start = 263 - _REGION_CLOUDPROVIDER._serialized_end = 358 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002\"Temporalio::Api::Cloud::Region::V1' + _REGION.fields_by_name['cloud_provider_deprecated']._options = None + _REGION.fields_by_name['cloud_provider_deprecated']._serialized_options = b'\030\001' + _REGION._serialized_start=77 + _REGION._serialized_end=358 + _REGION_CLOUDPROVIDER._serialized_start=263 + _REGION_CLOUDPROVIDER._serialized_end=358 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/region/v1/message_pb2.pyi b/temporalio/api/cloud/region/v1/message_pb2.pyi index 69718ad18..443e4bab4 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.pyi +++ b/temporalio/api/cloud/region/v1/message_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -25,12 +23,7 @@ class Region(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _CloudProviderEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - Region._CloudProvider.ValueType - ], - builtins.type, - ): # noqa: F821 + class _CloudProviderEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Region._CloudProvider.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CLOUD_PROVIDER_UNSPECIFIED: Region._CloudProvider.ValueType # 0 CLOUD_PROVIDER_AWS: Region._CloudProvider.ValueType # 1 @@ -74,20 +67,6 @@ class Region(google.protobuf.message.Message): cloud_provider_region: builtins.str = ..., location: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cloud_provider", - b"cloud_provider", - "cloud_provider_deprecated", - b"cloud_provider_deprecated", - "cloud_provider_region", - b"cloud_provider_region", - "id", - b"id", - "location", - b"location", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["cloud_provider", b"cloud_provider", "cloud_provider_deprecated", b"cloud_provider_deprecated", "cloud_provider_region", b"cloud_provider_region", "id", b"id", "location", b"location"]) -> None: ... global___Region = Region diff --git a/temporalio/api/cloud/resource/v1/message_pb2.py b/temporalio/api/cloud/resource/v1/message_pb2.py index 88e7a7daa..c691c5b8d 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.py +++ b/temporalio/api/cloud/resource/v1/message_pb2.py @@ -2,24 +2,22 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/resource/v1/message.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3" -) -_RESOURCESTATE = DESCRIPTOR.enum_types_by_name["ResourceState"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3') + +_RESOURCESTATE = DESCRIPTOR.enum_types_by_name['ResourceState'] ResourceState = enum_type_wrapper.EnumTypeWrapper(_RESOURCESTATE) RESOURCE_STATE_UNSPECIFIED = 0 RESOURCE_STATE_ACTIVATING = 1 @@ -35,8 +33,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" - _RESOURCESTATE._serialized_start = 81 - _RESOURCESTATE._serialized_end = 436 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1' + _RESOURCESTATE._serialized_start=81 + _RESOURCESTATE._serialized_end=436 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/resource/v1/message_pb2.pyi b/temporalio/api/cloud/resource/v1/message_pb2.pyi index 28f76e202..e77663b6b 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.pyi +++ b/temporalio/api/cloud/resource/v1/message_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _ResourceState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ResourceState.ValueType - ], - builtins.type, -): # noqa: F821 +class _ResourceStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_STATE_UNSPECIFIED: _ResourceState.ValueType # 0 RESOURCE_STATE_ACTIVATING: _ResourceState.ValueType # 1 diff --git a/temporalio/api/cloud/sink/v1/__init__.py b/temporalio/api/cloud/sink/v1/__init__.py index 659be6d28..7f2ecdcb4 100644 --- a/temporalio/api/cloud/sink/v1/__init__.py +++ b/temporalio/api/cloud/sink/v1/__init__.py @@ -1,4 +1,5 @@ -from .message_pb2 import GCSSpec, S3Spec +from .message_pb2 import S3Spec +from .message_pb2 import GCSSpec __all__ = [ "GCSSpec", diff --git a/temporalio/api/cloud/sink/v1/message_pb2.py b/temporalio/api/cloud/sink/v1/message_pb2.py index d50bf6bee..3db90ce10 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.py +++ b/temporalio/api/cloud/sink/v1/message_pb2.py @@ -2,52 +2,44 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/sink/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3' -) -_S3SPEC = DESCRIPTOR.message_types_by_name["S3Spec"] -_GCSSPEC = DESCRIPTOR.message_types_by_name["GCSSpec"] -S3Spec = _reflection.GeneratedProtocolMessageType( - "S3Spec", - (_message.Message,), - { - "DESCRIPTOR": _S3SPEC, - "__module__": "temporal.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1\"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t\"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3') + + + +_S3SPEC = DESCRIPTOR.message_types_by_name['S3Spec'] +_GCSSPEC = DESCRIPTOR.message_types_by_name['GCSSpec'] +S3Spec = _reflection.GeneratedProtocolMessageType('S3Spec', (_message.Message,), { + 'DESCRIPTOR' : _S3SPEC, + '__module__' : 'temporal.api.cloud.sink.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) + }) _sym_db.RegisterMessage(S3Spec) -GCSSpec = _reflection.GeneratedProtocolMessageType( - "GCSSpec", - (_message.Message,), - { - "DESCRIPTOR": _GCSSPEC, - "__module__": "temporal.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) - }, -) +GCSSpec = _reflection.GeneratedProtocolMessageType('GCSSpec', (_message.Message,), { + 'DESCRIPTOR' : _GCSSPEC, + '__module__' : 'temporal.api.cloud.sink.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) + }) _sym_db.RegisterMessage(GCSSpec) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" - _S3SPEC._serialized_start = 72 - _S3SPEC._serialized_end = 177 - _GCSSPEC._serialized_start = 179 - _GCSSPEC._serialized_end = 264 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1' + _S3SPEC._serialized_start=72 + _S3SPEC._serialized_end=177 + _GCSSPEC._serialized_start=179 + _GCSSPEC._serialized_end=264 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/sink/v1/message_pb2.pyi b/temporalio/api/cloud/sink/v1/message_pb2.pyi index d93987af1..4c2554ce4 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.pyi +++ b/temporalio/api/cloud/sink/v1/message_pb2.pyi @@ -2,12 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -43,21 +41,7 @@ class S3Spec(google.protobuf.message.Message): kms_arn: builtins.str = ..., aws_account_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "aws_account_id", - b"aws_account_id", - "bucket_name", - b"bucket_name", - "kms_arn", - b"kms_arn", - "region", - b"region", - "role_name", - b"role_name", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["aws_account_id", b"aws_account_id", "bucket_name", b"bucket_name", "kms_arn", b"kms_arn", "region", b"region", "role_name", b"role_name"]) -> None: ... global___S3Spec = S3Spec @@ -84,18 +68,6 @@ class GCSSpec(google.protobuf.message.Message): gcp_project_id: builtins.str = ..., region: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "bucket_name", - b"bucket_name", - "gcp_project_id", - b"gcp_project_id", - "region", - b"region", - "sa_id", - b"sa_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["bucket_name", b"bucket_name", "gcp_project_id", b"gcp_project_id", "region", b"region", "sa_id", b"sa_id"]) -> None: ... global___GCSSpec = GCSSpec diff --git a/temporalio/api/cloud/usage/v1/__init__.py b/temporalio/api/cloud/usage/v1/__init__.py index 220b1b971..1de63634d 100644 --- a/temporalio/api/cloud/usage/v1/__init__.py +++ b/temporalio/api/cloud/usage/v1/__init__.py @@ -1,12 +1,10 @@ -from .message_pb2 import ( - GroupBy, - GroupByKey, - Record, - RecordGroup, - RecordType, - RecordUnit, - Summary, -) +from .message_pb2 import RecordType +from .message_pb2 import RecordUnit +from .message_pb2 import GroupByKey +from .message_pb2 import Summary +from .message_pb2 import RecordGroup +from .message_pb2 import GroupBy +from .message_pb2 import Record __all__ = [ "GroupBy", diff --git a/temporalio/api/cloud/usage/v1/message_pb2.py b/temporalio/api/cloud/usage/v1/message_pb2.py index 2cb309c32..e87803a05 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.py +++ b/temporalio/api/cloud/usage/v1/message_pb2.py @@ -2,14 +2,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/usage/v1/message.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,15 +15,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3" -) -_RECORDTYPE = DESCRIPTOR.enum_types_by_name["RecordType"] +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3') + +_RECORDTYPE = DESCRIPTOR.enum_types_by_name['RecordType'] RecordType = enum_type_wrapper.EnumTypeWrapper(_RECORDTYPE) -_RECORDUNIT = DESCRIPTOR.enum_types_by_name["RecordUnit"] +_RECORDUNIT = DESCRIPTOR.enum_types_by_name['RecordUnit'] RecordUnit = enum_type_wrapper.EnumTypeWrapper(_RECORDUNIT) -_GROUPBYKEY = DESCRIPTOR.enum_types_by_name["GroupByKey"] +_GROUPBYKEY = DESCRIPTOR.enum_types_by_name['GroupByKey'] GroupByKey = enum_type_wrapper.EnumTypeWrapper(_GROUPBYKEY) RECORD_TYPE_UNSPECIFIED = 0 RECORD_TYPE_ACTIONS = 1 @@ -38,69 +35,54 @@ GROUP_BY_KEY_NAMESPACE = 1 -_SUMMARY = DESCRIPTOR.message_types_by_name["Summary"] -_RECORDGROUP = DESCRIPTOR.message_types_by_name["RecordGroup"] -_GROUPBY = DESCRIPTOR.message_types_by_name["GroupBy"] -_RECORD = DESCRIPTOR.message_types_by_name["Record"] -Summary = _reflection.GeneratedProtocolMessageType( - "Summary", - (_message.Message,), - { - "DESCRIPTOR": _SUMMARY, - "__module__": "temporal.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) - }, -) +_SUMMARY = DESCRIPTOR.message_types_by_name['Summary'] +_RECORDGROUP = DESCRIPTOR.message_types_by_name['RecordGroup'] +_GROUPBY = DESCRIPTOR.message_types_by_name['GroupBy'] +_RECORD = DESCRIPTOR.message_types_by_name['Record'] +Summary = _reflection.GeneratedProtocolMessageType('Summary', (_message.Message,), { + 'DESCRIPTOR' : _SUMMARY, + '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) + }) _sym_db.RegisterMessage(Summary) -RecordGroup = _reflection.GeneratedProtocolMessageType( - "RecordGroup", - (_message.Message,), - { - "DESCRIPTOR": _RECORDGROUP, - "__module__": "temporal.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) - }, -) +RecordGroup = _reflection.GeneratedProtocolMessageType('RecordGroup', (_message.Message,), { + 'DESCRIPTOR' : _RECORDGROUP, + '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) + }) _sym_db.RegisterMessage(RecordGroup) -GroupBy = _reflection.GeneratedProtocolMessageType( - "GroupBy", - (_message.Message,), - { - "DESCRIPTOR": _GROUPBY, - "__module__": "temporal.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) - }, -) +GroupBy = _reflection.GeneratedProtocolMessageType('GroupBy', (_message.Message,), { + 'DESCRIPTOR' : _GROUPBY, + '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) + }) _sym_db.RegisterMessage(GroupBy) -Record = _reflection.GeneratedProtocolMessageType( - "Record", - (_message.Message,), - { - "DESCRIPTOR": _RECORD, - "__module__": "temporal.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) - }, -) +Record = _reflection.GeneratedProtocolMessageType('Record', (_message.Message,), { + 'DESCRIPTOR' : _RECORD, + '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) + }) _sym_db.RegisterMessage(Record) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" - _RECORDTYPE._serialized_start = 641 - _RECORDTYPE._serialized_end = 773 - _RECORDUNIT._serialized_start = 775 - _RECORDUNIT._serialized_end = 870 - _GROUPBYKEY._serialized_start = 872 - _GROUPBYKEY._serialized_end = 942 - _SUMMARY._serialized_start = 108 - _SUMMARY._serialized_end = 296 - _RECORDGROUP._serialized_start = 298 - _RECORDGROUP._serialized_end = 422 - _GROUPBY._serialized_start = 424 - _GROUPBY._serialized_end = 502 - _RECORD._serialized_start = 505 - _RECORD._serialized_end = 638 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z\'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1' + _RECORDTYPE._serialized_start=641 + _RECORDTYPE._serialized_end=773 + _RECORDUNIT._serialized_start=775 + _RECORDUNIT._serialized_end=870 + _GROUPBYKEY._serialized_start=872 + _GROUPBYKEY._serialized_end=942 + _SUMMARY._serialized_start=108 + _SUMMARY._serialized_end=296 + _RECORDGROUP._serialized_start=298 + _RECORDGROUP._serialized_end=422 + _GROUPBY._serialized_start=424 + _GROUPBY._serialized_end=502 + _RECORD._serialized_start=505 + _RECORD._serialized_end=638 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/usage/v1/message_pb2.pyi b/temporalio/api/cloud/usage/v1/message_pb2.pyi index 8ffdc1189..05038db21 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.pyi +++ b/temporalio/api/cloud/usage/v1/message_pb2.pyi @@ -2,17 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -25,10 +23,7 @@ class _RecordType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RecordTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], - builtins.type, -): # noqa: F821 +class _RecordTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_TYPE_UNSPECIFIED: _RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: _RecordType.ValueType # 1 @@ -47,10 +42,7 @@ class _RecordUnit: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RecordUnitEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], - builtins.type, -): # noqa: F821 +class _RecordUnitEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_UNIT_UNSPECIFIED: _RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: _RecordUnit.ValueType # 1 @@ -67,10 +59,7 @@ class _GroupByKey: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _GroupByKeyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], - builtins.type, -): # noqa: F821 +class _GroupByKeyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor GROUP_BY_KEY_UNSPECIFIED: _GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: _GroupByKey.ValueType # 1 @@ -95,11 +84,7 @@ class Summary(google.protobuf.message.Message): def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """End of UTC day for now (exclusive)""" @property - def record_groups( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___RecordGroup - ]: + def record_groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RecordGroup]: """Records grouped by namespace""" incomplete: builtins.bool """True if data for given time window is not fully available yet (e.g. delays) @@ -113,25 +98,8 @@ class Summary(google.protobuf.message.Message): record_groups: collections.abc.Iterable[global___RecordGroup] | None = ..., incomplete: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "end_time", b"end_time", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_time", - b"end_time", - "incomplete", - b"incomplete", - "record_groups", - b"record_groups", - "start_time", - b"start_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "incomplete", b"incomplete", "record_groups", b"record_groups", "start_time", b"start_time"]) -> None: ... global___Summary = Summary @@ -141,30 +109,17 @@ class RecordGroup(google.protobuf.message.Message): GROUP_BYS_FIELD_NUMBER: builtins.int RECORDS_FIELD_NUMBER: builtins.int @property - def group_bys( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___GroupBy - ]: + def group_bys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GroupBy]: """GroupBy keys and their values for this record group. Multiple fields are combined with logical AND.""" @property - def records( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Record - ]: ... + def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Record]: ... def __init__( self, *, group_bys: collections.abc.Iterable[global___GroupBy] | None = ..., records: collections.abc.Iterable[global___Record] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "group_bys", b"group_bys", "records", b"records" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["group_bys", b"group_bys", "records", b"records"]) -> None: ... global___RecordGroup = RecordGroup @@ -181,9 +136,7 @@ class GroupBy(google.protobuf.message.Message): key: global___GroupByKey.ValueType = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... global___GroupBy = GroupBy @@ -203,11 +156,6 @@ class Record(google.protobuf.message.Message): unit: global___RecordUnit.ValueType = ..., value: builtins.float = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "type", b"type", "unit", b"unit", "value", b"value" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["type", b"type", "unit", b"unit", "value", b"value"]) -> None: ... global___Record = Record diff --git a/temporalio/api/command/v1/__init__.py b/temporalio/api/command/v1/__init__.py index e0ce8f712..b32d18ed9 100644 --- a/temporalio/api/command/v1/__init__.py +++ b/temporalio/api/command/v1/__init__.py @@ -1,23 +1,21 @@ -from .message_pb2 import ( - CancelTimerCommandAttributes, - CancelWorkflowExecutionCommandAttributes, - Command, - CompleteWorkflowExecutionCommandAttributes, - ContinueAsNewWorkflowExecutionCommandAttributes, - FailWorkflowExecutionCommandAttributes, - ModifyWorkflowPropertiesCommandAttributes, - ProtocolMessageCommandAttributes, - RecordMarkerCommandAttributes, - RequestCancelActivityTaskCommandAttributes, - RequestCancelExternalWorkflowExecutionCommandAttributes, - RequestCancelNexusOperationCommandAttributes, - ScheduleActivityTaskCommandAttributes, - ScheduleNexusOperationCommandAttributes, - SignalExternalWorkflowExecutionCommandAttributes, - StartChildWorkflowExecutionCommandAttributes, - StartTimerCommandAttributes, - UpsertWorkflowSearchAttributesCommandAttributes, -) +from .message_pb2 import ScheduleActivityTaskCommandAttributes +from .message_pb2 import RequestCancelActivityTaskCommandAttributes +from .message_pb2 import StartTimerCommandAttributes +from .message_pb2 import CompleteWorkflowExecutionCommandAttributes +from .message_pb2 import FailWorkflowExecutionCommandAttributes +from .message_pb2 import CancelTimerCommandAttributes +from .message_pb2 import CancelWorkflowExecutionCommandAttributes +from .message_pb2 import RequestCancelExternalWorkflowExecutionCommandAttributes +from .message_pb2 import SignalExternalWorkflowExecutionCommandAttributes +from .message_pb2 import UpsertWorkflowSearchAttributesCommandAttributes +from .message_pb2 import ModifyWorkflowPropertiesCommandAttributes +from .message_pb2 import RecordMarkerCommandAttributes +from .message_pb2 import ContinueAsNewWorkflowExecutionCommandAttributes +from .message_pb2 import StartChildWorkflowExecutionCommandAttributes +from .message_pb2 import ProtocolMessageCommandAttributes +from .message_pb2 import ScheduleNexusOperationCommandAttributes +from .message_pb2 import RequestCancelNexusOperationCommandAttributes +from .message_pb2 import Command __all__ = [ "CancelTimerCommandAttributes", diff --git a/temporalio/api/command/v1/message_pb2.py b/temporalio/api/command/v1/message_pb2.py index a5435dd2e..b5f1b8e9a 100644 --- a/temporalio/api/command/v1/message_pb2.py +++ b/temporalio/api/command/v1/message_pb2.py @@ -2,401 +2,245 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/command/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - command_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_command__type__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xb3\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xab\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xcf\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01"\x9d\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t"\xea\x02\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3' -) - - -_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ScheduleActivityTaskCommandAttributes" -] -_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RequestCancelActivityTaskCommandAttributes" -] -_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartTimerCommandAttributes" -] -_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CompleteWorkflowExecutionCommandAttributes" -] -_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "FailWorkflowExecutionCommandAttributes" -] -_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CancelTimerCommandAttributes" -] -_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CancelWorkflowExecutionCommandAttributes" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionCommandAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionCommandAttributes" -] -_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributesCommandAttributes" -] -_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ModifyWorkflowPropertiesCommandAttributes" -] -_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RecordMarkerCommandAttributes" -] -_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = ( - _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name["DetailsEntry"] -) -_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ContinueAsNewWorkflowExecutionCommandAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionCommandAttributes" -] -_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ProtocolMessageCommandAttributes" -] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ScheduleNexusOperationCommandAttributes" -] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = ( - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] -) -_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperationCommandAttributes" -] -_COMMAND = DESCRIPTOR.message_types_by_name["Command"] -ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ScheduleActivityTaskCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) - }, -) +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.enums.v1 import command_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_command__type__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xb3\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xab\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xcf\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\"\x9d\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"\xea\x02\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3') + + + +_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ScheduleActivityTaskCommandAttributes'] +_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelActivityTaskCommandAttributes'] +_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['StartTimerCommandAttributes'] +_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CompleteWorkflowExecutionCommandAttributes'] +_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['FailWorkflowExecutionCommandAttributes'] +_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CancelTimerCommandAttributes'] +_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CancelWorkflowExecutionCommandAttributes'] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionCommandAttributes'] +_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionCommandAttributes'] +_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesCommandAttributes'] +_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ModifyWorkflowPropertiesCommandAttributes'] +_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RecordMarkerCommandAttributes'] +_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name['DetailsEntry'] +_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ContinueAsNewWorkflowExecutionCommandAttributes'] +_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionCommandAttributes'] +_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ProtocolMessageCommandAttributes'] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ScheduleNexusOperationCommandAttributes'] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name['NexusHeaderEntry'] +_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelNexusOperationCommandAttributes'] +_COMMAND = DESCRIPTOR.message_types_by_name['Command'] +ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType('ScheduleActivityTaskCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) + }) _sym_db.RegisterMessage(ScheduleActivityTaskCommandAttributes) -RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivityTaskCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) - }, -) +RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelActivityTaskCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) + }) _sym_db.RegisterMessage(RequestCancelActivityTaskCommandAttributes) -StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "StartTimerCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMERCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) - }, -) +StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType('StartTimerCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTTIMERCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) + }) _sym_db.RegisterMessage(StartTimerCommandAttributes) -CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CompleteWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) - }, -) +CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('CompleteWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(CompleteWorkflowExecutionCommandAttributes) -FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "FailWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) - }, -) +FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('FailWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(FailWorkflowExecutionCommandAttributes) -CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CancelTimerCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CANCELTIMERCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) - }, -) +CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType('CancelTimerCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CANCELTIMERCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) + }) _sym_db.RegisterMessage(CancelTimerCommandAttributes) -CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CancelWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) - }, -) +CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('CancelWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(CancelWorkflowExecutionCommandAttributes) -RequestCancelExternalWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) - }, - ) -) +RequestCancelExternalWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionCommandAttributes) -SignalExternalWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) - }, - ) -) +SignalExternalWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionCommandAttributes) -UpsertWorkflowSearchAttributesCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributesCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) - }, - ) -) +UpsertWorkflowSearchAttributesCommandAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) + }) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributesCommandAttributes) -ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ModifyWorkflowPropertiesCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) - }, -) +ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType('ModifyWorkflowPropertiesCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) + }) _sym_db.RegisterMessage(ModifyWorkflowPropertiesCommandAttributes) -RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RecordMarkerCommandAttributes", - (_message.Message,), - { - "DetailsEntry": _reflection.GeneratedProtocolMessageType( - "DetailsEntry", - (_message.Message,), - { - "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) - }, - ), - "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) - }, -) +RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType('RecordMarkerCommandAttributes', (_message.Message,), { + + 'DetailsEntry' : _reflection.GeneratedProtocolMessageType('DetailsEntry', (_message.Message,), { + 'DESCRIPTOR' : _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) + }) + , + 'DESCRIPTOR' : _RECORDMARKERCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) + }) _sym_db.RegisterMessage(RecordMarkerCommandAttributes) _sym_db.RegisterMessage(RecordMarkerCommandAttributes.DetailsEntry) -ContinueAsNewWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ContinueAsNewWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) - }, - ) -) +ContinueAsNewWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('ContinueAsNewWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecutionCommandAttributes) -StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) - }, -) +StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) + }) _sym_db.RegisterMessage(StartChildWorkflowExecutionCommandAttributes) -ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ProtocolMessageCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _PROTOCOLMESSAGECOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) - }, -) +ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType('ProtocolMessageCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _PROTOCOLMESSAGECOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) + }) _sym_db.RegisterMessage(ProtocolMessageCommandAttributes) -ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ScheduleNexusOperationCommandAttributes", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) - }, -) +ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType('ScheduleNexusOperationCommandAttributes', (_message.Message,), { + + 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) + }) + , + 'DESCRIPTOR' : _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) + }) _sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes) _sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) -RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperationCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) - }, -) +RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelNexusOperationCommandAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) + }) _sym_db.RegisterMessage(RequestCancelNexusOperationCommandAttributes) -Command = _reflection.GeneratedProtocolMessageType( - "Command", - (_message.Message,), - { - "DESCRIPTOR": _COMMAND, - "__module__": "temporal.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) - }, -) +Command = _reflection.GeneratedProtocolMessageType('Command', (_message.Message,), { + 'DESCRIPTOR' : _COMMAND, + '__module__' : 'temporal.api.command.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) + }) _sym_db.RegisterMessage(Command) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._options = None - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._serialized_options = b"\030\001" - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( - b"8\001" - ) - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 338 - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1032 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 1034 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1106 - _STARTTIMERCOMMANDATTRIBUTES._serialized_start = 1108 - _STARTTIMERCOMMANDATTRIBUTES._serialized_end = 1213 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1215 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1309 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1311 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1402 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_start = 1404 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_end = 1452 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1454 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1547 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1550 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1729 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1732 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 2031 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start = 2033 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end = 2151 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start = 2153 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end = 2249 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_start = 2252 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_end = 2571 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start = 2491 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end = 2571 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 2574 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 3421 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 3424 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 4349 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start = 4351 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end = 4405 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4408 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 4770 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 4720 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 4770 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4772 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 4846 - _COMMAND._serialized_start = 4849 - _COMMAND._serialized_end = 7091 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1' + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b'8\001' + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._options = None + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._options = None + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = b'8\001' + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start=338 + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end=1032 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start=1034 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end=1106 + _STARTTIMERCOMMANDATTRIBUTES._serialized_start=1108 + _STARTTIMERCOMMANDATTRIBUTES._serialized_end=1213 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1215 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1309 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1311 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1402 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_start=1404 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_end=1452 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1454 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1547 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1550 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1729 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1732 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=2031 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start=2033 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end=2151 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start=2153 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end=2249 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_start=2252 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_end=2571 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start=2491 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end=2571 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=2574 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=3421 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=3424 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=4349 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start=4351 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end=4405 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start=4408 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end=4770 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start=4720 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end=4770 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start=4772 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end=4846 + _COMMAND._serialized_start=4849 + _COMMAND._serialized_end=7091 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/command/v1/message_pb2.pyi b/temporalio/api/command/v1/message_pb2.pyi index 5a60e3aa1..656ac706c 100644 --- a/temporalio/api/command/v1/message_pb2.pyi +++ b/temporalio/api/command/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.command_type_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -121,62 +118,8 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): use_workflow_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_type", - b"activity_type", - "header", - b"header", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "header", - b"header", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "priority", - b"priority", - "request_eager_execution", - b"request_eager_execution", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - "use_workflow_build_id", - b"use_workflow_build_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "request_eager_execution", b"request_eager_execution", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "use_workflow_build_id", b"use_workflow_build_id"]) -> None: ... global___ScheduleActivityTaskCommandAttributes = ScheduleActivityTaskCommandAttributes @@ -191,16 +134,9 @@ class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message *, scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", b"scheduled_event_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id"]) -> None: ... -global___RequestCancelActivityTaskCommandAttributes = ( - RequestCancelActivityTaskCommandAttributes -) +global___RequestCancelActivityTaskCommandAttributes = RequestCancelActivityTaskCommandAttributes class StartTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -224,18 +160,8 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id"]) -> None: ... global___StartTimerCommandAttributes = StartTimerCommandAttributes @@ -250,16 +176,10 @@ class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message *, result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... -global___CompleteWorkflowExecutionCommandAttributes = ( - CompleteWorkflowExecutionCommandAttributes -) +global___CompleteWorkflowExecutionCommandAttributes = CompleteWorkflowExecutionCommandAttributes class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -272,12 +192,8 @@ class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___FailWorkflowExecutionCommandAttributes = FailWorkflowExecutionCommandAttributes @@ -292,9 +208,7 @@ class CancelTimerCommandAttributes(google.protobuf.message.Message): *, timer_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["timer_id", b"timer_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["timer_id", b"timer_id"]) -> None: ... global___CancelTimerCommandAttributes = CancelTimerCommandAttributes @@ -309,20 +223,12 @@ class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): *, details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details"]) -> None: ... -global___CancelWorkflowExecutionCommandAttributes = ( - CancelWorkflowExecutionCommandAttributes -) +global___CancelWorkflowExecutionCommandAttributes = CancelWorkflowExecutionCommandAttributes -class RequestCancelExternalWorkflowExecutionCommandAttributes( - google.protobuf.message.Message -): +class RequestCancelExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACE_FIELD_NUMBER: builtins.int @@ -353,27 +259,9 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes( child_workflow_only: builtins.bool = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_only", - b"child_workflow_only", - "control", - b"control", - "namespace", - b"namespace", - "reason", - b"reason", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "namespace", b"namespace", "reason", b"reason", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... -global___RequestCancelExternalWorkflowExecutionCommandAttributes = ( - RequestCancelExternalWorkflowExecutionCommandAttributes -) +global___RequestCancelExternalWorkflowExecutionCommandAttributes = RequestCancelExternalWorkflowExecutionCommandAttributes class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -402,7 +290,7 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M """ @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: - """Headers that are passed by the workflow that is sending a signal to the external + """Headers that are passed by the workflow that is sending a signal to the external workflow that is receiving this signal. """ def __init__( @@ -416,66 +304,26 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M child_workflow_only: builtins.bool = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "header", b"header", "input", b"input" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_only", - b"child_workflow_only", - "control", - b"control", - "execution", - b"execution", - "header", - b"header", - "input", - b"input", - "namespace", - b"namespace", - "signal_name", - b"signal_name", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "header", b"header", "input", b"input"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "execution", b"execution", "header", b"header", "input", b"input", "namespace", b"namespace", "signal_name", b"signal_name"]) -> None: ... -global___SignalExternalWorkflowExecutionCommandAttributes = ( - SignalExternalWorkflowExecutionCommandAttributes -) +global___SignalExternalWorkflowExecutionCommandAttributes = SignalExternalWorkflowExecutionCommandAttributes class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> None: ... -global___UpsertWorkflowSearchAttributesCommandAttributes = ( - UpsertWorkflowSearchAttributesCommandAttributes -) +global___UpsertWorkflowSearchAttributesCommandAttributes = UpsertWorkflowSearchAttributesCommandAttributes class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -492,16 +340,10 @@ class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message) *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> None: ... -global___ModifyWorkflowPropertiesCommandAttributes = ( - ModifyWorkflowPropertiesCommandAttributes -) +global___ModifyWorkflowPropertiesCommandAttributes = ModifyWorkflowPropertiesCommandAttributes class RecordMarkerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -520,13 +362,8 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int @@ -534,11 +371,7 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int marker_name: builtins.str @property - def details( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payloads - ]: ... + def details(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payloads]: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -547,32 +380,12 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): self, *, marker_name: builtins.str = ..., - details: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payloads - ] - | None = ..., + details: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payloads] | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "header", b"header" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "failure", - b"failure", - "header", - b"header", - "marker_name", - b"marker_name", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "header", b"header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "failure", b"failure", "header", b"header", "marker_name", b"marker_name"]) -> None: ... global___RecordMarkerCommandAttributes = RecordMarkerCommandAttributes @@ -626,9 +439,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. @@ -646,83 +457,17 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., inherit_build_id: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "backoff_start_interval", - b"backoff_start_interval", - "failure", - b"failure", - "header", - b"header", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "backoff_start_interval", - b"backoff_start_interval", - "cron_schedule", - b"cron_schedule", - "failure", - b"failure", - "header", - b"header", - "inherit_build_id", - b"inherit_build_id", - "initiator", - b"initiator", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "cron_schedule", b"cron_schedule", "failure", b"failure", "header", b"header", "inherit_build_id", b"inherit_build_id", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... -global___ContinueAsNewWorkflowExecutionCommandAttributes = ( - ContinueAsNewWorkflowExecutionCommandAttributes -) +global___ContinueAsNewWorkflowExecutionCommandAttributes = ContinueAsNewWorkflowExecutionCommandAttributes class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -762,14 +507,10 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) + parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType """Default: PARENT_CLOSE_POLICY_TERMINATE.""" control: builtins.str - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... @@ -780,9 +521,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child's Task Queue will be used to independently assign a Build ID to it. @@ -811,83 +550,14 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., inherit_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "memo", - b"memo", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "control", - b"control", - "cron_schedule", - b"cron_schedule", - "header", - b"header", - "inherit_build_id", - b"inherit_build_id", - "input", - b"input", - "memo", - b"memo", - "namespace", - b"namespace", - "parent_close_policy", - b"parent_close_policy", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "inherit_build_id", b"inherit_build_id", "input", b"input", "memo", b"memo", "namespace", b"namespace", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... -global___StartChildWorkflowExecutionCommandAttributes = ( - StartChildWorkflowExecutionCommandAttributes -) +global___StartChildWorkflowExecutionCommandAttributes = StartChildWorkflowExecutionCommandAttributes class ProtocolMessageCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -900,9 +570,7 @@ class ProtocolMessageCommandAttributes(google.protobuf.message.Message): *, message_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["message_id", b"message_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["message_id", b"message_id"]) -> None: ... global___ProtocolMessageCommandAttributes = ProtocolMessageCommandAttributes @@ -922,10 +590,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int SERVICE_FIELD_NUMBER: builtins.int @@ -954,9 +619,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) """ @property - def nexus_header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. @@ -974,33 +637,10 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., nexus_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "endpoint", - b"endpoint", - "input", - b"input", - "nexus_header", - b"nexus_header", - "operation", - b"operation", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "service", - b"service", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "schedule_to_close_timeout", b"schedule_to_close_timeout", "service", b"service"]) -> None: ... -global___ScheduleNexusOperationCommandAttributes = ( - ScheduleNexusOperationCommandAttributes -) +global___ScheduleNexusOperationCommandAttributes = ScheduleNexusOperationCommandAttributes class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1015,16 +655,9 @@ class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Messa *, scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", b"scheduled_event_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id"]) -> None: ... -global___RequestCancelNexusOperationCommandAttributes = ( - RequestCancelNexusOperationCommandAttributes -) +global___RequestCancelNexusOperationCommandAttributes = RequestCancelNexusOperationCommandAttributes class Command(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1038,9 +671,7 @@ class Command(google.protobuf.message.Message): REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CANCEL_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int - REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: ( - builtins.int - ) + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int RECORD_MARKER_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -1065,226 +696,65 @@ class Command(google.protobuf.message.Message): started where the summary is used to identify the timer. """ @property - def schedule_activity_task_command_attributes( - self, - ) -> global___ScheduleActivityTaskCommandAttributes: ... + def schedule_activity_task_command_attributes(self) -> global___ScheduleActivityTaskCommandAttributes: ... @property - def start_timer_command_attributes( - self, - ) -> global___StartTimerCommandAttributes: ... + def start_timer_command_attributes(self) -> global___StartTimerCommandAttributes: ... @property - def complete_workflow_execution_command_attributes( - self, - ) -> global___CompleteWorkflowExecutionCommandAttributes: ... + def complete_workflow_execution_command_attributes(self) -> global___CompleteWorkflowExecutionCommandAttributes: ... @property - def fail_workflow_execution_command_attributes( - self, - ) -> global___FailWorkflowExecutionCommandAttributes: ... + def fail_workflow_execution_command_attributes(self) -> global___FailWorkflowExecutionCommandAttributes: ... @property - def request_cancel_activity_task_command_attributes( - self, - ) -> global___RequestCancelActivityTaskCommandAttributes: ... + def request_cancel_activity_task_command_attributes(self) -> global___RequestCancelActivityTaskCommandAttributes: ... @property - def cancel_timer_command_attributes( - self, - ) -> global___CancelTimerCommandAttributes: ... + def cancel_timer_command_attributes(self) -> global___CancelTimerCommandAttributes: ... @property - def cancel_workflow_execution_command_attributes( - self, - ) -> global___CancelWorkflowExecutionCommandAttributes: ... + def cancel_workflow_execution_command_attributes(self) -> global___CancelWorkflowExecutionCommandAttributes: ... @property - def request_cancel_external_workflow_execution_command_attributes( - self, - ) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... + def request_cancel_external_workflow_execution_command_attributes(self) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... @property - def record_marker_command_attributes( - self, - ) -> global___RecordMarkerCommandAttributes: ... + def record_marker_command_attributes(self) -> global___RecordMarkerCommandAttributes: ... @property - def continue_as_new_workflow_execution_command_attributes( - self, - ) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... + def continue_as_new_workflow_execution_command_attributes(self) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... @property - def start_child_workflow_execution_command_attributes( - self, - ) -> global___StartChildWorkflowExecutionCommandAttributes: ... + def start_child_workflow_execution_command_attributes(self) -> global___StartChildWorkflowExecutionCommandAttributes: ... @property - def signal_external_workflow_execution_command_attributes( - self, - ) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... + def signal_external_workflow_execution_command_attributes(self) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... @property - def upsert_workflow_search_attributes_command_attributes( - self, - ) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... + def upsert_workflow_search_attributes_command_attributes(self) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... @property - def protocol_message_command_attributes( - self, - ) -> global___ProtocolMessageCommandAttributes: ... + def protocol_message_command_attributes(self) -> global___ProtocolMessageCommandAttributes: ... @property - def modify_workflow_properties_command_attributes( - self, - ) -> global___ModifyWorkflowPropertiesCommandAttributes: + def modify_workflow_properties_command_attributes(self) -> global___ModifyWorkflowPropertiesCommandAttributes: """16 is available for use - it was used as part of a prototype that never made it into a release""" @property - def schedule_nexus_operation_command_attributes( - self, - ) -> global___ScheduleNexusOperationCommandAttributes: ... + def schedule_nexus_operation_command_attributes(self) -> global___ScheduleNexusOperationCommandAttributes: ... @property - def request_cancel_nexus_operation_command_attributes( - self, - ) -> global___RequestCancelNexusOperationCommandAttributes: ... + def request_cancel_nexus_operation_command_attributes(self) -> global___RequestCancelNexusOperationCommandAttributes: ... def __init__( self, *, command_type: temporalio.api.enums.v1.command_type_pb2.CommandType.ValueType = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., - schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes - | None = ..., - start_timer_command_attributes: global___StartTimerCommandAttributes - | None = ..., - complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes - | None = ..., - fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes - | None = ..., - request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes - | None = ..., - cancel_timer_command_attributes: global___CancelTimerCommandAttributes - | None = ..., - cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes - | None = ..., - request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes - | None = ..., - record_marker_command_attributes: global___RecordMarkerCommandAttributes - | None = ..., - continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes - | None = ..., - start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes - | None = ..., - signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes - | None = ..., - upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes - | None = ..., - protocol_message_command_attributes: global___ProtocolMessageCommandAttributes - | None = ..., - modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes - | None = ..., - schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes - | None = ..., - request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "attributes", - b"attributes", - "cancel_timer_command_attributes", - b"cancel_timer_command_attributes", - "cancel_workflow_execution_command_attributes", - b"cancel_workflow_execution_command_attributes", - "complete_workflow_execution_command_attributes", - b"complete_workflow_execution_command_attributes", - "continue_as_new_workflow_execution_command_attributes", - b"continue_as_new_workflow_execution_command_attributes", - "fail_workflow_execution_command_attributes", - b"fail_workflow_execution_command_attributes", - "modify_workflow_properties_command_attributes", - b"modify_workflow_properties_command_attributes", - "protocol_message_command_attributes", - b"protocol_message_command_attributes", - "record_marker_command_attributes", - b"record_marker_command_attributes", - "request_cancel_activity_task_command_attributes", - b"request_cancel_activity_task_command_attributes", - "request_cancel_external_workflow_execution_command_attributes", - b"request_cancel_external_workflow_execution_command_attributes", - "request_cancel_nexus_operation_command_attributes", - b"request_cancel_nexus_operation_command_attributes", - "schedule_activity_task_command_attributes", - b"schedule_activity_task_command_attributes", - "schedule_nexus_operation_command_attributes", - b"schedule_nexus_operation_command_attributes", - "signal_external_workflow_execution_command_attributes", - b"signal_external_workflow_execution_command_attributes", - "start_child_workflow_execution_command_attributes", - b"start_child_workflow_execution_command_attributes", - "start_timer_command_attributes", - b"start_timer_command_attributes", - "upsert_workflow_search_attributes_command_attributes", - b"upsert_workflow_search_attributes_command_attributes", - "user_metadata", - b"user_metadata", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attributes", - b"attributes", - "cancel_timer_command_attributes", - b"cancel_timer_command_attributes", - "cancel_workflow_execution_command_attributes", - b"cancel_workflow_execution_command_attributes", - "command_type", - b"command_type", - "complete_workflow_execution_command_attributes", - b"complete_workflow_execution_command_attributes", - "continue_as_new_workflow_execution_command_attributes", - b"continue_as_new_workflow_execution_command_attributes", - "fail_workflow_execution_command_attributes", - b"fail_workflow_execution_command_attributes", - "modify_workflow_properties_command_attributes", - b"modify_workflow_properties_command_attributes", - "protocol_message_command_attributes", - b"protocol_message_command_attributes", - "record_marker_command_attributes", - b"record_marker_command_attributes", - "request_cancel_activity_task_command_attributes", - b"request_cancel_activity_task_command_attributes", - "request_cancel_external_workflow_execution_command_attributes", - b"request_cancel_external_workflow_execution_command_attributes", - "request_cancel_nexus_operation_command_attributes", - b"request_cancel_nexus_operation_command_attributes", - "schedule_activity_task_command_attributes", - b"schedule_activity_task_command_attributes", - "schedule_nexus_operation_command_attributes", - b"schedule_nexus_operation_command_attributes", - "signal_external_workflow_execution_command_attributes", - b"signal_external_workflow_execution_command_attributes", - "start_child_workflow_execution_command_attributes", - b"start_child_workflow_execution_command_attributes", - "start_timer_command_attributes", - b"start_timer_command_attributes", - "upsert_workflow_search_attributes_command_attributes", - b"upsert_workflow_search_attributes_command_attributes", - "user_metadata", - b"user_metadata", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] - ) -> ( - typing_extensions.Literal[ - "schedule_activity_task_command_attributes", - "start_timer_command_attributes", - "complete_workflow_execution_command_attributes", - "fail_workflow_execution_command_attributes", - "request_cancel_activity_task_command_attributes", - "cancel_timer_command_attributes", - "cancel_workflow_execution_command_attributes", - "request_cancel_external_workflow_execution_command_attributes", - "record_marker_command_attributes", - "continue_as_new_workflow_execution_command_attributes", - "start_child_workflow_execution_command_attributes", - "signal_external_workflow_execution_command_attributes", - "upsert_workflow_search_attributes_command_attributes", - "protocol_message_command_attributes", - "modify_workflow_properties_command_attributes", - "schedule_nexus_operation_command_attributes", - "request_cancel_nexus_operation_command_attributes", - ] - | None - ): ... + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes | None = ..., + start_timer_command_attributes: global___StartTimerCommandAttributes | None = ..., + complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes | None = ..., + fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes | None = ..., + request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes | None = ..., + cancel_timer_command_attributes: global___CancelTimerCommandAttributes | None = ..., + cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes | None = ..., + request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes | None = ..., + record_marker_command_attributes: global___RecordMarkerCommandAttributes | None = ..., + continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes | None = ..., + start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes | None = ..., + signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes | None = ..., + upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes | None = ..., + protocol_message_command_attributes: global___ProtocolMessageCommandAttributes | None = ..., + modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes | None = ..., + schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes | None = ..., + request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["attributes", b"attributes", "cancel_timer_command_attributes", b"cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", b"cancel_workflow_execution_command_attributes", "complete_workflow_execution_command_attributes", b"complete_workflow_execution_command_attributes", "continue_as_new_workflow_execution_command_attributes", b"continue_as_new_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", b"fail_workflow_execution_command_attributes", "modify_workflow_properties_command_attributes", b"modify_workflow_properties_command_attributes", "protocol_message_command_attributes", b"protocol_message_command_attributes", "record_marker_command_attributes", b"record_marker_command_attributes", "request_cancel_activity_task_command_attributes", b"request_cancel_activity_task_command_attributes", "request_cancel_external_workflow_execution_command_attributes", b"request_cancel_external_workflow_execution_command_attributes", "request_cancel_nexus_operation_command_attributes", b"request_cancel_nexus_operation_command_attributes", "schedule_activity_task_command_attributes", b"schedule_activity_task_command_attributes", "schedule_nexus_operation_command_attributes", b"schedule_nexus_operation_command_attributes", "signal_external_workflow_execution_command_attributes", b"signal_external_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", b"start_child_workflow_execution_command_attributes", "start_timer_command_attributes", b"start_timer_command_attributes", "upsert_workflow_search_attributes_command_attributes", b"upsert_workflow_search_attributes_command_attributes", "user_metadata", b"user_metadata"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attributes", b"attributes", "cancel_timer_command_attributes", b"cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", b"cancel_workflow_execution_command_attributes", "command_type", b"command_type", "complete_workflow_execution_command_attributes", b"complete_workflow_execution_command_attributes", "continue_as_new_workflow_execution_command_attributes", b"continue_as_new_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", b"fail_workflow_execution_command_attributes", "modify_workflow_properties_command_attributes", b"modify_workflow_properties_command_attributes", "protocol_message_command_attributes", b"protocol_message_command_attributes", "record_marker_command_attributes", b"record_marker_command_attributes", "request_cancel_activity_task_command_attributes", b"request_cancel_activity_task_command_attributes", "request_cancel_external_workflow_execution_command_attributes", b"request_cancel_external_workflow_execution_command_attributes", "request_cancel_nexus_operation_command_attributes", b"request_cancel_nexus_operation_command_attributes", "schedule_activity_task_command_attributes", b"schedule_activity_task_command_attributes", "schedule_nexus_operation_command_attributes", b"schedule_nexus_operation_command_attributes", "signal_external_workflow_execution_command_attributes", b"signal_external_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", b"start_child_workflow_execution_command_attributes", "start_timer_command_attributes", b"start_timer_command_attributes", "upsert_workflow_search_attributes_command_attributes", b"upsert_workflow_search_attributes_command_attributes", "user_metadata", b"user_metadata"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["attributes", b"attributes"]) -> typing_extensions.Literal["schedule_activity_task_command_attributes", "start_timer_command_attributes", "complete_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", "request_cancel_activity_task_command_attributes", "cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", "request_cancel_external_workflow_execution_command_attributes", "record_marker_command_attributes", "continue_as_new_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", "signal_external_workflow_execution_command_attributes", "upsert_workflow_search_attributes_command_attributes", "protocol_message_command_attributes", "modify_workflow_properties_command_attributes", "schedule_nexus_operation_command_attributes", "request_cancel_nexus_operation_command_attributes"] | None: ... global___Command = Command diff --git a/temporalio/api/common/v1/__init__.py b/temporalio/api/common/v1/__init__.py index b3d074f41..5722ca393 100644 --- a/temporalio/api/common/v1/__init__.py +++ b/temporalio/api/common/v1/__init__.py @@ -1,24 +1,22 @@ from .grpc_status_pb2 import GrpcStatus -from .message_pb2 import ( - ActivityType, - Callback, - DataBlob, - Header, - Link, - Memo, - MeteringMetadata, - Payload, - Payloads, - Priority, - ResetOptions, - RetryPolicy, - SearchAttributes, - WorkerSelector, - WorkerVersionCapabilities, - WorkerVersionStamp, - WorkflowExecution, - WorkflowType, -) +from .message_pb2 import DataBlob +from .message_pb2 import Payloads +from .message_pb2 import Payload +from .message_pb2 import SearchAttributes +from .message_pb2 import Memo +from .message_pb2 import Header +from .message_pb2 import WorkflowExecution +from .message_pb2 import WorkflowType +from .message_pb2 import ActivityType +from .message_pb2 import RetryPolicy +from .message_pb2 import MeteringMetadata +from .message_pb2 import WorkerVersionStamp +from .message_pb2 import WorkerVersionCapabilities +from .message_pb2 import ResetOptions +from .message_pb2 import Callback +from .message_pb2 import Link +from .message_pb2 import Priority +from .message_pb2 import WorkerSelector __all__ = [ "ActivityType", diff --git a/temporalio/api/common/v1/grpc_status_pb2.py b/temporalio/api/common/v1/grpc_status_pb2.py index fd75d79be..b0f93b3e2 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.py +++ b/temporalio/api/common/v1/grpc_status_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/common/v1/grpc_status.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,25 +14,22 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3' -) - - -_GRPCSTATUS = DESCRIPTOR.message_types_by_name["GrpcStatus"] -GrpcStatus = _reflection.GeneratedProtocolMessageType( - "GrpcStatus", - (_message.Message,), - { - "DESCRIPTOR": _GRPCSTATUS, - "__module__": "temporal.api.common.v1.grpc_status_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto\"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3') + + + +_GRPCSTATUS = DESCRIPTOR.message_types_by_name['GrpcStatus'] +GrpcStatus = _reflection.GeneratedProtocolMessageType('GrpcStatus', (_message.Message,), { + 'DESCRIPTOR' : _GRPCSTATUS, + '__module__' : 'temporal.api.common.v1.grpc_status_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) + }) _sym_db.RegisterMessage(GrpcStatus) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - _GRPCSTATUS._serialized_start = 95 - _GRPCSTATUS._serialized_end = 177 + + DESCRIPTOR._options = None + _GRPCSTATUS._serialized_start=95 + _GRPCSTATUS._serialized_end=177 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/grpc_status_pb2.pyi b/temporalio/api/common/v1/grpc_status_pb2.pyi index 749a003af..e60a8be1f 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.pyi +++ b/temporalio/api/common/v1/grpc_status_pb2.pyi @@ -2,15 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -32,11 +30,7 @@ class GrpcStatus(google.protobuf.message.Message): code: builtins.int message: builtins.str @property - def details( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.any_pb2.Any - ]: ... + def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... def __init__( self, *, @@ -44,11 +38,6 @@ class GrpcStatus(google.protobuf.message.Message): message: builtins.str = ..., details: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "code", b"code", "details", b"details", "message", b"message" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "details", b"details", "message", b"message"]) -> None: ... global___GrpcStatus = GrpcStatus diff --git a/temporalio/api/common/v1/message_pb2.py b/temporalio/api/common/v1/message_pb2.py index a30edcac2..ccbd90a84 100644 --- a/temporalio/api/common/v1/message_pb2.py +++ b/temporalio/api/common/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/common/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,438 +14,330 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 +from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto\"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t\"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r\">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08\"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t\"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target\"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02\"\xe9\x04\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant\"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02\";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3') + -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.enums.v1 import ( - event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, -) -from temporalio.api.enums.v1 import ( - reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02"\xe9\x04\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3' -) - - -_DATABLOB = DESCRIPTOR.message_types_by_name["DataBlob"] -_PAYLOADS = DESCRIPTOR.message_types_by_name["Payloads"] -_PAYLOAD = DESCRIPTOR.message_types_by_name["Payload"] -_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name["MetadataEntry"] -_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name["SearchAttributes"] -_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name[ - "IndexedFieldsEntry" -] -_MEMO = DESCRIPTOR.message_types_by_name["Memo"] -_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name["FieldsEntry"] -_HEADER = DESCRIPTOR.message_types_by_name["Header"] -_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name["FieldsEntry"] -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] -_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name["WorkflowType"] -_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name["ActivityType"] -_RETRYPOLICY = DESCRIPTOR.message_types_by_name["RetryPolicy"] -_METERINGMETADATA = DESCRIPTOR.message_types_by_name["MeteringMetadata"] -_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name["WorkerVersionStamp"] -_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name[ - "WorkerVersionCapabilities" -] -_RESETOPTIONS = DESCRIPTOR.message_types_by_name["ResetOptions"] -_CALLBACK = DESCRIPTOR.message_types_by_name["Callback"] -_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name["Nexus"] -_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name["HeaderEntry"] -_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name["Internal"] -_LINK = DESCRIPTOR.message_types_by_name["Link"] -_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name["WorkflowEvent"] -_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ - "EventReference" -] -_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ - "RequestIdReference" -] -_LINK_BATCHJOB = _LINK.nested_types_by_name["BatchJob"] -_PRIORITY = DESCRIPTOR.message_types_by_name["Priority"] -_WORKERSELECTOR = DESCRIPTOR.message_types_by_name["WorkerSelector"] -DataBlob = _reflection.GeneratedProtocolMessageType( - "DataBlob", - (_message.Message,), - { - "DESCRIPTOR": _DATABLOB, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) - }, -) + +_DATABLOB = DESCRIPTOR.message_types_by_name['DataBlob'] +_PAYLOADS = DESCRIPTOR.message_types_by_name['Payloads'] +_PAYLOAD = DESCRIPTOR.message_types_by_name['Payload'] +_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name['MetadataEntry'] +_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name['SearchAttributes'] +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name['IndexedFieldsEntry'] +_MEMO = DESCRIPTOR.message_types_by_name['Memo'] +_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name['FieldsEntry'] +_HEADER = DESCRIPTOR.message_types_by_name['Header'] +_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name['FieldsEntry'] +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['WorkflowExecution'] +_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name['WorkflowType'] +_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name['ActivityType'] +_RETRYPOLICY = DESCRIPTOR.message_types_by_name['RetryPolicy'] +_METERINGMETADATA = DESCRIPTOR.message_types_by_name['MeteringMetadata'] +_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name['WorkerVersionStamp'] +_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name['WorkerVersionCapabilities'] +_RESETOPTIONS = DESCRIPTOR.message_types_by_name['ResetOptions'] +_CALLBACK = DESCRIPTOR.message_types_by_name['Callback'] +_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name['Nexus'] +_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name['HeaderEntry'] +_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name['Internal'] +_LINK = DESCRIPTOR.message_types_by_name['Link'] +_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name['WorkflowEvent'] +_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name['EventReference'] +_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name['RequestIdReference'] +_LINK_BATCHJOB = _LINK.nested_types_by_name['BatchJob'] +_PRIORITY = DESCRIPTOR.message_types_by_name['Priority'] +_WORKERSELECTOR = DESCRIPTOR.message_types_by_name['WorkerSelector'] +DataBlob = _reflection.GeneratedProtocolMessageType('DataBlob', (_message.Message,), { + 'DESCRIPTOR' : _DATABLOB, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) + }) _sym_db.RegisterMessage(DataBlob) -Payloads = _reflection.GeneratedProtocolMessageType( - "Payloads", - (_message.Message,), - { - "DESCRIPTOR": _PAYLOADS, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) - }, -) +Payloads = _reflection.GeneratedProtocolMessageType('Payloads', (_message.Message,), { + 'DESCRIPTOR' : _PAYLOADS, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) + }) _sym_db.RegisterMessage(Payloads) -Payload = _reflection.GeneratedProtocolMessageType( - "Payload", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _PAYLOAD_METADATAENTRY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) - }, - ), - "DESCRIPTOR": _PAYLOAD, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) - }, -) +Payload = _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { + + 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { + 'DESCRIPTOR' : _PAYLOAD_METADATAENTRY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) + }) + , + 'DESCRIPTOR' : _PAYLOAD, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) + }) _sym_db.RegisterMessage(Payload) _sym_db.RegisterMessage(Payload.MetadataEntry) -SearchAttributes = _reflection.GeneratedProtocolMessageType( - "SearchAttributes", - (_message.Message,), - { - "IndexedFieldsEntry": _reflection.GeneratedProtocolMessageType( - "IndexedFieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) - }, - ), - "DESCRIPTOR": _SEARCHATTRIBUTES, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) - }, -) +SearchAttributes = _reflection.GeneratedProtocolMessageType('SearchAttributes', (_message.Message,), { + + 'IndexedFieldsEntry' : _reflection.GeneratedProtocolMessageType('IndexedFieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) + }) + , + 'DESCRIPTOR' : _SEARCHATTRIBUTES, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) + }) _sym_db.RegisterMessage(SearchAttributes) _sym_db.RegisterMessage(SearchAttributes.IndexedFieldsEntry) -Memo = _reflection.GeneratedProtocolMessageType( - "Memo", - (_message.Message,), - { - "FieldsEntry": _reflection.GeneratedProtocolMessageType( - "FieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _MEMO_FIELDSENTRY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) - }, - ), - "DESCRIPTOR": _MEMO, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo) - }, -) +Memo = _reflection.GeneratedProtocolMessageType('Memo', (_message.Message,), { + + 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _MEMO_FIELDSENTRY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) + }) + , + 'DESCRIPTOR' : _MEMO, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo) + }) _sym_db.RegisterMessage(Memo) _sym_db.RegisterMessage(Memo.FieldsEntry) -Header = _reflection.GeneratedProtocolMessageType( - "Header", - (_message.Message,), - { - "FieldsEntry": _reflection.GeneratedProtocolMessageType( - "FieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _HEADER_FIELDSENTRY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) - }, - ), - "DESCRIPTOR": _HEADER, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) - }, -) +Header = _reflection.GeneratedProtocolMessageType('Header', (_message.Message,), { + + 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _HEADER_FIELDSENTRY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) + }) + , + 'DESCRIPTOR' : _HEADER, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) + }) _sym_db.RegisterMessage(Header) _sym_db.RegisterMessage(Header.FieldsEntry) -WorkflowExecution = _reflection.GeneratedProtocolMessageType( - "WorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTION, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) - }, -) +WorkflowExecution = _reflection.GeneratedProtocolMessageType('WorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTION, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) + }) _sym_db.RegisterMessage(WorkflowExecution) -WorkflowType = _reflection.GeneratedProtocolMessageType( - "WorkflowType", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTYPE, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) - }, -) +WorkflowType = _reflection.GeneratedProtocolMessageType('WorkflowType', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTYPE, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) + }) _sym_db.RegisterMessage(WorkflowType) -ActivityType = _reflection.GeneratedProtocolMessageType( - "ActivityType", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTYPE, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) - }, -) +ActivityType = _reflection.GeneratedProtocolMessageType('ActivityType', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTYPE, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) + }) _sym_db.RegisterMessage(ActivityType) -RetryPolicy = _reflection.GeneratedProtocolMessageType( - "RetryPolicy", - (_message.Message,), - { - "DESCRIPTOR": _RETRYPOLICY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) - }, -) +RetryPolicy = _reflection.GeneratedProtocolMessageType('RetryPolicy', (_message.Message,), { + 'DESCRIPTOR' : _RETRYPOLICY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) + }) _sym_db.RegisterMessage(RetryPolicy) -MeteringMetadata = _reflection.GeneratedProtocolMessageType( - "MeteringMetadata", - (_message.Message,), - { - "DESCRIPTOR": _METERINGMETADATA, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) - }, -) +MeteringMetadata = _reflection.GeneratedProtocolMessageType('MeteringMetadata', (_message.Message,), { + 'DESCRIPTOR' : _METERINGMETADATA, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) + }) _sym_db.RegisterMessage(MeteringMetadata) -WorkerVersionStamp = _reflection.GeneratedProtocolMessageType( - "WorkerVersionStamp", - (_message.Message,), - { - "DESCRIPTOR": _WORKERVERSIONSTAMP, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) - }, -) +WorkerVersionStamp = _reflection.GeneratedProtocolMessageType('WorkerVersionStamp', (_message.Message,), { + 'DESCRIPTOR' : _WORKERVERSIONSTAMP, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) + }) _sym_db.RegisterMessage(WorkerVersionStamp) -WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType( - "WorkerVersionCapabilities", - (_message.Message,), - { - "DESCRIPTOR": _WORKERVERSIONCAPABILITIES, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) - }, -) +WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType('WorkerVersionCapabilities', (_message.Message,), { + 'DESCRIPTOR' : _WORKERVERSIONCAPABILITIES, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) + }) _sym_db.RegisterMessage(WorkerVersionCapabilities) -ResetOptions = _reflection.GeneratedProtocolMessageType( - "ResetOptions", - (_message.Message,), - { - "DESCRIPTOR": _RESETOPTIONS, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) - }, -) +ResetOptions = _reflection.GeneratedProtocolMessageType('ResetOptions', (_message.Message,), { + 'DESCRIPTOR' : _RESETOPTIONS, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) + }) _sym_db.RegisterMessage(ResetOptions) -Callback = _reflection.GeneratedProtocolMessageType( - "Callback", - (_message.Message,), - { - "Nexus": _reflection.GeneratedProtocolMessageType( - "Nexus", - (_message.Message,), - { - "HeaderEntry": _reflection.GeneratedProtocolMessageType( - "HeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACK_NEXUS_HEADERENTRY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) - }, - ), - "DESCRIPTOR": _CALLBACK_NEXUS, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) - }, - ), - "Internal": _reflection.GeneratedProtocolMessageType( - "Internal", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACK_INTERNAL, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) - }, - ), - "DESCRIPTOR": _CALLBACK, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) - }, -) +Callback = _reflection.GeneratedProtocolMessageType('Callback', (_message.Message,), { + + 'Nexus' : _reflection.GeneratedProtocolMessageType('Nexus', (_message.Message,), { + + 'HeaderEntry' : _reflection.GeneratedProtocolMessageType('HeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _CALLBACK_NEXUS_HEADERENTRY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) + }) + , + 'DESCRIPTOR' : _CALLBACK_NEXUS, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) + }) + , + + 'Internal' : _reflection.GeneratedProtocolMessageType('Internal', (_message.Message,), { + 'DESCRIPTOR' : _CALLBACK_INTERNAL, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) + }) + , + 'DESCRIPTOR' : _CALLBACK, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) + }) _sym_db.RegisterMessage(Callback) _sym_db.RegisterMessage(Callback.Nexus) _sym_db.RegisterMessage(Callback.Nexus.HeaderEntry) _sym_db.RegisterMessage(Callback.Internal) -Link = _reflection.GeneratedProtocolMessageType( - "Link", - (_message.Message,), - { - "WorkflowEvent": _reflection.GeneratedProtocolMessageType( - "WorkflowEvent", - (_message.Message,), - { - "EventReference": _reflection.GeneratedProtocolMessageType( - "EventReference", - (_message.Message,), - { - "DESCRIPTOR": _LINK_WORKFLOWEVENT_EVENTREFERENCE, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) - }, - ), - "RequestIdReference": _reflection.GeneratedProtocolMessageType( - "RequestIdReference", - (_message.Message,), - { - "DESCRIPTOR": _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) - }, - ), - "DESCRIPTOR": _LINK_WORKFLOWEVENT, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) - }, - ), - "BatchJob": _reflection.GeneratedProtocolMessageType( - "BatchJob", - (_message.Message,), - { - "DESCRIPTOR": _LINK_BATCHJOB, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) - }, - ), - "DESCRIPTOR": _LINK, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) - }, -) +Link = _reflection.GeneratedProtocolMessageType('Link', (_message.Message,), { + + 'WorkflowEvent' : _reflection.GeneratedProtocolMessageType('WorkflowEvent', (_message.Message,), { + + 'EventReference' : _reflection.GeneratedProtocolMessageType('EventReference', (_message.Message,), { + 'DESCRIPTOR' : _LINK_WORKFLOWEVENT_EVENTREFERENCE, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) + }) + , + + 'RequestIdReference' : _reflection.GeneratedProtocolMessageType('RequestIdReference', (_message.Message,), { + 'DESCRIPTOR' : _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) + }) + , + 'DESCRIPTOR' : _LINK_WORKFLOWEVENT, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) + }) + , + + 'BatchJob' : _reflection.GeneratedProtocolMessageType('BatchJob', (_message.Message,), { + 'DESCRIPTOR' : _LINK_BATCHJOB, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) + }) + , + 'DESCRIPTOR' : _LINK, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) + }) _sym_db.RegisterMessage(Link) _sym_db.RegisterMessage(Link.WorkflowEvent) _sym_db.RegisterMessage(Link.WorkflowEvent.EventReference) _sym_db.RegisterMessage(Link.WorkflowEvent.RequestIdReference) _sym_db.RegisterMessage(Link.BatchJob) -Priority = _reflection.GeneratedProtocolMessageType( - "Priority", - (_message.Message,), - { - "DESCRIPTOR": _PRIORITY, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) - }, -) +Priority = _reflection.GeneratedProtocolMessageType('Priority', (_message.Message,), { + 'DESCRIPTOR' : _PRIORITY, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) + }) _sym_db.RegisterMessage(Priority) -WorkerSelector = _reflection.GeneratedProtocolMessageType( - "WorkerSelector", - (_message.Message,), - { - "DESCRIPTOR": _WORKERSELECTOR, - "__module__": "temporal.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) - }, -) +WorkerSelector = _reflection.GeneratedProtocolMessageType('WorkerSelector', (_message.Message,), { + 'DESCRIPTOR' : _WORKERSELECTOR, + '__module__' : 'temporal.api.common.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) + }) _sym_db.RegisterMessage(WorkerSelector) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" - _PAYLOAD_METADATAENTRY._options = None - _PAYLOAD_METADATAENTRY._serialized_options = b"8\001" - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b"8\001" - _MEMO_FIELDSENTRY._options = None - _MEMO_FIELDSENTRY._serialized_options = b"8\001" - _HEADER_FIELDSENTRY._options = None - _HEADER_FIELDSENTRY._serialized_options = b"8\001" - _RESETOPTIONS.fields_by_name["reset_reapply_type"]._options = None - _RESETOPTIONS.fields_by_name["reset_reapply_type"]._serialized_options = b"\030\001" - _CALLBACK_NEXUS_HEADERENTRY._options = None - _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b"8\001" - _DATABLOB._serialized_start = 236 - _DATABLOB._serialized_end = 320 - _PAYLOADS._serialized_start = 322 - _PAYLOADS._serialized_end = 383 - _PAYLOAD._serialized_start = 386 - _PAYLOAD._serialized_end = 523 - _PAYLOAD_METADATAENTRY._serialized_start = 476 - _PAYLOAD_METADATAENTRY._serialized_end = 523 - _SEARCHATTRIBUTES._serialized_start = 526 - _SEARCHATTRIBUTES._serialized_end = 716 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start = 631 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end = 716 - _MEMO._serialized_start = 719 - _MEMO._serialized_end = 863 - _MEMO_FIELDSENTRY._serialized_start = 785 - _MEMO_FIELDSENTRY._serialized_end = 863 - _HEADER._serialized_start = 866 - _HEADER._serialized_end = 1014 - _HEADER_FIELDSENTRY._serialized_start = 785 - _HEADER_FIELDSENTRY._serialized_end = 863 - _WORKFLOWEXECUTION._serialized_start = 1016 - _WORKFLOWEXECUTION._serialized_end = 1072 - _WORKFLOWTYPE._serialized_start = 1074 - _WORKFLOWTYPE._serialized_end = 1102 - _ACTIVITYTYPE._serialized_start = 1104 - _ACTIVITYTYPE._serialized_end = 1132 - _RETRYPOLICY._serialized_start = 1135 - _RETRYPOLICY._serialized_end = 1344 - _METERINGMETADATA._serialized_start = 1346 - _METERINGMETADATA._serialized_end = 1416 - _WORKERVERSIONSTAMP._serialized_start = 1418 - _WORKERVERSIONSTAMP._serialized_end = 1480 - _WORKERVERSIONCAPABILITIES._serialized_start = 1482 - _WORKERVERSIONCAPABILITIES._serialized_end = 1583 - _RESETOPTIONS._serialized_start = 1586 - _RESETOPTIONS._serialized_end = 1951 - _CALLBACK._serialized_start = 1954 - _CALLBACK._serialized_end = 2310 - _CALLBACK_NEXUS._serialized_start = 2132 - _CALLBACK_NEXUS._serialized_end = 2267 - _CALLBACK_NEXUS_HEADERENTRY._serialized_start = 2222 - _CALLBACK_NEXUS_HEADERENTRY._serialized_end = 2267 - _CALLBACK_INTERNAL._serialized_start = 2269 - _CALLBACK_INTERNAL._serialized_end = 2293 - _LINK._serialized_start = 2313 - _LINK._serialized_end = 2930 - _LINK_WORKFLOWEVENT._serialized_start = 2452 - _LINK_WORKFLOWEVENT._serialized_end = 2891 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start = 2694 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end = 2782 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start = 2784 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end = 2878 - _LINK_BATCHJOB._serialized_start = 2893 - _LINK_BATCHJOB._serialized_end = 2919 - _PRIORITY._serialized_start = 2932 - _PRIORITY._serialized_end = 3011 - _WORKERSELECTOR._serialized_start = 3013 - _WORKERSELECTOR._serialized_end = 3072 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1' + _PAYLOAD_METADATAENTRY._options = None + _PAYLOAD_METADATAENTRY._serialized_options = b'8\001' + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b'8\001' + _MEMO_FIELDSENTRY._options = None + _MEMO_FIELDSENTRY._serialized_options = b'8\001' + _HEADER_FIELDSENTRY._options = None + _HEADER_FIELDSENTRY._serialized_options = b'8\001' + _RESETOPTIONS.fields_by_name['reset_reapply_type']._options = None + _RESETOPTIONS.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' + _CALLBACK_NEXUS_HEADERENTRY._options = None + _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b'8\001' + _DATABLOB._serialized_start=236 + _DATABLOB._serialized_end=320 + _PAYLOADS._serialized_start=322 + _PAYLOADS._serialized_end=383 + _PAYLOAD._serialized_start=386 + _PAYLOAD._serialized_end=523 + _PAYLOAD_METADATAENTRY._serialized_start=476 + _PAYLOAD_METADATAENTRY._serialized_end=523 + _SEARCHATTRIBUTES._serialized_start=526 + _SEARCHATTRIBUTES._serialized_end=716 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start=631 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end=716 + _MEMO._serialized_start=719 + _MEMO._serialized_end=863 + _MEMO_FIELDSENTRY._serialized_start=785 + _MEMO_FIELDSENTRY._serialized_end=863 + _HEADER._serialized_start=866 + _HEADER._serialized_end=1014 + _HEADER_FIELDSENTRY._serialized_start=785 + _HEADER_FIELDSENTRY._serialized_end=863 + _WORKFLOWEXECUTION._serialized_start=1016 + _WORKFLOWEXECUTION._serialized_end=1072 + _WORKFLOWTYPE._serialized_start=1074 + _WORKFLOWTYPE._serialized_end=1102 + _ACTIVITYTYPE._serialized_start=1104 + _ACTIVITYTYPE._serialized_end=1132 + _RETRYPOLICY._serialized_start=1135 + _RETRYPOLICY._serialized_end=1344 + _METERINGMETADATA._serialized_start=1346 + _METERINGMETADATA._serialized_end=1416 + _WORKERVERSIONSTAMP._serialized_start=1418 + _WORKERVERSIONSTAMP._serialized_end=1480 + _WORKERVERSIONCAPABILITIES._serialized_start=1482 + _WORKERVERSIONCAPABILITIES._serialized_end=1583 + _RESETOPTIONS._serialized_start=1586 + _RESETOPTIONS._serialized_end=1951 + _CALLBACK._serialized_start=1954 + _CALLBACK._serialized_end=2310 + _CALLBACK_NEXUS._serialized_start=2132 + _CALLBACK_NEXUS._serialized_end=2267 + _CALLBACK_NEXUS_HEADERENTRY._serialized_start=2222 + _CALLBACK_NEXUS_HEADERENTRY._serialized_end=2267 + _CALLBACK_INTERNAL._serialized_start=2269 + _CALLBACK_INTERNAL._serialized_end=2293 + _LINK._serialized_start=2313 + _LINK._serialized_end=2930 + _LINK_WORKFLOWEVENT._serialized_start=2452 + _LINK_WORKFLOWEVENT._serialized_end=2891 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start=2694 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end=2782 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start=2784 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end=2878 + _LINK_BATCHJOB._serialized_start=2893 + _LINK_BATCHJOB._serialized_end=2919 + _PRIORITY._serialized_start=2932 + _PRIORITY._serialized_end=3011 + _WORKERSELECTOR._serialized_start=3013 + _WORKERSELECTOR._serialized_end=3072 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/message_pb2.pyi b/temporalio/api/common/v1/message_pb2.pyi index f94baa802..456e58975 100644 --- a/temporalio/api/common/v1/message_pb2.pyi +++ b/temporalio/api/common/v1/message_pb2.pyi @@ -2,17 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.event_type_pb2 import temporalio.api.enums.v1.reset_pb2 @@ -37,12 +34,7 @@ class DataBlob(google.protobuf.message.Message): encoding_type: temporalio.api.enums.v1.common_pb2.EncodingType.ValueType = ..., data: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "data", b"data", "encoding_type", b"encoding_type" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "encoding_type", b"encoding_type"]) -> None: ... global___DataBlob = DataBlob @@ -53,19 +45,13 @@ class Payloads(google.protobuf.message.Message): PAYLOADS_FIELD_NUMBER: builtins.int @property - def payloads( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Payload - ]: ... + def payloads(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Payload]: ... def __init__( self, *, payloads: collections.abc.Iterable[global___Payload] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["payloads", b"payloads"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["payloads", b"payloads"]) -> None: ... global___Payloads = Payloads @@ -90,19 +76,12 @@ class Payload(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int @property - def metadata( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, builtins.bytes - ]: ... + def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bytes]: ... data: builtins.bytes def __init__( self, @@ -110,10 +89,7 @@ class Payload(google.protobuf.message.Message): metadata: collections.abc.Mapping[builtins.str, builtins.bytes] | None = ..., data: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"]) -> None: ... global___Payload = Payload @@ -138,30 +114,18 @@ class SearchAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... INDEXED_FIELDS_FIELD_NUMBER: builtins.int @property - def indexed_fields( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload - ]: ... + def indexed_fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... def __init__( self, *, - indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"] + indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"]) -> None: ... global___SearchAttributes = SearchAttributes @@ -184,29 +148,18 @@ class Memo(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @property - def fields( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload - ]: ... + def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... def __init__( self, *, fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["fields", b"fields"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields"]) -> None: ... global___Memo = Memo @@ -231,29 +184,18 @@ class Header(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @property - def fields( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload - ]: ... + def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... def __init__( self, *, fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["fields", b"fields"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields"]) -> None: ... global___Header = Header @@ -275,12 +217,7 @@ class WorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "workflow_id", b"workflow_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___WorkflowExecution = WorkflowExecution @@ -298,9 +235,7 @@ class WorkflowType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... global___WorkflowType = WorkflowType @@ -318,9 +253,7 @@ class ActivityType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... global___ActivityType = ActivityType @@ -352,9 +285,7 @@ class RetryPolicy(google.protobuf.message.Message): 1 disables retries. 0 means unlimited (up to the timeouts) """ @property - def non_retryable_error_types( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def non_retryable_error_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. """ @@ -367,30 +298,8 @@ class RetryPolicy(google.protobuf.message.Message): maximum_attempts: builtins.int = ..., non_retryable_error_types: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "initial_interval", - b"initial_interval", - "maximum_interval", - b"maximum_interval", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "backoff_coefficient", - b"backoff_coefficient", - "initial_interval", - b"initial_interval", - "maximum_attempts", - b"maximum_attempts", - "maximum_interval", - b"maximum_interval", - "non_retryable_error_types", - b"non_retryable_error_types", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["initial_interval", b"initial_interval", "maximum_interval", b"maximum_interval"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["backoff_coefficient", b"backoff_coefficient", "initial_interval", b"initial_interval", "maximum_attempts", b"maximum_attempts", "maximum_interval", b"maximum_interval", "non_retryable_error_types", b"non_retryable_error_types"]) -> None: ... global___RetryPolicy = RetryPolicy @@ -413,13 +322,7 @@ class MeteringMetadata(google.protobuf.message.Message): *, nonfirst_local_activity_execution_attempts: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "nonfirst_local_activity_execution_attempts", - b"nonfirst_local_activity_execution_attempts", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["nonfirst_local_activity_execution_attempts", b"nonfirst_local_activity_execution_attempts"]) -> None: ... global___MeteringMetadata = MeteringMetadata @@ -446,12 +349,7 @@ class WorkerVersionStamp(google.protobuf.message.Message): build_id: builtins.str = ..., use_versioning: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", b"build_id", "use_versioning", b"use_versioning" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "use_versioning", b"use_versioning"]) -> None: ... global___WorkerVersionStamp = WorkerVersionStamp @@ -482,17 +380,7 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): use_versioning: builtins.bool = ..., deployment_series_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "deployment_series_name", - b"deployment_series_name", - "use_versioning", - b"use_versioning", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_series_name", b"deployment_series_name", "use_versioning", b"use_versioning"]) -> None: ... global___WorkerVersionCapabilities = WorkerVersionCapabilities @@ -537,11 +425,7 @@ class ResetOptions(google.protobuf.message.Message): possibly others in the future.) """ @property - def reset_reapply_exclude_types( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType - ]: + def reset_reapply_exclude_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType]: """Event types not to be reapplied""" def __init__( self, @@ -552,55 +436,11 @@ class ResetOptions(google.protobuf.message.Message): build_id: builtins.str = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., current_run_only: builtins.bool = ..., - reset_reapply_exclude_types: collections.abc.Iterable[ - temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "first_workflow_task", - b"first_workflow_task", - "last_workflow_task", - b"last_workflow_task", - "target", - b"target", - "workflow_task_id", - b"workflow_task_id", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "current_run_only", - b"current_run_only", - "first_workflow_task", - b"first_workflow_task", - "last_workflow_task", - b"last_workflow_task", - "reset_reapply_exclude_types", - b"reset_reapply_exclude_types", - "reset_reapply_type", - b"reset_reapply_type", - "target", - b"target", - "workflow_task_id", - b"workflow_task_id", - ], + reset_reapply_exclude_types: collections.abc.Iterable[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType] | None = ..., ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["target", b"target"] - ) -> ( - typing_extensions.Literal[ - "first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id" - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "first_workflow_task", b"first_workflow_task", "last_workflow_task", b"last_workflow_task", "target", b"target", "workflow_task_id", b"workflow_task_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "current_run_only", b"current_run_only", "first_workflow_task", b"first_workflow_task", "last_workflow_task", b"last_workflow_task", "reset_reapply_exclude_types", b"reset_reapply_exclude_types", "reset_reapply_type", b"reset_reapply_type", "target", b"target", "workflow_task_id", b"workflow_task_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["target", b"target"]) -> typing_extensions.Literal["first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id"] | None: ... global___ResetOptions = ResetOptions @@ -625,19 +465,14 @@ class Callback(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... URL_FIELD_NUMBER: builtins.int HEADER_FIELD_NUMBER: builtins.int url: builtins.str """Callback URL.""" @property - def header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to callback request.""" def __init__( self, @@ -645,10 +480,7 @@ class Callback(google.protobuf.message.Message): url: builtins.str = ..., header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["header", b"header", "url", b"url"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "url", b"url"]) -> None: ... class Internal(google.protobuf.message.Message): """Callbacks to be delivered internally within the system. @@ -667,9 +499,7 @@ class Callback(google.protobuf.message.Message): *, data: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["data", b"data"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ... NEXUS_FIELD_NUMBER: builtins.int INTERNAL_FIELD_NUMBER: builtins.int @@ -679,11 +509,7 @@ class Callback(google.protobuf.message.Message): @property def internal(self) -> global___Callback.Internal: ... @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: """Links associated with the callback. It can be used to link to underlying resources of the callback. """ @@ -694,28 +520,9 @@ class Callback(google.protobuf.message.Message): internal: global___Callback.Internal | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "internal", b"internal", "nexus", b"nexus", "variant", b"variant" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "internal", - b"internal", - "links", - b"links", - "nexus", - b"nexus", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["nexus", "internal"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["internal", b"internal", "nexus", b"nexus", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["internal", b"internal", "links", b"links", "nexus", b"nexus", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["nexus", "internal"] | None: ... global___Callback = Callback @@ -746,12 +553,7 @@ class Link(google.protobuf.message.Message): event_id: builtins.int = ..., event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "event_id", b"event_id", "event_type", b"event_type" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["event_id", b"event_id", "event_type", b"event_type"]) -> None: ... class RequestIdReference(google.protobuf.message.Message): """RequestIdReference is a indirect reference to a history event through the request ID.""" @@ -768,12 +570,7 @@ class Link(google.protobuf.message.Message): request_id: builtins.str = ..., event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "event_type", b"event_type", "request_id", b"request_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["event_type", b"event_type", "request_id", b"request_id"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int WORKFLOW_ID_FIELD_NUMBER: builtins.int @@ -796,37 +593,9 @@ class Link(google.protobuf.message.Message): event_ref: global___Link.WorkflowEvent.EventReference | None = ..., request_id_ref: global___Link.WorkflowEvent.RequestIdReference | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "event_ref", - b"event_ref", - "reference", - b"reference", - "request_id_ref", - b"request_id_ref", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "event_ref", - b"event_ref", - "namespace", - b"namespace", - "reference", - b"reference", - "request_id_ref", - b"request_id_ref", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["reference", b"reference"] - ) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["event_ref", b"event_ref", "reference", b"reference", "request_id_ref", b"request_id_ref"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["event_ref", b"event_ref", "namespace", b"namespace", "reference", b"reference", "request_id_ref", b"request_id_ref", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["reference", b"reference"]) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... class BatchJob(google.protobuf.message.Message): """A link to a built-in batch job. @@ -843,9 +612,7 @@ class Link(google.protobuf.message.Message): *, job_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["job_id", b"job_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id"]) -> None: ... WORKFLOW_EVENT_FIELD_NUMBER: builtins.int BATCH_JOB_FIELD_NUMBER: builtins.int @@ -859,31 +626,9 @@ class Link(google.protobuf.message.Message): workflow_event: global___Link.WorkflowEvent | None = ..., batch_job: global___Link.BatchJob | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "batch_job", - b"batch_job", - "variant", - b"variant", - "workflow_event", - b"workflow_event", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "batch_job", - b"batch_job", - "variant", - b"variant", - "workflow_event", - b"workflow_event", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["workflow_event", "batch_job"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["batch_job", b"batch_job", "variant", b"variant", "workflow_event", b"workflow_event"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["batch_job", b"batch_job", "variant", b"variant", "workflow_event", b"workflow_event"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["workflow_event", "batch_job"] | None: ... global___Link = Link @@ -983,17 +728,7 @@ class Priority(google.protobuf.message.Message): fairness_key: builtins.str = ..., fairness_weight: builtins.float = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "fairness_key", - b"fairness_key", - "fairness_weight", - b"fairness_weight", - "priority_key", - b"priority_key", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["fairness_key", b"fairness_key", "fairness_weight", b"fairness_weight", "priority_key", b"priority_key"]) -> None: ... global___Priority = Priority @@ -1013,20 +748,8 @@ class WorkerSelector(google.protobuf.message.Message): *, worker_instance_key: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "selector", b"selector", "worker_instance_key", b"worker_instance_key" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "selector", b"selector", "worker_instance_key", b"worker_instance_key" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["selector", b"selector"] - ) -> typing_extensions.Literal["worker_instance_key"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["selector", b"selector", "worker_instance_key", b"worker_instance_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["selector", b"selector", "worker_instance_key", b"worker_instance_key"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["selector", b"selector"]) -> typing_extensions.Literal["worker_instance_key"] | None: ... global___WorkerSelector = WorkerSelector diff --git a/temporalio/api/deployment/v1/__init__.py b/temporalio/api/deployment/v1/__init__.py index 63d01878f..f5fb1bfb3 100644 --- a/temporalio/api/deployment/v1/__init__.py +++ b/temporalio/api/deployment/v1/__init__.py @@ -1,16 +1,14 @@ -from .message_pb2 import ( - Deployment, - DeploymentInfo, - DeploymentListInfo, - RoutingConfig, - UpdateDeploymentMetadata, - VersionDrainageInfo, - VersionMetadata, - WorkerDeploymentInfo, - WorkerDeploymentOptions, - WorkerDeploymentVersion, - WorkerDeploymentVersionInfo, -) +from .message_pb2 import WorkerDeploymentOptions +from .message_pb2 import Deployment +from .message_pb2 import DeploymentInfo +from .message_pb2 import UpdateDeploymentMetadata +from .message_pb2 import DeploymentListInfo +from .message_pb2 import WorkerDeploymentVersionInfo +from .message_pb2 import VersionDrainageInfo +from .message_pb2 import WorkerDeploymentInfo +from .message_pb2 import WorkerDeploymentVersion +from .message_pb2 import VersionMetadata +from .message_pb2 import RoutingConfig __all__ = [ "Deployment", diff --git a/temporalio/api/deployment/v1/message_pb2.py b/temporalio/api/deployment/v1/message_pb2.py index 3a9b0127b..b87d45cbc 100644 --- a/temporalio/api/deployment/v1/message_pb2.py +++ b/temporalio/api/deployment/v1/message_pb2.py @@ -2,296 +2,218 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/deployment/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, -) -from temporalio.api.enums.v1 import ( - task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08"\x96\x07\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xd3\x07\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x1a\xac\x05\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xf0\x03\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3' -) - - -_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name["WorkerDeploymentOptions"] -_DEPLOYMENT = DESCRIPTOR.message_types_by_name["Deployment"] -_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["DeploymentInfo"] -_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name["MetadataEntry"] -_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name["TaskQueueInfo"] -_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name["UpdateDeploymentMetadata"] -_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = ( - _UPDATEDEPLOYMENTMETADATA.nested_types_by_name["UpsertEntriesEntry"] -) -_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name["DeploymentListInfo"] -_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name[ - "WorkerDeploymentVersionInfo" -] -_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = ( - _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name["VersionTaskQueueInfo"] -) -_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name["VersionDrainageInfo"] -_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["WorkerDeploymentInfo"] -_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = ( - _WORKERDEPLOYMENTINFO.nested_types_by_name["WorkerDeploymentVersionSummary"] -) -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] -_VERSIONMETADATA = DESCRIPTOR.message_types_by_name["VersionMetadata"] -_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name["EntriesEntry"] -_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name["RoutingConfig"] -WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentOptions", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTOPTIONS, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) - }, -) +from temporalio.api.enums.v1 import deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2 +from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode\"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08\"\x96\x07\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x07\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x1a\xac\x05\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\xf0\x03\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3') + + + +_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name['WorkerDeploymentOptions'] +_DEPLOYMENT = DESCRIPTOR.message_types_by_name['Deployment'] +_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name['DeploymentInfo'] +_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name['MetadataEntry'] +_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name['TaskQueueInfo'] +_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name['UpdateDeploymentMetadata'] +_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = _UPDATEDEPLOYMENTMETADATA.nested_types_by_name['UpsertEntriesEntry'] +_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name['DeploymentListInfo'] +_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersionInfo'] +_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name['VersionTaskQueueInfo'] +_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name['VersionDrainageInfo'] +_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name['WorkerDeploymentInfo'] +_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = _WORKERDEPLOYMENTINFO.nested_types_by_name['WorkerDeploymentVersionSummary'] +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersion'] +_VERSIONMETADATA = DESCRIPTOR.message_types_by_name['VersionMetadata'] +_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name['EntriesEntry'] +_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name['RoutingConfig'] +WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType('WorkerDeploymentOptions', (_message.Message,), { + 'DESCRIPTOR' : _WORKERDEPLOYMENTOPTIONS, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) + }) _sym_db.RegisterMessage(WorkerDeploymentOptions) -Deployment = _reflection.GeneratedProtocolMessageType( - "Deployment", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENT, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) - }, -) +Deployment = _reflection.GeneratedProtocolMessageType('Deployment', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENT, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) + }) _sym_db.RegisterMessage(Deployment) -DeploymentInfo = _reflection.GeneratedProtocolMessageType( - "DeploymentInfo", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTINFO_METADATAENTRY, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) - }, - ), - "TaskQueueInfo": _reflection.GeneratedProtocolMessageType( - "TaskQueueInfo", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTINFO_TASKQUEUEINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) - }, - ), - "DESCRIPTOR": _DEPLOYMENTINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) - }, -) +DeploymentInfo = _reflection.GeneratedProtocolMessageType('DeploymentInfo', (_message.Message,), { + + 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENTINFO_METADATAENTRY, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) + }) + , + + 'TaskQueueInfo' : _reflection.GeneratedProtocolMessageType('TaskQueueInfo', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENTINFO_TASKQUEUEINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) + }) + , + 'DESCRIPTOR' : _DEPLOYMENTINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) + }) _sym_db.RegisterMessage(DeploymentInfo) _sym_db.RegisterMessage(DeploymentInfo.MetadataEntry) _sym_db.RegisterMessage(DeploymentInfo.TaskQueueInfo) -UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType( - "UpdateDeploymentMetadata", - (_message.Message,), - { - "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( - "UpsertEntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) - }, - ), - "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) - }, -) +UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType('UpdateDeploymentMetadata', (_message.Message,), { + + 'UpsertEntriesEntry' : _reflection.GeneratedProtocolMessageType('UpsertEntriesEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) + }) + , + 'DESCRIPTOR' : _UPDATEDEPLOYMENTMETADATA, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) + }) _sym_db.RegisterMessage(UpdateDeploymentMetadata) _sym_db.RegisterMessage(UpdateDeploymentMetadata.UpsertEntriesEntry) -DeploymentListInfo = _reflection.GeneratedProtocolMessageType( - "DeploymentListInfo", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTLISTINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) - }, -) +DeploymentListInfo = _reflection.GeneratedProtocolMessageType('DeploymentListInfo', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENTLISTINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) + }) _sym_db.RegisterMessage(DeploymentListInfo) -WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersionInfo", - (_message.Message,), - { - "VersionTaskQueueInfo": _reflection.GeneratedProtocolMessageType( - "VersionTaskQueueInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) - }, - ), - "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) - }, -) +WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersionInfo', (_message.Message,), { + + 'VersionTaskQueueInfo' : _reflection.GeneratedProtocolMessageType('VersionTaskQueueInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) + }) + , + 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSIONINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) + }) _sym_db.RegisterMessage(WorkerDeploymentVersionInfo) _sym_db.RegisterMessage(WorkerDeploymentVersionInfo.VersionTaskQueueInfo) -VersionDrainageInfo = _reflection.GeneratedProtocolMessageType( - "VersionDrainageInfo", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONDRAINAGEINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) - }, -) +VersionDrainageInfo = _reflection.GeneratedProtocolMessageType('VersionDrainageInfo', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONDRAINAGEINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) + }) _sym_db.RegisterMessage(VersionDrainageInfo) -WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentInfo", - (_message.Message,), - { - "WorkerDeploymentVersionSummary": _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersionSummary", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) - }, - ), - "DESCRIPTOR": _WORKERDEPLOYMENTINFO, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) - }, -) +WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType('WorkerDeploymentInfo', (_message.Message,), { + + 'WorkerDeploymentVersionSummary' : _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersionSummary', (_message.Message,), { + 'DESCRIPTOR' : _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) + }) + , + 'DESCRIPTOR' : _WORKERDEPLOYMENTINFO, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) + }) _sym_db.RegisterMessage(WorkerDeploymentInfo) _sym_db.RegisterMessage(WorkerDeploymentInfo.WorkerDeploymentVersionSummary) -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersion", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) - }, -) +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersion', (_message.Message,), { + 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSION, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) + }) _sym_db.RegisterMessage(WorkerDeploymentVersion) -VersionMetadata = _reflection.GeneratedProtocolMessageType( - "VersionMetadata", - (_message.Message,), - { - "EntriesEntry": _reflection.GeneratedProtocolMessageType( - "EntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONMETADATA_ENTRIESENTRY, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) - }, - ), - "DESCRIPTOR": _VERSIONMETADATA, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) - }, -) +VersionMetadata = _reflection.GeneratedProtocolMessageType('VersionMetadata', (_message.Message,), { + + 'EntriesEntry' : _reflection.GeneratedProtocolMessageType('EntriesEntry', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONMETADATA_ENTRIESENTRY, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) + }) + , + 'DESCRIPTOR' : _VERSIONMETADATA, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) + }) _sym_db.RegisterMessage(VersionMetadata) _sym_db.RegisterMessage(VersionMetadata.EntriesEntry) -RoutingConfig = _reflection.GeneratedProtocolMessageType( - "RoutingConfig", - (_message.Message,), - { - "DESCRIPTOR": _ROUTINGCONFIG, - "__module__": "temporal.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) - }, -) +RoutingConfig = _reflection.GeneratedProtocolMessageType('RoutingConfig', (_message.Message,), { + 'DESCRIPTOR' : _ROUTINGCONFIG, + '__module__' : 'temporal.api.deployment.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) + }) _sym_db.RegisterMessage(RoutingConfig) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" - _DEPLOYMENTINFO_METADATAENTRY._options = None - _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b"8\001" - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b"8\001" - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name["version"]._options = None - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ - "version" - ]._options = None - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _VERSIONMETADATA_ENTRIESENTRY._options = None - _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b"8\001" - _ROUTINGCONFIG.fields_by_name["current_version"]._options = None - _ROUTINGCONFIG.fields_by_name["current_version"]._serialized_options = b"\030\001" - _ROUTINGCONFIG.fields_by_name["ramping_version"]._options = None - _ROUTINGCONFIG.fields_by_name["ramping_version"]._serialized_options = b"\030\001" - _WORKERDEPLOYMENTOPTIONS._serialized_start = 224 - _WORKERDEPLOYMENTOPTIONS._serialized_end = 369 - _DEPLOYMENT._serialized_start = 371 - _DEPLOYMENT._serialized_end = 422 - _DEPLOYMENTINFO._serialized_start = 425 - _DEPLOYMENTINFO._serialized_end = 951 - _DEPLOYMENTINFO_METADATAENTRY._serialized_start = 732 - _DEPLOYMENTINFO_METADATAENTRY._serialized_end = 812 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start = 815 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end = 951 - _UPDATEDEPLOYMENTMETADATA._serialized_start = 954 - _UPDATEDEPLOYMENTMETADATA._serialized_end = 1188 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start = 1103 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end = 1188 - _DEPLOYMENTLISTINFO._serialized_start = 1191 - _DEPLOYMENTLISTINFO._serialized_end = 1340 - _WORKERDEPLOYMENTVERSIONINFO._serialized_start = 1343 - _WORKERDEPLOYMENTVERSIONINFO._serialized_end = 2261 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start = 2173 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end = 2261 - _VERSIONDRAINAGEINFO._serialized_start = 2264 - _VERSIONDRAINAGEINFO._serialized_end = 2457 - _WORKERDEPLOYMENTINFO._serialized_start = 2460 - _WORKERDEPLOYMENTINFO._serialized_end = 3439 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start = 2755 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end = 3439 - _WORKERDEPLOYMENTVERSION._serialized_start = 3441 - _WORKERDEPLOYMENTVERSION._serialized_end = 3509 - _VERSIONMETADATA._serialized_start = 3512 - _VERSIONMETADATA._serialized_end = 3685 - _VERSIONMETADATA_ENTRIESENTRY._serialized_start = 3606 - _VERSIONMETADATA_ENTRIESENTRY._serialized_end = 3685 - _ROUTINGCONFIG._serialized_start = 3688 - _ROUTINGCONFIG._serialized_end = 4184 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1' + _DEPLOYMENTINFO_METADATAENTRY._options = None + _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b'8\001' + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b'8\001' + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name['version']._options = None + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name['version']._serialized_options = b'\030\001' + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name['version']._options = None + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name['version']._serialized_options = b'\030\001' + _VERSIONMETADATA_ENTRIESENTRY._options = None + _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b'8\001' + _ROUTINGCONFIG.fields_by_name['current_version']._options = None + _ROUTINGCONFIG.fields_by_name['current_version']._serialized_options = b'\030\001' + _ROUTINGCONFIG.fields_by_name['ramping_version']._options = None + _ROUTINGCONFIG.fields_by_name['ramping_version']._serialized_options = b'\030\001' + _WORKERDEPLOYMENTOPTIONS._serialized_start=224 + _WORKERDEPLOYMENTOPTIONS._serialized_end=369 + _DEPLOYMENT._serialized_start=371 + _DEPLOYMENT._serialized_end=422 + _DEPLOYMENTINFO._serialized_start=425 + _DEPLOYMENTINFO._serialized_end=951 + _DEPLOYMENTINFO_METADATAENTRY._serialized_start=732 + _DEPLOYMENTINFO_METADATAENTRY._serialized_end=812 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start=815 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end=951 + _UPDATEDEPLOYMENTMETADATA._serialized_start=954 + _UPDATEDEPLOYMENTMETADATA._serialized_end=1188 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start=1103 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end=1188 + _DEPLOYMENTLISTINFO._serialized_start=1191 + _DEPLOYMENTLISTINFO._serialized_end=1340 + _WORKERDEPLOYMENTVERSIONINFO._serialized_start=1343 + _WORKERDEPLOYMENTVERSIONINFO._serialized_end=2261 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start=2173 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end=2261 + _VERSIONDRAINAGEINFO._serialized_start=2264 + _VERSIONDRAINAGEINFO._serialized_end=2457 + _WORKERDEPLOYMENTINFO._serialized_start=2460 + _WORKERDEPLOYMENTINFO._serialized_end=3439 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start=2755 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end=3439 + _WORKERDEPLOYMENTVERSION._serialized_start=3441 + _WORKERDEPLOYMENTVERSION._serialized_end=3509 + _VERSIONMETADATA._serialized_start=3512 + _VERSIONMETADATA._serialized_end=3685 + _VERSIONMETADATA_ENTRIESENTRY._serialized_start=3606 + _VERSIONMETADATA_ENTRIESENTRY._serialized_end=3685 + _ROUTINGCONFIG._serialized_start=3688 + _ROUTINGCONFIG._serialized_end=4184 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/deployment/v1/message_pb2.pyi b/temporalio/api/deployment/v1/message_pb2.pyi index 79936effc..a38595abc 100644 --- a/temporalio/api/deployment/v1/message_pb2.pyi +++ b/temporalio/api/deployment/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.deployment_pb2 import temporalio.api.enums.v1.task_queue_pb2 @@ -39,9 +36,7 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): """The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, the worker will be part of a Deployment Version. """ - worker_versioning_mode: ( - temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType - ) + worker_versioning_mode: temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType """Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version. @@ -53,17 +48,7 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): build_id: builtins.str = ..., worker_versioning_mode: temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "deployment_name", - b"deployment_name", - "worker_versioning_mode", - b"worker_versioning_mode", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name", "worker_versioning_mode", b"worker_versioning_mode"]) -> None: ... global___WorkerDeploymentOptions = WorkerDeploymentOptions @@ -95,12 +80,7 @@ class Deployment(google.protobuf.message.Message): series_name: builtins.str = ..., build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", b"build_id", "series_name", b"series_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "series_name", b"series_name"]) -> None: ... global___Deployment = Deployment @@ -127,13 +107,8 @@ class DeploymentInfo(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class TaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -153,23 +128,8 @@ class DeploymentInfo(google.protobuf.message.Message): type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., first_poller_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "first_poller_time", b"first_poller_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "first_poller_time", - b"first_poller_time", - "name", - b"name", - "type", - b"type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["first_poller_time", b"first_poller_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["first_poller_time", b"first_poller_time", "name", b"name", "type", b"type"]) -> None: ... DEPLOYMENT_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @@ -181,17 +141,9 @@ class DeploymentInfo(google.protobuf.message.Message): @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property - def task_queue_infos( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DeploymentInfo.TaskQueueInfo - ]: ... + def task_queue_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DeploymentInfo.TaskQueueInfo]: ... @property - def metadata( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def metadata(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """A user-defined set of key-values. Can be updated as part of write operations to the deployment, such as `SetCurrentDeployment`. """ @@ -202,37 +154,12 @@ class DeploymentInfo(google.protobuf.message.Message): *, deployment: global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - task_queue_infos: collections.abc.Iterable[ - global___DeploymentInfo.TaskQueueInfo - ] - | None = ..., - metadata: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + task_queue_infos: collections.abc.Iterable[global___DeploymentInfo.TaskQueueInfo] | None = ..., + metadata: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., is_current: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "deployment", b"deployment" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "deployment", - b"deployment", - "is_current", - b"is_current", - "metadata", - b"metadata", - "task_queue_infos", - b"task_queue_infos", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment", "is_current", b"is_current", "metadata", b"metadata", "task_queue_infos", b"task_queue_infos"]) -> None: ... global___DeploymentInfo = DeploymentInfo @@ -257,42 +184,23 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... UPSERT_ENTRIES_FIELD_NUMBER: builtins.int REMOVE_ENTRIES_FIELD_NUMBER: builtins.int @property - def upsert_entries( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: ... + def upsert_entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... @property - def remove_entries( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def remove_entries(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" def __init__( self, *, - upsert_entries: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + upsert_entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., remove_entries: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries"]) -> None: ... global___UpdateDeploymentMetadata = UpdateDeploymentMetadata @@ -320,32 +228,17 @@ class DeploymentListInfo(google.protobuf.message.Message): create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_current: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "deployment", b"deployment" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "deployment", - b"deployment", - "is_current", - b"is_current", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment", "is_current", b"is_current"]) -> None: ... global___DeploymentListInfo = DeploymentListInfo class WorkerDeploymentVersionInfo(google.protobuf.message.Message): - """A Worker Deployment Version (Version, for short) represents all workers of the same - code and config within a Deployment. Workers of the same Version are expected to - behave exactly the same so when executions move between them there are no + """A Worker Deployment Version (Version, for short) represents all workers of the same + code and config within a Deployment. Workers of the same Version are expected to + behave exactly the same so when executions move between them there are no non-determinism issues. - Worker Deployment Versions are created in Temporal server automatically when + Worker Deployment Versions are created in Temporal server automatically when their first poller arrives to the server. Experimental. Worker Deployments are experimental and might significantly change in the future. """ @@ -365,10 +258,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): name: builtins.str = ..., type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "type", b"type"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"]) -> None: ... VERSION_FIELD_NUMBER: builtins.int STATUS_FIELD_NUMBER: builtins.int @@ -386,9 +276,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): METADATA_FIELD_NUMBER: builtins.int version: builtins.str """Deprecated. Use `deployment_version`.""" - status: ( - temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType - ) + status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType """The status of the Worker Deployment Version.""" @property def deployment_version(self) -> global___WorkerDeploymentVersion: @@ -422,11 +310,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): Can be in the range [0, 100] if the version is ramping. """ @property - def task_queue_infos( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo - ]: + def task_queue_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo]: """All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. """ @@ -463,69 +347,12 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): first_activation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramp_percentage: builtins.float = ..., - task_queue_infos: collections.abc.Iterable[ - global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo - ] - | None = ..., + task_queue_infos: collections.abc.Iterable[global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo] | None = ..., drainage_info: global___VersionDrainageInfo | None = ..., metadata: global___VersionMetadata | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_since_time", - b"current_since_time", - "deployment_version", - b"deployment_version", - "drainage_info", - b"drainage_info", - "first_activation_time", - b"first_activation_time", - "last_deactivation_time", - b"last_deactivation_time", - "metadata", - b"metadata", - "ramping_since_time", - b"ramping_since_time", - "routing_changed_time", - b"routing_changed_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_since_time", - b"current_since_time", - "deployment_name", - b"deployment_name", - "deployment_version", - b"deployment_version", - "drainage_info", - b"drainage_info", - "first_activation_time", - b"first_activation_time", - "last_deactivation_time", - b"last_deactivation_time", - "metadata", - b"metadata", - "ramp_percentage", - b"ramp_percentage", - "ramping_since_time", - b"ramping_since_time", - "routing_changed_time", - b"routing_changed_time", - "status", - b"status", - "task_queue_infos", - b"task_queue_infos", - "version", - b"version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "metadata", b"metadata", "ramping_since_time", b"ramping_since_time", "routing_changed_time", b"routing_changed_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_name", b"deployment_name", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "metadata", b"metadata", "ramp_percentage", b"ramp_percentage", "ramping_since_time", b"ramping_since_time", "routing_changed_time", b"routing_changed_time", "status", b"status", "task_queue_infos", b"task_queue_infos", "version", b"version"]) -> None: ... global___WorkerDeploymentVersionInfo = WorkerDeploymentVersionInfo @@ -557,34 +384,16 @@ class VersionDrainageInfo(google.protobuf.message.Message): last_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_checked_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_changed_time", - b"last_changed_time", - "last_checked_time", - b"last_checked_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "last_changed_time", - b"last_changed_time", - "last_checked_time", - b"last_checked_time", - "status", - b"status", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_changed_time", b"last_changed_time", "last_checked_time", b"last_checked_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["last_changed_time", b"last_changed_time", "last_checked_time", b"last_checked_time", "status", b"status"]) -> None: ... global___VersionDrainageInfo = VersionDrainageInfo class WorkerDeploymentInfo(google.protobuf.message.Message): - """A Worker Deployment (Deployment, for short) represents all workers serving - a shared set of Task Queues. Typically, a Deployment represents one service or + """A Worker Deployment (Deployment, for short) represents all workers serving + a shared set of Task Queues. Typically, a Deployment represents one service or application. - A Deployment contains multiple Deployment Versions, each representing a different + A Deployment contains multiple Deployment Versions, each representing a different version of workers. (see documentation of WorkerDeploymentVersionInfo) Deployment records are created in Temporal server automatically when their first poller arrives to the server. @@ -616,9 +425,7 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): """Required.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - drainage_status: ( - temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType - ) + drainage_status: temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType """Deprecated. Use `drainage_info` instead.""" @property def drainage_info(self) -> global___VersionDrainageInfo: @@ -659,57 +466,10 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ramping_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., first_activation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_since_time", - b"current_since_time", - "deployment_version", - b"deployment_version", - "drainage_info", - b"drainage_info", - "first_activation_time", - b"first_activation_time", - "last_deactivation_time", - b"last_deactivation_time", - "ramping_since_time", - b"ramping_since_time", - "routing_update_time", - b"routing_update_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_since_time", - b"current_since_time", - "deployment_version", - b"deployment_version", - "drainage_info", - b"drainage_info", - "drainage_status", - b"drainage_status", - "first_activation_time", - b"first_activation_time", - "last_deactivation_time", - b"last_deactivation_time", - "ramping_since_time", - b"ramping_since_time", - "routing_update_time", - b"routing_update_time", - "status", - b"status", - "version", - b"version", - ], + last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "ramping_since_time", b"ramping_since_time", "routing_update_time", b"routing_update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "drainage_status", b"drainage_status", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "ramping_since_time", b"ramping_since_time", "routing_update_time", b"routing_update_time", "status", b"status", "version", b"version"]) -> None: ... NAME_FIELD_NUMBER: builtins.int VERSION_SUMMARIES_FIELD_NUMBER: builtins.int @@ -719,15 +479,11 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): name: builtins.str """Identifies a Worker Deployment. Must be unique within the namespace.""" @property - def version_summaries( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary - ]: + def version_summaries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary]: """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) + - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status) """ @property @@ -743,35 +499,13 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): self, *, name: builtins.str = ..., - version_summaries: collections.abc.Iterable[ - global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary - ] - | None = ..., + version_summaries: collections.abc.Iterable[global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary] | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_config: global___RoutingConfig | None = ..., last_modifier_identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "routing_config", b"routing_config" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "last_modifier_identity", - b"last_modifier_identity", - "name", - b"name", - "routing_config", - b"routing_config", - "version_summaries", - b"version_summaries", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "routing_config", b"routing_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "last_modifier_identity", b"last_modifier_identity", "name", b"name", "routing_config", b"routing_config", "version_summaries", b"version_summaries"]) -> None: ... global___WorkerDeploymentInfo = WorkerDeploymentInfo @@ -801,12 +535,7 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): build_id: builtins.str = ..., deployment_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", b"build_id", "deployment_name", b"deployment_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name"]) -> None: ... global___WorkerDeploymentVersion = WorkerDeploymentVersion @@ -827,33 +556,19 @@ class VersionMetadata(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... ENTRIES_FIELD_NUMBER: builtins.int @property - def entries( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Arbitrary key-values.""" def __init__( self, *, - entries: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["entries", b"entries"] + entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entries", b"entries"]) -> None: ... global___VersionMetadata = VersionMetadata @@ -872,7 +587,7 @@ class RoutingConfig(google.protobuf.message.Message): def current_deployment_version(self) -> global___WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. - Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). + Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ @@ -901,9 +616,7 @@ class RoutingConfig(google.protobuf.message.Message): def ramping_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version was changed. Not updated if only the ramp percentage changes.""" @property - def ramping_version_percentage_changed_time( - self, - ) -> google.protobuf.timestamp_pb2.Timestamp: + def ramping_version_percentage_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version percentage was changed. If ramping version is changed, this is also updated, even if the percentage stays the same. """ @@ -915,48 +628,11 @@ class RoutingConfig(google.protobuf.message.Message): ramping_deployment_version: global___WorkerDeploymentVersion | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., - current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - ramping_version_changed_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - ramping_version_percentage_changed_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_version", - b"current_deployment_version", - "current_version_changed_time", - b"current_version_changed_time", - "ramping_deployment_version", - b"ramping_deployment_version", - "ramping_version_changed_time", - b"ramping_version_changed_time", - "ramping_version_percentage_changed_time", - b"ramping_version_percentage_changed_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_version", - b"current_deployment_version", - "current_version", - b"current_version", - "current_version_changed_time", - b"current_version_changed_time", - "ramping_deployment_version", - b"ramping_deployment_version", - "ramping_version", - b"ramping_version", - "ramping_version_changed_time", - b"ramping_version_changed_time", - "ramping_version_percentage", - b"ramping_version_percentage", - "ramping_version_percentage_changed_time", - b"ramping_version_percentage_changed_time", - ], + current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ramping_version_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ramping_version_percentage_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version_changed_time", b"current_version_changed_time", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version_changed_time", b"ramping_version_changed_time", "ramping_version_percentage_changed_time", b"ramping_version_percentage_changed_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version", b"current_version", "current_version_changed_time", b"current_version_changed_time", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version", b"ramping_version", "ramping_version_changed_time", b"ramping_version_changed_time", "ramping_version_percentage", b"ramping_version_percentage", "ramping_version_percentage_changed_time", b"ramping_version_percentage_changed_time"]) -> None: ... global___RoutingConfig = RoutingConfig diff --git a/temporalio/api/enums/v1/__init__.py b/temporalio/api/enums/v1/__init__.py index 156d02e86..cf3d2c521 100644 --- a/temporalio/api/enums/v1/__init__.py +++ b/temporalio/api/enums/v1/__init__.py @@ -1,58 +1,55 @@ -from .batch_operation_pb2 import BatchOperationState, BatchOperationType -from .command_type_pb2 import CommandType -from .common_pb2 import ( - ApplicationErrorCategory, - CallbackState, - EncodingType, - IndexedValueType, - NexusOperationCancellationState, - PendingNexusOperationState, - Severity, - WorkerStatus, - WorkflowRuleActionScope, -) -from .deployment_pb2 import ( - DeploymentReachability, - VersionDrainageStatus, - WorkerDeploymentVersionStatus, - WorkerVersioningMode, -) -from .event_type_pb2 import EventType -from .failed_cause_pb2 import ( - CancelExternalWorkflowExecutionFailedCause, - ResourceExhaustedCause, - ResourceExhaustedScope, - SignalExternalWorkflowExecutionFailedCause, - StartChildWorkflowExecutionFailedCause, - WorkflowTaskFailedCause, -) -from .namespace_pb2 import ArchivalState, NamespaceState, ReplicationState from .nexus_pb2 import NexusHandlerErrorRetryBehavior -from .query_pb2 import QueryRejectCondition, QueryResultType -from .reset_pb2 import ResetReapplyExcludeType, ResetReapplyType, ResetType +from .workflow_pb2 import WorkflowIdReusePolicy +from .workflow_pb2 import WorkflowIdConflictPolicy +from .workflow_pb2 import ParentClosePolicy +from .workflow_pb2 import ContinueAsNewInitiator +from .workflow_pb2 import WorkflowExecutionStatus +from .workflow_pb2 import PendingActivityState +from .workflow_pb2 import PendingWorkflowTaskState +from .workflow_pb2 import HistoryEventFilterType +from .workflow_pb2 import RetryState +from .workflow_pb2 import TimeoutType +from .workflow_pb2 import VersioningBehavior +from .batch_operation_pb2 import BatchOperationType +from .batch_operation_pb2 import BatchOperationState +from .namespace_pb2 import NamespaceState +from .namespace_pb2 import ArchivalState +from .namespace_pb2 import ReplicationState +from .update_pb2 import UpdateWorkflowExecutionLifecycleStage +from .update_pb2 import UpdateAdmittedEventOrigin +from .query_pb2 import QueryResultType +from .query_pb2 import QueryRejectCondition +from .task_queue_pb2 import TaskQueueKind +from .task_queue_pb2 import TaskQueueType +from .task_queue_pb2 import TaskReachability +from .task_queue_pb2 import BuildIdTaskReachability +from .task_queue_pb2 import DescribeTaskQueueMode +from .task_queue_pb2 import RateLimitSource +from .reset_pb2 import ResetReapplyExcludeType +from .reset_pb2 import ResetReapplyType +from .reset_pb2 import ResetType +from .deployment_pb2 import DeploymentReachability +from .deployment_pb2 import VersionDrainageStatus +from .deployment_pb2 import WorkerVersioningMode +from .deployment_pb2 import WorkerDeploymentVersionStatus +from .common_pb2 import EncodingType +from .common_pb2 import IndexedValueType +from .common_pb2 import Severity +from .common_pb2 import CallbackState +from .common_pb2 import PendingNexusOperationState +from .common_pb2 import NexusOperationCancellationState +from .common_pb2 import WorkflowRuleActionScope +from .common_pb2 import ApplicationErrorCategory +from .common_pb2 import WorkerStatus from .schedule_pb2 import ScheduleOverlapPolicy -from .task_queue_pb2 import ( - BuildIdTaskReachability, - DescribeTaskQueueMode, - RateLimitSource, - TaskQueueKind, - TaskQueueType, - TaskReachability, -) -from .update_pb2 import UpdateAdmittedEventOrigin, UpdateWorkflowExecutionLifecycleStage -from .workflow_pb2 import ( - ContinueAsNewInitiator, - HistoryEventFilterType, - ParentClosePolicy, - PendingActivityState, - PendingWorkflowTaskState, - RetryState, - TimeoutType, - VersioningBehavior, - WorkflowExecutionStatus, - WorkflowIdConflictPolicy, - WorkflowIdReusePolicy, -) +from .event_type_pb2 import EventType +from .command_type_pb2 import CommandType +from .failed_cause_pb2 import WorkflowTaskFailedCause +from .failed_cause_pb2 import StartChildWorkflowExecutionFailedCause +from .failed_cause_pb2 import CancelExternalWorkflowExecutionFailedCause +from .failed_cause_pb2 import SignalExternalWorkflowExecutionFailedCause +from .failed_cause_pb2 import ResourceExhaustedCause +from .failed_cause_pb2 import ResourceExhaustedScope __all__ = [ "ApplicationErrorCategory", diff --git a/temporalio/api/enums/v1/batch_operation_pb2.py b/temporalio/api/enums/v1/batch_operation_pb2.py index 60c9d7f2f..85838147f 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.py +++ b/temporalio/api/enums/v1/batch_operation_pb2.py @@ -2,26 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/batch_operation.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name["BatchOperationType"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12\'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name['BatchOperationType'] BatchOperationType = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONTYPE) -_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name["BatchOperationState"] +_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name['BatchOperationState'] BatchOperationState = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONSTATE) BATCH_OPERATION_TYPE_UNSPECIFIED = 0 BATCH_OPERATION_TYPE_TERMINATE = 1 @@ -40,10 +38,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _BATCHOPERATIONTYPE._serialized_start = 71 - _BATCHOPERATIONTYPE._serialized_end = 481 - _BATCHOPERATIONSTATE._serialized_start = 484 - _BATCHOPERATIONSTATE._serialized_end = 650 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _BATCHOPERATIONTYPE._serialized_start=71 + _BATCHOPERATIONTYPE._serialized_end=481 + _BATCHOPERATIONSTATE._serialized_start=484 + _BATCHOPERATIONSTATE._serialized_end=650 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/batch_operation_pb2.pyi b/temporalio/api/enums/v1/batch_operation_pb2.pyi index 49f426ebb..e9ae71c2d 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.pyi +++ b/temporalio/api/enums/v1/batch_operation_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _BatchOperationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BatchOperationTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _BatchOperationType.ValueType - ], - builtins.type, -): # noqa: F821 +class _BatchOperationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BatchOperationType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_TYPE_UNSPECIFIED: _BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: _BatchOperationType.ValueType # 1 @@ -39,9 +32,7 @@ class _BatchOperationTypeEnumTypeWrapper( BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS: _BatchOperationType.ValueType # 8 BATCH_OPERATION_TYPE_RESET_ACTIVITY: _BatchOperationType.ValueType # 9 -class BatchOperationType( - _BatchOperationType, metaclass=_BatchOperationTypeEnumTypeWrapper -): ... +class BatchOperationType(_BatchOperationType, metaclass=_BatchOperationTypeEnumTypeWrapper): ... BATCH_OPERATION_TYPE_UNSPECIFIED: BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: BatchOperationType.ValueType # 1 @@ -59,21 +50,14 @@ class _BatchOperationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BatchOperationStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _BatchOperationState.ValueType - ], - builtins.type, -): # noqa: F821 +class _BatchOperationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BatchOperationState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_STATE_UNSPECIFIED: _BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: _BatchOperationState.ValueType # 1 BATCH_OPERATION_STATE_COMPLETED: _BatchOperationState.ValueType # 2 BATCH_OPERATION_STATE_FAILED: _BatchOperationState.ValueType # 3 -class BatchOperationState( - _BatchOperationState, metaclass=_BatchOperationStateEnumTypeWrapper -): ... +class BatchOperationState(_BatchOperationState, metaclass=_BatchOperationStateEnumTypeWrapper): ... BATCH_OPERATION_STATE_UNSPECIFIED: BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: BatchOperationState.ValueType # 1 diff --git a/temporalio/api/enums/v1/command_type_pb2.py b/temporalio/api/enums/v1/command_type_pb2.py index 6d1c3b6e5..8c203c53c 100644 --- a/temporalio/api/enums/v1/command_type_pb2.py +++ b/temporalio/api/enums/v1/command_type_pb2.py @@ -2,24 +2,22 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/command_type.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_COMMANDTYPE = DESCRIPTOR.enum_types_by_name["CommandType"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12\'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n\'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_COMMANDTYPE = DESCRIPTOR.enum_types_by_name['CommandType'] CommandType = enum_type_wrapper.EnumTypeWrapper(_COMMANDTYPE) COMMAND_TYPE_UNSPECIFIED = 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1 @@ -42,8 +40,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _COMMANDTYPE._serialized_start = 68 - _COMMANDTYPE._serialized_end = 864 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _COMMANDTYPE._serialized_start=68 + _COMMANDTYPE._serialized_end=864 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/command_type_pb2.pyi b/temporalio/api/enums/v1/command_type_pb2.pyi index 9f1bfd240..22fa6c190 100644 --- a/temporalio/api/enums/v1/command_type_pb2.pyi +++ b/temporalio/api/enums/v1/command_type_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,10 +19,7 @@ class _CommandType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CommandTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], - builtins.type, -): # noqa: F821 +class _CommandTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor COMMAND_TYPE_UNSPECIFIED: _CommandType.ValueType # 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK: _CommandType.ValueType # 1 diff --git a/temporalio/api/enums/v1/common_pb2.py b/temporalio/api/enums/v1/common_pb2.py index 557ce7631..a1e84943f 100644 --- a/temporalio/api/enums/v1/common_pb2.py +++ b/temporalio/api/enums/v1/common_pb2.py @@ -2,48 +2,38 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/common.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name["EncodingType"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n\'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name['EncodingType'] EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE) -_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name["IndexedValueType"] +_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name['IndexedValueType'] IndexedValueType = enum_type_wrapper.EnumTypeWrapper(_INDEXEDVALUETYPE) -_SEVERITY = DESCRIPTOR.enum_types_by_name["Severity"] +_SEVERITY = DESCRIPTOR.enum_types_by_name['Severity'] Severity = enum_type_wrapper.EnumTypeWrapper(_SEVERITY) -_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name["CallbackState"] +_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name['CallbackState'] CallbackState = enum_type_wrapper.EnumTypeWrapper(_CALLBACKSTATE) -_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name[ - "PendingNexusOperationState" -] -PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper( - _PENDINGNEXUSOPERATIONSTATE -) -_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name[ - "NexusOperationCancellationState" -] -NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper( - _NEXUSOPERATIONCANCELLATIONSTATE -) -_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name["WorkflowRuleActionScope"] +_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name['PendingNexusOperationState'] +PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper(_PENDINGNEXUSOPERATIONSTATE) +_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name['NexusOperationCancellationState'] +NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper(_NEXUSOPERATIONCANCELLATIONSTATE) +_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name['WorkflowRuleActionScope'] WorkflowRuleActionScope = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWRULEACTIONSCOPE) -_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name["ApplicationErrorCategory"] +_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name['ApplicationErrorCategory'] ApplicationErrorCategory = enum_type_wrapper.EnumTypeWrapper(_APPLICATIONERRORCATEGORY) -_WORKERSTATUS = DESCRIPTOR.enum_types_by_name["WorkerStatus"] +_WORKERSTATUS = DESCRIPTOR.enum_types_by_name['WorkerStatus'] WorkerStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERSTATUS) ENCODING_TYPE_UNSPECIFIED = 0 ENCODING_TYPE_PROTO3 = 1 @@ -91,24 +81,25 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _ENCODINGTYPE._serialized_start = 61 - _ENCODINGTYPE._serialized_end = 156 - _INDEXEDVALUETYPE._serialized_start = 159 - _INDEXEDVALUETYPE._serialized_end = 432 - _SEVERITY._serialized_start = 434 - _SEVERITY._serialized_end = 528 - _CALLBACKSTATE._serialized_start = 531 - _CALLBACKSTATE._serialized_end = 753 - _PENDINGNEXUSOPERATIONSTATE._serialized_start = 756 - _PENDINGNEXUSOPERATIONSTATE._serialized_end = 1009 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start = 1012 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end = 1394 - _WORKFLOWRULEACTIONSCOPE._serialized_start = 1397 - _WORKFLOWRULEACTIONSCOPE._serialized_end = 1548 - _APPLICATIONERRORCATEGORY._serialized_start = 1550 - _APPLICATIONERRORCATEGORY._serialized_end = 1659 - _WORKERSTATUS._serialized_start = 1662 - _WORKERSTATUS._serialized_end = 1795 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _ENCODINGTYPE._serialized_start=61 + _ENCODINGTYPE._serialized_end=156 + _INDEXEDVALUETYPE._serialized_start=159 + _INDEXEDVALUETYPE._serialized_end=432 + _SEVERITY._serialized_start=434 + _SEVERITY._serialized_end=528 + _CALLBACKSTATE._serialized_start=531 + _CALLBACKSTATE._serialized_end=753 + _PENDINGNEXUSOPERATIONSTATE._serialized_start=756 + _PENDINGNEXUSOPERATIONSTATE._serialized_end=1009 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start=1012 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end=1394 + _WORKFLOWRULEACTIONSCOPE._serialized_start=1397 + _WORKFLOWRULEACTIONSCOPE._serialized_end=1548 + _APPLICATIONERRORCATEGORY._serialized_start=1550 + _APPLICATIONERRORCATEGORY._serialized_end=1659 + _WORKERSTATUS._serialized_start=1662 + _WORKERSTATUS._serialized_end=1795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/common_pb2.pyi b/temporalio/api/enums/v1/common_pb2.pyi index 47e470295..1f8c206ec 100644 --- a/temporalio/api/enums/v1/common_pb2.pyi +++ b/temporalio/api/enums/v1/common_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _EncodingType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _EncodingTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _EncodingType.ValueType - ], - builtins.type, -): # noqa: F821 +class _EncodingTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EncodingType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ENCODING_TYPE_UNSPECIFIED: _EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: _EncodingType.ValueType # 1 @@ -43,12 +36,7 @@ class _IndexedValueType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _IndexedValueTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _IndexedValueType.ValueType - ], - builtins.type, -): # noqa: F821 +class _IndexedValueTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexedValueType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INDEXED_VALUE_TYPE_UNSPECIFIED: _IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: _IndexedValueType.ValueType # 1 @@ -59,9 +47,7 @@ class _IndexedValueTypeEnumTypeWrapper( INDEXED_VALUE_TYPE_DATETIME: _IndexedValueType.ValueType # 6 INDEXED_VALUE_TYPE_KEYWORD_LIST: _IndexedValueType.ValueType # 7 -class IndexedValueType( - _IndexedValueType, metaclass=_IndexedValueTypeEnumTypeWrapper -): ... +class IndexedValueType(_IndexedValueType, metaclass=_IndexedValueTypeEnumTypeWrapper): ... INDEXED_VALUE_TYPE_UNSPECIFIED: IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: IndexedValueType.ValueType # 1 @@ -77,10 +63,7 @@ class _Severity: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _SeverityEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], - builtins.type, -): # noqa: F821 +class _SeverityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEVERITY_UNSPECIFIED: _Severity.ValueType # 0 SEVERITY_HIGH: _Severity.ValueType # 1 @@ -99,12 +82,7 @@ class _CallbackState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CallbackStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _CallbackState.ValueType - ], - builtins.type, -): # noqa: F821 +class _CallbackStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CallbackState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CALLBACK_STATE_UNSPECIFIED: _CallbackState.ValueType # 0 """Default value, unspecified state.""" @@ -144,31 +122,20 @@ class _PendingNexusOperationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingNexusOperationStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _PendingNexusOperationState.ValueType - ], - builtins.type, -): # noqa: F821 +class _PendingNexusOperationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingNexusOperationState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: ( - _PendingNexusOperationState.ValueType - ) # 0 + PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: _PendingNexusOperationState.ValueType # 0 """Default value, unspecified state.""" PENDING_NEXUS_OPERATION_STATE_SCHEDULED: _PendingNexusOperationState.ValueType # 1 """Operation is in the queue waiting to be executed or is currently executing.""" - PENDING_NEXUS_OPERATION_STATE_BACKING_OFF: ( - _PendingNexusOperationState.ValueType - ) # 2 + PENDING_NEXUS_OPERATION_STATE_BACKING_OFF: _PendingNexusOperationState.ValueType # 2 """Operation has failed with a retryable error and is backing off before the next attempt.""" PENDING_NEXUS_OPERATION_STATE_STARTED: _PendingNexusOperationState.ValueType # 3 """Operation was started and will complete asynchronously.""" PENDING_NEXUS_OPERATION_STATE_BLOCKED: _PendingNexusOperationState.ValueType # 4 """Operation is blocked (eg: by circuit breaker).""" -class PendingNexusOperationState( - _PendingNexusOperationState, metaclass=_PendingNexusOperationStateEnumTypeWrapper -): +class PendingNexusOperationState(_PendingNexusOperationState, metaclass=_PendingNexusOperationStateEnumTypeWrapper): """State of a pending Nexus operation.""" PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: PendingNexusOperationState.ValueType # 0 @@ -187,75 +154,39 @@ class _NexusOperationCancellationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusOperationCancellationStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _NexusOperationCancellationState.ValueType - ], - builtins.type, -): # noqa: F821 +class _NexusOperationCancellationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusOperationCancellationState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( - _NexusOperationCancellationState.ValueType - ) # 0 + NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: _NexusOperationCancellationState.ValueType # 0 """Default value, unspecified state.""" - NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: ( - _NexusOperationCancellationState.ValueType - ) # 1 + NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: _NexusOperationCancellationState.ValueType # 1 """Cancellation request is in the queue waiting to be executed or is currently executing.""" - NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: ( - _NexusOperationCancellationState.ValueType - ) # 2 + NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: _NexusOperationCancellationState.ValueType # 2 """Cancellation request has failed with a retryable error and is backing off before the next attempt.""" - NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: ( - _NexusOperationCancellationState.ValueType - ) # 3 + NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: _NexusOperationCancellationState.ValueType # 3 """Cancellation request succeeded.""" - NEXUS_OPERATION_CANCELLATION_STATE_FAILED: ( - _NexusOperationCancellationState.ValueType - ) # 4 + NEXUS_OPERATION_CANCELLATION_STATE_FAILED: _NexusOperationCancellationState.ValueType # 4 """Cancellation request failed with a non-retryable error.""" - NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: ( - _NexusOperationCancellationState.ValueType - ) # 5 + NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: _NexusOperationCancellationState.ValueType # 5 """The associated operation timed out - exceeded the user supplied schedule-to-close timeout.""" - NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( - _NexusOperationCancellationState.ValueType - ) # 6 + NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: _NexusOperationCancellationState.ValueType # 6 """Cancellation request is blocked (eg: by circuit breaker).""" -class NexusOperationCancellationState( - _NexusOperationCancellationState, - metaclass=_NexusOperationCancellationStateEnumTypeWrapper, -): +class NexusOperationCancellationState(_NexusOperationCancellationState, metaclass=_NexusOperationCancellationStateEnumTypeWrapper): """State of a Nexus operation cancellation.""" -NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( - NexusOperationCancellationState.ValueType -) # 0 +NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: NexusOperationCancellationState.ValueType # 0 """Default value, unspecified state.""" -NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: ( - NexusOperationCancellationState.ValueType -) # 1 +NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: NexusOperationCancellationState.ValueType # 1 """Cancellation request is in the queue waiting to be executed or is currently executing.""" -NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: ( - NexusOperationCancellationState.ValueType -) # 2 +NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: NexusOperationCancellationState.ValueType # 2 """Cancellation request has failed with a retryable error and is backing off before the next attempt.""" -NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: ( - NexusOperationCancellationState.ValueType -) # 3 +NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: NexusOperationCancellationState.ValueType # 3 """Cancellation request succeeded.""" -NEXUS_OPERATION_CANCELLATION_STATE_FAILED: ( - NexusOperationCancellationState.ValueType -) # 4 +NEXUS_OPERATION_CANCELLATION_STATE_FAILED: NexusOperationCancellationState.ValueType # 4 """Cancellation request failed with a non-retryable error.""" -NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: ( - NexusOperationCancellationState.ValueType -) # 5 +NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: NexusOperationCancellationState.ValueType # 5 """The associated operation timed out - exceeded the user supplied schedule-to-close timeout.""" -NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( - NexusOperationCancellationState.ValueType -) # 6 +NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: NexusOperationCancellationState.ValueType # 6 """Cancellation request is blocked (eg: by circuit breaker).""" global___NexusOperationCancellationState = NexusOperationCancellationState @@ -263,12 +194,7 @@ class _WorkflowRuleActionScope: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowRuleActionScopeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkflowRuleActionScope.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkflowRuleActionScopeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowRuleActionScope.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: _WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -277,9 +203,7 @@ class _WorkflowRuleActionScopeEnumTypeWrapper( WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY: _WorkflowRuleActionScope.ValueType # 2 """The action will be applied to a specific activity.""" -class WorkflowRuleActionScope( - _WorkflowRuleActionScope, metaclass=_WorkflowRuleActionScopeEnumTypeWrapper -): ... +class WorkflowRuleActionScope(_WorkflowRuleActionScope, metaclass=_WorkflowRuleActionScopeEnumTypeWrapper): ... WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -293,20 +217,13 @@ class _ApplicationErrorCategory: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ApplicationErrorCategoryEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ApplicationErrorCategory.ValueType - ], - builtins.type, -): # noqa: F821 +class _ApplicationErrorCategoryEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ApplicationErrorCategory.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor APPLICATION_ERROR_CATEGORY_UNSPECIFIED: _ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: _ApplicationErrorCategory.ValueType # 1 """Expected application error with little/no severity.""" -class ApplicationErrorCategory( - _ApplicationErrorCategory, metaclass=_ApplicationErrorCategoryEnumTypeWrapper -): ... +class ApplicationErrorCategory(_ApplicationErrorCategory, metaclass=_ApplicationErrorCategoryEnumTypeWrapper): ... APPLICATION_ERROR_CATEGORY_UNSPECIFIED: ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: ApplicationErrorCategory.ValueType # 1 @@ -317,12 +234,7 @@ class _WorkerStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerStatusEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkerStatus.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkerStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerStatus.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_STATUS_UNSPECIFIED: _WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: _WorkerStatus.ValueType # 1 @@ -331,7 +243,7 @@ class _WorkerStatusEnumTypeWrapper( class WorkerStatus(_WorkerStatus, metaclass=_WorkerStatusEnumTypeWrapper): """(-- api-linter: core::0216::synonyms=disabled - aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --) + aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --) """ WORKER_STATUS_UNSPECIFIED: WorkerStatus.ValueType # 0 diff --git a/temporalio/api/enums/v1/deployment_pb2.py b/temporalio/api/enums/v1/deployment_pb2.py index a4c5e00aa..3be4d1f34 100644 --- a/temporalio/api/enums/v1/deployment_pb2.py +++ b/temporalio/api/enums/v1/deployment_pb2.py @@ -2,35 +2,29 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/deployment.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name["DeploymentReachability"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12\'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12\'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12\'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name['DeploymentReachability'] DeploymentReachability = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTREACHABILITY) -_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name["VersionDrainageStatus"] +_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name['VersionDrainageStatus'] VersionDrainageStatus = enum_type_wrapper.EnumTypeWrapper(_VERSIONDRAINAGESTATUS) -_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name["WorkerVersioningMode"] +_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name['WorkerVersioningMode'] WorkerVersioningMode = enum_type_wrapper.EnumTypeWrapper(_WORKERVERSIONINGMODE) -_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name[ - "WorkerDeploymentVersionStatus" -] -WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper( - _WORKERDEPLOYMENTVERSIONSTATUS -) +_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name['WorkerDeploymentVersionStatus'] +WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERDEPLOYMENTVERSIONSTATUS) DEPLOYMENT_REACHABILITY_UNSPECIFIED = 0 DEPLOYMENT_REACHABILITY_REACHABLE = 1 DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2 @@ -50,14 +44,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _DEPLOYMENTREACHABILITY._serialized_start = 66 - _DEPLOYMENTREACHABILITY._serialized_end = 262 - _VERSIONDRAINAGESTATUS._serialized_start = 265 - _VERSIONDRAINAGESTATUS._serialized_end = 404 - _WORKERVERSIONINGMODE._serialized_start = 407 - _WORKERVERSIONINGMODE._serialized_end = 547 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start = 550 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end = 863 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _DEPLOYMENTREACHABILITY._serialized_start=66 + _DEPLOYMENTREACHABILITY._serialized_end=262 + _VERSIONDRAINAGESTATUS._serialized_start=265 + _VERSIONDRAINAGESTATUS._serialized_end=404 + _WORKERVERSIONINGMODE._serialized_start=407 + _WORKERVERSIONINGMODE._serialized_end=547 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start=550 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end=863 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/deployment_pb2.pyi b/temporalio/api/enums/v1/deployment_pb2.pyi index 92074757c..416e118c9 100644 --- a/temporalio/api/enums/v1/deployment_pb2.pyi +++ b/temporalio/api/enums/v1/deployment_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _DeploymentReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _DeploymentReachabilityEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _DeploymentReachability.ValueType - ], - builtins.type, -): # noqa: F821 +class _DeploymentReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DeploymentReachability.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DEPLOYMENT_REACHABILITY_UNSPECIFIED: _DeploymentReachability.ValueType # 0 """Reachability level is not specified.""" @@ -34,9 +27,7 @@ class _DeploymentReachabilityEnumTypeWrapper( """The deployment is reachable by new and/or open workflows. The deployment cannot be decommissioned safely. """ - DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY: ( - _DeploymentReachability.ValueType - ) # 2 + DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY: _DeploymentReachability.ValueType # 2 """The deployment is not reachable by new or open workflows, but might be still needed by Queries sent to closed workflows. The deployment can be decommissioned safely if user does not query closed workflows. @@ -46,9 +37,7 @@ class _DeploymentReachabilityEnumTypeWrapper( deployment went out of retention period. The deployment can be decommissioned safely. """ -class DeploymentReachability( - _DeploymentReachability, metaclass=_DeploymentReachabilityEnumTypeWrapper -): +class DeploymentReachability(_DeploymentReachability, metaclass=_DeploymentReachabilityEnumTypeWrapper): """Specify the reachability level for a deployment so users can decide if it is time to decommission the deployment. """ @@ -74,12 +63,7 @@ class _VersionDrainageStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersionDrainageStatusEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _VersionDrainageStatus.ValueType - ], - builtins.type, -): # noqa: F821 +class _VersionDrainageStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersionDrainageStatus.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSION_DRAINAGE_STATUS_UNSPECIFIED: _VersionDrainageStatus.ValueType # 0 """Drainage Status is not specified.""" @@ -94,9 +78,7 @@ class _VersionDrainageStatusEnumTypeWrapper( workflows are closed, they should decommission the version after it has been drained for that duration. """ -class VersionDrainageStatus( - _VersionDrainageStatus, metaclass=_VersionDrainageStatusEnumTypeWrapper -): +class VersionDrainageStatus(_VersionDrainageStatus, metaclass=_VersionDrainageStatusEnumTypeWrapper): """(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the drainage status for a Worker Deployment Version so users can decide whether they @@ -122,12 +104,7 @@ class _WorkerVersioningMode: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerVersioningModeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkerVersioningMode.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkerVersioningModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerVersioningMode.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_VERSIONING_MODE_UNSPECIFIED: _WorkerVersioningMode.ValueType # 0 WORKER_VERSIONING_MODE_UNVERSIONED: _WorkerVersioningMode.ValueType # 1 @@ -152,9 +129,7 @@ class _WorkerVersioningModeEnumTypeWrapper( VersioningBehavior enum.) """ -class WorkerVersioningMode( - _WorkerVersioningMode, metaclass=_WorkerVersioningModeEnumTypeWrapper -): +class WorkerVersioningMode(_WorkerVersioningMode, metaclass=_WorkerVersioningModeEnumTypeWrapper): """Versioning Mode of a worker is set by the app developer in the worker code, and specifies the behavior of the system in the following related aspects: - Whether or not Temporal Server considers this worker's version (Build ID) when dispatching @@ -191,63 +166,41 @@ class _WorkerDeploymentVersionStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerDeploymentVersionStatusEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkerDeploymentVersionStatus.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkerDeploymentVersionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerDeploymentVersionStatus.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 0 - WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 1 + WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: _WorkerDeploymentVersionStatus.ValueType # 0 + WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: _WorkerDeploymentVersionStatus.ValueType # 1 """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_CURRENT: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 2 + WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT: _WorkerDeploymentVersionStatus.ValueType # 2 """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_RAMPING: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 3 + WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING: _WorkerDeploymentVersionStatus.ValueType # 3 """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_DRAINING: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 4 + WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING: _WorkerDeploymentVersionStatus.ValueType # 4 """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_DRAINED: ( - _WorkerDeploymentVersionStatus.ValueType - ) # 5 + WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED: _WorkerDeploymentVersionStatus.ValueType # 5 """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. """ -class WorkerDeploymentVersionStatus( - _WorkerDeploymentVersionStatus, - metaclass=_WorkerDeploymentVersionStatusEnumTypeWrapper, -): +class WorkerDeploymentVersionStatus(_WorkerDeploymentVersionStatus, metaclass=_WorkerDeploymentVersionStatusEnumTypeWrapper): """(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the status of a Worker Deployment Version. Experimental. Worker Deployments are experimental and might significantly change in the future. """ -WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( - WorkerDeploymentVersionStatus.ValueType -) # 0 +WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: WorkerDeploymentVersionStatus.ValueType # 0 WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: WorkerDeploymentVersionStatus.ValueType # 1 """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 diff --git a/temporalio/api/enums/v1/event_type_pb2.py b/temporalio/api/enums/v1/event_type_pb2.py index f51809725..9ac641d1c 100644 --- a/temporalio/api/enums/v1/event_type_pb2.py +++ b/temporalio/api/enums/v1/event_type_pb2.py @@ -2,24 +2,22 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/event_type.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x8a\x15\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n= (3, 10): import typing as typing_extensions @@ -21,10 +19,7 @@ class _EventType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _EventTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EventType.ValueType], - builtins.type, -): # noqa: F821 +class _EventTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EventType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor EVENT_TYPE_UNSPECIFIED: _EventType.ValueType # 0 """Place holder and should never appear in a Workflow execution history""" @@ -108,13 +103,9 @@ class _EventTypeEnumTypeWrapper( """A request has been made to cancel the Workflow execution""" EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED: _EventType.ValueType # 21 """SDK client has confirmed the cancellation request and the Workflow execution has been cancelled""" - EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: ( - _EventType.ValueType - ) # 22 + EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: _EventType.ValueType # 22 """Workflow has requested that the Temporal Server try to cancel another Workflow""" - EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: ( - _EventType.ValueType - ) # 23 + EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: _EventType.ValueType # 23 """Temporal Server could not cancel the targeted Workflow This is usually because the target Workflow could not be found """ @@ -296,9 +287,7 @@ EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED: EventType.ValueType # 20 """A request has been made to cancel the Workflow execution""" EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED: EventType.ValueType # 21 """SDK client has confirmed the cancellation request and the Workflow execution has been cancelled""" -EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: ( - EventType.ValueType -) # 22 +EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: EventType.ValueType # 22 """Workflow has requested that the Temporal Server try to cancel another Workflow""" EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: EventType.ValueType # 23 """Temporal Server could not cancel the targeted Workflow diff --git a/temporalio/api/enums/v1/failed_cause_pb2.py b/temporalio/api/enums/v1/failed_cause_pb2.py index 61cfa6878..0512ced6e 100644 --- a/temporalio/api/enums/v1/failed_cause_pb2.py +++ b/temporalio/api/enums/v1/failed_cause_pb2.py @@ -2,46 +2,32 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/failed_cause.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(temporal/api/enums/v1/failed_cause.proto\x12\x15temporal.api.enums.v1*\xa5\x12\n\x17WorkflowTaskFailedCause\x12*\n&WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12\x30\n,WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND\x10\x01\x12?\n;WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES\x10\x02\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES\x10\x03\x12\x39\n5WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES\x10\x04\x12:\n6WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES\x10\x05\x12;\n7WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES\x10\x06\x12I\nEWORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x07\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x08\x12G\nCWORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\t\x12X\nTWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\n\x12=\n9WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES\x10\x0b\x12\x37\n3WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID\x10\x0c\x12\x36\n2WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE\x10\r\x12@\n= (3, 10): import typing as typing_extensions @@ -21,96 +19,45 @@ class _WorkflowTaskFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowTaskFailedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkflowTaskFailedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkflowTaskFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowTaskFailedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED: _WorkflowTaskFailedCause.ValueType # 0 - WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: ( - _WorkflowTaskFailedCause.ValueType - ) # 1 + WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: _WorkflowTaskFailedCause.ValueType # 1 """Between starting and completing the workflow task (with a workflow completion command), some new command (like a signal) was processed into workflow history. The outstanding task will be failed with this reason, and a worker must pick up a new task. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 2 - WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 3 - WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 4 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 5 - WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 6 - WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 7 - WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 8 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 9 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 2 + WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 3 + WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 4 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 5 + WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 6 + WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 7 + WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 8 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 9 WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 10 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 11 - WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: ( - _WorkflowTaskFailedCause.ValueType - ) # 12 - WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: ( - _WorkflowTaskFailedCause.ValueType - ) # 13 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 11 + WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: _WorkflowTaskFailedCause.ValueType # 12 + WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: _WorkflowTaskFailedCause.ValueType # 13 """The worker wishes to fail the task and have the next one be generated on a normal, not sticky queue. Generally workers should prefer to use the explicit `ResetStickyTaskQueue` RPC call. """ - WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: ( - _WorkflowTaskFailedCause.ValueType - ) # 14 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 15 - WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 16 - WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: ( - _WorkflowTaskFailedCause.ValueType - ) # 17 - WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: ( - _WorkflowTaskFailedCause.ValueType - ) # 18 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: ( - _WorkflowTaskFailedCause.ValueType - ) # 19 + WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: _WorkflowTaskFailedCause.ValueType # 14 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 15 + WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 16 + WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: _WorkflowTaskFailedCause.ValueType # 17 + WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: _WorkflowTaskFailedCause.ValueType # 18 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: _WorkflowTaskFailedCause.ValueType # 19 WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW: _WorkflowTaskFailedCause.ValueType # 20 WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY: _WorkflowTaskFailedCause.ValueType # 21 - WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: ( - _WorkflowTaskFailedCause.ValueType - ) # 22 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 23 - WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: ( - _WorkflowTaskFailedCause.ValueType - ) # 24 + WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: _WorkflowTaskFailedCause.ValueType # 22 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 23 + WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: _WorkflowTaskFailedCause.ValueType # 24 """The worker encountered a mismatch while replaying history between what was expected, and what the workflow code actually did. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 25 - WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: ( - _WorkflowTaskFailedCause.ValueType - ) # 26 + WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 25 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 26 """We send the below error codes to users when their requests would violate a size constraint of their workflow. We do this to ensure that the state of their workflow does not become too large because that can cause severe performance degradation. You can modify the thresholds for @@ -119,61 +66,39 @@ class _WorkflowTaskFailedCauseEnumTypeWrapper( Spawning a new child workflow would cause this workflow to exceed its limit of pending child workflows. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: ( - _WorkflowTaskFailedCause.ValueType - ) # 27 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 27 """Starting a new activity would cause this workflow to exceed its limit of pending activities that we track. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: ( - _WorkflowTaskFailedCause.ValueType - ) # 28 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 28 """A workflow has a buffer of signals that have not yet reached their destination. We return this error when sending a new signal would exceed the capacity of this buffer. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: ( - _WorkflowTaskFailedCause.ValueType - ) # 29 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 29 """Similarly, we have a buffer of pending requests to cancel other workflows. We return this error when our capacity for pending cancel requests is already reached. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: ( - _WorkflowTaskFailedCause.ValueType - ) # 30 + WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: _WorkflowTaskFailedCause.ValueType # 30 """Workflow execution update message (update.Acceptance, update.Rejection, or update.Response) has wrong format, or missing required fields. """ - WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: ( - _WorkflowTaskFailedCause.ValueType - ) # 31 + WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: _WorkflowTaskFailedCause.ValueType # 31 """Similar to WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND, but for updates.""" - WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 32 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 32 """A workflow task completed with an invalid ScheduleNexusOperation command.""" - WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: ( - _WorkflowTaskFailedCause.ValueType - ) # 33 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 33 """A workflow task completed requesting to schedule a Nexus Operation exceeding the server configured limit.""" - WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: ( - _WorkflowTaskFailedCause.ValueType - ) # 34 + WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 34 """A workflow task completed with an invalid RequestCancelNexusOperation command.""" - WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: ( - _WorkflowTaskFailedCause.ValueType - ) # 35 + WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: _WorkflowTaskFailedCause.ValueType # 35 """A workflow task completed requesting a feature that's disabled on the server (either system wide or - typically - for the workflow's namespace). Check the workflow task failure message for more information. """ - WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: ( - _WorkflowTaskFailedCause.ValueType - ) # 36 + WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: _WorkflowTaskFailedCause.ValueType # 36 """A workflow task failed because a grpc message was too large.""" -class WorkflowTaskFailedCause( - _WorkflowTaskFailedCause, metaclass=_WorkflowTaskFailedCauseEnumTypeWrapper -): +class WorkflowTaskFailedCause(_WorkflowTaskFailedCause, metaclass=_WorkflowTaskFailedCauseEnumTypeWrapper): """Workflow tasks can fail for various reasons. Note that some of these reasons can only originate from the server, and some of them can only originate from the SDK/worker. """ @@ -184,81 +109,37 @@ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: WorkflowTaskFailedCause.ValueType new command (like a signal) was processed into workflow history. The outstanding task will be failed with this reason, and a worker must pick up a new task. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 2 -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 3 -WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 4 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 5 -WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 6 -WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 7 -WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 8 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 9 -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 10 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 11 -WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: ( - WorkflowTaskFailedCause.ValueType -) # 12 -WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: ( - WorkflowTaskFailedCause.ValueType -) # 13 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 2 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 3 +WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 4 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 5 +WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 6 +WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 7 +WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 8 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 9 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 10 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 11 +WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: WorkflowTaskFailedCause.ValueType # 12 +WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: WorkflowTaskFailedCause.ValueType # 13 """The worker wishes to fail the task and have the next one be generated on a normal, not sticky queue. Generally workers should prefer to use the explicit `ResetStickyTaskQueue` RPC call. """ -WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: ( - WorkflowTaskFailedCause.ValueType -) # 14 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 15 -WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 16 +WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: WorkflowTaskFailedCause.ValueType # 14 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 15 +WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 16 WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: WorkflowTaskFailedCause.ValueType # 17 -WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: ( - WorkflowTaskFailedCause.ValueType -) # 18 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: ( - WorkflowTaskFailedCause.ValueType -) # 19 +WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: WorkflowTaskFailedCause.ValueType # 18 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: WorkflowTaskFailedCause.ValueType # 19 WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW: WorkflowTaskFailedCause.ValueType # 20 WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY: WorkflowTaskFailedCause.ValueType # 21 -WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: ( - WorkflowTaskFailedCause.ValueType -) # 22 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 23 -WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: ( - WorkflowTaskFailedCause.ValueType -) # 24 +WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: WorkflowTaskFailedCause.ValueType # 22 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 23 +WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: WorkflowTaskFailedCause.ValueType # 24 """The worker encountered a mismatch while replaying history between what was expected, and what the workflow code actually did. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 25 -WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: ( - WorkflowTaskFailedCause.ValueType -) # 26 +WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 25 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 26 """We send the below error codes to users when their requests would violate a size constraint of their workflow. We do this to ensure that the state of their workflow does not become too large because that can cause severe performance degradation. You can modify the thresholds for @@ -267,52 +148,36 @@ each of these errors within your dynamic config. Spawning a new child workflow would cause this workflow to exceed its limit of pending child workflows. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: ( - WorkflowTaskFailedCause.ValueType -) # 27 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 27 """Starting a new activity would cause this workflow to exceed its limit of pending activities that we track. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: ( - WorkflowTaskFailedCause.ValueType -) # 28 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 28 """A workflow has a buffer of signals that have not yet reached their destination. We return this error when sending a new signal would exceed the capacity of this buffer. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: ( - WorkflowTaskFailedCause.ValueType -) # 29 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 29 """Similarly, we have a buffer of pending requests to cancel other workflows. We return this error when our capacity for pending cancel requests is already reached. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: ( - WorkflowTaskFailedCause.ValueType -) # 30 +WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: WorkflowTaskFailedCause.ValueType # 30 """Workflow execution update message (update.Acceptance, update.Rejection, or update.Response) has wrong format, or missing required fields. """ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: WorkflowTaskFailedCause.ValueType # 31 """Similar to WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND, but for updates.""" -WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 32 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 32 """A workflow task completed with an invalid ScheduleNexusOperation command.""" -WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: ( - WorkflowTaskFailedCause.ValueType -) # 33 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 33 """A workflow task completed requesting to schedule a Nexus Operation exceeding the server configured limit.""" -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: ( - WorkflowTaskFailedCause.ValueType -) # 34 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 34 """A workflow task completed with an invalid RequestCancelNexusOperation command.""" WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: WorkflowTaskFailedCause.ValueType # 35 """A workflow task completed requesting a feature that's disabled on the server (either system wide or - typically - for the workflow's namespace). Check the workflow task failure message for more information. """ -WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: ( - WorkflowTaskFailedCause.ValueType -) # 36 +WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: WorkflowTaskFailedCause.ValueType # 36 """A workflow task failed because a grpc message was too large.""" global___WorkflowTaskFailedCause = WorkflowTaskFailedCause @@ -320,131 +185,62 @@ class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _StartChildWorkflowExecutionFailedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_StartChildWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - _StartChildWorkflowExecutionFailedCause.ValueType - ) # 0 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( - _StartChildWorkflowExecutionFailedCause.ValueType - ) # 1 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - _StartChildWorkflowExecutionFailedCause.ValueType - ) # 2 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _StartChildWorkflowExecutionFailedCause.ValueType # 0 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: _StartChildWorkflowExecutionFailedCause.ValueType # 1 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _StartChildWorkflowExecutionFailedCause.ValueType # 2 -class StartChildWorkflowExecutionFailedCause( - _StartChildWorkflowExecutionFailedCause, - metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper, -): ... +class StartChildWorkflowExecutionFailedCause(_StartChildWorkflowExecutionFailedCause, metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper): ... -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - StartChildWorkflowExecutionFailedCause.ValueType -) # 0 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( - StartChildWorkflowExecutionFailedCause.ValueType -) # 1 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - StartChildWorkflowExecutionFailedCause.ValueType -) # 2 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: StartChildWorkflowExecutionFailedCause.ValueType # 0 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: StartChildWorkflowExecutionFailedCause.ValueType # 1 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: StartChildWorkflowExecutionFailedCause.ValueType # 2 global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause class _CancelExternalWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _CancelExternalWorkflowExecutionFailedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CancelExternalWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - _CancelExternalWorkflowExecutionFailedCause.ValueType - ) # 0 + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _CancelExternalWorkflowExecutionFailedCause.ValueType # 0 CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _CancelExternalWorkflowExecutionFailedCause.ValueType # 1 - CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - _CancelExternalWorkflowExecutionFailedCause.ValueType - ) # 2 + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _CancelExternalWorkflowExecutionFailedCause.ValueType # 2 -class CancelExternalWorkflowExecutionFailedCause( - _CancelExternalWorkflowExecutionFailedCause, - metaclass=_CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper, -): ... +class CancelExternalWorkflowExecutionFailedCause(_CancelExternalWorkflowExecutionFailedCause, metaclass=_CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper): ... -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - CancelExternalWorkflowExecutionFailedCause.ValueType -) # 0 -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: ( - CancelExternalWorkflowExecutionFailedCause.ValueType -) # 1 -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - CancelExternalWorkflowExecutionFailedCause.ValueType -) # 2 -global___CancelExternalWorkflowExecutionFailedCause = ( - CancelExternalWorkflowExecutionFailedCause -) +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: CancelExternalWorkflowExecutionFailedCause.ValueType # 0 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: CancelExternalWorkflowExecutionFailedCause.ValueType # 1 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: CancelExternalWorkflowExecutionFailedCause.ValueType # 2 +global___CancelExternalWorkflowExecutionFailedCause = CancelExternalWorkflowExecutionFailedCause class _SignalExternalWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _SignalExternalWorkflowExecutionFailedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SignalExternalWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - _SignalExternalWorkflowExecutionFailedCause.ValueType - ) # 0 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 0 SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 1 - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - _SignalExternalWorkflowExecutionFailedCause.ValueType - ) # 2 - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: ( - _SignalExternalWorkflowExecutionFailedCause.ValueType - ) # 3 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 2 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 3 """Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """ -class SignalExternalWorkflowExecutionFailedCause( - _SignalExternalWorkflowExecutionFailedCause, - metaclass=_SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper, -): ... +class SignalExternalWorkflowExecutionFailedCause(_SignalExternalWorkflowExecutionFailedCause, metaclass=_SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper): ... -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - SignalExternalWorkflowExecutionFailedCause.ValueType -) # 0 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: ( - SignalExternalWorkflowExecutionFailedCause.ValueType -) # 1 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( - SignalExternalWorkflowExecutionFailedCause.ValueType -) # 2 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: ( - SignalExternalWorkflowExecutionFailedCause.ValueType -) # 3 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: SignalExternalWorkflowExecutionFailedCause.ValueType # 0 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 1 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 2 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: SignalExternalWorkflowExecutionFailedCause.ValueType # 3 """Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """ -global___SignalExternalWorkflowExecutionFailedCause = ( - SignalExternalWorkflowExecutionFailedCause -) +global___SignalExternalWorkflowExecutionFailedCause = SignalExternalWorkflowExecutionFailedCause class _ResourceExhaustedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceExhaustedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ResourceExhaustedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _ResourceExhaustedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceExhaustedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED: _ResourceExhaustedCause.ValueType # 0 RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT: _ResourceExhaustedCause.ValueType # 1 @@ -459,20 +255,14 @@ class _ResourceExhaustedCauseEnumTypeWrapper( """Workflow is busy""" RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT: _ResourceExhaustedCause.ValueType # 6 """Caller exceeds action per second limit.""" - RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ( - _ResourceExhaustedCause.ValueType - ) # 7 + RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: _ResourceExhaustedCause.ValueType # 7 """Persistence storage limit exceeded.""" - RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: ( - _ResourceExhaustedCause.ValueType - ) # 8 + RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: _ResourceExhaustedCause.ValueType # 8 """Circuit breaker is open/half-open.""" RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT: _ResourceExhaustedCause.ValueType # 9 """Namespace exceeds operations rate limit.""" -class ResourceExhaustedCause( - _ResourceExhaustedCause, metaclass=_ResourceExhaustedCauseEnumTypeWrapper -): ... +class ResourceExhaustedCause(_ResourceExhaustedCause, metaclass=_ResourceExhaustedCauseEnumTypeWrapper): ... RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED: ResourceExhaustedCause.ValueType # 0 RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT: ResourceExhaustedCause.ValueType # 1 @@ -487,9 +277,7 @@ RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW: ResourceExhaustedCause.ValueType # 5 """Workflow is busy""" RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT: ResourceExhaustedCause.ValueType # 6 """Caller exceeds action per second limit.""" -RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ( - ResourceExhaustedCause.ValueType -) # 7 +RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ResourceExhaustedCause.ValueType # 7 """Persistence storage limit exceeded.""" RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: ResourceExhaustedCause.ValueType # 8 """Circuit breaker is open/half-open.""" @@ -501,12 +289,7 @@ class _ResourceExhaustedScope: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceExhaustedScopeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ResourceExhaustedScope.ValueType - ], - builtins.type, -): # noqa: F821 +class _ResourceExhaustedScopeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceExhaustedScope.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED: _ResourceExhaustedScope.ValueType # 0 RESOURCE_EXHAUSTED_SCOPE_NAMESPACE: _ResourceExhaustedScope.ValueType # 1 @@ -514,9 +297,7 @@ class _ResourceExhaustedScopeEnumTypeWrapper( RESOURCE_EXHAUSTED_SCOPE_SYSTEM: _ResourceExhaustedScope.ValueType # 2 """Exhausted resource is a namespace-level resource.""" -class ResourceExhaustedScope( - _ResourceExhaustedScope, metaclass=_ResourceExhaustedScopeEnumTypeWrapper -): ... +class ResourceExhaustedScope(_ResourceExhaustedScope, metaclass=_ResourceExhaustedScopeEnumTypeWrapper): ... RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED: ResourceExhaustedScope.ValueType # 0 RESOURCE_EXHAUSTED_SCOPE_NAMESPACE: ResourceExhaustedScope.ValueType # 1 diff --git a/temporalio/api/enums/v1/namespace_pb2.py b/temporalio/api/enums/v1/namespace_pb2.py index 6c62f70fc..2340c0096 100644 --- a/temporalio/api/enums/v1/namespace_pb2.py +++ b/temporalio/api/enums/v1/namespace_pb2.py @@ -2,28 +2,26 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/namespace.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n%temporal/api/enums/v1/namespace.proto\x12\x15temporal.api.enums.v1*\x8e\x01\n\x0eNamespaceState\x12\x1f\n\x1bNAMESPACE_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNAMESPACE_STATE_REGISTERED\x10\x01\x12\x1e\n\x1aNAMESPACE_STATE_DEPRECATED\x10\x02\x12\x1b\n\x17NAMESPACE_STATE_DELETED\x10\x03*h\n\rArchivalState\x12\x1e\n\x1a\x41RCHIVAL_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41RCHIVAL_STATE_DISABLED\x10\x01\x12\x1a\n\x16\x41RCHIVAL_STATE_ENABLED\x10\x02*s\n\x10ReplicationState\x12!\n\x1dREPLICATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18REPLICATION_STATE_NORMAL\x10\x01\x12\x1e\n\x1aREPLICATION_STATE_HANDOVER\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_NAMESPACESTATE = DESCRIPTOR.enum_types_by_name["NamespaceState"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/enums/v1/namespace.proto\x12\x15temporal.api.enums.v1*\x8e\x01\n\x0eNamespaceState\x12\x1f\n\x1bNAMESPACE_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNAMESPACE_STATE_REGISTERED\x10\x01\x12\x1e\n\x1aNAMESPACE_STATE_DEPRECATED\x10\x02\x12\x1b\n\x17NAMESPACE_STATE_DELETED\x10\x03*h\n\rArchivalState\x12\x1e\n\x1a\x41RCHIVAL_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41RCHIVAL_STATE_DISABLED\x10\x01\x12\x1a\n\x16\x41RCHIVAL_STATE_ENABLED\x10\x02*s\n\x10ReplicationState\x12!\n\x1dREPLICATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18REPLICATION_STATE_NORMAL\x10\x01\x12\x1e\n\x1aREPLICATION_STATE_HANDOVER\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_NAMESPACESTATE = DESCRIPTOR.enum_types_by_name['NamespaceState'] NamespaceState = enum_type_wrapper.EnumTypeWrapper(_NAMESPACESTATE) -_ARCHIVALSTATE = DESCRIPTOR.enum_types_by_name["ArchivalState"] +_ARCHIVALSTATE = DESCRIPTOR.enum_types_by_name['ArchivalState'] ArchivalState = enum_type_wrapper.EnumTypeWrapper(_ARCHIVALSTATE) -_REPLICATIONSTATE = DESCRIPTOR.enum_types_by_name["ReplicationState"] +_REPLICATIONSTATE = DESCRIPTOR.enum_types_by_name['ReplicationState'] ReplicationState = enum_type_wrapper.EnumTypeWrapper(_REPLICATIONSTATE) NAMESPACE_STATE_UNSPECIFIED = 0 NAMESPACE_STATE_REGISTERED = 1 @@ -38,12 +36,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\016NamespaceProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _NAMESPACESTATE._serialized_start = 65 - _NAMESPACESTATE._serialized_end = 207 - _ARCHIVALSTATE._serialized_start = 209 - _ARCHIVALSTATE._serialized_end = 313 - _REPLICATIONSTATE._serialized_start = 315 - _REPLICATIONSTATE._serialized_end = 430 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\016NamespaceProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _NAMESPACESTATE._serialized_start=65 + _NAMESPACESTATE._serialized_end=207 + _ARCHIVALSTATE._serialized_start=209 + _ARCHIVALSTATE._serialized_end=313 + _REPLICATIONSTATE._serialized_start=315 + _REPLICATIONSTATE._serialized_end=430 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/namespace_pb2.pyi b/temporalio/api/enums/v1/namespace_pb2.pyi index 5af042ed6..0df53d5a0 100644 --- a/temporalio/api/enums/v1/namespace_pb2.pyi +++ b/temporalio/api/enums/v1/namespace_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _NamespaceState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NamespaceStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _NamespaceState.ValueType - ], - builtins.type, -): # noqa: F821 +class _NamespaceStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NamespaceState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NAMESPACE_STATE_UNSPECIFIED: _NamespaceState.ValueType # 0 NAMESPACE_STATE_REGISTERED: _NamespaceState.ValueType # 1 @@ -45,12 +38,7 @@ class _ArchivalState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ArchivalStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ArchivalState.ValueType - ], - builtins.type, -): # noqa: F821 +class _ArchivalStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ArchivalState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ARCHIVAL_STATE_UNSPECIFIED: _ArchivalState.ValueType # 0 ARCHIVAL_STATE_DISABLED: _ArchivalState.ValueType # 1 @@ -67,20 +55,13 @@ class _ReplicationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ReplicationStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ReplicationState.ValueType - ], - builtins.type, -): # noqa: F821 +class _ReplicationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ReplicationState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor REPLICATION_STATE_UNSPECIFIED: _ReplicationState.ValueType # 0 REPLICATION_STATE_NORMAL: _ReplicationState.ValueType # 1 REPLICATION_STATE_HANDOVER: _ReplicationState.ValueType # 2 -class ReplicationState( - _ReplicationState, metaclass=_ReplicationStateEnumTypeWrapper -): ... +class ReplicationState(_ReplicationState, metaclass=_ReplicationStateEnumTypeWrapper): ... REPLICATION_STATE_UNSPECIFIED: ReplicationState.ValueType # 0 REPLICATION_STATE_NORMAL: ReplicationState.ValueType # 1 diff --git a/temporalio/api/enums/v1/nexus_pb2.py b/temporalio/api/enums/v1/nexus_pb2.py index 754b117eb..68b118770 100644 --- a/temporalio/api/enums/v1/nexus_pb2.py +++ b/temporalio/api/enums/v1/nexus_pb2.py @@ -2,37 +2,32 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/nexus.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n!temporal/api/enums/v1/nexus.proto\x12\x15temporal.api.enums.v1*\xbc\x01\n\x1eNexusHandlerErrorRetryBehavior\x12\x32\n.NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE\x10\x01\x12\x34\n0NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nNexusProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_NEXUSHANDLERERRORRETRYBEHAVIOR = DESCRIPTOR.enum_types_by_name[ - "NexusHandlerErrorRetryBehavior" -] -NexusHandlerErrorRetryBehavior = enum_type_wrapper.EnumTypeWrapper( - _NEXUSHANDLERERRORRETRYBEHAVIOR -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/nexus.proto\x12\x15temporal.api.enums.v1*\xbc\x01\n\x1eNexusHandlerErrorRetryBehavior\x12\x32\n.NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE\x10\x01\x12\x34\n0NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nNexusProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_NEXUSHANDLERERRORRETRYBEHAVIOR = DESCRIPTOR.enum_types_by_name['NexusHandlerErrorRetryBehavior'] +NexusHandlerErrorRetryBehavior = enum_type_wrapper.EnumTypeWrapper(_NEXUSHANDLERERRORRETRYBEHAVIOR) NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED = 0 NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE = 1 NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE = 2 if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nNexusProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_start = 61 - _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_end = 249 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nNexusProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_start=61 + _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_end=249 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/nexus_pb2.pyi b/temporalio/api/enums/v1/nexus_pb2.pyi index 8591aa6de..5a0545f3d 100644 --- a/temporalio/api/enums/v1/nexus_pb2.pyi +++ b/temporalio/api/enums/v1/nexus_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,43 +19,23 @@ class _NexusHandlerErrorRetryBehavior: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusHandlerErrorRetryBehaviorEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _NexusHandlerErrorRetryBehavior.ValueType - ], - builtins.type, -): # noqa: F821 +class _NexusHandlerErrorRetryBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusHandlerErrorRetryBehavior.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: ( - _NexusHandlerErrorRetryBehavior.ValueType - ) # 0 - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: ( - _NexusHandlerErrorRetryBehavior.ValueType - ) # 1 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: _NexusHandlerErrorRetryBehavior.ValueType # 0 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: _NexusHandlerErrorRetryBehavior.ValueType # 1 """A handler error is explicitly marked as retryable.""" - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: ( - _NexusHandlerErrorRetryBehavior.ValueType - ) # 2 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: _NexusHandlerErrorRetryBehavior.ValueType # 2 """A handler error is explicitly marked as non-retryable.""" -class NexusHandlerErrorRetryBehavior( - _NexusHandlerErrorRetryBehavior, - metaclass=_NexusHandlerErrorRetryBehaviorEnumTypeWrapper, -): +class NexusHandlerErrorRetryBehavior(_NexusHandlerErrorRetryBehavior, metaclass=_NexusHandlerErrorRetryBehaviorEnumTypeWrapper): """NexusHandlerErrorRetryBehavior allows nexus handlers to explicity set the retry behavior of a HandlerError. If not specified, retry behavior is determined from the error type. For example internal errors are not retryable by default unless specified otherwise. """ -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: ( - NexusHandlerErrorRetryBehavior.ValueType -) # 0 -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: ( - NexusHandlerErrorRetryBehavior.ValueType -) # 1 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: NexusHandlerErrorRetryBehavior.ValueType # 0 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: NexusHandlerErrorRetryBehavior.ValueType # 1 """A handler error is explicitly marked as retryable.""" -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: ( - NexusHandlerErrorRetryBehavior.ValueType -) # 2 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: NexusHandlerErrorRetryBehavior.ValueType # 2 """A handler error is explicitly marked as non-retryable.""" global___NexusHandlerErrorRetryBehavior = NexusHandlerErrorRetryBehavior diff --git a/temporalio/api/enums/v1/query_pb2.py b/temporalio/api/enums/v1/query_pb2.py index 945f9e003..cd514e8ba 100644 --- a/temporalio/api/enums/v1/query_pb2.py +++ b/temporalio/api/enums/v1/query_pb2.py @@ -2,26 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/query.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!temporal/api/enums/v1/query.proto\x12\x15temporal.api.enums.v1*r\n\x0fQueryResultType\x12!\n\x1dQUERY_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\xb6\x01\n\x14QueryRejectCondition\x12&\n"QUERY_REJECT_CONDITION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUERY_REJECT_CONDITION_NONE\x10\x01\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x02\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x03\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' -) -_QUERYRESULTTYPE = DESCRIPTOR.enum_types_by_name["QueryResultType"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/query.proto\x12\x15temporal.api.enums.v1*r\n\x0fQueryResultType\x12!\n\x1dQUERY_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\xb6\x01\n\x14QueryRejectCondition\x12&\n\"QUERY_REJECT_CONDITION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUERY_REJECT_CONDITION_NONE\x10\x01\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x02\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x03\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_QUERYRESULTTYPE = DESCRIPTOR.enum_types_by_name['QueryResultType'] QueryResultType = enum_type_wrapper.EnumTypeWrapper(_QUERYRESULTTYPE) -_QUERYREJECTCONDITION = DESCRIPTOR.enum_types_by_name["QueryRejectCondition"] +_QUERYREJECTCONDITION = DESCRIPTOR.enum_types_by_name['QueryRejectCondition'] QueryRejectCondition = enum_type_wrapper.EnumTypeWrapper(_QUERYREJECTCONDITION) QUERY_RESULT_TYPE_UNSPECIFIED = 0 QUERY_RESULT_TYPE_ANSWERED = 1 @@ -33,10 +31,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nQueryProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _QUERYRESULTTYPE._serialized_start = 60 - _QUERYRESULTTYPE._serialized_end = 174 - _QUERYREJECTCONDITION._serialized_start = 177 - _QUERYREJECTCONDITION._serialized_end = 359 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nQueryProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _QUERYRESULTTYPE._serialized_start=60 + _QUERYRESULTTYPE._serialized_end=174 + _QUERYREJECTCONDITION._serialized_start=177 + _QUERYREJECTCONDITION._serialized_end=359 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/query_pb2.pyi b/temporalio/api/enums/v1/query_pb2.pyi index e99e38f4c..8cc5f8dfc 100644 --- a/temporalio/api/enums/v1/query_pb2.pyi +++ b/temporalio/api/enums/v1/query_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _QueryResultType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _QueryResultTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _QueryResultType.ValueType - ], - builtins.type, -): # noqa: F821 +class _QueryResultTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_QueryResultType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor QUERY_RESULT_TYPE_UNSPECIFIED: _QueryResultType.ValueType # 0 QUERY_RESULT_TYPE_ANSWERED: _QueryResultType.ValueType # 1 @@ -43,12 +36,7 @@ class _QueryRejectCondition: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _QueryRejectConditionEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _QueryRejectCondition.ValueType - ], - builtins.type, -): # noqa: F821 +class _QueryRejectConditionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_QueryRejectCondition.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor QUERY_REJECT_CONDITION_UNSPECIFIED: _QueryRejectCondition.ValueType # 0 QUERY_REJECT_CONDITION_NONE: _QueryRejectCondition.ValueType # 1 @@ -58,9 +46,7 @@ class _QueryRejectConditionEnumTypeWrapper( QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: _QueryRejectCondition.ValueType # 3 """NotCompletedCleanly indicates that query should be rejected if workflow did not complete cleanly.""" -class QueryRejectCondition( - _QueryRejectCondition, metaclass=_QueryRejectConditionEnumTypeWrapper -): ... +class QueryRejectCondition(_QueryRejectCondition, metaclass=_QueryRejectConditionEnumTypeWrapper): ... QUERY_REJECT_CONDITION_UNSPECIFIED: QueryRejectCondition.ValueType # 0 QUERY_REJECT_CONDITION_NONE: QueryRejectCondition.ValueType # 1 diff --git a/temporalio/api/enums/v1/reset_pb2.py b/temporalio/api/enums/v1/reset_pb2.py index 00025a522..3393c8b5c 100644 --- a/temporalio/api/enums/v1/reset_pb2.py +++ b/temporalio/api/enums/v1/reset_pb2.py @@ -2,28 +2,26 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/reset.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!temporal/api/enums/v1/reset.proto\x12\x15temporal.api.enums.v1*\xec\x01\n\x17ResetReapplyExcludeType\x12*\n&RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED\x10\x00\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL\x10\x01\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_UPDATE\x10\x02\x12$\n RESET_REAPPLY_EXCLUDE_TYPE_NEXUS\x10\x03\x12\x31\n)RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST\x10\x04\x1a\x02\x08\x01*\x97\x01\n\x10ResetReapplyType\x12"\n\x1eRESET_REAPPLY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESET_REAPPLY_TYPE_SIGNAL\x10\x01\x12\x1b\n\x17RESET_REAPPLY_TYPE_NONE\x10\x02\x12#\n\x1fRESET_REAPPLY_TYPE_ALL_ELIGIBLE\x10\x03*n\n\tResetType\x12\x1a\n\x16RESET_TYPE_UNSPECIFIED\x10\x00\x12"\n\x1eRESET_TYPE_FIRST_WORKFLOW_TASK\x10\x01\x12!\n\x1dRESET_TYPE_LAST_WORKFLOW_TASK\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nResetProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' -) -_RESETREAPPLYEXCLUDETYPE = DESCRIPTOR.enum_types_by_name["ResetReapplyExcludeType"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/reset.proto\x12\x15temporal.api.enums.v1*\xec\x01\n\x17ResetReapplyExcludeType\x12*\n&RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED\x10\x00\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL\x10\x01\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_UPDATE\x10\x02\x12$\n RESET_REAPPLY_EXCLUDE_TYPE_NEXUS\x10\x03\x12\x31\n)RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST\x10\x04\x1a\x02\x08\x01*\x97\x01\n\x10ResetReapplyType\x12\"\n\x1eRESET_REAPPLY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESET_REAPPLY_TYPE_SIGNAL\x10\x01\x12\x1b\n\x17RESET_REAPPLY_TYPE_NONE\x10\x02\x12#\n\x1fRESET_REAPPLY_TYPE_ALL_ELIGIBLE\x10\x03*n\n\tResetType\x12\x1a\n\x16RESET_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1eRESET_TYPE_FIRST_WORKFLOW_TASK\x10\x01\x12!\n\x1dRESET_TYPE_LAST_WORKFLOW_TASK\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nResetProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_RESETREAPPLYEXCLUDETYPE = DESCRIPTOR.enum_types_by_name['ResetReapplyExcludeType'] ResetReapplyExcludeType = enum_type_wrapper.EnumTypeWrapper(_RESETREAPPLYEXCLUDETYPE) -_RESETREAPPLYTYPE = DESCRIPTOR.enum_types_by_name["ResetReapplyType"] +_RESETREAPPLYTYPE = DESCRIPTOR.enum_types_by_name['ResetReapplyType'] ResetReapplyType = enum_type_wrapper.EnumTypeWrapper(_RESETREAPPLYTYPE) -_RESETTYPE = DESCRIPTOR.enum_types_by_name["ResetType"] +_RESETTYPE = DESCRIPTOR.enum_types_by_name['ResetType'] ResetType = enum_type_wrapper.EnumTypeWrapper(_RESETTYPE) RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED = 0 RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL = 1 @@ -40,18 +38,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nResetProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _RESETREAPPLYEXCLUDETYPE.values_by_name[ - "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST" - ]._options = None - _RESETREAPPLYEXCLUDETYPE.values_by_name[ - "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST" - ]._serialized_options = b"\010\001" - _RESETREAPPLYEXCLUDETYPE._serialized_start = 61 - _RESETREAPPLYEXCLUDETYPE._serialized_end = 297 - _RESETREAPPLYTYPE._serialized_start = 300 - _RESETREAPPLYTYPE._serialized_end = 451 - _RESETTYPE._serialized_start = 453 - _RESETTYPE._serialized_end = 563 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nResetProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _RESETREAPPLYEXCLUDETYPE.values_by_name["RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"]._options = None + _RESETREAPPLYEXCLUDETYPE.values_by_name["RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"]._serialized_options = b'\010\001' + _RESETREAPPLYEXCLUDETYPE._serialized_start=61 + _RESETREAPPLYEXCLUDETYPE._serialized_end=297 + _RESETREAPPLYTYPE._serialized_start=300 + _RESETREAPPLYTYPE._serialized_end=451 + _RESETTYPE._serialized_start=453 + _RESETTYPE._serialized_end=563 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/reset_pb2.pyi b/temporalio/api/enums/v1/reset_pb2.pyi index ae31faddc..190df5dd6 100644 --- a/temporalio/api/enums/v1/reset_pb2.pyi +++ b/temporalio/api/enums/v1/reset_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _ResetReapplyExcludeType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetReapplyExcludeTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ResetReapplyExcludeType.ValueType - ], - builtins.type, -): # noqa: F821 +class _ResetReapplyExcludeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyExcludeType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: _ResetReapplyExcludeType.ValueType # 0 RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL: _ResetReapplyExcludeType.ValueType # 1 @@ -38,9 +31,7 @@ class _ResetReapplyExcludeTypeEnumTypeWrapper( RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST: _ResetReapplyExcludeType.ValueType # 4 """Deprecated, unimplemented option.""" -class ResetReapplyExcludeType( - _ResetReapplyExcludeType, metaclass=_ResetReapplyExcludeTypeEnumTypeWrapper -): +class ResetReapplyExcludeType(_ResetReapplyExcludeType, metaclass=_ResetReapplyExcludeTypeEnumTypeWrapper): """Event types to exclude when reapplying events beyond the reset point.""" RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: ResetReapplyExcludeType.ValueType # 0 @@ -58,12 +49,7 @@ class _ResetReapplyType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetReapplyTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ResetReapplyType.ValueType - ], - builtins.type, -): # noqa: F821 +class _ResetReapplyTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_REAPPLY_TYPE_UNSPECIFIED: _ResetReapplyType.ValueType # 0 RESET_REAPPLY_TYPE_SIGNAL: _ResetReapplyType.ValueType # 1 @@ -92,10 +78,7 @@ class _ResetType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetType.ValueType], - builtins.type, -): # noqa: F821 +class _ResetTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_TYPE_UNSPECIFIED: _ResetType.ValueType # 0 RESET_TYPE_FIRST_WORKFLOW_TASK: _ResetType.ValueType # 1 diff --git a/temporalio/api/enums/v1/schedule_pb2.py b/temporalio/api/enums/v1/schedule_pb2.py index 4d5d4697e..a11aebe8b 100644 --- a/temporalio/api/enums/v1/schedule_pb2.py +++ b/temporalio/api/enums/v1/schedule_pb2.py @@ -2,24 +2,22 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/schedule.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n$temporal/api/enums/v1/schedule.proto\x12\x15temporal.api.enums.v1*\xb0\x02\n\x15ScheduleOverlapPolicy\x12'\n#SCHEDULE_OVERLAP_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEDULE_OVERLAP_POLICY_SKIP\x10\x01\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ONE\x10\x02\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ALL\x10\x03\x12(\n$SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER\x10\x04\x12+\n'SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER\x10\x05\x12%\n!SCHEDULE_OVERLAP_POLICY_ALLOW_ALL\x10\x06\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rScheduleProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_SCHEDULEOVERLAPPOLICY = DESCRIPTOR.enum_types_by_name["ScheduleOverlapPolicy"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/enums/v1/schedule.proto\x12\x15temporal.api.enums.v1*\xb0\x02\n\x15ScheduleOverlapPolicy\x12\'\n#SCHEDULE_OVERLAP_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEDULE_OVERLAP_POLICY_SKIP\x10\x01\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ONE\x10\x02\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ALL\x10\x03\x12(\n$SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER\x10\x04\x12+\n\'SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER\x10\x05\x12%\n!SCHEDULE_OVERLAP_POLICY_ALLOW_ALL\x10\x06\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rScheduleProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_SCHEDULEOVERLAPPOLICY = DESCRIPTOR.enum_types_by_name['ScheduleOverlapPolicy'] ScheduleOverlapPolicy = enum_type_wrapper.EnumTypeWrapper(_SCHEDULEOVERLAPPOLICY) SCHEDULE_OVERLAP_POLICY_UNSPECIFIED = 0 SCHEDULE_OVERLAP_POLICY_SKIP = 1 @@ -31,8 +29,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rScheduleProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _SCHEDULEOVERLAPPOLICY._serialized_start = 64 - _SCHEDULEOVERLAPPOLICY._serialized_end = 368 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\rScheduleProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _SCHEDULEOVERLAPPOLICY._serialized_start=64 + _SCHEDULEOVERLAPPOLICY._serialized_end=368 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/schedule_pb2.pyi b/temporalio/api/enums/v1/schedule_pb2.pyi index 2bae9551a..fc9a3744a 100644 --- a/temporalio/api/enums/v1/schedule_pb2.pyi +++ b/temporalio/api/enums/v1/schedule_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _ScheduleOverlapPolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ScheduleOverlapPolicyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ScheduleOverlapPolicy.ValueType - ], - builtins.type, -): # noqa: F821 +class _ScheduleOverlapPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ScheduleOverlapPolicy.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SCHEDULE_OVERLAP_POLICY_UNSPECIFIED: _ScheduleOverlapPolicy.ValueType # 0 SCHEDULE_OVERLAP_POLICY_SKIP: _ScheduleOverlapPolicy.ValueType # 1 @@ -57,9 +50,7 @@ class _ScheduleOverlapPolicyEnumTypeWrapper( available since workflows are not sequential. """ -class ScheduleOverlapPolicy( - _ScheduleOverlapPolicy, metaclass=_ScheduleOverlapPolicyEnumTypeWrapper -): +class ScheduleOverlapPolicy(_ScheduleOverlapPolicy, metaclass=_ScheduleOverlapPolicyEnumTypeWrapper): """ScheduleOverlapPolicy controls what happens when a workflow would be started by a schedule, and is already running. """ diff --git a/temporalio/api/enums/v1/task_queue_pb2.py b/temporalio/api/enums/v1/task_queue_pb2.py index 7edeb4a5a..008a0e4d3 100644 --- a/temporalio/api/enums/v1/task_queue_pb2.py +++ b/temporalio/api/enums/v1/task_queue_pb2.py @@ -2,34 +2,32 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/task_queue.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*\x87\x01\n\rTaskQueueType\x12\x1f\n\x1bTASK_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18TASK_QUEUE_TYPE_WORKFLOW\x10\x01\x12\x1c\n\x18TASK_QUEUE_TYPE_ACTIVITY\x10\x02\x12\x19\n\x15TASK_QUEUE_TYPE_NEXUS\x10\x03*\xd2\x01\n\x10TaskReachability\x12!\n\x1dTASK_REACHABILITY_UNSPECIFIED\x10\x00\x12#\n\x1fTASK_REACHABILITY_NEW_WORKFLOWS\x10\x01\x12(\n$TASK_REACHABILITY_EXISTING_WORKFLOWS\x10\x02\x12$\n TASK_REACHABILITY_OPEN_WORKFLOWS\x10\x03\x12&\n"TASK_REACHABILITY_CLOSED_WORKFLOWS\x10\x04*\xd1\x01\n\x17\x42uildIdTaskReachability\x12*\n&BUILD_ID_TASK_REACHABILITY_UNSPECIFIED\x10\x00\x12(\n$BUILD_ID_TASK_REACHABILITY_REACHABLE\x10\x01\x12\x34\n0BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12*\n&BUILD_ID_TASK_REACHABILITY_UNREACHABLE\x10\x03*h\n\x15\x44\x65scribeTaskQueueMode\x12(\n$DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED\x10\x00\x12%\n!DESCRIBE_TASK_QUEUE_MODE_ENHANCED\x10\x01*\x8b\x01\n\x0fRateLimitSource\x12!\n\x1dRATE_LIMIT_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15RATE_LIMIT_SOURCE_API\x10\x01\x12\x1c\n\x18RATE_LIMIT_SOURCE_WORKER\x10\x02\x12\x1c\n\x18RATE_LIMIT_SOURCE_SYSTEM\x10\x03\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' -) -_TASKQUEUEKIND = DESCRIPTOR.enum_types_by_name["TaskQueueKind"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*\x87\x01\n\rTaskQueueType\x12\x1f\n\x1bTASK_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18TASK_QUEUE_TYPE_WORKFLOW\x10\x01\x12\x1c\n\x18TASK_QUEUE_TYPE_ACTIVITY\x10\x02\x12\x19\n\x15TASK_QUEUE_TYPE_NEXUS\x10\x03*\xd2\x01\n\x10TaskReachability\x12!\n\x1dTASK_REACHABILITY_UNSPECIFIED\x10\x00\x12#\n\x1fTASK_REACHABILITY_NEW_WORKFLOWS\x10\x01\x12(\n$TASK_REACHABILITY_EXISTING_WORKFLOWS\x10\x02\x12$\n TASK_REACHABILITY_OPEN_WORKFLOWS\x10\x03\x12&\n\"TASK_REACHABILITY_CLOSED_WORKFLOWS\x10\x04*\xd1\x01\n\x17\x42uildIdTaskReachability\x12*\n&BUILD_ID_TASK_REACHABILITY_UNSPECIFIED\x10\x00\x12(\n$BUILD_ID_TASK_REACHABILITY_REACHABLE\x10\x01\x12\x34\n0BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12*\n&BUILD_ID_TASK_REACHABILITY_UNREACHABLE\x10\x03*h\n\x15\x44\x65scribeTaskQueueMode\x12(\n$DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED\x10\x00\x12%\n!DESCRIBE_TASK_QUEUE_MODE_ENHANCED\x10\x01*\x8b\x01\n\x0fRateLimitSource\x12!\n\x1dRATE_LIMIT_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15RATE_LIMIT_SOURCE_API\x10\x01\x12\x1c\n\x18RATE_LIMIT_SOURCE_WORKER\x10\x02\x12\x1c\n\x18RATE_LIMIT_SOURCE_SYSTEM\x10\x03\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_TASKQUEUEKIND = DESCRIPTOR.enum_types_by_name['TaskQueueKind'] TaskQueueKind = enum_type_wrapper.EnumTypeWrapper(_TASKQUEUEKIND) -_TASKQUEUETYPE = DESCRIPTOR.enum_types_by_name["TaskQueueType"] +_TASKQUEUETYPE = DESCRIPTOR.enum_types_by_name['TaskQueueType'] TaskQueueType = enum_type_wrapper.EnumTypeWrapper(_TASKQUEUETYPE) -_TASKREACHABILITY = DESCRIPTOR.enum_types_by_name["TaskReachability"] +_TASKREACHABILITY = DESCRIPTOR.enum_types_by_name['TaskReachability'] TaskReachability = enum_type_wrapper.EnumTypeWrapper(_TASKREACHABILITY) -_BUILDIDTASKREACHABILITY = DESCRIPTOR.enum_types_by_name["BuildIdTaskReachability"] +_BUILDIDTASKREACHABILITY = DESCRIPTOR.enum_types_by_name['BuildIdTaskReachability'] BuildIdTaskReachability = enum_type_wrapper.EnumTypeWrapper(_BUILDIDTASKREACHABILITY) -_DESCRIBETASKQUEUEMODE = DESCRIPTOR.enum_types_by_name["DescribeTaskQueueMode"] +_DESCRIBETASKQUEUEMODE = DESCRIPTOR.enum_types_by_name['DescribeTaskQueueMode'] DescribeTaskQueueMode = enum_type_wrapper.EnumTypeWrapper(_DESCRIBETASKQUEUEMODE) -_RATELIMITSOURCE = DESCRIPTOR.enum_types_by_name["RateLimitSource"] +_RATELIMITSOURCE = DESCRIPTOR.enum_types_by_name['RateLimitSource'] RateLimitSource = enum_type_wrapper.EnumTypeWrapper(_RATELIMITSOURCE) TASK_QUEUE_KIND_UNSPECIFIED = 0 TASK_QUEUE_KIND_NORMAL = 1 @@ -56,18 +54,19 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\016TaskQueueProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _TASKQUEUEKIND._serialized_start = 65 - _TASKQUEUEKIND._serialized_end = 169 - _TASKQUEUETYPE._serialized_start = 172 - _TASKQUEUETYPE._serialized_end = 307 - _TASKREACHABILITY._serialized_start = 310 - _TASKREACHABILITY._serialized_end = 520 - _BUILDIDTASKREACHABILITY._serialized_start = 523 - _BUILDIDTASKREACHABILITY._serialized_end = 732 - _DESCRIBETASKQUEUEMODE._serialized_start = 734 - _DESCRIBETASKQUEUEMODE._serialized_end = 838 - _RATELIMITSOURCE._serialized_start = 841 - _RATELIMITSOURCE._serialized_end = 980 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\016TaskQueueProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _TASKQUEUEKIND._serialized_start=65 + _TASKQUEUEKIND._serialized_end=169 + _TASKQUEUETYPE._serialized_start=172 + _TASKQUEUETYPE._serialized_end=307 + _TASKREACHABILITY._serialized_start=310 + _TASKREACHABILITY._serialized_end=520 + _BUILDIDTASKREACHABILITY._serialized_start=523 + _BUILDIDTASKREACHABILITY._serialized_end=732 + _DESCRIBETASKQUEUEMODE._serialized_start=734 + _DESCRIBETASKQUEUEMODE._serialized_end=838 + _RATELIMITSOURCE._serialized_start=841 + _RATELIMITSOURCE._serialized_end=980 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/task_queue_pb2.pyi b/temporalio/api/enums/v1/task_queue_pb2.pyi index 3f7cc5460..369df4077 100644 --- a/temporalio/api/enums/v1/task_queue_pb2.pyi +++ b/temporalio/api/enums/v1/task_queue_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,12 +19,7 @@ class _TaskQueueKind: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskQueueKindEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _TaskQueueKind.ValueType - ], - builtins.type, -): # noqa: F821 +class _TaskQueueKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskQueueKind.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_QUEUE_KIND_UNSPECIFIED: _TaskQueueKind.ValueType # 0 TASK_QUEUE_KIND_NORMAL: _TaskQueueKind.ValueType # 1 @@ -73,12 +66,7 @@ class _TaskQueueType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskQueueTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _TaskQueueType.ValueType - ], - builtins.type, -): # noqa: F821 +class _TaskQueueTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskQueueType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_QUEUE_TYPE_UNSPECIFIED: _TaskQueueType.ValueType # 0 TASK_QUEUE_TYPE_WORKFLOW: _TaskQueueType.ValueType # 1 @@ -103,12 +91,7 @@ class _TaskReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskReachabilityEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _TaskReachability.ValueType - ], - builtins.type, -): # noqa: F821 +class _TaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskReachability.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_REACHABILITY_UNSPECIFIED: _TaskReachability.ValueType # 0 TASK_REACHABILITY_NEW_WORKFLOWS: _TaskReachability.ValueType # 1 @@ -155,12 +138,7 @@ class _BuildIdTaskReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BuildIdTaskReachabilityEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _BuildIdTaskReachability.ValueType - ], - builtins.type, -): # noqa: F821 +class _BuildIdTaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BuildIdTaskReachability.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BUILD_ID_TASK_REACHABILITY_UNSPECIFIED: _BuildIdTaskReachability.ValueType # 0 """Task reachability is not reported""" @@ -168,9 +146,7 @@ class _BuildIdTaskReachabilityEnumTypeWrapper( """Build ID may be used by new workflows or activities (base on versioning rules), or there MAY be open workflows or backlogged activities assigned to it. """ - BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY: ( - _BuildIdTaskReachability.ValueType - ) # 2 + BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY: _BuildIdTaskReachability.ValueType # 2 """Build ID does not have open workflows and is not reachable by new workflows, but MAY have closed workflows within the namespace retention period. Not applicable to activity-only task queues. @@ -180,9 +156,7 @@ class _BuildIdTaskReachabilityEnumTypeWrapper( within the retention period. """ -class BuildIdTaskReachability( - _BuildIdTaskReachability, metaclass=_BuildIdTaskReachabilityEnumTypeWrapper -): +class BuildIdTaskReachability(_BuildIdTaskReachability, metaclass=_BuildIdTaskReachabilityEnumTypeWrapper): """Specifies which category of tasks may reach a versioned worker of a certain Build ID. Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it @@ -217,21 +191,14 @@ class _DescribeTaskQueueMode: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _DescribeTaskQueueModeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _DescribeTaskQueueMode.ValueType - ], - builtins.type, -): # noqa: F821 +class _DescribeTaskQueueModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DescribeTaskQueueMode.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: _DescribeTaskQueueMode.ValueType # 0 """Unspecified means legacy behavior.""" DESCRIBE_TASK_QUEUE_MODE_ENHANCED: _DescribeTaskQueueMode.ValueType # 1 """Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.""" -class DescribeTaskQueueMode( - _DescribeTaskQueueMode, metaclass=_DescribeTaskQueueModeEnumTypeWrapper -): ... +class DescribeTaskQueueMode(_DescribeTaskQueueMode, metaclass=_DescribeTaskQueueModeEnumTypeWrapper): ... DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: DescribeTaskQueueMode.ValueType # 0 """Unspecified means legacy behavior.""" @@ -243,12 +210,7 @@ class _RateLimitSource: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RateLimitSourceEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _RateLimitSource.ValueType - ], - builtins.type, -): # noqa: F821 +class _RateLimitSourceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RateLimitSource.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RATE_LIMIT_SOURCE_UNSPECIFIED: _RateLimitSource.ValueType # 0 RATE_LIMIT_SOURCE_API: _RateLimitSource.ValueType # 1 diff --git a/temporalio/api/enums/v1/update_pb2.py b/temporalio/api/enums/v1/update_pb2.py index fb9215552..0df3accea 100644 --- a/temporalio/api/enums/v1/update_pb2.py +++ b/temporalio/api/enums/v1/update_pb2.py @@ -2,33 +2,25 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/update.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"temporal/api/enums/v1/update.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n%UpdateWorkflowExecutionLifecycleStage\x12\x39\n5UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED\x10\x00\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED\x10\x01\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED\x10\x02\x12\x37\n3UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED\x10\x03*s\n\x19UpdateAdmittedEventOrigin\x12,\n(UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED\x10\x00\x12(\n$UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY\x10\x01\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0bUpdateProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' -) - -_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE = DESCRIPTOR.enum_types_by_name[ - "UpdateWorkflowExecutionLifecycleStage" -] -UpdateWorkflowExecutionLifecycleStage = enum_type_wrapper.EnumTypeWrapper( - _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE -) -_UPDATEADMITTEDEVENTORIGIN = DESCRIPTOR.enum_types_by_name["UpdateAdmittedEventOrigin"] -UpdateAdmittedEventOrigin = enum_type_wrapper.EnumTypeWrapper( - _UPDATEADMITTEDEVENTORIGIN -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"temporal/api/enums/v1/update.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n%UpdateWorkflowExecutionLifecycleStage\x12\x39\n5UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED\x10\x00\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED\x10\x01\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED\x10\x02\x12\x37\n3UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED\x10\x03*s\n\x19UpdateAdmittedEventOrigin\x12,\n(UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED\x10\x00\x12(\n$UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY\x10\x01\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0bUpdateProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE = DESCRIPTOR.enum_types_by_name['UpdateWorkflowExecutionLifecycleStage'] +UpdateWorkflowExecutionLifecycleStage = enum_type_wrapper.EnumTypeWrapper(_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE) +_UPDATEADMITTEDEVENTORIGIN = DESCRIPTOR.enum_types_by_name['UpdateAdmittedEventOrigin'] +UpdateAdmittedEventOrigin = enum_type_wrapper.EnumTypeWrapper(_UPDATEADMITTEDEVENTORIGIN) UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0 UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1 UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2 @@ -38,10 +30,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013UpdateProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_start = 62 - _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_end = 329 - _UPDATEADMITTEDEVENTORIGIN._serialized_start = 331 - _UPDATEADMITTEDEVENTORIGIN._serialized_end = 446 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\013UpdateProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_start=62 + _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_end=329 + _UPDATEADMITTEDEVENTORIGIN._serialized_start=331 + _UPDATEADMITTEDEVENTORIGIN._serialized_end=446 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/update_pb2.pyi b/temporalio/api/enums/v1/update_pb2.pyi index b6d694bd2..9bc53968e 100644 --- a/temporalio/api/enums/v1/update_pb2.pyi +++ b/temporalio/api/enums/v1/update_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,41 +19,25 @@ class _UpdateWorkflowExecutionLifecycleStage: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _UpdateWorkflowExecutionLifecycleStage.ValueType - ], - builtins.type, -): # noqa: F821 +class _UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_UpdateWorkflowExecutionLifecycleStage.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: ( - _UpdateWorkflowExecutionLifecycleStage.ValueType - ) # 0 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 0 """An unspecified value for this enum.""" - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: ( - _UpdateWorkflowExecutionLifecycleStage.ValueType - ) # 1 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 1 """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. This value does not wait for any sort of acknowledgement from a worker. """ - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: ( - _UpdateWorkflowExecutionLifecycleStage.ValueType - ) # 2 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 2 """The API call will not return until the Update has passed validation on a worker.""" - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: ( - _UpdateWorkflowExecutionLifecycleStage.ValueType - ) # 3 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 3 """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. """ -class UpdateWorkflowExecutionLifecycleStage( - _UpdateWorkflowExecutionLifecycleStage, - metaclass=_UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper, -): +class UpdateWorkflowExecutionLifecycleStage(_UpdateWorkflowExecutionLifecycleStage, metaclass=_UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper): """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 @@ -67,26 +49,18 @@ class UpdateWorkflowExecutionLifecycleStage( actual stage reached. """ -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: ( - UpdateWorkflowExecutionLifecycleStage.ValueType -) # 0 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: UpdateWorkflowExecutionLifecycleStage.ValueType # 0 """An unspecified value for this enum.""" -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: ( - UpdateWorkflowExecutionLifecycleStage.ValueType -) # 1 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: UpdateWorkflowExecutionLifecycleStage.ValueType # 1 """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. This value does not wait for any sort of acknowledgement from a worker. """ -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: ( - UpdateWorkflowExecutionLifecycleStage.ValueType -) # 2 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: UpdateWorkflowExecutionLifecycleStage.ValueType # 2 """The API call will not return until the Update has passed validation on a worker.""" -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: ( - UpdateWorkflowExecutionLifecycleStage.ValueType -) # 3 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: UpdateWorkflowExecutionLifecycleStage.ValueType # 3 """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. """ @@ -96,12 +70,7 @@ class _UpdateAdmittedEventOrigin: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _UpdateAdmittedEventOriginEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _UpdateAdmittedEventOrigin.ValueType - ], - builtins.type, -): # noqa: F821 +class _UpdateAdmittedEventOriginEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_UpdateAdmittedEventOrigin.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED: _UpdateAdmittedEventOrigin.ValueType # 0 UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY: _UpdateAdmittedEventOrigin.ValueType # 1 @@ -110,9 +79,7 @@ class _UpdateAdmittedEventOriginEnumTypeWrapper( was converted into an admitted Update on a different branch. """ -class UpdateAdmittedEventOrigin( - _UpdateAdmittedEventOrigin, metaclass=_UpdateAdmittedEventOriginEnumTypeWrapper -): +class UpdateAdmittedEventOrigin(_UpdateAdmittedEventOrigin, metaclass=_UpdateAdmittedEventOriginEnumTypeWrapper): """Records why a WorkflowExecutionUpdateAdmittedEvent was written to history. Note that not all admitted Updates result in this event. """ diff --git a/temporalio/api/enums/v1/workflow_pb2.py b/temporalio/api/enums/v1/workflow_pb2.py index 03600d345..76fc5334a 100644 --- a/temporalio/api/enums/v1/workflow_pb2.py +++ b/temporalio/api/enums/v1/workflow_pb2.py @@ -2,44 +2,42 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/workflow.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n$temporal/api/enums/v1/workflow.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n\x15WorkflowIdReusePolicy\x12(\n$WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03\x12\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*\xcf\x01\n\x18WorkflowIdConflictPolicy\x12+\n'WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x12\x32\n.WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING\x10\x03*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xbd\x01\n\x16\x43ontinueAsNewInitiator\x12)\n%CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED\x10\x00\x12&\n\"CONTINUE_AS_NEW_INITIATOR_WORKFLOW\x10\x01\x12#\n\x1f\x43ONTINUE_AS_NEW_INITIATOR_RETRY\x10\x02\x12+\n'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\x84\x02\n\x14PendingActivityState\x12&\n\"PENDING_ACTIVITY_STATE_UNSPECIFIED\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03\x12!\n\x1dPENDING_ACTIVITY_STATE_PAUSED\x10\x04\x12*\n&PENDING_ACTIVITY_STATE_PAUSE_REQUESTED\x10\x05*\x9b\x01\n\x18PendingWorkflowTaskState\x12+\n'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED\x10\x00\x12)\n%PENDING_WORKFLOW_TASK_STATE_SCHEDULED\x10\x01\x12'\n#PENDING_WORKFLOW_TASK_STATE_STARTED\x10\x02*\x97\x01\n\x16HistoryEventFilterType\x12)\n%HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED\x10\x00\x12'\n#HISTORY_EVENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12)\n%HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT\x10\x02*\x9f\x02\n\nRetryState\x12\x1b\n\x17RETRY_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETRY_STATE_IN_PROGRESS\x10\x01\x12%\n!RETRY_STATE_NON_RETRYABLE_FAILURE\x10\x02\x12\x17\n\x13RETRY_STATE_TIMEOUT\x10\x03\x12(\n$RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED\x10\x04\x12$\n RETRY_STATE_RETRY_POLICY_NOT_SET\x10\x05\x12%\n!RETRY_STATE_INTERNAL_SERVER_ERROR\x10\x06\x12 \n\x1cRETRY_STATE_CANCEL_REQUESTED\x10\x07*\xb0\x01\n\x0bTimeoutType\x12\x1c\n\x18TIMEOUT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04*\x7f\n\x12VersioningBehavior\x12#\n\x1fVERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVERSIONING_BEHAVIOR_PINNED\x10\x01\x12$\n VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" -) -_WORKFLOWIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name["WorkflowIdReusePolicy"] + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/enums/v1/workflow.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n\x15WorkflowIdReusePolicy\x12(\n$WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03\x12\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*\xcf\x01\n\x18WorkflowIdConflictPolicy\x12+\n\'WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x12\x32\n.WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING\x10\x03*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xbd\x01\n\x16\x43ontinueAsNewInitiator\x12)\n%CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED\x10\x00\x12&\n\"CONTINUE_AS_NEW_INITIATOR_WORKFLOW\x10\x01\x12#\n\x1f\x43ONTINUE_AS_NEW_INITIATOR_RETRY\x10\x02\x12+\n\'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12\'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\x84\x02\n\x14PendingActivityState\x12&\n\"PENDING_ACTIVITY_STATE_UNSPECIFIED\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n\'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03\x12!\n\x1dPENDING_ACTIVITY_STATE_PAUSED\x10\x04\x12*\n&PENDING_ACTIVITY_STATE_PAUSE_REQUESTED\x10\x05*\x9b\x01\n\x18PendingWorkflowTaskState\x12+\n\'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED\x10\x00\x12)\n%PENDING_WORKFLOW_TASK_STATE_SCHEDULED\x10\x01\x12\'\n#PENDING_WORKFLOW_TASK_STATE_STARTED\x10\x02*\x97\x01\n\x16HistoryEventFilterType\x12)\n%HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\'\n#HISTORY_EVENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12)\n%HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT\x10\x02*\x9f\x02\n\nRetryState\x12\x1b\n\x17RETRY_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETRY_STATE_IN_PROGRESS\x10\x01\x12%\n!RETRY_STATE_NON_RETRYABLE_FAILURE\x10\x02\x12\x17\n\x13RETRY_STATE_TIMEOUT\x10\x03\x12(\n$RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED\x10\x04\x12$\n RETRY_STATE_RETRY_POLICY_NOT_SET\x10\x05\x12%\n!RETRY_STATE_INTERNAL_SERVER_ERROR\x10\x06\x12 \n\x1cRETRY_STATE_CANCEL_REQUESTED\x10\x07*\xb0\x01\n\x0bTimeoutType\x12\x1c\n\x18TIMEOUT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04*\x7f\n\x12VersioningBehavior\x12#\n\x1fVERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVERSIONING_BEHAVIOR_PINNED\x10\x01\x12$\n VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') + +_WORKFLOWIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name['WorkflowIdReusePolicy'] WorkflowIdReusePolicy = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWIDREUSEPOLICY) -_WORKFLOWIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name["WorkflowIdConflictPolicy"] +_WORKFLOWIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name['WorkflowIdConflictPolicy'] WorkflowIdConflictPolicy = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWIDCONFLICTPOLICY) -_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] +_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name['ParentClosePolicy'] ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) -_CONTINUEASNEWINITIATOR = DESCRIPTOR.enum_types_by_name["ContinueAsNewInitiator"] +_CONTINUEASNEWINITIATOR = DESCRIPTOR.enum_types_by_name['ContinueAsNewInitiator'] ContinueAsNewInitiator = enum_type_wrapper.EnumTypeWrapper(_CONTINUEASNEWINITIATOR) -_WORKFLOWEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name["WorkflowExecutionStatus"] +_WORKFLOWEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name['WorkflowExecutionStatus'] WorkflowExecutionStatus = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWEXECUTIONSTATUS) -_PENDINGACTIVITYSTATE = DESCRIPTOR.enum_types_by_name["PendingActivityState"] +_PENDINGACTIVITYSTATE = DESCRIPTOR.enum_types_by_name['PendingActivityState'] PendingActivityState = enum_type_wrapper.EnumTypeWrapper(_PENDINGACTIVITYSTATE) -_PENDINGWORKFLOWTASKSTATE = DESCRIPTOR.enum_types_by_name["PendingWorkflowTaskState"] +_PENDINGWORKFLOWTASKSTATE = DESCRIPTOR.enum_types_by_name['PendingWorkflowTaskState'] PendingWorkflowTaskState = enum_type_wrapper.EnumTypeWrapper(_PENDINGWORKFLOWTASKSTATE) -_HISTORYEVENTFILTERTYPE = DESCRIPTOR.enum_types_by_name["HistoryEventFilterType"] +_HISTORYEVENTFILTERTYPE = DESCRIPTOR.enum_types_by_name['HistoryEventFilterType'] HistoryEventFilterType = enum_type_wrapper.EnumTypeWrapper(_HISTORYEVENTFILTERTYPE) -_RETRYSTATE = DESCRIPTOR.enum_types_by_name["RetryState"] +_RETRYSTATE = DESCRIPTOR.enum_types_by_name['RetryState'] RetryState = enum_type_wrapper.EnumTypeWrapper(_RETRYSTATE) -_TIMEOUTTYPE = DESCRIPTOR.enum_types_by_name["TimeoutType"] +_TIMEOUTTYPE = DESCRIPTOR.enum_types_by_name['TimeoutType'] TimeoutType = enum_type_wrapper.EnumTypeWrapper(_TIMEOUTTYPE) -_VERSIONINGBEHAVIOR = DESCRIPTOR.enum_types_by_name["VersioningBehavior"] +_VERSIONINGBEHAVIOR = DESCRIPTOR.enum_types_by_name['VersioningBehavior'] VersioningBehavior = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGBEHAVIOR) WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1 @@ -97,28 +95,29 @@ if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rWorkflowProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _WORKFLOWIDREUSEPOLICY._serialized_start = 64 - _WORKFLOWIDREUSEPOLICY._serialized_end = 331 - _WORKFLOWIDCONFLICTPOLICY._serialized_start = 334 - _WORKFLOWIDCONFLICTPOLICY._serialized_end = 541 - _PARENTCLOSEPOLICY._serialized_start = 544 - _PARENTCLOSEPOLICY._serialized_end = 708 - _CONTINUEASNEWINITIATOR._serialized_start = 711 - _CONTINUEASNEWINITIATOR._serialized_end = 900 - _WORKFLOWEXECUTIONSTATUS._serialized_start = 903 - _WORKFLOWEXECUTIONSTATUS._serialized_end = 1260 - _PENDINGACTIVITYSTATE._serialized_start = 1263 - _PENDINGACTIVITYSTATE._serialized_end = 1523 - _PENDINGWORKFLOWTASKSTATE._serialized_start = 1526 - _PENDINGWORKFLOWTASKSTATE._serialized_end = 1681 - _HISTORYEVENTFILTERTYPE._serialized_start = 1684 - _HISTORYEVENTFILTERTYPE._serialized_end = 1835 - _RETRYSTATE._serialized_start = 1838 - _RETRYSTATE._serialized_end = 2125 - _TIMEOUTTYPE._serialized_start = 2128 - _TIMEOUTTYPE._serialized_end = 2304 - _VERSIONINGBEHAVIOR._serialized_start = 2306 - _VERSIONINGBEHAVIOR._serialized_end = 2433 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\rWorkflowProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' + _WORKFLOWIDREUSEPOLICY._serialized_start=64 + _WORKFLOWIDREUSEPOLICY._serialized_end=331 + _WORKFLOWIDCONFLICTPOLICY._serialized_start=334 + _WORKFLOWIDCONFLICTPOLICY._serialized_end=541 + _PARENTCLOSEPOLICY._serialized_start=544 + _PARENTCLOSEPOLICY._serialized_end=708 + _CONTINUEASNEWINITIATOR._serialized_start=711 + _CONTINUEASNEWINITIATOR._serialized_end=900 + _WORKFLOWEXECUTIONSTATUS._serialized_start=903 + _WORKFLOWEXECUTIONSTATUS._serialized_end=1260 + _PENDINGACTIVITYSTATE._serialized_start=1263 + _PENDINGACTIVITYSTATE._serialized_end=1523 + _PENDINGWORKFLOWTASKSTATE._serialized_start=1526 + _PENDINGWORKFLOWTASKSTATE._serialized_end=1681 + _HISTORYEVENTFILTERTYPE._serialized_start=1684 + _HISTORYEVENTFILTERTYPE._serialized_end=1835 + _RETRYSTATE._serialized_start=1838 + _RETRYSTATE._serialized_end=2125 + _TIMEOUTTYPE._serialized_start=2128 + _TIMEOUTTYPE._serialized_end=2304 + _VERSIONINGBEHAVIOR._serialized_start=2306 + _VERSIONINGBEHAVIOR._serialized_end=2433 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/workflow_pb2.pyi b/temporalio/api/enums/v1/workflow_pb2.pyi index 516bdce56..22ff7e633 100644 --- a/temporalio/api/enums/v1/workflow_pb2.pyi +++ b/temporalio/api/enums/v1/workflow_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -21,19 +19,12 @@ class _WorkflowIdReusePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowIdReusePolicyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkflowIdReusePolicy.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkflowIdReusePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowIdReusePolicy.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: _WorkflowIdReusePolicy.ValueType # 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: _WorkflowIdReusePolicy.ValueType # 1 """Allow starting a workflow execution using the same workflow id.""" - WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: ( - _WorkflowIdReusePolicy.ValueType - ) # 2 + WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: _WorkflowIdReusePolicy.ValueType # 2 """Allow starting a workflow execution using the same workflow id, only when the last execution's final state is one of [terminated, cancelled, timed out, failed]. """ @@ -48,9 +39,7 @@ class _WorkflowIdReusePolicyEnumTypeWrapper( If no running workflow, then the behavior is the same as ALLOW_DUPLICATE. """ -class WorkflowIdReusePolicy( - _WorkflowIdReusePolicy, metaclass=_WorkflowIdReusePolicyEnumTypeWrapper -): +class WorkflowIdReusePolicy(_WorkflowIdReusePolicy, metaclass=_WorkflowIdReusePolicyEnumTypeWrapper): """Defines whether to allow re-using a workflow id from a previously *closed* workflow. If the request is denied, the server returns a `WorkflowExecutionAlreadyStartedFailure` error. @@ -60,9 +49,7 @@ class WorkflowIdReusePolicy( WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: WorkflowIdReusePolicy.ValueType # 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: WorkflowIdReusePolicy.ValueType # 1 """Allow starting a workflow execution using the same workflow id.""" -WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: ( - WorkflowIdReusePolicy.ValueType -) # 2 +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: WorkflowIdReusePolicy.ValueType # 2 """Allow starting a workflow execution using the same workflow id, only when the last execution's final state is one of [terminated, cancelled, timed out, failed]. """ @@ -82,26 +69,17 @@ class _WorkflowIdConflictPolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowIdConflictPolicyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkflowIdConflictPolicy.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkflowIdConflictPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowIdConflictPolicy.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED: _WorkflowIdConflictPolicy.ValueType # 0 WORKFLOW_ID_CONFLICT_POLICY_FAIL: _WorkflowIdConflictPolicy.ValueType # 1 """Don't start a new workflow; instead return `WorkflowExecutionAlreadyStartedFailure`.""" WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING: _WorkflowIdConflictPolicy.ValueType # 2 """Don't start a new workflow; instead return a workflow handle for the running workflow.""" - WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING: ( - _WorkflowIdConflictPolicy.ValueType - ) # 3 + WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING: _WorkflowIdConflictPolicy.ValueType # 3 """Terminate the running workflow before starting a new one.""" -class WorkflowIdConflictPolicy( - _WorkflowIdConflictPolicy, metaclass=_WorkflowIdConflictPolicyEnumTypeWrapper -): +class WorkflowIdConflictPolicy(_WorkflowIdConflictPolicy, metaclass=_WorkflowIdConflictPolicyEnumTypeWrapper): """Defines what to do when trying to start a workflow with the same workflow id as a *running* workflow. Note that it is *never* valid to have two actively running instances of the same workflow id. @@ -121,12 +99,7 @@ class _ParentClosePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ParentClosePolicyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ParentClosePolicy.ValueType - ], - builtins.type, -): # noqa: F821 +class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ParentClosePolicy.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 PARENT_CLOSE_POLICY_TERMINATE: _ParentClosePolicy.ValueType # 1 @@ -136,9 +109,7 @@ class _ParentClosePolicyEnumTypeWrapper( PARENT_CLOSE_POLICY_REQUEST_CANCEL: _ParentClosePolicy.ValueType # 3 """Cancellation will be requested of the child workflow""" -class ParentClosePolicy( - _ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper -): +class ParentClosePolicy(_ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper): """Defines how child workflows will react to their parent completing""" PARENT_CLOSE_POLICY_UNSPECIFIED: ParentClosePolicy.ValueType # 0 @@ -154,12 +125,7 @@ class _ContinueAsNewInitiator: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ContinueAsNewInitiatorEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ContinueAsNewInitiator.ValueType - ], - builtins.type, -): # noqa: F821 +class _ContinueAsNewInitiatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ContinueAsNewInitiator.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED: _ContinueAsNewInitiator.ValueType # 0 CONTINUE_AS_NEW_INITIATOR_WORKFLOW: _ContinueAsNewInitiator.ValueType # 1 @@ -169,9 +135,7 @@ class _ContinueAsNewInitiatorEnumTypeWrapper( CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE: _ContinueAsNewInitiator.ValueType # 3 """The workflow continued as new because cron has triggered a new execution""" -class ContinueAsNewInitiator( - _ContinueAsNewInitiator, metaclass=_ContinueAsNewInitiatorEnumTypeWrapper -): ... +class ContinueAsNewInitiator(_ContinueAsNewInitiator, metaclass=_ContinueAsNewInitiatorEnumTypeWrapper): ... CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED: ContinueAsNewInitiator.ValueType # 0 CONTINUE_AS_NEW_INITIATOR_WORKFLOW: ContinueAsNewInitiator.ValueType # 1 @@ -186,12 +150,7 @@ class _WorkflowExecutionStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowExecutionStatusEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _WorkflowExecutionStatus.ValueType - ], - builtins.type, -): # noqa: F821 +class _WorkflowExecutionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowExecutionStatus.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: _WorkflowExecutionStatus.ValueType # 0 WORKFLOW_EXECUTION_STATUS_RUNNING: _WorkflowExecutionStatus.ValueType # 1 @@ -203,11 +162,9 @@ class _WorkflowExecutionStatusEnumTypeWrapper( WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW: _WorkflowExecutionStatus.ValueType # 6 WORKFLOW_EXECUTION_STATUS_TIMED_OUT: _WorkflowExecutionStatus.ValueType # 7 -class WorkflowExecutionStatus( - _WorkflowExecutionStatus, metaclass=_WorkflowExecutionStatusEnumTypeWrapper -): +class WorkflowExecutionStatus(_WorkflowExecutionStatus, metaclass=_WorkflowExecutionStatusEnumTypeWrapper): """(-- api-linter: core::0216::synonyms=disabled - aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --) + aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --) """ WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: WorkflowExecutionStatus.ValueType # 0 @@ -225,12 +182,7 @@ class _PendingActivityState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingActivityStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _PendingActivityState.ValueType - ], - builtins.type, -): # noqa: F821 +class _PendingActivityStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingActivityState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_ACTIVITY_STATE_UNSPECIFIED: _PendingActivityState.ValueType # 0 PENDING_ACTIVITY_STATE_SCHEDULED: _PendingActivityState.ValueType # 1 @@ -241,9 +193,7 @@ class _PendingActivityStateEnumTypeWrapper( PENDING_ACTIVITY_STATE_PAUSE_REQUESTED: _PendingActivityState.ValueType # 5 """PAUSE_REQUESTED means activity is currently running on the worker, but paused on the server""" -class PendingActivityState( - _PendingActivityState, metaclass=_PendingActivityStateEnumTypeWrapper -): ... +class PendingActivityState(_PendingActivityState, metaclass=_PendingActivityStateEnumTypeWrapper): ... PENDING_ACTIVITY_STATE_UNSPECIFIED: PendingActivityState.ValueType # 0 PENDING_ACTIVITY_STATE_SCHEDULED: PendingActivityState.ValueType # 1 @@ -259,20 +209,13 @@ class _PendingWorkflowTaskState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingWorkflowTaskStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _PendingWorkflowTaskState.ValueType - ], - builtins.type, -): # noqa: F821 +class _PendingWorkflowTaskStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingWorkflowTaskState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED: _PendingWorkflowTaskState.ValueType # 0 PENDING_WORKFLOW_TASK_STATE_SCHEDULED: _PendingWorkflowTaskState.ValueType # 1 PENDING_WORKFLOW_TASK_STATE_STARTED: _PendingWorkflowTaskState.ValueType # 2 -class PendingWorkflowTaskState( - _PendingWorkflowTaskState, metaclass=_PendingWorkflowTaskStateEnumTypeWrapper -): ... +class PendingWorkflowTaskState(_PendingWorkflowTaskState, metaclass=_PendingWorkflowTaskStateEnumTypeWrapper): ... PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED: PendingWorkflowTaskState.ValueType # 0 PENDING_WORKFLOW_TASK_STATE_SCHEDULED: PendingWorkflowTaskState.ValueType # 1 @@ -283,20 +226,13 @@ class _HistoryEventFilterType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _HistoryEventFilterTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _HistoryEventFilterType.ValueType - ], - builtins.type, -): # noqa: F821 +class _HistoryEventFilterTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_HistoryEventFilterType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED: _HistoryEventFilterType.ValueType # 0 HISTORY_EVENT_FILTER_TYPE_ALL_EVENT: _HistoryEventFilterType.ValueType # 1 HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT: _HistoryEventFilterType.ValueType # 2 -class HistoryEventFilterType( - _HistoryEventFilterType, metaclass=_HistoryEventFilterTypeEnumTypeWrapper -): ... +class HistoryEventFilterType(_HistoryEventFilterType, metaclass=_HistoryEventFilterTypeEnumTypeWrapper): ... HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED: HistoryEventFilterType.ValueType # 0 HISTORY_EVENT_FILTER_TYPE_ALL_EVENT: HistoryEventFilterType.ValueType # 1 @@ -307,10 +243,7 @@ class _RetryState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RetryStateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RetryState.ValueType], - builtins.type, -): # noqa: F821 +class _RetryStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RetryState.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RETRY_STATE_UNSPECIFIED: _RetryState.ValueType # 0 RETRY_STATE_IN_PROGRESS: _RetryState.ValueType # 1 @@ -337,10 +270,7 @@ class _TimeoutType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TimeoutTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TimeoutType.ValueType], - builtins.type, -): # noqa: F821 +class _TimeoutTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TimeoutType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMEOUT_TYPE_UNSPECIFIED: _TimeoutType.ValueType # 0 TIMEOUT_TYPE_START_TO_CLOSE: _TimeoutType.ValueType # 1 @@ -361,12 +291,7 @@ class _VersioningBehavior: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersioningBehaviorEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _VersioningBehavior.ValueType - ], - builtins.type, -): # noqa: F821 +class _VersioningBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersioningBehavior.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSIONING_BEHAVIOR_UNSPECIFIED: _VersioningBehavior.ValueType # 0 """Workflow execution does not have a Versioning Behavior and is called Unversioned. This is the @@ -405,9 +330,7 @@ class _VersioningBehaviorEnumTypeWrapper( complete on the old Version. """ -class VersioningBehavior( - _VersioningBehavior, metaclass=_VersioningBehaviorEnumTypeWrapper -): +class VersioningBehavior(_VersioningBehavior, metaclass=_VersioningBehaviorEnumTypeWrapper): """Versioning Behavior specifies if and how a workflow execution moves between Worker Deployment Versions. The Versioning Behavior of a workflow execution is typically specified by the worker who completes the first task of the execution, but is also overridable manually for new and diff --git a/temporalio/api/errordetails/v1/__init__.py b/temporalio/api/errordetails/v1/__init__.py index 2afb6ec95..64713cdbf 100644 --- a/temporalio/api/errordetails/v1/__init__.py +++ b/temporalio/api/errordetails/v1/__init__.py @@ -1,22 +1,20 @@ -from .message_pb2 import ( - CancellationAlreadyRequestedFailure, - ClientVersionNotSupportedFailure, - MultiOperationExecutionFailure, - NamespaceAlreadyExistsFailure, - NamespaceInvalidStateFailure, - NamespaceNotActiveFailure, - NamespaceNotFoundFailure, - NamespaceUnavailableFailure, - NewerBuildExistsFailure, - NotFoundFailure, - PermissionDeniedFailure, - QueryFailedFailure, - ResourceExhaustedFailure, - ServerVersionNotSupportedFailure, - SystemWorkflowFailure, - WorkflowExecutionAlreadyStartedFailure, - WorkflowNotReadyFailure, -) +from .message_pb2 import NotFoundFailure +from .message_pb2 import WorkflowExecutionAlreadyStartedFailure +from .message_pb2 import NamespaceNotActiveFailure +from .message_pb2 import NamespaceUnavailableFailure +from .message_pb2 import NamespaceInvalidStateFailure +from .message_pb2 import NamespaceNotFoundFailure +from .message_pb2 import NamespaceAlreadyExistsFailure +from .message_pb2 import ClientVersionNotSupportedFailure +from .message_pb2 import ServerVersionNotSupportedFailure +from .message_pb2 import CancellationAlreadyRequestedFailure +from .message_pb2 import QueryFailedFailure +from .message_pb2 import PermissionDeniedFailure +from .message_pb2 import ResourceExhaustedFailure +from .message_pb2 import SystemWorkflowFailure +from .message_pb2 import WorkflowNotReadyFailure +from .message_pb2 import NewerBuildExistsFailure +from .message_pb2 import MultiOperationExecutionFailure __all__ = [ "CancellationAlreadyRequestedFailure", diff --git a/temporalio/api/errordetails/v1/message_pb2.py b/temporalio/api/errordetails/v1/message_pb2.py index 8f8b2c853..8d4d9b3a8 100644 --- a/temporalio/api/errordetails/v1/message_pb2.py +++ b/temporalio/api/errordetails/v1/message_pb2.py @@ -2,310 +2,210 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/errordetails/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, -) -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\x1f\n\x1dNamespaceAlreadyExistsFailure"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t"%\n#CancellationAlreadyRequestedFailure"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t"\x19\n\x17WorkflowNotReadyFailure"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3' -) - - -_NOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NotFoundFailure"] -_WORKFLOWEXECUTIONALREADYSTARTEDFAILURE = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionAlreadyStartedFailure" -] -_NAMESPACENOTACTIVEFAILURE = DESCRIPTOR.message_types_by_name[ - "NamespaceNotActiveFailure" -] -_NAMESPACEUNAVAILABLEFAILURE = DESCRIPTOR.message_types_by_name[ - "NamespaceUnavailableFailure" -] -_NAMESPACEINVALIDSTATEFAILURE = DESCRIPTOR.message_types_by_name[ - "NamespaceInvalidStateFailure" -] -_NAMESPACENOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NamespaceNotFoundFailure"] -_NAMESPACEALREADYEXISTSFAILURE = DESCRIPTOR.message_types_by_name[ - "NamespaceAlreadyExistsFailure" -] -_CLIENTVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[ - "ClientVersionNotSupportedFailure" -] -_SERVERVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[ - "ServerVersionNotSupportedFailure" -] -_CANCELLATIONALREADYREQUESTEDFAILURE = DESCRIPTOR.message_types_by_name[ - "CancellationAlreadyRequestedFailure" -] -_QUERYFAILEDFAILURE = DESCRIPTOR.message_types_by_name["QueryFailedFailure"] -_PERMISSIONDENIEDFAILURE = DESCRIPTOR.message_types_by_name["PermissionDeniedFailure"] -_RESOURCEEXHAUSTEDFAILURE = DESCRIPTOR.message_types_by_name["ResourceExhaustedFailure"] -_SYSTEMWORKFLOWFAILURE = DESCRIPTOR.message_types_by_name["SystemWorkflowFailure"] -_WORKFLOWNOTREADYFAILURE = DESCRIPTOR.message_types_by_name["WorkflowNotReadyFailure"] -_NEWERBUILDEXISTSFAILURE = DESCRIPTOR.message_types_by_name["NewerBuildExistsFailure"] -_MULTIOPERATIONEXECUTIONFAILURE = DESCRIPTOR.message_types_by_name[ - "MultiOperationExecutionFailure" -] -_MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS = ( - _MULTIOPERATIONEXECUTIONFAILURE.nested_types_by_name["OperationStatus"] -) -NotFoundFailure = _reflection.GeneratedProtocolMessageType( - "NotFoundFailure", - (_message.Message,), - { - "DESCRIPTOR": _NOTFOUNDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NotFoundFailure) - }, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 +from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto\"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t\"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t\"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState\"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\x1f\n\x1dNamespaceAlreadyExistsFailure\"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t\"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t\"%\n#CancellationAlreadyRequestedFailure\"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope\"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t\"\x19\n\x17WorkflowNotReadyFailure\"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t\"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3') + + + +_NOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name['NotFoundFailure'] +_WORKFLOWEXECUTIONALREADYSTARTEDFAILURE = DESCRIPTOR.message_types_by_name['WorkflowExecutionAlreadyStartedFailure'] +_NAMESPACENOTACTIVEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceNotActiveFailure'] +_NAMESPACEUNAVAILABLEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceUnavailableFailure'] +_NAMESPACEINVALIDSTATEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceInvalidStateFailure'] +_NAMESPACENOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name['NamespaceNotFoundFailure'] +_NAMESPACEALREADYEXISTSFAILURE = DESCRIPTOR.message_types_by_name['NamespaceAlreadyExistsFailure'] +_CLIENTVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name['ClientVersionNotSupportedFailure'] +_SERVERVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name['ServerVersionNotSupportedFailure'] +_CANCELLATIONALREADYREQUESTEDFAILURE = DESCRIPTOR.message_types_by_name['CancellationAlreadyRequestedFailure'] +_QUERYFAILEDFAILURE = DESCRIPTOR.message_types_by_name['QueryFailedFailure'] +_PERMISSIONDENIEDFAILURE = DESCRIPTOR.message_types_by_name['PermissionDeniedFailure'] +_RESOURCEEXHAUSTEDFAILURE = DESCRIPTOR.message_types_by_name['ResourceExhaustedFailure'] +_SYSTEMWORKFLOWFAILURE = DESCRIPTOR.message_types_by_name['SystemWorkflowFailure'] +_WORKFLOWNOTREADYFAILURE = DESCRIPTOR.message_types_by_name['WorkflowNotReadyFailure'] +_NEWERBUILDEXISTSFAILURE = DESCRIPTOR.message_types_by_name['NewerBuildExistsFailure'] +_MULTIOPERATIONEXECUTIONFAILURE = DESCRIPTOR.message_types_by_name['MultiOperationExecutionFailure'] +_MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS = _MULTIOPERATIONEXECUTIONFAILURE.nested_types_by_name['OperationStatus'] +NotFoundFailure = _reflection.GeneratedProtocolMessageType('NotFoundFailure', (_message.Message,), { + 'DESCRIPTOR' : _NOTFOUNDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NotFoundFailure) + }) _sym_db.RegisterMessage(NotFoundFailure) -WorkflowExecutionAlreadyStartedFailure = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionAlreadyStartedFailure", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure) - }, -) +WorkflowExecutionAlreadyStartedFailure = _reflection.GeneratedProtocolMessageType('WorkflowExecutionAlreadyStartedFailure', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure) + }) _sym_db.RegisterMessage(WorkflowExecutionAlreadyStartedFailure) -NamespaceNotActiveFailure = _reflection.GeneratedProtocolMessageType( - "NamespaceNotActiveFailure", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACENOTACTIVEFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotActiveFailure) - }, -) +NamespaceNotActiveFailure = _reflection.GeneratedProtocolMessageType('NamespaceNotActiveFailure', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACENOTACTIVEFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotActiveFailure) + }) _sym_db.RegisterMessage(NamespaceNotActiveFailure) -NamespaceUnavailableFailure = _reflection.GeneratedProtocolMessageType( - "NamespaceUnavailableFailure", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEUNAVAILABLEFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceUnavailableFailure) - }, -) +NamespaceUnavailableFailure = _reflection.GeneratedProtocolMessageType('NamespaceUnavailableFailure', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEUNAVAILABLEFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceUnavailableFailure) + }) _sym_db.RegisterMessage(NamespaceUnavailableFailure) -NamespaceInvalidStateFailure = _reflection.GeneratedProtocolMessageType( - "NamespaceInvalidStateFailure", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINVALIDSTATEFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceInvalidStateFailure) - }, -) +NamespaceInvalidStateFailure = _reflection.GeneratedProtocolMessageType('NamespaceInvalidStateFailure', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEINVALIDSTATEFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceInvalidStateFailure) + }) _sym_db.RegisterMessage(NamespaceInvalidStateFailure) -NamespaceNotFoundFailure = _reflection.GeneratedProtocolMessageType( - "NamespaceNotFoundFailure", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACENOTFOUNDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotFoundFailure) - }, -) +NamespaceNotFoundFailure = _reflection.GeneratedProtocolMessageType('NamespaceNotFoundFailure', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACENOTFOUNDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotFoundFailure) + }) _sym_db.RegisterMessage(NamespaceNotFoundFailure) -NamespaceAlreadyExistsFailure = _reflection.GeneratedProtocolMessageType( - "NamespaceAlreadyExistsFailure", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEALREADYEXISTSFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure) - }, -) +NamespaceAlreadyExistsFailure = _reflection.GeneratedProtocolMessageType('NamespaceAlreadyExistsFailure', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEALREADYEXISTSFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure) + }) _sym_db.RegisterMessage(NamespaceAlreadyExistsFailure) -ClientVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType( - "ClientVersionNotSupportedFailure", - (_message.Message,), - { - "DESCRIPTOR": _CLIENTVERSIONNOTSUPPORTEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ClientVersionNotSupportedFailure) - }, -) +ClientVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType('ClientVersionNotSupportedFailure', (_message.Message,), { + 'DESCRIPTOR' : _CLIENTVERSIONNOTSUPPORTEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ClientVersionNotSupportedFailure) + }) _sym_db.RegisterMessage(ClientVersionNotSupportedFailure) -ServerVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType( - "ServerVersionNotSupportedFailure", - (_message.Message,), - { - "DESCRIPTOR": _SERVERVERSIONNOTSUPPORTEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ServerVersionNotSupportedFailure) - }, -) +ServerVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType('ServerVersionNotSupportedFailure', (_message.Message,), { + 'DESCRIPTOR' : _SERVERVERSIONNOTSUPPORTEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ServerVersionNotSupportedFailure) + }) _sym_db.RegisterMessage(ServerVersionNotSupportedFailure) -CancellationAlreadyRequestedFailure = _reflection.GeneratedProtocolMessageType( - "CancellationAlreadyRequestedFailure", - (_message.Message,), - { - "DESCRIPTOR": _CANCELLATIONALREADYREQUESTEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure) - }, -) +CancellationAlreadyRequestedFailure = _reflection.GeneratedProtocolMessageType('CancellationAlreadyRequestedFailure', (_message.Message,), { + 'DESCRIPTOR' : _CANCELLATIONALREADYREQUESTEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure) + }) _sym_db.RegisterMessage(CancellationAlreadyRequestedFailure) -QueryFailedFailure = _reflection.GeneratedProtocolMessageType( - "QueryFailedFailure", - (_message.Message,), - { - "DESCRIPTOR": _QUERYFAILEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.QueryFailedFailure) - }, -) +QueryFailedFailure = _reflection.GeneratedProtocolMessageType('QueryFailedFailure', (_message.Message,), { + 'DESCRIPTOR' : _QUERYFAILEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.QueryFailedFailure) + }) _sym_db.RegisterMessage(QueryFailedFailure) -PermissionDeniedFailure = _reflection.GeneratedProtocolMessageType( - "PermissionDeniedFailure", - (_message.Message,), - { - "DESCRIPTOR": _PERMISSIONDENIEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.PermissionDeniedFailure) - }, -) +PermissionDeniedFailure = _reflection.GeneratedProtocolMessageType('PermissionDeniedFailure', (_message.Message,), { + 'DESCRIPTOR' : _PERMISSIONDENIEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.PermissionDeniedFailure) + }) _sym_db.RegisterMessage(PermissionDeniedFailure) -ResourceExhaustedFailure = _reflection.GeneratedProtocolMessageType( - "ResourceExhaustedFailure", - (_message.Message,), - { - "DESCRIPTOR": _RESOURCEEXHAUSTEDFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ResourceExhaustedFailure) - }, -) +ResourceExhaustedFailure = _reflection.GeneratedProtocolMessageType('ResourceExhaustedFailure', (_message.Message,), { + 'DESCRIPTOR' : _RESOURCEEXHAUSTEDFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ResourceExhaustedFailure) + }) _sym_db.RegisterMessage(ResourceExhaustedFailure) -SystemWorkflowFailure = _reflection.GeneratedProtocolMessageType( - "SystemWorkflowFailure", - (_message.Message,), - { - "DESCRIPTOR": _SYSTEMWORKFLOWFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.SystemWorkflowFailure) - }, -) +SystemWorkflowFailure = _reflection.GeneratedProtocolMessageType('SystemWorkflowFailure', (_message.Message,), { + 'DESCRIPTOR' : _SYSTEMWORKFLOWFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.SystemWorkflowFailure) + }) _sym_db.RegisterMessage(SystemWorkflowFailure) -WorkflowNotReadyFailure = _reflection.GeneratedProtocolMessageType( - "WorkflowNotReadyFailure", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWNOTREADYFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowNotReadyFailure) - }, -) +WorkflowNotReadyFailure = _reflection.GeneratedProtocolMessageType('WorkflowNotReadyFailure', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWNOTREADYFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowNotReadyFailure) + }) _sym_db.RegisterMessage(WorkflowNotReadyFailure) -NewerBuildExistsFailure = _reflection.GeneratedProtocolMessageType( - "NewerBuildExistsFailure", - (_message.Message,), - { - "DESCRIPTOR": _NEWERBUILDEXISTSFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NewerBuildExistsFailure) - }, -) +NewerBuildExistsFailure = _reflection.GeneratedProtocolMessageType('NewerBuildExistsFailure', (_message.Message,), { + 'DESCRIPTOR' : _NEWERBUILDEXISTSFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NewerBuildExistsFailure) + }) _sym_db.RegisterMessage(NewerBuildExistsFailure) -MultiOperationExecutionFailure = _reflection.GeneratedProtocolMessageType( - "MultiOperationExecutionFailure", - (_message.Message,), - { - "OperationStatus": _reflection.GeneratedProtocolMessageType( - "OperationStatus", - (_message.Message,), - { - "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus) - }, - ), - "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE, - "__module__": "temporal.api.errordetails.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure) - }, -) +MultiOperationExecutionFailure = _reflection.GeneratedProtocolMessageType('MultiOperationExecutionFailure', (_message.Message,), { + + 'OperationStatus' : _reflection.GeneratedProtocolMessageType('OperationStatus', (_message.Message,), { + 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus) + }) + , + 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONFAILURE, + '__module__' : 'temporal.api.errordetails.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure) + }) _sym_db.RegisterMessage(MultiOperationExecutionFailure) _sym_db.RegisterMessage(MultiOperationExecutionFailure.OperationStatus) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\037io.temporal.api.errordetails.v1B\014MessageProtoP\001Z/go.temporal.io/api/errordetails/v1;errordetails\252\002\036Temporalio.Api.ErrorDetails.V1\352\002!Temporalio::Api::ErrorDetails::V1" - _NOTFOUNDFAILURE._serialized_start = 261 - _NOTFOUNDFAILURE._serialized_end = 327 - _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_start = 329 - _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_end = 411 - _NAMESPACENOTACTIVEFAILURE._serialized_start = 413 - _NAMESPACENOTACTIVEFAILURE._serialized_end = 508 - _NAMESPACEUNAVAILABLEFAILURE._serialized_start = 510 - _NAMESPACEUNAVAILABLEFAILURE._serialized_end = 558 - _NAMESPACEINVALIDSTATEFAILURE._serialized_start = 561 - _NAMESPACEINVALIDSTATEFAILURE._serialized_end = 727 - _NAMESPACENOTFOUNDFAILURE._serialized_start = 729 - _NAMESPACENOTFOUNDFAILURE._serialized_end = 774 - _NAMESPACEALREADYEXISTSFAILURE._serialized_start = 776 - _NAMESPACEALREADYEXISTSFAILURE._serialized_end = 807 - _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_start = 809 - _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_end = 916 - _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_start = 918 - _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_end = 1018 - _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_start = 1020 - _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_end = 1057 - _QUERYFAILEDFAILURE._serialized_start = 1059 - _QUERYFAILEDFAILURE._serialized_end = 1130 - _PERMISSIONDENIEDFAILURE._serialized_start = 1132 - _PERMISSIONDENIEDFAILURE._serialized_end = 1173 - _RESOURCEEXHAUSTEDFAILURE._serialized_start = 1176 - _RESOURCEEXHAUSTEDFAILURE._serialized_end = 1326 - _SYSTEMWORKFLOWFAILURE._serialized_start = 1328 - _SYSTEMWORKFLOWFAILURE._serialized_end = 1446 - _WORKFLOWNOTREADYFAILURE._serialized_start = 1448 - _WORKFLOWNOTREADYFAILURE._serialized_end = 1473 - _NEWERBUILDEXISTSFAILURE._serialized_start = 1475 - _NEWERBUILDEXISTSFAILURE._serialized_end = 1526 - _MULTIOPERATIONEXECUTIONFAILURE._serialized_start = 1529 - _MULTIOPERATIONEXECUTIONFAILURE._serialized_end = 1746 - _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_start = 1659 - _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_end = 1746 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.errordetails.v1B\014MessageProtoP\001Z/go.temporal.io/api/errordetails/v1;errordetails\252\002\036Temporalio.Api.ErrorDetails.V1\352\002!Temporalio::Api::ErrorDetails::V1' + _NOTFOUNDFAILURE._serialized_start=261 + _NOTFOUNDFAILURE._serialized_end=327 + _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_start=329 + _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_end=411 + _NAMESPACENOTACTIVEFAILURE._serialized_start=413 + _NAMESPACENOTACTIVEFAILURE._serialized_end=508 + _NAMESPACEUNAVAILABLEFAILURE._serialized_start=510 + _NAMESPACEUNAVAILABLEFAILURE._serialized_end=558 + _NAMESPACEINVALIDSTATEFAILURE._serialized_start=561 + _NAMESPACEINVALIDSTATEFAILURE._serialized_end=727 + _NAMESPACENOTFOUNDFAILURE._serialized_start=729 + _NAMESPACENOTFOUNDFAILURE._serialized_end=774 + _NAMESPACEALREADYEXISTSFAILURE._serialized_start=776 + _NAMESPACEALREADYEXISTSFAILURE._serialized_end=807 + _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_start=809 + _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_end=916 + _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_start=918 + _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_end=1018 + _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_start=1020 + _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_end=1057 + _QUERYFAILEDFAILURE._serialized_start=1059 + _QUERYFAILEDFAILURE._serialized_end=1130 + _PERMISSIONDENIEDFAILURE._serialized_start=1132 + _PERMISSIONDENIEDFAILURE._serialized_end=1173 + _RESOURCEEXHAUSTEDFAILURE._serialized_start=1176 + _RESOURCEEXHAUSTEDFAILURE._serialized_end=1326 + _SYSTEMWORKFLOWFAILURE._serialized_start=1328 + _SYSTEMWORKFLOWFAILURE._serialized_end=1446 + _WORKFLOWNOTREADYFAILURE._serialized_start=1448 + _WORKFLOWNOTREADYFAILURE._serialized_end=1473 + _NEWERBUILDEXISTSFAILURE._serialized_start=1475 + _NEWERBUILDEXISTSFAILURE._serialized_end=1526 + _MULTIOPERATIONEXECUTIONFAILURE._serialized_start=1529 + _MULTIOPERATIONEXECUTIONFAILURE._serialized_end=1746 + _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_start=1659 + _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_end=1746 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/errordetails/v1/message_pb2.pyi b/temporalio/api/errordetails/v1/message_pb2.pyi index 4857dbf31..d93896427 100644 --- a/temporalio/api/errordetails/v1/message_pb2.pyi +++ b/temporalio/api/errordetails/v1/message_pb2.pyi @@ -4,16 +4,13 @@ isort:skip_file These error details are supplied in google.rpc.Status#details as described in "Google APIs, Error Model" (https://cloud.google.com/apis/design/errors#error_model) and extend standard Error Details defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto """ - import builtins import collections.abc -import sys - import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.failed_cause_pb2 import temporalio.api.enums.v1.namespace_pb2 @@ -39,12 +36,7 @@ class NotFoundFailure(google.protobuf.message.Message): current_cluster: builtins.str = ..., active_cluster: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "active_cluster", b"active_cluster", "current_cluster", b"current_cluster" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["active_cluster", b"active_cluster", "current_cluster", b"current_cluster"]) -> None: ... global___NotFoundFailure = NotFoundFailure @@ -61,12 +53,7 @@ class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): start_request_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "start_request_id", b"start_request_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "start_request_id", b"start_request_id"]) -> None: ... global___WorkflowExecutionAlreadyStartedFailure = WorkflowExecutionAlreadyStartedFailure @@ -86,17 +73,7 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): current_cluster: builtins.str = ..., active_cluster: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "active_cluster", - b"active_cluster", - "current_cluster", - b"current_cluster", - "namespace", - b"namespace", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["active_cluster", b"active_cluster", "current_cluster", b"current_cluster", "namespace", b"namespace"]) -> None: ... global___NamespaceNotActiveFailure = NamespaceNotActiveFailure @@ -115,9 +92,7 @@ class NamespaceUnavailableFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... global___NamespaceUnavailableFailure = NamespaceUnavailableFailure @@ -131,11 +106,7 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType """Current state of the requested namespace.""" @property - def allowed_states( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType - ]: + def allowed_states(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType]: """Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace. """ @@ -144,22 +115,9 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType = ..., - allowed_states: collections.abc.Iterable[ - temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "allowed_states", - b"allowed_states", - "namespace", - b"namespace", - "state", - b"state", - ], + allowed_states: collections.abc.Iterable[temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allowed_states", b"allowed_states", "namespace", b"namespace", "state", b"state"]) -> None: ... global___NamespaceInvalidStateFailure = NamespaceInvalidStateFailure @@ -173,9 +131,7 @@ class NamespaceNotFoundFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... global___NamespaceNotFoundFailure = NamespaceNotFoundFailure @@ -204,17 +160,7 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): client_name: builtins.str = ..., supported_versions: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "client_name", - b"client_name", - "client_version", - b"client_version", - "supported_versions", - b"supported_versions", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["client_name", b"client_name", "client_version", b"client_version", "supported_versions", b"supported_versions"]) -> None: ... global___ClientVersionNotSupportedFailure = ClientVersionNotSupportedFailure @@ -231,15 +177,7 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): server_version: builtins.str = ..., client_supported_server_versions: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "client_supported_server_versions", - b"client_supported_server_versions", - "server_version", - b"server_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["client_supported_server_versions", b"client_supported_server_versions", "server_version", b"server_version"]) -> None: ... global___ServerVersionNotSupportedFailure = ServerVersionNotSupportedFailure @@ -267,12 +205,8 @@ class QueryFailedFailure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___QueryFailedFailure = QueryFailedFailure @@ -286,9 +220,7 @@ class PermissionDeniedFailure(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["reason", b"reason"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason"]) -> None: ... global___PermissionDeniedFailure = PermissionDeniedFailure @@ -305,10 +237,7 @@ class ResourceExhaustedFailure(google.protobuf.message.Message): cause: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedCause.ValueType = ..., scope: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedScope.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"]) -> None: ... global___ResourceExhaustedFailure = ResourceExhaustedFailure @@ -318,9 +247,7 @@ class SystemWorkflowFailure(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int WORKFLOW_ERROR_FIELD_NUMBER: builtins.int @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """WorkflowId and RunId of the Temporal system workflow performing the underlying operation. Looking up the info of the system workflow run may help identify the issue causing the failure. """ @@ -329,25 +256,11 @@ class SystemWorkflowFailure(google.protobuf.message.Message): def __init__( self, *, - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_error: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "workflow_error", - b"workflow_error", - "workflow_execution", - b"workflow_execution", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["workflow_error", b"workflow_error", "workflow_execution", b"workflow_execution"]) -> None: ... global___SystemWorkflowFailure = SystemWorkflowFailure @@ -371,10 +284,7 @@ class NewerBuildExistsFailure(google.protobuf.message.Message): *, default_build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["default_build_id", b"default_build_id"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["default_build_id", b"default_build_id"]) -> None: ... global___NewerBuildExistsFailure = NewerBuildExistsFailure @@ -397,11 +307,7 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): code: builtins.int message: builtins.str @property - def details( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.any_pb2.Any - ]: ... + def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... def __init__( self, *, @@ -409,20 +315,11 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): message: builtins.str = ..., details: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "code", b"code", "details", b"details", "message", b"message" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "details", b"details", "message", b"message"]) -> None: ... STATUSES_FIELD_NUMBER: builtins.int @property - def statuses( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___MultiOperationExecutionFailure.OperationStatus - ]: + def statuses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MultiOperationExecutionFailure.OperationStatus]: """One status for each requested operation from the failed MultiOperation. The failed operation(s) have the same error details as if it was executed separately. All other operations have the status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field. @@ -430,13 +327,8 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): def __init__( self, *, - statuses: collections.abc.Iterable[ - global___MultiOperationExecutionFailure.OperationStatus - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["statuses", b"statuses"] + statuses: collections.abc.Iterable[global___MultiOperationExecutionFailure.OperationStatus] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["statuses", b"statuses"]) -> None: ... global___MultiOperationExecutionFailure = MultiOperationExecutionFailure diff --git a/temporalio/api/export/v1/__init__.py b/temporalio/api/export/v1/__init__.py index 11e7e71b7..e441fbd15 100644 --- a/temporalio/api/export/v1/__init__.py +++ b/temporalio/api/export/v1/__init__.py @@ -1,4 +1,5 @@ -from .message_pb2 import WorkflowExecution, WorkflowExecutions +from .message_pb2 import WorkflowExecution +from .message_pb2 import WorkflowExecutions __all__ = [ "WorkflowExecution", diff --git a/temporalio/api/export/v1/message_pb2.py b/temporalio/api/export/v1/message_pb2.py index 05a46aeff..6ec4e483e 100644 --- a/temporalio/api/export/v1/message_pb2.py +++ b/temporalio/api/export/v1/message_pb2.py @@ -2,56 +2,45 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/export/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.history.v1 import ( - message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, -) +from temporalio.api.history.v1 import message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto\"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3') -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] -_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutions"] -WorkflowExecution = _reflection.GeneratedProtocolMessageType( - "WorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTION, - "__module__": "temporal.api.export.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) - }, -) + +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['WorkflowExecution'] +_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name['WorkflowExecutions'] +WorkflowExecution = _reflection.GeneratedProtocolMessageType('WorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTION, + '__module__' : 'temporal.api.export.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) + }) _sym_db.RegisterMessage(WorkflowExecution) -WorkflowExecutions = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutions", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONS, - "__module__": "temporal.api.export.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) - }, -) +WorkflowExecutions = _reflection.GeneratedProtocolMessageType('WorkflowExecutions', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONS, + '__module__' : 'temporal.api.export.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) + }) _sym_db.RegisterMessage(WorkflowExecutions) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" - _WORKFLOWEXECUTION._serialized_start = 103 - _WORKFLOWEXECUTION._serialized_end = 173 - _WORKFLOWEXECUTIONS._serialized_start = 175 - _WORKFLOWEXECUTIONS._serialized_end = 253 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1' + _WORKFLOWEXECUTION._serialized_start=103 + _WORKFLOWEXECUTION._serialized_end=173 + _WORKFLOWEXECUTIONS._serialized_start=175 + _WORKFLOWEXECUTIONS._serialized_end=253 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/export/v1/message_pb2.pyi b/temporalio/api/export/v1/message_pb2.pyi index a270b0e26..526b0134b 100644 --- a/temporalio/api/export/v1/message_pb2.pyi +++ b/temporalio/api/export/v1/message_pb2.pyi @@ -2,15 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.history.v1.message_pb2 if sys.version_info >= (3, 8): @@ -31,17 +28,13 @@ class WorkflowExecution(google.protobuf.message.Message): *, history: temporalio.api.history.v1.message_pb2.History | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["history", b"history"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["history", b"history"]) -> None: ... global___WorkflowExecution = WorkflowExecution class WorkflowExecutions(google.protobuf.message.Message): - """WorkflowExecutions is used by the Cloud Export feature to deserialize + """WorkflowExecutions is used by the Cloud Export feature to deserialize the exported file. It encapsulates a collection of workflow execution information. """ @@ -49,18 +42,12 @@ class WorkflowExecutions(google.protobuf.message.Message): ITEMS_FIELD_NUMBER: builtins.int @property - def items( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowExecution - ]: ... + def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowExecution]: ... def __init__( self, *, items: collections.abc.Iterable[global___WorkflowExecution] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["items", b"items"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["items", b"items"]) -> None: ... global___WorkflowExecutions = WorkflowExecutions diff --git a/temporalio/api/failure/v1/__init__.py b/temporalio/api/failure/v1/__init__.py index a17e5e25e..0c4a28d43 100644 --- a/temporalio/api/failure/v1/__init__.py +++ b/temporalio/api/failure/v1/__init__.py @@ -1,17 +1,15 @@ -from .message_pb2 import ( - ActivityFailureInfo, - ApplicationFailureInfo, - CanceledFailureInfo, - ChildWorkflowExecutionFailureInfo, - Failure, - MultiOperationExecutionAborted, - NexusHandlerFailureInfo, - NexusOperationFailureInfo, - ResetWorkflowFailureInfo, - ServerFailureInfo, - TerminatedFailureInfo, - TimeoutFailureInfo, -) +from .message_pb2 import ApplicationFailureInfo +from .message_pb2 import TimeoutFailureInfo +from .message_pb2 import CanceledFailureInfo +from .message_pb2 import TerminatedFailureInfo +from .message_pb2 import ServerFailureInfo +from .message_pb2 import ResetWorkflowFailureInfo +from .message_pb2 import ActivityFailureInfo +from .message_pb2 import ChildWorkflowExecutionFailureInfo +from .message_pb2 import NexusOperationFailureInfo +from .message_pb2 import NexusHandlerFailureInfo +from .message_pb2 import Failure +from .message_pb2 import MultiOperationExecutionAborted __all__ = [ "ActivityFailureInfo", diff --git a/temporalio/api/failure/v1/message_pb2.py b/temporalio/api/failure/v1/message_pb2.py index b4867507d..04bea2c04 100644 --- a/temporalio/api/failure/v1/message_pb2.py +++ b/temporalio/api/failure/v1/message_pb2.py @@ -2,217 +2,151 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/failure/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.enums.v1 import nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.enums.v1 import ( - nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\x17\n\x15TerminatedFailureInfo"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3' -) - - -_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name["ApplicationFailureInfo"] -_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name["TimeoutFailureInfo"] -_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name["CanceledFailureInfo"] -_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name["TerminatedFailureInfo"] -_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name["ServerFailureInfo"] -_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name["ResetWorkflowFailureInfo"] -_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name["ActivityFailureInfo"] -_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionFailureInfo" -] -_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationFailureInfo" -] -_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name["NexusHandlerFailureInfo"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name[ - "MultiOperationExecutionAborted" -] -ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType( - "ApplicationFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _APPLICATIONFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a\"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory\"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x17\n\x15TerminatedFailureInfo\"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08\"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t\"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info\" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3') + + + +_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name['ApplicationFailureInfo'] +_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name['TimeoutFailureInfo'] +_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name['CanceledFailureInfo'] +_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name['TerminatedFailureInfo'] +_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name['ServerFailureInfo'] +_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name['ResetWorkflowFailureInfo'] +_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name['ActivityFailureInfo'] +_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionFailureInfo'] +_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name['NexusOperationFailureInfo'] +_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name['NexusHandlerFailureInfo'] +_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] +_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name['MultiOperationExecutionAborted'] +ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType('ApplicationFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _APPLICATIONFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) + }) _sym_db.RegisterMessage(ApplicationFailureInfo) -TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType( - "TimeoutFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _TIMEOUTFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) - }, -) +TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType('TimeoutFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _TIMEOUTFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) + }) _sym_db.RegisterMessage(TimeoutFailureInfo) -CanceledFailureInfo = _reflection.GeneratedProtocolMessageType( - "CanceledFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _CANCELEDFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) - }, -) +CanceledFailureInfo = _reflection.GeneratedProtocolMessageType('CanceledFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _CANCELEDFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) + }) _sym_db.RegisterMessage(CanceledFailureInfo) -TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType( - "TerminatedFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEDFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) - }, -) +TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType('TerminatedFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _TERMINATEDFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) + }) _sym_db.RegisterMessage(TerminatedFailureInfo) -ServerFailureInfo = _reflection.GeneratedProtocolMessageType( - "ServerFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _SERVERFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) - }, -) +ServerFailureInfo = _reflection.GeneratedProtocolMessageType('ServerFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _SERVERFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) + }) _sym_db.RegisterMessage(ServerFailureInfo) -ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) - }, -) +ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType('ResetWorkflowFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _RESETWORKFLOWFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) + }) _sym_db.RegisterMessage(ResetWorkflowFailureInfo) -ActivityFailureInfo = _reflection.GeneratedProtocolMessageType( - "ActivityFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) - }, -) +ActivityFailureInfo = _reflection.GeneratedProtocolMessageType('ActivityFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) + }) _sym_db.RegisterMessage(ActivityFailureInfo) -ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) - }, -) +ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionFailureInfo) -NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) - }, -) +NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType('NexusOperationFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) + }) _sym_db.RegisterMessage(NexusOperationFailureInfo) -NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType( - "NexusHandlerFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSHANDLERFAILUREINFO, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) - }, -) +NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType('NexusHandlerFailureInfo', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSHANDLERFAILUREINFO, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) + }) _sym_db.RegisterMessage(NexusHandlerFailureInfo) -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) - }, -) +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) + }) _sym_db.RegisterMessage(Failure) -MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType( - "MultiOperationExecutionAborted", - (_message.Message,), - { - "DESCRIPTOR": _MULTIOPERATIONEXECUTIONABORTED, - "__module__": "temporal.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) - }, -) +MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType('MultiOperationExecutionAborted', (_message.Message,), { + 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONABORTED, + '__module__' : 'temporal.api.failure.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) + }) _sym_db.RegisterMessage(MultiOperationExecutionAborted) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" - _NEXUSOPERATIONFAILUREINFO.fields_by_name["operation_id"]._options = None - _NEXUSOPERATIONFAILUREINFO.fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _APPLICATIONFAILUREINFO._serialized_start = 246 - _APPLICATIONFAILUREINFO._serialized_end = 478 - _TIMEOUTFAILUREINFO._serialized_start = 481 - _TIMEOUTFAILUREINFO._serialized_end = 625 - _CANCELEDFAILUREINFO._serialized_start = 627 - _CANCELEDFAILUREINFO._serialized_end = 699 - _TERMINATEDFAILUREINFO._serialized_start = 701 - _TERMINATEDFAILUREINFO._serialized_end = 724 - _SERVERFAILUREINFO._serialized_start = 726 - _SERVERFAILUREINFO._serialized_end = 768 - _RESETWORKFLOWFAILUREINFO._serialized_start = 770 - _RESETWORKFLOWFAILUREINFO._serialized_end = 862 - _ACTIVITYFAILUREINFO._serialized_start = 865 - _ACTIVITYFAILUREINFO._serialized_end = 1096 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start = 1099 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end = 1395 - _NEXUSOPERATIONFAILUREINFO._serialized_start = 1398 - _NEXUSOPERATIONFAILUREINFO._serialized_end = 1558 - _NEXUSHANDLERFAILUREINFO._serialized_start = 1560 - _NEXUSHANDLERFAILUREINFO._serialized_end = 1678 - _FAILURE._serialized_start = 1681 - _FAILURE._serialized_end = 2737 - _MULTIOPERATIONEXECUTIONABORTED._serialized_start = 2739 - _MULTIOPERATIONEXECUTIONABORTED._serialized_end = 2771 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1' + _NEXUSOPERATIONFAILUREINFO.fields_by_name['operation_id']._options = None + _NEXUSOPERATIONFAILUREINFO.fields_by_name['operation_id']._serialized_options = b'\030\001' + _APPLICATIONFAILUREINFO._serialized_start=246 + _APPLICATIONFAILUREINFO._serialized_end=478 + _TIMEOUTFAILUREINFO._serialized_start=481 + _TIMEOUTFAILUREINFO._serialized_end=625 + _CANCELEDFAILUREINFO._serialized_start=627 + _CANCELEDFAILUREINFO._serialized_end=699 + _TERMINATEDFAILUREINFO._serialized_start=701 + _TERMINATEDFAILUREINFO._serialized_end=724 + _SERVERFAILUREINFO._serialized_start=726 + _SERVERFAILUREINFO._serialized_end=768 + _RESETWORKFLOWFAILUREINFO._serialized_start=770 + _RESETWORKFLOWFAILUREINFO._serialized_end=862 + _ACTIVITYFAILUREINFO._serialized_start=865 + _ACTIVITYFAILUREINFO._serialized_end=1096 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start=1099 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end=1395 + _NEXUSOPERATIONFAILUREINFO._serialized_start=1398 + _NEXUSOPERATIONFAILUREINFO._serialized_end=1558 + _NEXUSHANDLERFAILUREINFO._serialized_start=1560 + _NEXUSHANDLERFAILUREINFO._serialized_end=1678 + _FAILURE._serialized_start=1681 + _FAILURE._serialized_end=2737 + _MULTIOPERATIONEXECUTIONABORTED._serialized_start=2739 + _MULTIOPERATIONEXECUTIONABORTED._serialized_end=2771 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/failure/v1/message_pb2.pyi b/temporalio/api/failure/v1/message_pb2.pyi index 76efeb112..4ca82b756 100644 --- a/temporalio/api/failure/v1/message_pb2.pyi +++ b/temporalio/api/failure/v1/message_pb2.pyi @@ -2,14 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.nexus_pb2 @@ -51,27 +48,8 @@ class ApplicationFailureInfo(google.protobuf.message.Message): next_retry_delay: google.protobuf.duration_pb2.Duration | None = ..., category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "next_retry_delay", b"next_retry_delay" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "category", - b"category", - "details", - b"details", - "next_retry_delay", - b"next_retry_delay", - "non_retryable", - b"non_retryable", - "type", - b"type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details", "next_retry_delay", b"next_retry_delay"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["category", b"category", "details", b"details", "next_retry_delay", b"next_retry_delay", "non_retryable", b"non_retryable", "type", b"type"]) -> None: ... global___ApplicationFailureInfo = ApplicationFailureInfo @@ -82,31 +60,15 @@ class TimeoutFailureInfo(google.protobuf.message.Message): LAST_HEARTBEAT_DETAILS_FIELD_NUMBER: builtins.int timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType @property - def last_heartbeat_details( - self, - ) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", - b"last_heartbeat_details", - "timeout_type", - b"timeout_type", - ], + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details", "timeout_type", b"timeout_type"]) -> None: ... global___TimeoutFailureInfo = TimeoutFailureInfo @@ -121,12 +83,8 @@ class CanceledFailureInfo(google.protobuf.message.Message): *, details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details"]) -> None: ... global___CanceledFailureInfo = CanceledFailureInfo @@ -149,9 +107,7 @@ class ServerFailureInfo(google.protobuf.message.Message): *, non_retryable: builtins.bool = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"]) -> None: ... global___ServerFailureInfo = ServerFailureInfo @@ -160,27 +116,14 @@ class ResetWorkflowFailureInfo(google.protobuf.message.Message): LAST_HEARTBEAT_DETAILS_FIELD_NUMBER: builtins.int @property - def last_heartbeat_details( - self, - ) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> None: ... global___ResetWorkflowFailureInfo = ResetWorkflowFailureInfo @@ -210,26 +153,8 @@ class ActivityFailureInfo(google.protobuf.message.Message): activity_id: builtins.str = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "identity", - b"identity", - "retry_state", - b"retry_state", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "identity", b"identity", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id"]) -> None: ... global___ActivityFailureInfo = ActivityFailureInfo @@ -244,9 +169,7 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): RETRY_STATE_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -256,39 +179,14 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "retry_state", - b"retry_state", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... global___ChildWorkflowExecutionFailureInfo = ChildWorkflowExecutionFailureInfo @@ -326,23 +224,7 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): operation_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "endpoint", - b"endpoint", - "operation", - b"operation", - "operation_id", - b"operation_id", - "operation_token", - b"operation_token", - "scheduled_event_id", - b"scheduled_event_id", - "service", - b"service", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "scheduled_event_id", b"scheduled_event_id", "service", b"service"]) -> None: ... global___NexusOperationFailureInfo = NexusOperationFailureInfo @@ -355,9 +237,7 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): """The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. """ - retry_behavior: ( - temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType - ) + retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" def __init__( self, @@ -365,12 +245,7 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): type: builtins.str = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "retry_behavior", b"retry_behavior", "type", b"type" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["retry_behavior", b"retry_behavior", "type", b"type"]) -> None: ... global___NexusHandlerFailureInfo = NexusHandlerFailureInfo @@ -433,13 +308,9 @@ class Failure(google.protobuf.message.Message): @property def activity_failure_info(self) -> global___ActivityFailureInfo: ... @property - def child_workflow_execution_failure_info( - self, - ) -> global___ChildWorkflowExecutionFailureInfo: ... + def child_workflow_execution_failure_info(self) -> global___ChildWorkflowExecutionFailureInfo: ... @property - def nexus_operation_execution_failure_info( - self, - ) -> global___NexusOperationFailureInfo: ... + def nexus_operation_execution_failure_info(self) -> global___NexusOperationFailureInfo: ... @property def nexus_handler_failure_info(self) -> global___NexusHandlerFailureInfo: ... def __init__( @@ -457,97 +328,13 @@ class Failure(google.protobuf.message.Message): server_failure_info: global___ServerFailureInfo | None = ..., reset_workflow_failure_info: global___ResetWorkflowFailureInfo | None = ..., activity_failure_info: global___ActivityFailureInfo | None = ..., - child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo - | None = ..., - nexus_operation_execution_failure_info: global___NexusOperationFailureInfo - | None = ..., + child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo | None = ..., + nexus_operation_execution_failure_info: global___NexusOperationFailureInfo | None = ..., nexus_handler_failure_info: global___NexusHandlerFailureInfo | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_failure_info", - b"activity_failure_info", - "application_failure_info", - b"application_failure_info", - "canceled_failure_info", - b"canceled_failure_info", - "cause", - b"cause", - "child_workflow_execution_failure_info", - b"child_workflow_execution_failure_info", - "encoded_attributes", - b"encoded_attributes", - "failure_info", - b"failure_info", - "nexus_handler_failure_info", - b"nexus_handler_failure_info", - "nexus_operation_execution_failure_info", - b"nexus_operation_execution_failure_info", - "reset_workflow_failure_info", - b"reset_workflow_failure_info", - "server_failure_info", - b"server_failure_info", - "terminated_failure_info", - b"terminated_failure_info", - "timeout_failure_info", - b"timeout_failure_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_failure_info", - b"activity_failure_info", - "application_failure_info", - b"application_failure_info", - "canceled_failure_info", - b"canceled_failure_info", - "cause", - b"cause", - "child_workflow_execution_failure_info", - b"child_workflow_execution_failure_info", - "encoded_attributes", - b"encoded_attributes", - "failure_info", - b"failure_info", - "message", - b"message", - "nexus_handler_failure_info", - b"nexus_handler_failure_info", - "nexus_operation_execution_failure_info", - b"nexus_operation_execution_failure_info", - "reset_workflow_failure_info", - b"reset_workflow_failure_info", - "server_failure_info", - b"server_failure_info", - "source", - b"source", - "stack_trace", - b"stack_trace", - "terminated_failure_info", - b"terminated_failure_info", - "timeout_failure_info", - b"timeout_failure_info", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"] - ) -> ( - typing_extensions.Literal[ - "application_failure_info", - "timeout_failure_info", - "canceled_failure_info", - "terminated_failure_info", - "server_failure_info", - "reset_workflow_failure_info", - "activity_failure_info", - "child_workflow_execution_failure_info", - "nexus_operation_execution_failure_info", - "nexus_handler_failure_info", - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["activity_failure_info", b"activity_failure_info", "application_failure_info", b"application_failure_info", "canceled_failure_info", b"canceled_failure_info", "cause", b"cause", "child_workflow_execution_failure_info", b"child_workflow_execution_failure_info", "encoded_attributes", b"encoded_attributes", "failure_info", b"failure_info", "nexus_handler_failure_info", b"nexus_handler_failure_info", "nexus_operation_execution_failure_info", b"nexus_operation_execution_failure_info", "reset_workflow_failure_info", b"reset_workflow_failure_info", "server_failure_info", b"server_failure_info", "terminated_failure_info", b"terminated_failure_info", "timeout_failure_info", b"timeout_failure_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_failure_info", b"activity_failure_info", "application_failure_info", b"application_failure_info", "canceled_failure_info", b"canceled_failure_info", "cause", b"cause", "child_workflow_execution_failure_info", b"child_workflow_execution_failure_info", "encoded_attributes", b"encoded_attributes", "failure_info", b"failure_info", "message", b"message", "nexus_handler_failure_info", b"nexus_handler_failure_info", "nexus_operation_execution_failure_info", b"nexus_operation_execution_failure_info", "reset_workflow_failure_info", b"reset_workflow_failure_info", "server_failure_info", b"server_failure_info", "source", b"source", "stack_trace", b"stack_trace", "terminated_failure_info", b"terminated_failure_info", "timeout_failure_info", b"timeout_failure_info"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"]) -> typing_extensions.Literal["application_failure_info", "timeout_failure_info", "canceled_failure_info", "terminated_failure_info", "server_failure_info", "reset_workflow_failure_info", "activity_failure_info", "child_workflow_execution_failure_info", "nexus_operation_execution_failure_info", "nexus_handler_failure_info"] | None: ... global___Failure = Failure diff --git a/temporalio/api/filter/v1/__init__.py b/temporalio/api/filter/v1/__init__.py index 031c6dbe5..13903cd68 100644 --- a/temporalio/api/filter/v1/__init__.py +++ b/temporalio/api/filter/v1/__init__.py @@ -1,9 +1,7 @@ -from .message_pb2 import ( - StartTimeFilter, - StatusFilter, - WorkflowExecutionFilter, - WorkflowTypeFilter, -) +from .message_pb2 import WorkflowExecutionFilter +from .message_pb2 import WorkflowTypeFilter +from .message_pb2 import StartTimeFilter +from .message_pb2 import StatusFilter __all__ = [ "StartTimeFilter", diff --git a/temporalio/api/filter/v1/message_pb2.py b/temporalio/api/filter/v1/message_pb2.py index d939344c2..1fc1dfc79 100644 --- a/temporalio/api/filter/v1/message_pb2.py +++ b/temporalio/api/filter/v1/message_pb2.py @@ -2,86 +2,66 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/filter/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t""\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\"\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t\"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3') -_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name["WorkflowExecutionFilter"] -_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name["WorkflowTypeFilter"] -_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name["StartTimeFilter"] -_STATUSFILTER = DESCRIPTOR.message_types_by_name["StatusFilter"] -WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionFilter", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONFILTER, - "__module__": "temporal.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) - }, -) + +_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name['WorkflowExecutionFilter'] +_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name['WorkflowTypeFilter'] +_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name['StartTimeFilter'] +_STATUSFILTER = DESCRIPTOR.message_types_by_name['StatusFilter'] +WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFilter', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONFILTER, + '__module__' : 'temporal.api.filter.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) + }) _sym_db.RegisterMessage(WorkflowExecutionFilter) -WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType( - "WorkflowTypeFilter", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTYPEFILTER, - "__module__": "temporal.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) - }, -) +WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType('WorkflowTypeFilter', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTYPEFILTER, + '__module__' : 'temporal.api.filter.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) + }) _sym_db.RegisterMessage(WorkflowTypeFilter) -StartTimeFilter = _reflection.GeneratedProtocolMessageType( - "StartTimeFilter", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMEFILTER, - "__module__": "temporal.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) - }, -) +StartTimeFilter = _reflection.GeneratedProtocolMessageType('StartTimeFilter', (_message.Message,), { + 'DESCRIPTOR' : _STARTTIMEFILTER, + '__module__' : 'temporal.api.filter.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) + }) _sym_db.RegisterMessage(StartTimeFilter) -StatusFilter = _reflection.GeneratedProtocolMessageType( - "StatusFilter", - (_message.Message,), - { - "DESCRIPTOR": _STATUSFILTER, - "__module__": "temporal.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) - }, -) +StatusFilter = _reflection.GeneratedProtocolMessageType('StatusFilter', (_message.Message,), { + 'DESCRIPTOR' : _STATUSFILTER, + '__module__' : 'temporal.api.filter.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) + }) _sym_db.RegisterMessage(StatusFilter) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" - _WORKFLOWEXECUTIONFILTER._serialized_start = 135 - _WORKFLOWEXECUTIONFILTER._serialized_end = 197 - _WORKFLOWTYPEFILTER._serialized_start = 199 - _WORKFLOWTYPEFILTER._serialized_end = 233 - _STARTTIMEFILTER._serialized_start = 235 - _STARTTIMEFILTER._serialized_end = 352 - _STATUSFILTER._serialized_start = 354 - _STATUSFILTER._serialized_end = 432 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1' + _WORKFLOWEXECUTIONFILTER._serialized_start=135 + _WORKFLOWEXECUTIONFILTER._serialized_end=197 + _WORKFLOWTYPEFILTER._serialized_start=199 + _WORKFLOWTYPEFILTER._serialized_end=233 + _STARTTIMEFILTER._serialized_start=235 + _STARTTIMEFILTER._serialized_end=352 + _STATUSFILTER._serialized_start=354 + _STATUSFILTER._serialized_end=432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/filter/v1/message_pb2.pyi b/temporalio/api/filter/v1/message_pb2.pyi index 26d2efeb1..a77fb99e0 100644 --- a/temporalio/api/filter/v1/message_pb2.pyi +++ b/temporalio/api/filter/v1/message_pb2.pyi @@ -2,14 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.enums.v1.workflow_pb2 if sys.version_info >= (3, 8): @@ -32,12 +29,7 @@ class WorkflowExecutionFilter(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "workflow_id", b"workflow_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___WorkflowExecutionFilter = WorkflowExecutionFilter @@ -51,9 +43,7 @@ class WorkflowTypeFilter(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... global___WorkflowTypeFilter = WorkflowTypeFilter @@ -72,18 +62,8 @@ class StartTimeFilter(google.protobuf.message.Message): earliest_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., latest_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "earliest_time", b"earliest_time", "latest_time", b"latest_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "earliest_time", b"earliest_time", "latest_time", b"latest_time" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["earliest_time", b"earliest_time", "latest_time", b"latest_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["earliest_time", b"earliest_time", "latest_time", b"latest_time"]) -> None: ... global___StartTimeFilter = StartTimeFilter @@ -97,8 +77,6 @@ class StatusFilter(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... global___StatusFilter = StatusFilter diff --git a/temporalio/api/history/v1/__init__.py b/temporalio/api/history/v1/__init__.py index 3ed424c12..63581532b 100644 --- a/temporalio/api/history/v1/__init__.py +++ b/temporalio/api/history/v1/__init__.py @@ -1,64 +1,62 @@ -from .message_pb2 import ( - ActivityPropertiesModifiedExternallyEventAttributes, - ActivityTaskCanceledEventAttributes, - ActivityTaskCancelRequestedEventAttributes, - ActivityTaskCompletedEventAttributes, - ActivityTaskFailedEventAttributes, - ActivityTaskScheduledEventAttributes, - ActivityTaskStartedEventAttributes, - ActivityTaskTimedOutEventAttributes, - ChildWorkflowExecutionCanceledEventAttributes, - ChildWorkflowExecutionCompletedEventAttributes, - ChildWorkflowExecutionFailedEventAttributes, - ChildWorkflowExecutionStartedEventAttributes, - ChildWorkflowExecutionTerminatedEventAttributes, - ChildWorkflowExecutionTimedOutEventAttributes, - ExternalWorkflowExecutionCancelRequestedEventAttributes, - ExternalWorkflowExecutionSignaledEventAttributes, - History, - HistoryEvent, - MarkerRecordedEventAttributes, - NexusOperationCanceledEventAttributes, - NexusOperationCancelRequestCompletedEventAttributes, - NexusOperationCancelRequestedEventAttributes, - NexusOperationCancelRequestFailedEventAttributes, - NexusOperationCompletedEventAttributes, - NexusOperationFailedEventAttributes, - NexusOperationScheduledEventAttributes, - NexusOperationStartedEventAttributes, - NexusOperationTimedOutEventAttributes, - RequestCancelExternalWorkflowExecutionFailedEventAttributes, - RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, - SignalExternalWorkflowExecutionFailedEventAttributes, - SignalExternalWorkflowExecutionInitiatedEventAttributes, - StartChildWorkflowExecutionFailedEventAttributes, - StartChildWorkflowExecutionInitiatedEventAttributes, - TimerCanceledEventAttributes, - TimerFiredEventAttributes, - TimerStartedEventAttributes, - UpsertWorkflowSearchAttributesEventAttributes, - WorkflowExecutionCanceledEventAttributes, - WorkflowExecutionCancelRequestedEventAttributes, - WorkflowExecutionCompletedEventAttributes, - WorkflowExecutionContinuedAsNewEventAttributes, - WorkflowExecutionFailedEventAttributes, - WorkflowExecutionOptionsUpdatedEventAttributes, - WorkflowExecutionSignaledEventAttributes, - WorkflowExecutionStartedEventAttributes, - WorkflowExecutionTerminatedEventAttributes, - WorkflowExecutionTimedOutEventAttributes, - WorkflowExecutionUpdateAcceptedEventAttributes, - WorkflowExecutionUpdateAdmittedEventAttributes, - WorkflowExecutionUpdateCompletedEventAttributes, - WorkflowExecutionUpdateRejectedEventAttributes, - WorkflowPropertiesModifiedEventAttributes, - WorkflowPropertiesModifiedExternallyEventAttributes, - WorkflowTaskCompletedEventAttributes, - WorkflowTaskFailedEventAttributes, - WorkflowTaskScheduledEventAttributes, - WorkflowTaskStartedEventAttributes, - WorkflowTaskTimedOutEventAttributes, -) +from .message_pb2 import WorkflowExecutionStartedEventAttributes +from .message_pb2 import WorkflowExecutionCompletedEventAttributes +from .message_pb2 import WorkflowExecutionFailedEventAttributes +from .message_pb2 import WorkflowExecutionTimedOutEventAttributes +from .message_pb2 import WorkflowExecutionContinuedAsNewEventAttributes +from .message_pb2 import WorkflowTaskScheduledEventAttributes +from .message_pb2 import WorkflowTaskStartedEventAttributes +from .message_pb2 import WorkflowTaskCompletedEventAttributes +from .message_pb2 import WorkflowTaskTimedOutEventAttributes +from .message_pb2 import WorkflowTaskFailedEventAttributes +from .message_pb2 import ActivityTaskScheduledEventAttributes +from .message_pb2 import ActivityTaskStartedEventAttributes +from .message_pb2 import ActivityTaskCompletedEventAttributes +from .message_pb2 import ActivityTaskFailedEventAttributes +from .message_pb2 import ActivityTaskTimedOutEventAttributes +from .message_pb2 import ActivityTaskCancelRequestedEventAttributes +from .message_pb2 import ActivityTaskCanceledEventAttributes +from .message_pb2 import TimerStartedEventAttributes +from .message_pb2 import TimerFiredEventAttributes +from .message_pb2 import TimerCanceledEventAttributes +from .message_pb2 import WorkflowExecutionCancelRequestedEventAttributes +from .message_pb2 import WorkflowExecutionCanceledEventAttributes +from .message_pb2 import MarkerRecordedEventAttributes +from .message_pb2 import WorkflowExecutionSignaledEventAttributes +from .message_pb2 import WorkflowExecutionTerminatedEventAttributes +from .message_pb2 import RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +from .message_pb2 import RequestCancelExternalWorkflowExecutionFailedEventAttributes +from .message_pb2 import ExternalWorkflowExecutionCancelRequestedEventAttributes +from .message_pb2 import SignalExternalWorkflowExecutionInitiatedEventAttributes +from .message_pb2 import SignalExternalWorkflowExecutionFailedEventAttributes +from .message_pb2 import ExternalWorkflowExecutionSignaledEventAttributes +from .message_pb2 import UpsertWorkflowSearchAttributesEventAttributes +from .message_pb2 import WorkflowPropertiesModifiedEventAttributes +from .message_pb2 import StartChildWorkflowExecutionInitiatedEventAttributes +from .message_pb2 import StartChildWorkflowExecutionFailedEventAttributes +from .message_pb2 import ChildWorkflowExecutionStartedEventAttributes +from .message_pb2 import ChildWorkflowExecutionCompletedEventAttributes +from .message_pb2 import ChildWorkflowExecutionFailedEventAttributes +from .message_pb2 import ChildWorkflowExecutionCanceledEventAttributes +from .message_pb2 import ChildWorkflowExecutionTimedOutEventAttributes +from .message_pb2 import ChildWorkflowExecutionTerminatedEventAttributes +from .message_pb2 import WorkflowExecutionOptionsUpdatedEventAttributes +from .message_pb2 import WorkflowPropertiesModifiedExternallyEventAttributes +from .message_pb2 import ActivityPropertiesModifiedExternallyEventAttributes +from .message_pb2 import WorkflowExecutionUpdateAcceptedEventAttributes +from .message_pb2 import WorkflowExecutionUpdateCompletedEventAttributes +from .message_pb2 import WorkflowExecutionUpdateRejectedEventAttributes +from .message_pb2 import WorkflowExecutionUpdateAdmittedEventAttributes +from .message_pb2 import NexusOperationScheduledEventAttributes +from .message_pb2 import NexusOperationStartedEventAttributes +from .message_pb2 import NexusOperationCompletedEventAttributes +from .message_pb2 import NexusOperationFailedEventAttributes +from .message_pb2 import NexusOperationTimedOutEventAttributes +from .message_pb2 import NexusOperationCanceledEventAttributes +from .message_pb2 import NexusOperationCancelRequestedEventAttributes +from .message_pb2 import NexusOperationCancelRequestCompletedEventAttributes +from .message_pb2 import NexusOperationCancelRequestFailedEventAttributes +from .message_pb2 import HistoryEvent +from .message_pb2 import History __all__ = [ "ActivityPropertiesModifiedExternallyEventAttributes", diff --git a/temporalio/api/history/v1/message_pb2.py b/temporalio/api/history/v1/message_pb2.py index d3f40a8c9..a23b3d3fb 100644 --- a/temporalio/api/history/v1/message_pb2.py +++ b/temporalio/api/history/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/history/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,1246 +14,700 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, -) -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, -) -from temporalio.api.enums.v1 import ( - update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) -from temporalio.api.update.v1 import ( - message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, -) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xd6\x0f\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08J\x04\x08$\x10%R parent_pinned_deployment_version"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t"\xc8\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05"\x92\x02\n"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"\x9e\x02\n"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xab\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03"\x84\x02\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin"\xbb\x03\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03"\xbe;\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x42\x0c\n\nattributes"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3' -) - - -_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionStartedEventAttributes" -] -_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCompletedEventAttributes" -] -_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionFailedEventAttributes" -] -_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionTimedOutEventAttributes" -] -_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionContinuedAsNewEventAttributes" -] -_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskScheduledEventAttributes" -] -_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskStartedEventAttributes" -] -_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskCompletedEventAttributes" -] -_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskTimedOutEventAttributes" -] -_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskFailedEventAttributes" -] -_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskScheduledEventAttributes" -] -_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskStartedEventAttributes" -] -_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCompletedEventAttributes" -] -_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskFailedEventAttributes" -] -_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskTimedOutEventAttributes" -] -_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCancelRequestedEventAttributes" -] -_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCanceledEventAttributes" -] -_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerStartedEventAttributes" -] -_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerFiredEventAttributes" -] -_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerCanceledEventAttributes" -] -_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCancelRequestedEventAttributes" -] -_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCanceledEventAttributes" -] -_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "MarkerRecordedEventAttributes" -] -_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = ( - _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name["DetailsEntry"] -) -_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionSignaledEventAttributes" -] -_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionTerminatedEventAttributes" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" - ] -) -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionFailedEventAttributes" - ] -) -_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "ExternalWorkflowExecutionCancelRequestedEventAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionInitiatedEventAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionFailedEventAttributes" - ] -) -_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ExternalWorkflowExecutionSignaledEventAttributes" -] -_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributesEventAttributes" -] -_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowPropertiesModifiedEventAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionInitiatedEventAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionFailedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionStartedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionCompletedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionFailedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionCanceledEventAttributes" -] -_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionTimedOutEventAttributes" -] -_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionTerminatedEventAttributes" -] -_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionOptionsUpdatedEventAttributes" -] -_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowPropertiesModifiedExternallyEventAttributes" -] -_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityPropertiesModifiedExternallyEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateAcceptedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateCompletedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateRejectedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateAdmittedEventAttributes" -] -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationScheduledEventAttributes" -] -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = ( - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] -) -_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationStartedEventAttributes" -] -_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCompletedEventAttributes" -] -_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationFailedEventAttributes" -] -_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationTimedOutEventAttributes" -] -_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCanceledEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestedEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestCompletedEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestFailedEventAttributes" -] -_HISTORYEVENT = DESCRIPTOR.message_types_by_name["HistoryEvent"] -_HISTORY = DESCRIPTOR.message_types_by_name["History"] -WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) - }, -) +from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 +from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 +from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 +from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 +from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2 +from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xd6\x0f\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08J\x04\x08$\x10%R parent_pinned_deployment_version\"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t\"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t\"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t\"\xc8\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"\x92\x02\n\"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"\x9e\x02\n\"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xab\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\"\x84\x02\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin\"\xbb\x03\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t\"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03\"\xbe;\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3') + + + +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionStartedEventAttributes'] +_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCompletedEventAttributes'] +_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionFailedEventAttributes'] +_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionTimedOutEventAttributes'] +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionContinuedAsNewEventAttributes'] +_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskScheduledEventAttributes'] +_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskStartedEventAttributes'] +_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskCompletedEventAttributes'] +_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskTimedOutEventAttributes'] +_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskFailedEventAttributes'] +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskScheduledEventAttributes'] +_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskStartedEventAttributes'] +_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCompletedEventAttributes'] +_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskFailedEventAttributes'] +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskTimedOutEventAttributes'] +_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCancelRequestedEventAttributes'] +_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCanceledEventAttributes'] +_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerStartedEventAttributes'] +_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerFiredEventAttributes'] +_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerCanceledEventAttributes'] +_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCancelRequestedEventAttributes'] +_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCanceledEventAttributes'] +_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['MarkerRecordedEventAttributes'] +_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name['DetailsEntry'] +_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionSignaledEventAttributes'] +_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionTerminatedEventAttributes'] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionFailedEventAttributes'] +_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionCancelRequestedEventAttributes'] +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionInitiatedEventAttributes'] +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionFailedEventAttributes'] +_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionSignaledEventAttributes'] +_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesEventAttributes'] +_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowPropertiesModifiedEventAttributes'] +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionInitiatedEventAttributes'] +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionFailedEventAttributes'] +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionStartedEventAttributes'] +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCompletedEventAttributes'] +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionFailedEventAttributes'] +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCanceledEventAttributes'] +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTimedOutEventAttributes'] +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTerminatedEventAttributes'] +_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionOptionsUpdatedEventAttributes'] +_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowPropertiesModifiedExternallyEventAttributes'] +_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityPropertiesModifiedExternallyEventAttributes'] +_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateAcceptedEventAttributes'] +_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateCompletedEventAttributes'] +_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateRejectedEventAttributes'] +_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateAdmittedEventAttributes'] +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationScheduledEventAttributes'] +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name['NexusHeaderEntry'] +_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationStartedEventAttributes'] +_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCompletedEventAttributes'] +_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationFailedEventAttributes'] +_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationTimedOutEventAttributes'] +_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCanceledEventAttributes'] +_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestedEventAttributes'] +_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestCompletedEventAttributes'] +_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestFailedEventAttributes'] +_HISTORYEVENT = DESCRIPTOR.message_types_by_name['HistoryEvent'] +_HISTORY = DESCRIPTOR.message_types_by_name['History'] +WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes) -WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) - }, -) +WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionCompletedEventAttributes) -WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) - }, -) +WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionFailedEventAttributes) -WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) - }, -) +WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionTimedOutEventAttributes) -WorkflowExecutionContinuedAsNewEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionContinuedAsNewEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) - }, - ) -) +WorkflowExecutionContinuedAsNewEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionContinuedAsNewEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionContinuedAsNewEventAttributes) -WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskScheduledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) - }, -) +WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskScheduledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) + }) _sym_db.RegisterMessage(WorkflowTaskScheduledEventAttributes) -WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) - }, -) +WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowTaskStartedEventAttributes) -WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) - }, -) +WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowTaskCompletedEventAttributes) -WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) - }, -) +WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) + }) _sym_db.RegisterMessage(WorkflowTaskTimedOutEventAttributes) -WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) - }, -) +WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowTaskFailedEventAttributes) -ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskScheduledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) - }, -) +ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskScheduledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskScheduledEventAttributes) -ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) - }, -) +ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskStartedEventAttributes) -ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) - }, -) +ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskCompletedEventAttributes) -ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) - }, -) +ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskFailedEventAttributes) -ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) - }, -) +ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskTimedOutEventAttributes) -ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) - }, -) +ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskCancelRequestedEventAttributes) -ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) - }, -) +ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) + }) _sym_db.RegisterMessage(ActivityTaskCanceledEventAttributes) -TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) - }, -) +TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType('TimerStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) + }) _sym_db.RegisterMessage(TimerStartedEventAttributes) -TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerFiredEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERFIREDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) - }, -) +TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType('TimerFiredEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERFIREDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) + }) _sym_db.RegisterMessage(TimerFiredEventAttributes) -TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERCANCELEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) - }, -) +TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('TimerCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERCANCELEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) + }) _sym_db.RegisterMessage(TimerCanceledEventAttributes) -WorkflowExecutionCancelRequestedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) - }, - ) -) +WorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionCancelRequestedEventAttributes) -WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) - }, -) +WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionCanceledEventAttributes) -MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType( - "MarkerRecordedEventAttributes", - (_message.Message,), - { - "DetailsEntry": _reflection.GeneratedProtocolMessageType( - "DetailsEntry", - (_message.Message,), - { - "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) - }, - ), - "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) - }, -) +MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType('MarkerRecordedEventAttributes', (_message.Message,), { + + 'DetailsEntry' : _reflection.GeneratedProtocolMessageType('DetailsEntry', (_message.Message,), { + 'DESCRIPTOR' : _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) + }) + , + 'DESCRIPTOR' : _MARKERRECORDEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) + }) _sym_db.RegisterMessage(MarkerRecordedEventAttributes) _sym_db.RegisterMessage(MarkerRecordedEventAttributes.DetailsEntry) -WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionSignaledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) - }, -) +WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionSignaledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionSignaledEventAttributes) -WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionTerminatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) - }, -) +WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTerminatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionTerminatedEventAttributes) -RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) - }, -) +RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + }) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) -RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) - }, - ) -) +RequestCancelExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) + }) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionFailedEventAttributes) -ExternalWorkflowExecutionCancelRequestedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ExternalWorkflowExecutionCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) - }, - ) -) +ExternalWorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) + }) _sym_db.RegisterMessage(ExternalWorkflowExecutionCancelRequestedEventAttributes) -SignalExternalWorkflowExecutionInitiatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) - }, - ) -) +SignalExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) + }) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionInitiatedEventAttributes) -SignalExternalWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) - }, - ) -) +SignalExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) + }) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionFailedEventAttributes) -ExternalWorkflowExecutionSignaledEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ExternalWorkflowExecutionSignaledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) - }, - ) -) +ExternalWorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionSignaledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) + }) _sym_db.RegisterMessage(ExternalWorkflowExecutionSignaledEventAttributes) -UpsertWorkflowSearchAttributesEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributesEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) - }, - ) -) +UpsertWorkflowSearchAttributesEventAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) + }) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributesEventAttributes) -WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowPropertiesModifiedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) - }, -) +WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowPropertiesModifiedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowPropertiesModifiedEventAttributes) -StartChildWorkflowExecutionInitiatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) - }, - ) -) +StartChildWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) + }) _sym_db.RegisterMessage(StartChildWorkflowExecutionInitiatedEventAttributes) -StartChildWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) - }, - ) -) +StartChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) + }) _sym_db.RegisterMessage(StartChildWorkflowExecutionFailedEventAttributes) -ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) - }, -) +ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionStartedEventAttributes) -ChildWorkflowExecutionCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) - }, - ) -) +ChildWorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionCompletedEventAttributes) -ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) - }, -) +ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionFailedEventAttributes) -ChildWorkflowExecutionCanceledEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) - }, - ) -) +ChildWorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionCanceledEventAttributes) -ChildWorkflowExecutionTimedOutEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) - }, - ) -) +ChildWorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionTimedOutEventAttributes) -ChildWorkflowExecutionTerminatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionTerminatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) - }, - ) -) +ChildWorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTerminatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) + }) _sym_db.RegisterMessage(ChildWorkflowExecutionTerminatedEventAttributes) -WorkflowExecutionOptionsUpdatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionOptionsUpdatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) - }, - ) -) +WorkflowExecutionOptionsUpdatedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionOptionsUpdatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionOptionsUpdatedEventAttributes) -WorkflowPropertiesModifiedExternallyEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowPropertiesModifiedExternallyEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) - }, - ) -) +WorkflowPropertiesModifiedExternallyEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowPropertiesModifiedExternallyEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) + }) _sym_db.RegisterMessage(WorkflowPropertiesModifiedExternallyEventAttributes) -ActivityPropertiesModifiedExternallyEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ActivityPropertiesModifiedExternallyEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) - }, - ) -) +ActivityPropertiesModifiedExternallyEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityPropertiesModifiedExternallyEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) + }) _sym_db.RegisterMessage(ActivityPropertiesModifiedExternallyEventAttributes) -WorkflowExecutionUpdateAcceptedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateAcceptedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) - }, - ) -) +WorkflowExecutionUpdateAcceptedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateAcceptedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionUpdateAcceptedEventAttributes) -WorkflowExecutionUpdateCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) - }, - ) -) +WorkflowExecutionUpdateCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionUpdateCompletedEventAttributes) -WorkflowExecutionUpdateRejectedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateRejectedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) - }, - ) -) +WorkflowExecutionUpdateRejectedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateRejectedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionUpdateRejectedEventAttributes) -WorkflowExecutionUpdateAdmittedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateAdmittedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) - }, - ) -) +WorkflowExecutionUpdateAdmittedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateAdmittedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) + }) _sym_db.RegisterMessage(WorkflowExecutionUpdateAdmittedEventAttributes) -NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationScheduledEventAttributes", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) - }, -) +NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationScheduledEventAttributes', (_message.Message,), { + + 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) + }) + , + 'DESCRIPTOR' : _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationScheduledEventAttributes) _sym_db.RegisterMessage(NexusOperationScheduledEventAttributes.NexusHeaderEntry) -NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) - }, -) +NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationStartedEventAttributes) -NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) - }, -) +NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationCompletedEventAttributes) -NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) - }, -) +NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationFailedEventAttributes) -NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) - }, -) +NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationTimedOutEventAttributes) -NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) - }, -) +NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationCanceledEventAttributes) -NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) - }, -) +NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationCancelRequestedEventAttributes) -NexusOperationCancelRequestCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) - }, - ) -) +NexusOperationCancelRequestCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationCancelRequestCompletedEventAttributes) -NexusOperationCancelRequestFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) - }, - ) -) +NexusOperationCancelRequestFailedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) + }) _sym_db.RegisterMessage(NexusOperationCancelRequestFailedEventAttributes) -HistoryEvent = _reflection.GeneratedProtocolMessageType( - "HistoryEvent", - (_message.Message,), - { - "DESCRIPTOR": _HISTORYEVENT, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) - }, -) +HistoryEvent = _reflection.GeneratedProtocolMessageType('HistoryEvent', (_message.Message,), { + 'DESCRIPTOR' : _HISTORYEVENT, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) + }) _sym_db.RegisterMessage(HistoryEvent) -History = _reflection.GeneratedProtocolMessageType( - "History", - (_message.Message,), - { - "DESCRIPTOR": _HISTORY, - "__module__": "temporal.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) - }, -) +History = _reflection.GeneratedProtocolMessageType('History', (_message.Message,), { + 'DESCRIPTOR' : _HISTORY, + '__module__' : 'temporal.api.history.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) + }) _sym_db.RegisterMessage(History) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "source_version_stamp" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "source_version_stamp" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "inherited_build_id" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "inherited_build_id" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "parent_pinned_worker_deployment_version" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "parent_pinned_worker_deployment_version" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ - "failure" - ]._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ - "failure" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "build_id_redirect_counter" - ]._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "build_id_redirect_counter" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "binary_checksum" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name["deployment"]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_deployment_version" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_deployment_version" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["binary_checksum"]._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ - "use_workflow_build_id" - ]._options = None - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ - "use_workflow_build_id" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "build_id_redirect_counter" - ]._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ - "build_id_redirect_counter" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._options = None - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._options = None - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ - "skip_generate_workflow_task" - ]._options = None - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ - "skip_generate_workflow_task" - ]._serialized_options = b"\030\001" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "inherit_build_id" - ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( - b"8\001" - ) - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name["operation_id"]._options = None - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 617 - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 2623 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 2626 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 2791 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 2794 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 3013 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 3016 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 3144 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start = 3147 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end = 3987 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 3990 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 4162 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start = 4165 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end = 4439 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 4442 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 5084 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 5087 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 5236 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start = 5239 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end = 5630 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 5633 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 6339 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start = 6342 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end = 6628 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 6631 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 6863 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start = 6866 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end = 7152 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 7155 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 7353 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 7355 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 7469 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start = 7472 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end = 7746 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_start = 7749 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_end = 7896 - _TIMERFIREDEVENTATTRIBUTES._serialized_start = 7898 - _TIMERFIREDEVENTATTRIBUTES._serialized_end = 7969 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_start = 7972 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_end = 8106 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8109 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 8308 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 8311 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 8446 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_start = 8449 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_end = 8810 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start = 8730 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end = 8810 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 8813 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 9112 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 9115 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 9244 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 9247 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = ( - 9531 - ) - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = ( - 9534 - ) - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 9880 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 9883 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 10080 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 10083 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 10462 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 10465 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 10804 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 10807 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 11018 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start = 11021 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end = 11179 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start = 11182 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end = 11320 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 11323 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 12323 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 12326 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 12668 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 12671 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 12966 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 12969 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 13294 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 13297 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 13676 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 13679 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 14004 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 14007 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 14337 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 14340 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 14616 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start = 14619 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end = 14879 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 14882 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 15202 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 15205 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 15349 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start = 15352 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end = 15572 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start = 15575 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end = 15745 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start = 15748 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end = 16019 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start = 16022 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end = 16186 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start = 16189 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end = 16632 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 16582 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 16632 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start = 16635 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end = 16772 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 16775 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 16912 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start = 16915 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end = 17051 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 17054 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 17192 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start = 17195 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end = 17333 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 17335 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 17451 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start = 17454 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end = 17605 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start = 17608 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end = 17807 - _HISTORYEVENT._serialized_start = 17810 - _HISTORYEVENT._serialized_end = 25424 - _HISTORY._serialized_start = 25426 - _HISTORY._serialized_end = 25490 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1' + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['source_version_stamp']._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['source_version_stamp']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['inherited_build_id']._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['inherited_build_id']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['parent_pinned_worker_deployment_version']._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['parent_pinned_worker_deployment_version']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['failure']._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['failure']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['inherit_build_id']._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._serialized_options = b'\030\001' + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['deployment']._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['deployment']._serialized_options = b'\030\001' + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_deployment_version']._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_deployment_version']._serialized_options = b'\030\001' + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['use_workflow_build_id']._options = None + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['use_workflow_build_id']._serialized_options = b'\030\001' + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._serialized_options = b'\030\001' + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b'8\001' + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['skip_generate_workflow_task']._options = None + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['skip_generate_workflow_task']._serialized_options = b'\030\001' + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['inherit_build_id']._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = b'8\001' + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name['operation_id']._options = None + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name['operation_id']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start=617 + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end=2623 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start=2626 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end=2791 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=2794 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=3013 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start=3016 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end=3144 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start=3147 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end=3987 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start=3990 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end=4162 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start=4165 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end=4439 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start=4442 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end=5084 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start=5087 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end=5236 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start=5239 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end=5630 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start=5633 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end=6339 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start=6342 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end=6628 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start=6631 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end=6863 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start=6866 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end=7152 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start=7155 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end=7353 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=7355 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=7469 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start=7472 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end=7746 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_start=7749 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_end=7896 + _TIMERFIREDEVENTATTRIBUTES._serialized_start=7898 + _TIMERFIREDEVENTATTRIBUTES._serialized_end=7969 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_start=7972 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_end=8106 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=8109 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=8308 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start=8311 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end=8446 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_start=8449 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_end=8810 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start=8730 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end=8810 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start=8813 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end=9112 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start=9115 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end=9244 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=9247 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=9531 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=9534 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=9880 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=9883 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=10080 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=10083 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=10462 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=10465 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=10804 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start=10807 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end=11018 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start=11021 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end=11179 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start=11182 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end=11320 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=11323 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=12323 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=12326 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=12668 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start=12671 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end=12966 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start=12969 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end=13294 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=13297 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=13676 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start=13679 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end=14004 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start=14007 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end=14337 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start=14340 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end=14616 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start=14619 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end=14879 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start=14882 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end=15202 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start=15205 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end=15349 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start=15352 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end=15572 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start=15575 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end=15745 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start=15748 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end=16019 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start=16022 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end=16186 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start=16189 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end=16632 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start=16582 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end=16632 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start=16635 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end=16772 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start=16775 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end=16912 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start=16915 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end=17051 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start=17054 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end=17192 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start=17195 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end=17333 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=17335 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=17451 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start=17454 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end=17605 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start=17608 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end=17807 + _HISTORYEVENT._serialized_start=17810 + _HISTORYEVENT._serialized_end=25424 + _HISTORY._serialized_start=25426 + _HISTORY._serialized_end=25490 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/history/v1/message_pb2.pyi b/temporalio/api/history/v1/message_pb2.pyi index 50fc04f0e..5a1a6d024 100644 --- a/temporalio/api/history/v1/message_pb2.pyi +++ b/temporalio/api/history/v1/message_pb2.pyi @@ -2,17 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.event_type_pb2 @@ -83,9 +80,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """ parent_workflow_namespace_id: builtins.str @property - def parent_workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def parent_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated. """ @@ -113,9 +108,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property - def last_completion_result( - self, - ) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... original_execution_run_id: builtins.str """This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field. @@ -131,9 +124,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): attempt: builtins.int """Starting at 1, the number of times we have tried to execute this workflow""" @property - def workflow_execution_expiration_time( - self, - ) -> google.protobuf.timestamp_pb2.Timestamp: + def workflow_execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ @@ -147,13 +138,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def prev_auto_reset_points( - self, - ) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... + def prev_auto_reset_points(self) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... parent_initiated_event_version: builtins.int @@ -164,24 +151,16 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): workflow_id: builtins.str """This field is new in 1.21.""" @property - def source_version_stamp( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def source_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv] """ @property - def completion_callbacks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Callback - ]: + def completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: """Completion callbacks attached when this workflow was started.""" @property - def root_workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def root_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. @@ -214,9 +193,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @property - def versioning_override( - self, - ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version. @@ -233,9 +210,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" @property - def inherited_pinned_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def inherited_pinned_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. @@ -262,8 +237,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., parent_workflow_namespace: builtins.str = ..., parent_workflow_namespace_id: builtins.str = ..., - parent_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + parent_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., parent_initiated_event_id: builtins.int = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., @@ -273,172 +247,35 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): continued_execution_run_id: builtins.str = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., original_execution_run_id: builtins.str = ..., identity: builtins.str = ..., first_execution_run_id: builtins.str = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., attempt: builtins.int = ..., - workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., cron_schedule: builtins.str = ..., first_workflow_task_backoff: google.protobuf.duration_pb2.Duration | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., - prev_auto_reset_points: temporalio.api.workflow.v1.message_pb2.ResetPoints - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + prev_auto_reset_points: temporalio.api.workflow.v1.message_pb2.ResetPoints | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., parent_initiated_event_version: builtins.int = ..., workflow_id: builtins.str = ..., - source_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - completion_callbacks: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Callback - ] - | None = ..., - root_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + source_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., + root_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., inherited_build_id: builtins.str = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride - | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., parent_pinned_worker_deployment_version: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - inherited_pinned_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + inherited_pinned_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., eager_execution_accepted: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "continued_failure", - b"continued_failure", - "first_workflow_task_backoff", - b"first_workflow_task_backoff", - "header", - b"header", - "inherited_pinned_version", - b"inherited_pinned_version", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "parent_workflow_execution", - b"parent_workflow_execution", - "prev_auto_reset_points", - b"prev_auto_reset_points", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "root_workflow_execution", - b"root_workflow_execution", - "search_attributes", - b"search_attributes", - "source_version_stamp", - b"source_version_stamp", - "task_queue", - b"task_queue", - "versioning_override", - b"versioning_override", - "workflow_execution_expiration_time", - b"workflow_execution_expiration_time", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "completion_callbacks", - b"completion_callbacks", - "continued_execution_run_id", - b"continued_execution_run_id", - "continued_failure", - b"continued_failure", - "cron_schedule", - b"cron_schedule", - "eager_execution_accepted", - b"eager_execution_accepted", - "first_execution_run_id", - b"first_execution_run_id", - "first_workflow_task_backoff", - b"first_workflow_task_backoff", - "header", - b"header", - "identity", - b"identity", - "inherited_build_id", - b"inherited_build_id", - "inherited_pinned_version", - b"inherited_pinned_version", - "initiator", - b"initiator", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "original_execution_run_id", - b"original_execution_run_id", - "parent_initiated_event_id", - b"parent_initiated_event_id", - "parent_initiated_event_version", - b"parent_initiated_event_version", - "parent_pinned_worker_deployment_version", - b"parent_pinned_worker_deployment_version", - "parent_workflow_execution", - b"parent_workflow_execution", - "parent_workflow_namespace", - b"parent_workflow_namespace", - "parent_workflow_namespace_id", - b"parent_workflow_namespace_id", - "prev_auto_reset_points", - b"prev_auto_reset_points", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "root_workflow_execution", - b"root_workflow_execution", - "search_attributes", - b"search_attributes", - "source_version_stamp", - b"source_version_stamp", - "task_queue", - b"task_queue", - "versioning_override", - b"versioning_override", - "workflow_execution_expiration_time", - b"workflow_execution_expiration_time", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "first_workflow_task_backoff", b"first_workflow_task_backoff", "header", b"header", "inherited_pinned_version", b"inherited_pinned_version", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_execution", b"parent_workflow_execution", "prev_auto_reset_points", b"prev_auto_reset_points", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow_execution", b"root_workflow_execution", "search_attributes", b"search_attributes", "source_version_stamp", b"source_version_stamp", "task_queue", b"task_queue", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "completion_callbacks", b"completion_callbacks", "continued_execution_run_id", b"continued_execution_run_id", "continued_failure", b"continued_failure", "cron_schedule", b"cron_schedule", "eager_execution_accepted", b"eager_execution_accepted", "first_execution_run_id", b"first_execution_run_id", "first_workflow_task_backoff", b"first_workflow_task_backoff", "header", b"header", "identity", b"identity", "inherited_build_id", b"inherited_build_id", "inherited_pinned_version", b"inherited_pinned_version", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "original_execution_run_id", b"original_execution_run_id", "parent_initiated_event_id", b"parent_initiated_event_id", "parent_initiated_event_version", b"parent_initiated_event_version", "parent_pinned_worker_deployment_version", b"parent_pinned_worker_deployment_version", "parent_workflow_execution", b"parent_workflow_execution", "parent_workflow_namespace", b"parent_workflow_namespace", "parent_workflow_namespace_id", b"parent_workflow_namespace_id", "prev_auto_reset_points", b"prev_auto_reset_points", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow_execution", b"root_workflow_execution", "search_attributes", b"search_attributes", "source_version_stamp", b"source_version_stamp", "task_queue", b"task_queue", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... -global___WorkflowExecutionStartedEventAttributes = ( - WorkflowExecutionStartedEventAttributes -) +global___WorkflowExecutionStartedEventAttributes = WorkflowExecutionStartedEventAttributes class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -460,24 +297,10 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) workflow_task_completed_event_id: builtins.int = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "new_execution_run_id", - b"new_execution_run_id", - "result", - b"result", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["new_execution_run_id", b"new_execution_run_id", "result", b"result", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___WorkflowExecutionCompletedEventAttributes = ( - WorkflowExecutionCompletedEventAttributes -) +global___WorkflowExecutionCompletedEventAttributes = WorkflowExecutionCompletedEventAttributes class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -502,22 +325,8 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "new_execution_run_id", - b"new_execution_run_id", - "retry_state", - b"retry_state", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "new_execution_run_id", b"new_execution_run_id", "retry_state", b"retry_state", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___WorkflowExecutionFailedEventAttributes = WorkflowExecutionFailedEventAttributes @@ -535,19 +344,9 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "new_execution_run_id", - b"new_execution_run_id", - "retry_state", - b"retry_state", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["new_execution_run_id", b"new_execution_run_id", "retry_state", b"retry_state"]) -> None: ... -global___WorkflowExecutionTimedOutEventAttributes = ( - WorkflowExecutionTimedOutEventAttributes -) +global___WorkflowExecutionTimedOutEventAttributes = WorkflowExecutionTimedOutEventAttributes class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -602,9 +401,7 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. @@ -623,80 +420,16 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes backoff_start_interval: google.protobuf.duration_pb2.Duration | None = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., inherit_build_id: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "backoff_start_interval", - b"backoff_start_interval", - "failure", - b"failure", - "header", - b"header", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "backoff_start_interval", - b"backoff_start_interval", - "failure", - b"failure", - "header", - b"header", - "inherit_build_id", - b"inherit_build_id", - "initiator", - b"initiator", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "new_execution_run_id", - b"new_execution_run_id", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "inherit_build_id", b"inherit_build_id", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "new_execution_run_id", b"new_execution_run_id", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... -global___WorkflowExecutionContinuedAsNewEventAttributes = ( - WorkflowExecutionContinuedAsNewEventAttributes -) +global___WorkflowExecutionContinuedAsNewEventAttributes = WorkflowExecutionContinuedAsNewEventAttributes class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -723,26 +456,8 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., attempt: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> None: ... global___WorkflowTaskScheduledEventAttributes = WorkflowTaskScheduledEventAttributes @@ -789,32 +504,11 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., suggest_continue_as_new: builtins.bool = ..., history_size_bytes: builtins.int = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., build_id_redirect_counter: builtins.int = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["worker_version", b"worker_version"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id_redirect_counter", - b"build_id_redirect_counter", - "history_size_bytes", - b"history_size_bytes", - "identity", - b"identity", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - "suggest_continue_as_new", - b"suggest_continue_as_new", - "worker_version", - b"worker_version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id_redirect_counter", b"build_id_redirect_counter", "history_size_bytes", b"history_size_bytes", "identity", b"identity", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id", "suggest_continue_as_new", b"suggest_continue_as_new", "worker_version", b"worker_version"]) -> None: ... global___WorkflowTaskStartedEventAttributes = WorkflowTaskStartedEventAttributes @@ -851,16 +545,12 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): Deprecated. Use `deployment_version` and `versioning_behavior` instead. """ @property - def sdk_metadata( - self, - ) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: + def sdk_metadata(self) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ @property - def metering_metadata( - self, - ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: + def metering_metadata(self) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data sent during workflow task completion and recorded here for posterity""" @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: @@ -869,9 +559,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`. """ - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) + versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType """Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's `versioning_info.behavior`. @@ -888,9 +576,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): Experimental. Worker Deployments are experimental and might significantly change in the future. """ @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`. Experimental. Worker Deployments are experimental and might significantly change in the future. @@ -902,63 +588,17 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., identity: builtins.str = ..., binary_checksum: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata - | None = ..., - metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata - | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata | None = ..., + metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., worker_deployment_version: builtins.str = ..., worker_deployment_name: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_version", - b"deployment_version", - "metering_metadata", - b"metering_metadata", - "sdk_metadata", - b"sdk_metadata", - "worker_version", - b"worker_version", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "binary_checksum", - b"binary_checksum", - "deployment", - b"deployment", - "deployment_version", - b"deployment_version", - "identity", - b"identity", - "metering_metadata", - b"metering_metadata", - "scheduled_event_id", - b"scheduled_event_id", - "sdk_metadata", - b"sdk_metadata", - "started_event_id", - b"started_event_id", - "versioning_behavior", - b"versioning_behavior", - "worker_deployment_name", - b"worker_deployment_name", - "worker_deployment_version", - b"worker_deployment_version", - "worker_version", - b"worker_version", - ], + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_version", b"deployment_version", "metering_metadata", b"metering_metadata", "sdk_metadata", b"sdk_metadata", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "deployment", b"deployment", "deployment_version", b"deployment_version", "identity", b"identity", "metering_metadata", b"metering_metadata", "scheduled_event_id", b"scheduled_event_id", "sdk_metadata", b"sdk_metadata", "started_event_id", b"started_event_id", "versioning_behavior", b"versioning_behavior", "worker_deployment_name", b"worker_deployment_name", "worker_deployment_version", b"worker_deployment_version", "worker_version", b"worker_version"]) -> None: ... global___WorkflowTaskCompletedEventAttributes = WorkflowTaskCompletedEventAttributes @@ -980,17 +620,7 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - "timeout_type", - b"timeout_type", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "timeout_type", b"timeout_type"]) -> None: ... global___WorkflowTaskTimedOutEventAttributes = WorkflowTaskTimedOutEventAttributes @@ -1046,40 +676,10 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): new_run_id: builtins.str = ..., fork_event_version: builtins.int = ..., binary_checksum: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "worker_version", b"worker_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "base_run_id", - b"base_run_id", - "binary_checksum", - b"binary_checksum", - "cause", - b"cause", - "failure", - b"failure", - "fork_event_version", - b"fork_event_version", - "identity", - b"identity", - "new_run_id", - b"new_run_id", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - "worker_version", - b"worker_version", - ], + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["base_run_id", b"base_run_id", "binary_checksum", b"binary_checksum", "cause", b"cause", "failure", b"failure", "fork_event_version", b"fork_event_version", "identity", b"identity", "new_run_id", b"new_run_id", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___WorkflowTaskFailedEventAttributes = WorkflowTaskFailedEventAttributes @@ -1174,62 +774,8 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): use_workflow_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_type", - b"activity_type", - "header", - b"header", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "header", - b"header", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - "use_workflow_build_id", - b"use_workflow_build_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "use_workflow_build_id", b"use_workflow_build_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes @@ -1274,35 +820,11 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., attempt: builtins.int = ..., last_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., build_id_redirect_counter: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_failure", b"last_failure", "worker_version", b"worker_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "build_id_redirect_counter", - b"build_id_redirect_counter", - "identity", - b"identity", - "last_failure", - b"last_failure", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - "worker_version", - b"worker_version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_failure", b"last_failure", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "build_id_redirect_counter", b"build_id_redirect_counter", "identity", b"identity", "last_failure", b"last_failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskStartedEventAttributes = ActivityTaskStartedEventAttributes @@ -1335,30 +857,10 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): scheduled_event_id: builtins.int = ..., started_event_id: builtins.int = ..., identity: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "result", b"result", "worker_version", b"worker_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "result", - b"result", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - "worker_version", - b"worker_version", - ], + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "result", b"result", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskCompletedEventAttributes = ActivityTaskCompletedEventAttributes @@ -1394,32 +896,10 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., identity: builtins.str = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "worker_version", b"worker_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "identity", - b"identity", - "retry_state", - b"retry_state", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - "worker_version", - b"worker_version", - ], + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "identity", b"identity", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskFailedEventAttributes = ActivityTaskFailedEventAttributes @@ -1448,22 +928,8 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "retry_state", - b"retry_state", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id"]) -> None: ... global___ActivityTaskTimedOutEventAttributes = ActivityTaskTimedOutEventAttributes @@ -1482,19 +948,9 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message scheduled_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", - b"scheduled_event_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___ActivityTaskCancelRequestedEventAttributes = ( - ActivityTaskCancelRequestedEventAttributes -) +global___ActivityTaskCancelRequestedEventAttributes = ActivityTaskCancelRequestedEventAttributes class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1531,32 +987,10 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): scheduled_event_id: builtins.int = ..., started_event_id: builtins.int = ..., identity: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "worker_version", b"worker_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "identity", - b"identity", - "latest_cancel_requested_event_id", - b"latest_cancel_requested_event_id", - "scheduled_event_id", - b"scheduled_event_id", - "started_event_id", - b"started_event_id", - "worker_version", - b"worker_version", - ], + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "latest_cancel_requested_event_id", b"latest_cancel_requested_event_id", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskCanceledEventAttributes = ActivityTaskCanceledEventAttributes @@ -1584,23 +1018,8 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", - b"start_to_fire_timeout", - "timer_id", - b"timer_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___TimerStartedEventAttributes = TimerStartedEventAttributes @@ -1619,12 +1038,7 @@ class TimerFiredEventAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., started_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "started_event_id", b"started_event_id", "timer_id", b"timer_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["started_event_id", b"started_event_id", "timer_id", b"timer_id"]) -> None: ... global___TimerFiredEventAttributes = TimerFiredEventAttributes @@ -1651,19 +1065,7 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "started_event_id", - b"started_event_id", - "timer_id", - b"timer_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "started_event_id", b"started_event_id", "timer_id", b"timer_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___TimerCanceledEventAttributes = TimerCanceledEventAttributes @@ -1681,9 +1083,7 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me external_initiated_event_id: builtins.int """TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?""" @property - def external_workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def external_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """id of the worker or client who requested this cancel""" def __init__( @@ -1691,33 +1091,13 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me *, cause: builtins.str = ..., external_initiated_event_id: builtins.int = ..., - external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "external_workflow_execution", b"external_workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "external_initiated_event_id", - b"external_initiated_event_id", - "external_workflow_execution", - b"external_workflow_execution", - "identity", - b"identity", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "external_initiated_event_id", b"external_initiated_event_id", "external_workflow_execution", b"external_workflow_execution", "identity", b"identity"]) -> None: ... -global___WorkflowExecutionCancelRequestedEventAttributes = ( - WorkflowExecutionCancelRequestedEventAttributes -) +global___WorkflowExecutionCancelRequestedEventAttributes = WorkflowExecutionCancelRequestedEventAttributes class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1734,22 +1114,10 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___WorkflowExecutionCanceledEventAttributes = ( - WorkflowExecutionCanceledEventAttributes -) +global___WorkflowExecutionCanceledEventAttributes = WorkflowExecutionCanceledEventAttributes class MarkerRecordedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1768,13 +1136,8 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int @@ -1784,11 +1147,7 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): marker_name: builtins.str """Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.""" @property - def details( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payloads - ]: + def details(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payloads]: """Serialized information recorded in the marker""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @@ -1801,35 +1160,13 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): self, *, marker_name: builtins.str = ..., - details: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payloads - ] - | None = ..., + details: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payloads] | None = ..., workflow_task_completed_event_id: builtins.int = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "header", b"header" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "failure", - b"failure", - "header", - b"header", - "marker_name", - b"marker_name", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "header", b"header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "failure", b"failure", "header", b"header", "marker_name", b"marker_name", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___MarkerRecordedEventAttributes = MarkerRecordedEventAttributes @@ -1857,9 +1194,7 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): skip_generate_workflow_task: builtins.bool """Deprecated. This field is never respected and should always be set to false.""" @property - def external_workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def external_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """When signal origin is a workflow execution, this field is set.""" def __init__( self, @@ -1869,41 +1204,12 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): identity: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., skip_generate_workflow_task: builtins.bool = ..., - external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "external_workflow_execution", - b"external_workflow_execution", - "header", - b"header", - "input", - b"input", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "external_workflow_execution", - b"external_workflow_execution", - "header", - b"header", - "identity", - b"identity", - "input", - b"input", - "signal_name", - b"signal_name", - "skip_generate_workflow_task", - b"skip_generate_workflow_task", - ], + external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution", "header", b"header", "input", b"input"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution", "header", b"header", "identity", b"identity", "input", b"input", "signal_name", b"signal_name", "skip_generate_workflow_task", b"skip_generate_workflow_task"]) -> None: ... -global___WorkflowExecutionSignaledEventAttributes = ( - WorkflowExecutionSignaledEventAttributes -) +global___WorkflowExecutionSignaledEventAttributes = WorkflowExecutionSignaledEventAttributes class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1924,23 +1230,12 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "identity", b"identity", "reason", b"reason" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "reason", b"reason"]) -> None: ... -global___WorkflowExecutionTerminatedEventAttributes = ( - WorkflowExecutionTerminatedEventAttributes -) +global___WorkflowExecutionTerminatedEventAttributes = WorkflowExecutionTerminatedEventAttributes -class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( - google.protobuf.message.Message -): +class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -1958,9 +1253,7 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool @@ -1975,45 +1268,17 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., control: builtins.str = ..., child_workflow_only: builtins.bool = ..., reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_only", - b"child_workflow_only", - "control", - b"control", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "reason", - b"reason", - "workflow_execution", - b"workflow_execution", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "namespace", b"namespace", "namespace_id", b"namespace_id", "reason", b"reason", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ( - RequestCancelExternalWorkflowExecutionInitiatedEventAttributes -) +global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes -class RequestCancelExternalWorkflowExecutionFailedEventAttributes( - google.protobuf.message.Message -): +class RequestCancelExternalWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CAUSE_FIELD_NUMBER: builtins.int @@ -2032,9 +1297,7 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int """id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to @@ -2048,44 +1311,16 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., initiated_event_id: builtins.int = ..., control: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "control", - b"control", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_execution", - b"workflow_execution", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( - RequestCancelExternalWorkflowExecutionFailedEventAttributes -) +global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = RequestCancelExternalWorkflowExecutionFailedEventAttributes -class ExternalWorkflowExecutionCancelRequestedEventAttributes( - google.protobuf.message.Message -): +class ExternalWorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -2102,45 +1337,21 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes( """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, initiated_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_execution", - b"workflow_execution", - ], + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution"]) -> None: ... -global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ( - ExternalWorkflowExecutionCancelRequestedEventAttributes -) +global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ExternalWorkflowExecutionCancelRequestedEventAttributes -class SignalExternalWorkflowExecutionInitiatedEventAttributes( - google.protobuf.message.Message -): +class SignalExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -2160,9 +1371,7 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """name/type of the signal to fire in the external workflow""" @property @@ -2182,56 +1391,19 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., control: builtins.str = ..., child_workflow_only: builtins.bool = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "workflow_execution", - b"workflow_execution", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_only", - b"child_workflow_only", - "control", - b"control", - "header", - b"header", - "input", - b"input", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "signal_name", - b"signal_name", - "workflow_execution", - b"workflow_execution", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "header", b"header", "input", b"input", "namespace", b"namespace", "namespace_id", b"namespace_id", "signal_name", b"signal_name", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___SignalExternalWorkflowExecutionInitiatedEventAttributes = ( - SignalExternalWorkflowExecutionInitiatedEventAttributes -) +global___SignalExternalWorkflowExecutionInitiatedEventAttributes = SignalExternalWorkflowExecutionInitiatedEventAttributes -class SignalExternalWorkflowExecutionFailedEventAttributes( - google.protobuf.message.Message -): +class SignalExternalWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CAUSE_FIELD_NUMBER: builtins.int @@ -2250,9 +1422,7 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int control: builtins.str """Deprecated.""" @@ -2263,40 +1433,14 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., initiated_event_id: builtins.int = ..., control: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "control", - b"control", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_execution", - b"workflow_execution", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___SignalExternalWorkflowExecutionFailedEventAttributes = ( - SignalExternalWorkflowExecutionFailedEventAttributes -) +global___SignalExternalWorkflowExecutionFailedEventAttributes = SignalExternalWorkflowExecutionFailedEventAttributes class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2314,9 +1458,7 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" def __init__( @@ -2325,35 +1467,13 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M initiated_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., control: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "control", - b"control", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_execution", - b"workflow_execution", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution"]) -> None: ... -global___ExternalWorkflowExecutionSignaledEventAttributes = ( - ExternalWorkflowExecutionSignaledEventAttributes -) +global___ExternalWorkflowExecutionSignaledEventAttributes = ExternalWorkflowExecutionSignaledEventAttributes class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2363,35 +1483,17 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, workflow_task_completed_event_id: builtins.int = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", - b"search_attributes", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___UpsertWorkflowSearchAttributesEventAttributes = ( - UpsertWorkflowSearchAttributesEventAttributes -) +global___UpsertWorkflowSearchAttributesEventAttributes = UpsertWorkflowSearchAttributesEventAttributes class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2412,26 +1514,12 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) workflow_task_completed_event_id: builtins.int = ..., upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "upserted_memo", - b"upserted_memo", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___WorkflowPropertiesModifiedEventAttributes = ( - WorkflowPropertiesModifiedEventAttributes -) +global___WorkflowPropertiesModifiedEventAttributes = WorkflowPropertiesModifiedEventAttributes -class StartChildWorkflowExecutionInitiatedEventAttributes( - google.protobuf.message.Message -): +class StartChildWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACE_FIELD_NUMBER: builtins.int @@ -2475,17 +1563,13 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) + parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType """Default: PARENT_CLOSE_POLICY_TERMINATE.""" control: builtins.str """Deprecated.""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... @@ -2496,9 +1580,7 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child's Task Queue will be used to independently assign a Build ID to it. @@ -2527,87 +1609,14 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., inherit_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "memo", - b"memo", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "control", - b"control", - "cron_schedule", - b"cron_schedule", - "header", - b"header", - "inherit_build_id", - b"inherit_build_id", - "input", - b"input", - "memo", - b"memo", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "parent_close_policy", - b"parent_close_policy", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "inherit_build_id", b"inherit_build_id", "input", b"input", "memo", b"memo", "namespace", b"namespace", "namespace_id", b"namespace_id", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... -global___StartChildWorkflowExecutionInitiatedEventAttributes = ( - StartChildWorkflowExecutionInitiatedEventAttributes -) +global___StartChildWorkflowExecutionInitiatedEventAttributes = StartChildWorkflowExecutionInitiatedEventAttributes class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2647,34 +1656,10 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M initiated_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "control", - b"control", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_id", - b"workflow_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_id", b"workflow_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_type", b"workflow_type"]) -> None: ... -global___StartChildWorkflowExecutionFailedEventAttributes = ( - StartChildWorkflowExecutionFailedEventAttributes -) +global___StartChildWorkflowExecutionFailedEventAttributes = StartChildWorkflowExecutionFailedEventAttributes class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2693,9 +1678,7 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa initiated_event_id: builtins.int """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -2706,43 +1689,14 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa namespace: builtins.str = ..., namespace_id: builtins.str = ..., initiated_event_id: builtins.int = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionStartedEventAttributes = ( - ChildWorkflowExecutionStartedEventAttributes -) +global___ChildWorkflowExecutionStartedEventAttributes = ChildWorkflowExecutionStartedEventAttributes class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2762,9 +1716,7 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -2777,46 +1729,15 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "result", - b"result", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "result", - b"result", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "result", b"result", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionCompletedEventAttributes = ( - ChildWorkflowExecutionCompletedEventAttributes -) +global___ChildWorkflowExecutionCompletedEventAttributes = ChildWorkflowExecutionCompletedEventAttributes class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2837,9 +1758,7 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -2853,49 +1772,16 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "retry_state", - b"retry_state", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionFailedEventAttributes = ( - ChildWorkflowExecutionFailedEventAttributes -) +global___ChildWorkflowExecutionFailedEventAttributes = ChildWorkflowExecutionFailedEventAttributes class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2915,9 +1801,7 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -2930,46 +1814,15 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionCanceledEventAttributes = ( - ChildWorkflowExecutionCanceledEventAttributes -) +global___ChildWorkflowExecutionCanceledEventAttributes = ChildWorkflowExecutionCanceledEventAttributes class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2987,9 +1840,7 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -3002,45 +1853,16 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess *, namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "retry_state", - b"retry_state", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionTimedOutEventAttributes = ( - ChildWorkflowExecutionTimedOutEventAttributes -) +global___ChildWorkflowExecutionTimedOutEventAttributes = ChildWorkflowExecutionTimedOutEventAttributes class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3057,9 +1879,7 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me """ namespace_id: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -3071,42 +1891,15 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me *, namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_event_id", - b"initiated_event_id", - "namespace", - b"namespace", - "namespace_id", - b"namespace_id", - "started_event_id", - b"started_event_id", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... -global___ChildWorkflowExecutionTerminatedEventAttributes = ( - ChildWorkflowExecutionTerminatedEventAttributes -) +global___ChildWorkflowExecutionTerminatedEventAttributes = ChildWorkflowExecutionTerminatedEventAttributes class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3116,9 +1909,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ATTACHED_REQUEST_ID_FIELD_NUMBER: builtins.int ATTACHED_COMPLETION_CALLBACKS_FIELD_NUMBER: builtins.int @property - def versioning_override( - self, - ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true. """ @@ -3129,51 +1920,22 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes request ID will be deduped. """ @property - def attached_completion_callbacks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Callback - ]: + def attached_completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: """Completion callbacks attached to the running workflow execution.""" def __init__( self, *, - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride - | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., unset_versioning_override: builtins.bool = ..., attached_request_id: builtins.str = ..., - attached_completion_callbacks: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Callback - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "versioning_override", b"versioning_override" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attached_completion_callbacks", - b"attached_completion_callbacks", - "attached_request_id", - b"attached_request_id", - "unset_versioning_override", - b"unset_versioning_override", - "versioning_override", - b"versioning_override", - ], + attached_completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", b"attached_request_id", "unset_versioning_override", b"unset_versioning_override", "versioning_override", b"versioning_override"]) -> None: ... -global___WorkflowExecutionOptionsUpdatedEventAttributes = ( - WorkflowExecutionOptionsUpdatedEventAttributes -) +global___WorkflowExecutionOptionsUpdatedEventAttributes = WorkflowExecutionOptionsUpdatedEventAttributes -class WorkflowPropertiesModifiedExternallyEventAttributes( - google.protobuf.message.Message -): +class WorkflowPropertiesModifiedExternallyEventAttributes(google.protobuf.message.Message): """Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3203,46 +1965,15 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( new_task_queue: builtins.str = ..., new_workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., new_workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., - new_workflow_execution_timeout: google.protobuf.duration_pb2.Duration - | None = ..., + new_workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "new_workflow_execution_timeout", - b"new_workflow_execution_timeout", - "new_workflow_run_timeout", - b"new_workflow_run_timeout", - "new_workflow_task_timeout", - b"new_workflow_task_timeout", - "upserted_memo", - b"upserted_memo", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "new_task_queue", - b"new_task_queue", - "new_workflow_execution_timeout", - b"new_workflow_execution_timeout", - "new_workflow_run_timeout", - b"new_workflow_run_timeout", - "new_workflow_task_timeout", - b"new_workflow_task_timeout", - "upserted_memo", - b"upserted_memo", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", b"new_workflow_run_timeout", "new_workflow_task_timeout", b"new_workflow_task_timeout", "upserted_memo", b"upserted_memo"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["new_task_queue", b"new_task_queue", "new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", b"new_workflow_run_timeout", "new_workflow_task_timeout", b"new_workflow_task_timeout", "upserted_memo", b"upserted_memo"]) -> None: ... -global___WorkflowPropertiesModifiedExternallyEventAttributes = ( - WorkflowPropertiesModifiedExternallyEventAttributes -) +global___WorkflowPropertiesModifiedExternallyEventAttributes = WorkflowPropertiesModifiedExternallyEventAttributes -class ActivityPropertiesModifiedExternallyEventAttributes( - google.protobuf.message.Message -): +class ActivityPropertiesModifiedExternallyEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCHEDULED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -3260,23 +1991,10 @@ class ActivityPropertiesModifiedExternallyEventAttributes( scheduled_event_id: builtins.int = ..., new_retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "new_retry_policy", - b"new_retry_policy", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... -global___ActivityPropertiesModifiedExternallyEventAttributes = ( - ActivityPropertiesModifiedExternallyEventAttributes -) +global___ActivityPropertiesModifiedExternallyEventAttributes = ActivityPropertiesModifiedExternallyEventAttributes class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3307,27 +2025,10 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes accepted_request_sequencing_event_id: builtins.int = ..., accepted_request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_request", - b"accepted_request", - "accepted_request_message_id", - b"accepted_request_message_id", - "accepted_request_sequencing_event_id", - b"accepted_request_sequencing_event_id", - "protocol_instance_id", - b"protocol_instance_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request", "accepted_request_message_id", b"accepted_request_message_id", "accepted_request_sequencing_event_id", b"accepted_request_sequencing_event_id", "protocol_instance_id", b"protocol_instance_id"]) -> None: ... -global___WorkflowExecutionUpdateAcceptedEventAttributes = ( - WorkflowExecutionUpdateAcceptedEventAttributes -) +global___WorkflowExecutionUpdateAcceptedEventAttributes = WorkflowExecutionUpdateAcceptedEventAttributes class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3350,25 +2051,10 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me accepted_event_id: builtins.int = ..., outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_event_id", - b"accepted_event_id", - "meta", - b"meta", - "outcome", - b"outcome", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted_event_id", b"accepted_event_id", "meta", b"meta", "outcome", b"outcome"]) -> None: ... -global___WorkflowExecutionUpdateCompletedEventAttributes = ( - WorkflowExecutionUpdateCompletedEventAttributes -) +global___WorkflowExecutionUpdateCompletedEventAttributes = WorkflowExecutionUpdateCompletedEventAttributes class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3404,31 +2090,10 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes rejected_request: temporalio.api.update.v1.message_pb2.Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "rejected_request", b"rejected_request" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "protocol_instance_id", - b"protocol_instance_id", - "rejected_request", - b"rejected_request", - "rejected_request_message_id", - b"rejected_request_message_id", - "rejected_request_sequencing_event_id", - b"rejected_request_sequencing_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "protocol_instance_id", b"protocol_instance_id", "rejected_request", b"rejected_request", "rejected_request_message_id", b"rejected_request_message_id", "rejected_request_sequencing_event_id", b"rejected_request_sequencing_event_id"]) -> None: ... -global___WorkflowExecutionUpdateRejectedEventAttributes = ( - WorkflowExecutionUpdateRejectedEventAttributes -) +global___WorkflowExecutionUpdateRejectedEventAttributes = WorkflowExecutionUpdateRejectedEventAttributes class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3446,19 +2111,10 @@ class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Mes request: temporalio.api.update.v1.message_pb2.Request | None = ..., origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["request", b"request"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "origin", b"origin", "request", b"request" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["request", b"request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["origin", b"origin", "request", b"request"]) -> None: ... -global___WorkflowExecutionUpdateAdmittedEventAttributes = ( - WorkflowExecutionUpdateAdmittedEventAttributes -) +global___WorkflowExecutionUpdateAdmittedEventAttributes = WorkflowExecutionUpdateAdmittedEventAttributes class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.""" @@ -3478,10 +2134,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int SERVICE_FIELD_NUMBER: builtins.int @@ -3513,9 +2166,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) """ @property - def nexus_header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. @@ -3544,35 +2195,8 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., endpoint_id: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "endpoint", - b"endpoint", - "endpoint_id", - b"endpoint_id", - "input", - b"input", - "nexus_header", - b"nexus_header", - "operation", - b"operation", - "request_id", - b"request_id", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "service", - b"service", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "endpoint_id", b"endpoint_id", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "request_id", b"request_id", "schedule_to_close_timeout", b"schedule_to_close_timeout", "service", b"service", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... global___NexusOperationScheduledEventAttributes = NexusOperationScheduledEventAttributes @@ -3611,19 +2235,7 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "operation_id", - b"operation_id", - "operation_token", - b"operation_token", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["operation_id", b"operation_id", "operation_token", b"operation_token", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... global___NexusOperationStartedEventAttributes = NexusOperationStartedEventAttributes @@ -3651,20 +2263,8 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "request_id", - b"request_id", - "result", - b"result", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["request_id", b"request_id", "result", b"result", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... global___NexusOperationCompletedEventAttributes = NexusOperationCompletedEventAttributes @@ -3690,20 +2290,8 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... global___NexusOperationFailedEventAttributes = NexusOperationFailedEventAttributes @@ -3729,20 +2317,8 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... global___NexusOperationTimedOutEventAttributes = NexusOperationTimedOutEventAttributes @@ -3768,20 +2344,8 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "request_id", - b"request_id", - "scheduled_event_id", - b"scheduled_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... global___NexusOperationCanceledEventAttributes = NexusOperationCanceledEventAttributes @@ -3802,23 +2366,11 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa scheduled_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", - b"scheduled_event_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___NexusOperationCancelRequestedEventAttributes = ( - NexusOperationCancelRequestedEventAttributes -) +global___NexusOperationCancelRequestedEventAttributes = NexusOperationCancelRequestedEventAttributes -class NexusOperationCancelRequestCompletedEventAttributes( - google.protobuf.message.Message -): +class NexusOperationCancelRequestCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor REQUESTED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -3839,21 +2391,9 @@ class NexusOperationCancelRequestCompletedEventAttributes( workflow_task_completed_event_id: builtins.int = ..., scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "requested_event_id", - b"requested_event_id", - "scheduled_event_id", - b"scheduled_event_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["requested_event_id", b"requested_event_id", "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___NexusOperationCancelRequestCompletedEventAttributes = ( - NexusOperationCancelRequestCompletedEventAttributes -) +global___NexusOperationCancelRequestCompletedEventAttributes = NexusOperationCancelRequestCompletedEventAttributes class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3881,26 +2421,10 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., scheduled_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "requested_event_id", - b"requested_event_id", - "scheduled_event_id", - b"scheduled_event_id", - "workflow_task_completed_event_id", - b"workflow_task_completed_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "requested_event_id", b"requested_event_id", "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___NexusOperationCancelRequestFailedEventAttributes = ( - NexusOperationCancelRequestFailedEventAttributes -) +global___NexusOperationCancelRequestFailedEventAttributes = NexusOperationCancelRequestFailedEventAttributes class HistoryEvent(google.protobuf.message.Message): """History events are the method by which Temporal SDKs advance (or recreate) workflow state. @@ -3942,12 +2466,8 @@ class HistoryEvent(google.protobuf.message.Message): WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( - builtins.int - ) - EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( - builtins.int - ) + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int + EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -3957,12 +2477,8 @@ class HistoryEvent(google.protobuf.message.Message): CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( - builtins.int - ) - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( - builtins.int - ) + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -4009,238 +2525,122 @@ class HistoryEvent(google.protobuf.message.Message): user interfaces. """ @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links associated with the event.""" @property - def workflow_execution_started_event_attributes( - self, - ) -> global___WorkflowExecutionStartedEventAttributes: ... + def workflow_execution_started_event_attributes(self) -> global___WorkflowExecutionStartedEventAttributes: ... @property - def workflow_execution_completed_event_attributes( - self, - ) -> global___WorkflowExecutionCompletedEventAttributes: ... + def workflow_execution_completed_event_attributes(self) -> global___WorkflowExecutionCompletedEventAttributes: ... @property - def workflow_execution_failed_event_attributes( - self, - ) -> global___WorkflowExecutionFailedEventAttributes: ... + def workflow_execution_failed_event_attributes(self) -> global___WorkflowExecutionFailedEventAttributes: ... @property - def workflow_execution_timed_out_event_attributes( - self, - ) -> global___WorkflowExecutionTimedOutEventAttributes: ... + def workflow_execution_timed_out_event_attributes(self) -> global___WorkflowExecutionTimedOutEventAttributes: ... @property - def workflow_task_scheduled_event_attributes( - self, - ) -> global___WorkflowTaskScheduledEventAttributes: ... + def workflow_task_scheduled_event_attributes(self) -> global___WorkflowTaskScheduledEventAttributes: ... @property - def workflow_task_started_event_attributes( - self, - ) -> global___WorkflowTaskStartedEventAttributes: ... + def workflow_task_started_event_attributes(self) -> global___WorkflowTaskStartedEventAttributes: ... @property - def workflow_task_completed_event_attributes( - self, - ) -> global___WorkflowTaskCompletedEventAttributes: ... + def workflow_task_completed_event_attributes(self) -> global___WorkflowTaskCompletedEventAttributes: ... @property - def workflow_task_timed_out_event_attributes( - self, - ) -> global___WorkflowTaskTimedOutEventAttributes: ... + def workflow_task_timed_out_event_attributes(self) -> global___WorkflowTaskTimedOutEventAttributes: ... @property - def workflow_task_failed_event_attributes( - self, - ) -> global___WorkflowTaskFailedEventAttributes: ... + def workflow_task_failed_event_attributes(self) -> global___WorkflowTaskFailedEventAttributes: ... @property - def activity_task_scheduled_event_attributes( - self, - ) -> global___ActivityTaskScheduledEventAttributes: ... + def activity_task_scheduled_event_attributes(self) -> global___ActivityTaskScheduledEventAttributes: ... @property - def activity_task_started_event_attributes( - self, - ) -> global___ActivityTaskStartedEventAttributes: ... + def activity_task_started_event_attributes(self) -> global___ActivityTaskStartedEventAttributes: ... @property - def activity_task_completed_event_attributes( - self, - ) -> global___ActivityTaskCompletedEventAttributes: ... + def activity_task_completed_event_attributes(self) -> global___ActivityTaskCompletedEventAttributes: ... @property - def activity_task_failed_event_attributes( - self, - ) -> global___ActivityTaskFailedEventAttributes: ... + def activity_task_failed_event_attributes(self) -> global___ActivityTaskFailedEventAttributes: ... @property - def activity_task_timed_out_event_attributes( - self, - ) -> global___ActivityTaskTimedOutEventAttributes: ... + def activity_task_timed_out_event_attributes(self) -> global___ActivityTaskTimedOutEventAttributes: ... @property - def timer_started_event_attributes( - self, - ) -> global___TimerStartedEventAttributes: ... + def timer_started_event_attributes(self) -> global___TimerStartedEventAttributes: ... @property def timer_fired_event_attributes(self) -> global___TimerFiredEventAttributes: ... @property - def activity_task_cancel_requested_event_attributes( - self, - ) -> global___ActivityTaskCancelRequestedEventAttributes: ... + def activity_task_cancel_requested_event_attributes(self) -> global___ActivityTaskCancelRequestedEventAttributes: ... @property - def activity_task_canceled_event_attributes( - self, - ) -> global___ActivityTaskCanceledEventAttributes: ... + def activity_task_canceled_event_attributes(self) -> global___ActivityTaskCanceledEventAttributes: ... @property - def timer_canceled_event_attributes( - self, - ) -> global___TimerCanceledEventAttributes: ... + def timer_canceled_event_attributes(self) -> global___TimerCanceledEventAttributes: ... @property - def marker_recorded_event_attributes( - self, - ) -> global___MarkerRecordedEventAttributes: ... + def marker_recorded_event_attributes(self) -> global___MarkerRecordedEventAttributes: ... @property - def workflow_execution_signaled_event_attributes( - self, - ) -> global___WorkflowExecutionSignaledEventAttributes: ... + def workflow_execution_signaled_event_attributes(self) -> global___WorkflowExecutionSignaledEventAttributes: ... @property - def workflow_execution_terminated_event_attributes( - self, - ) -> global___WorkflowExecutionTerminatedEventAttributes: ... + def workflow_execution_terminated_event_attributes(self) -> global___WorkflowExecutionTerminatedEventAttributes: ... @property - def workflow_execution_cancel_requested_event_attributes( - self, - ) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... + def workflow_execution_cancel_requested_event_attributes(self) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... @property - def workflow_execution_canceled_event_attributes( - self, - ) -> global___WorkflowExecutionCanceledEventAttributes: ... + def workflow_execution_canceled_event_attributes(self) -> global___WorkflowExecutionCanceledEventAttributes: ... @property - def request_cancel_external_workflow_execution_initiated_event_attributes( - self, - ) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... + def request_cancel_external_workflow_execution_initiated_event_attributes(self) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... @property - def request_cancel_external_workflow_execution_failed_event_attributes( - self, - ) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... + def request_cancel_external_workflow_execution_failed_event_attributes(self) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... @property - def external_workflow_execution_cancel_requested_event_attributes( - self, - ) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... + def external_workflow_execution_cancel_requested_event_attributes(self) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... @property - def workflow_execution_continued_as_new_event_attributes( - self, - ) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... + def workflow_execution_continued_as_new_event_attributes(self) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... @property - def start_child_workflow_execution_initiated_event_attributes( - self, - ) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... + def start_child_workflow_execution_initiated_event_attributes(self) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... @property - def start_child_workflow_execution_failed_event_attributes( - self, - ) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... + def start_child_workflow_execution_failed_event_attributes(self) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... @property - def child_workflow_execution_started_event_attributes( - self, - ) -> global___ChildWorkflowExecutionStartedEventAttributes: ... + def child_workflow_execution_started_event_attributes(self) -> global___ChildWorkflowExecutionStartedEventAttributes: ... @property - def child_workflow_execution_completed_event_attributes( - self, - ) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... + def child_workflow_execution_completed_event_attributes(self) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... @property - def child_workflow_execution_failed_event_attributes( - self, - ) -> global___ChildWorkflowExecutionFailedEventAttributes: ... + def child_workflow_execution_failed_event_attributes(self) -> global___ChildWorkflowExecutionFailedEventAttributes: ... @property - def child_workflow_execution_canceled_event_attributes( - self, - ) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... + def child_workflow_execution_canceled_event_attributes(self) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... @property - def child_workflow_execution_timed_out_event_attributes( - self, - ) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... + def child_workflow_execution_timed_out_event_attributes(self) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... @property - def child_workflow_execution_terminated_event_attributes( - self, - ) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... + def child_workflow_execution_terminated_event_attributes(self) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... @property - def signal_external_workflow_execution_initiated_event_attributes( - self, - ) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... + def signal_external_workflow_execution_initiated_event_attributes(self) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... @property - def signal_external_workflow_execution_failed_event_attributes( - self, - ) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... + def signal_external_workflow_execution_failed_event_attributes(self) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... @property - def external_workflow_execution_signaled_event_attributes( - self, - ) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... + def external_workflow_execution_signaled_event_attributes(self) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... @property - def upsert_workflow_search_attributes_event_attributes( - self, - ) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... + def upsert_workflow_search_attributes_event_attributes(self) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... @property - def workflow_execution_update_accepted_event_attributes( - self, - ) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... + def workflow_execution_update_accepted_event_attributes(self) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... @property - def workflow_execution_update_rejected_event_attributes( - self, - ) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... + def workflow_execution_update_rejected_event_attributes(self) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... @property - def workflow_execution_update_completed_event_attributes( - self, - ) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... + def workflow_execution_update_completed_event_attributes(self) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... @property - def workflow_properties_modified_externally_event_attributes( - self, - ) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... + def workflow_properties_modified_externally_event_attributes(self) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... @property - def activity_properties_modified_externally_event_attributes( - self, - ) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... + def activity_properties_modified_externally_event_attributes(self) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... @property - def workflow_properties_modified_event_attributes( - self, - ) -> global___WorkflowPropertiesModifiedEventAttributes: ... + def workflow_properties_modified_event_attributes(self) -> global___WorkflowPropertiesModifiedEventAttributes: ... @property - def workflow_execution_update_admitted_event_attributes( - self, - ) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... + def workflow_execution_update_admitted_event_attributes(self) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... @property - def nexus_operation_scheduled_event_attributes( - self, - ) -> global___NexusOperationScheduledEventAttributes: ... + def nexus_operation_scheduled_event_attributes(self) -> global___NexusOperationScheduledEventAttributes: ... @property - def nexus_operation_started_event_attributes( - self, - ) -> global___NexusOperationStartedEventAttributes: ... + def nexus_operation_started_event_attributes(self) -> global___NexusOperationStartedEventAttributes: ... @property - def nexus_operation_completed_event_attributes( - self, - ) -> global___NexusOperationCompletedEventAttributes: ... + def nexus_operation_completed_event_attributes(self) -> global___NexusOperationCompletedEventAttributes: ... @property - def nexus_operation_failed_event_attributes( - self, - ) -> global___NexusOperationFailedEventAttributes: ... + def nexus_operation_failed_event_attributes(self) -> global___NexusOperationFailedEventAttributes: ... @property - def nexus_operation_canceled_event_attributes( - self, - ) -> global___NexusOperationCanceledEventAttributes: ... + def nexus_operation_canceled_event_attributes(self) -> global___NexusOperationCanceledEventAttributes: ... @property - def nexus_operation_timed_out_event_attributes( - self, - ) -> global___NexusOperationTimedOutEventAttributes: ... + def nexus_operation_timed_out_event_attributes(self) -> global___NexusOperationTimedOutEventAttributes: ... @property - def nexus_operation_cancel_requested_event_attributes( - self, - ) -> global___NexusOperationCancelRequestedEventAttributes: ... + def nexus_operation_cancel_requested_event_attributes(self) -> global___NexusOperationCancelRequestedEventAttributes: ... @property - def workflow_execution_options_updated_event_attributes( - self, - ) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... + def workflow_execution_options_updated_event_attributes(self) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... @property - def nexus_operation_cancel_request_completed_event_attributes( - self, - ) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... + def nexus_operation_cancel_request_completed_event_attributes(self) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... @property - def nexus_operation_cancel_request_failed_event_attributes( - self, - ) -> global___NexusOperationCancelRequestFailedEventAttributes: ... + def nexus_operation_cancel_request_failed_event_attributes(self) -> global___NexusOperationCancelRequestFailedEventAttributes: ... def __init__( self, *, @@ -4250,450 +2650,69 @@ class HistoryEvent(google.protobuf.message.Message): version: builtins.int = ..., task_id: builtins.int = ..., worker_may_ignore: builtins.bool = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes - | None = ..., - workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes - | None = ..., - workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes - | None = ..., - workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes - | None = ..., - workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes - | None = ..., - workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes - | None = ..., - workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes - | None = ..., - workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes - | None = ..., - workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes - | None = ..., - activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes - | None = ..., - activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes - | None = ..., - activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes - | None = ..., - activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes - | None = ..., - activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes - | None = ..., - timer_started_event_attributes: global___TimerStartedEventAttributes - | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes | None = ..., + workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes | None = ..., + workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes | None = ..., + workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes | None = ..., + workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes | None = ..., + workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes | None = ..., + workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes | None = ..., + workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes | None = ..., + workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes | None = ..., + activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes | None = ..., + activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes | None = ..., + activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes | None = ..., + activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes | None = ..., + activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes | None = ..., + timer_started_event_attributes: global___TimerStartedEventAttributes | None = ..., timer_fired_event_attributes: global___TimerFiredEventAttributes | None = ..., - activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes - | None = ..., - activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes - | None = ..., - timer_canceled_event_attributes: global___TimerCanceledEventAttributes - | None = ..., - marker_recorded_event_attributes: global___MarkerRecordedEventAttributes - | None = ..., - workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes - | None = ..., - workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes - | None = ..., - workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes - | None = ..., - workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes - | None = ..., - request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes - | None = ..., - request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes - | None = ..., - external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes - | None = ..., - workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes - | None = ..., - start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes - | None = ..., - start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes - | None = ..., - child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes - | None = ..., - child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes - | None = ..., - child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes - | None = ..., - child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes - | None = ..., - child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes - | None = ..., - child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes - | None = ..., - signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes - | None = ..., - signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes - | None = ..., - external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes - | None = ..., - upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes - | None = ..., - workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes - | None = ..., - workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes - | None = ..., - workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes - | None = ..., - workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes - | None = ..., - activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes - | None = ..., - workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes - | None = ..., - workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes - | None = ..., - nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes - | None = ..., - nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes - | None = ..., - nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes - | None = ..., - nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes - | None = ..., - nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes - | None = ..., - nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes - | None = ..., - nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes - | None = ..., - workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes - | None = ..., - nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes - | None = ..., - nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_properties_modified_externally_event_attributes", - b"activity_properties_modified_externally_event_attributes", - "activity_task_cancel_requested_event_attributes", - b"activity_task_cancel_requested_event_attributes", - "activity_task_canceled_event_attributes", - b"activity_task_canceled_event_attributes", - "activity_task_completed_event_attributes", - b"activity_task_completed_event_attributes", - "activity_task_failed_event_attributes", - b"activity_task_failed_event_attributes", - "activity_task_scheduled_event_attributes", - b"activity_task_scheduled_event_attributes", - "activity_task_started_event_attributes", - b"activity_task_started_event_attributes", - "activity_task_timed_out_event_attributes", - b"activity_task_timed_out_event_attributes", - "attributes", - b"attributes", - "child_workflow_execution_canceled_event_attributes", - b"child_workflow_execution_canceled_event_attributes", - "child_workflow_execution_completed_event_attributes", - b"child_workflow_execution_completed_event_attributes", - "child_workflow_execution_failed_event_attributes", - b"child_workflow_execution_failed_event_attributes", - "child_workflow_execution_started_event_attributes", - b"child_workflow_execution_started_event_attributes", - "child_workflow_execution_terminated_event_attributes", - b"child_workflow_execution_terminated_event_attributes", - "child_workflow_execution_timed_out_event_attributes", - b"child_workflow_execution_timed_out_event_attributes", - "event_time", - b"event_time", - "external_workflow_execution_cancel_requested_event_attributes", - b"external_workflow_execution_cancel_requested_event_attributes", - "external_workflow_execution_signaled_event_attributes", - b"external_workflow_execution_signaled_event_attributes", - "marker_recorded_event_attributes", - b"marker_recorded_event_attributes", - "nexus_operation_cancel_request_completed_event_attributes", - b"nexus_operation_cancel_request_completed_event_attributes", - "nexus_operation_cancel_request_failed_event_attributes", - b"nexus_operation_cancel_request_failed_event_attributes", - "nexus_operation_cancel_requested_event_attributes", - b"nexus_operation_cancel_requested_event_attributes", - "nexus_operation_canceled_event_attributes", - b"nexus_operation_canceled_event_attributes", - "nexus_operation_completed_event_attributes", - b"nexus_operation_completed_event_attributes", - "nexus_operation_failed_event_attributes", - b"nexus_operation_failed_event_attributes", - "nexus_operation_scheduled_event_attributes", - b"nexus_operation_scheduled_event_attributes", - "nexus_operation_started_event_attributes", - b"nexus_operation_started_event_attributes", - "nexus_operation_timed_out_event_attributes", - b"nexus_operation_timed_out_event_attributes", - "request_cancel_external_workflow_execution_failed_event_attributes", - b"request_cancel_external_workflow_execution_failed_event_attributes", - "request_cancel_external_workflow_execution_initiated_event_attributes", - b"request_cancel_external_workflow_execution_initiated_event_attributes", - "signal_external_workflow_execution_failed_event_attributes", - b"signal_external_workflow_execution_failed_event_attributes", - "signal_external_workflow_execution_initiated_event_attributes", - b"signal_external_workflow_execution_initiated_event_attributes", - "start_child_workflow_execution_failed_event_attributes", - b"start_child_workflow_execution_failed_event_attributes", - "start_child_workflow_execution_initiated_event_attributes", - b"start_child_workflow_execution_initiated_event_attributes", - "timer_canceled_event_attributes", - b"timer_canceled_event_attributes", - "timer_fired_event_attributes", - b"timer_fired_event_attributes", - "timer_started_event_attributes", - b"timer_started_event_attributes", - "upsert_workflow_search_attributes_event_attributes", - b"upsert_workflow_search_attributes_event_attributes", - "user_metadata", - b"user_metadata", - "workflow_execution_cancel_requested_event_attributes", - b"workflow_execution_cancel_requested_event_attributes", - "workflow_execution_canceled_event_attributes", - b"workflow_execution_canceled_event_attributes", - "workflow_execution_completed_event_attributes", - b"workflow_execution_completed_event_attributes", - "workflow_execution_continued_as_new_event_attributes", - b"workflow_execution_continued_as_new_event_attributes", - "workflow_execution_failed_event_attributes", - b"workflow_execution_failed_event_attributes", - "workflow_execution_options_updated_event_attributes", - b"workflow_execution_options_updated_event_attributes", - "workflow_execution_signaled_event_attributes", - b"workflow_execution_signaled_event_attributes", - "workflow_execution_started_event_attributes", - b"workflow_execution_started_event_attributes", - "workflow_execution_terminated_event_attributes", - b"workflow_execution_terminated_event_attributes", - "workflow_execution_timed_out_event_attributes", - b"workflow_execution_timed_out_event_attributes", - "workflow_execution_update_accepted_event_attributes", - b"workflow_execution_update_accepted_event_attributes", - "workflow_execution_update_admitted_event_attributes", - b"workflow_execution_update_admitted_event_attributes", - "workflow_execution_update_completed_event_attributes", - b"workflow_execution_update_completed_event_attributes", - "workflow_execution_update_rejected_event_attributes", - b"workflow_execution_update_rejected_event_attributes", - "workflow_properties_modified_event_attributes", - b"workflow_properties_modified_event_attributes", - "workflow_properties_modified_externally_event_attributes", - b"workflow_properties_modified_externally_event_attributes", - "workflow_task_completed_event_attributes", - b"workflow_task_completed_event_attributes", - "workflow_task_failed_event_attributes", - b"workflow_task_failed_event_attributes", - "workflow_task_scheduled_event_attributes", - b"workflow_task_scheduled_event_attributes", - "workflow_task_started_event_attributes", - b"workflow_task_started_event_attributes", - "workflow_task_timed_out_event_attributes", - b"workflow_task_timed_out_event_attributes", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_properties_modified_externally_event_attributes", - b"activity_properties_modified_externally_event_attributes", - "activity_task_cancel_requested_event_attributes", - b"activity_task_cancel_requested_event_attributes", - "activity_task_canceled_event_attributes", - b"activity_task_canceled_event_attributes", - "activity_task_completed_event_attributes", - b"activity_task_completed_event_attributes", - "activity_task_failed_event_attributes", - b"activity_task_failed_event_attributes", - "activity_task_scheduled_event_attributes", - b"activity_task_scheduled_event_attributes", - "activity_task_started_event_attributes", - b"activity_task_started_event_attributes", - "activity_task_timed_out_event_attributes", - b"activity_task_timed_out_event_attributes", - "attributes", - b"attributes", - "child_workflow_execution_canceled_event_attributes", - b"child_workflow_execution_canceled_event_attributes", - "child_workflow_execution_completed_event_attributes", - b"child_workflow_execution_completed_event_attributes", - "child_workflow_execution_failed_event_attributes", - b"child_workflow_execution_failed_event_attributes", - "child_workflow_execution_started_event_attributes", - b"child_workflow_execution_started_event_attributes", - "child_workflow_execution_terminated_event_attributes", - b"child_workflow_execution_terminated_event_attributes", - "child_workflow_execution_timed_out_event_attributes", - b"child_workflow_execution_timed_out_event_attributes", - "event_id", - b"event_id", - "event_time", - b"event_time", - "event_type", - b"event_type", - "external_workflow_execution_cancel_requested_event_attributes", - b"external_workflow_execution_cancel_requested_event_attributes", - "external_workflow_execution_signaled_event_attributes", - b"external_workflow_execution_signaled_event_attributes", - "links", - b"links", - "marker_recorded_event_attributes", - b"marker_recorded_event_attributes", - "nexus_operation_cancel_request_completed_event_attributes", - b"nexus_operation_cancel_request_completed_event_attributes", - "nexus_operation_cancel_request_failed_event_attributes", - b"nexus_operation_cancel_request_failed_event_attributes", - "nexus_operation_cancel_requested_event_attributes", - b"nexus_operation_cancel_requested_event_attributes", - "nexus_operation_canceled_event_attributes", - b"nexus_operation_canceled_event_attributes", - "nexus_operation_completed_event_attributes", - b"nexus_operation_completed_event_attributes", - "nexus_operation_failed_event_attributes", - b"nexus_operation_failed_event_attributes", - "nexus_operation_scheduled_event_attributes", - b"nexus_operation_scheduled_event_attributes", - "nexus_operation_started_event_attributes", - b"nexus_operation_started_event_attributes", - "nexus_operation_timed_out_event_attributes", - b"nexus_operation_timed_out_event_attributes", - "request_cancel_external_workflow_execution_failed_event_attributes", - b"request_cancel_external_workflow_execution_failed_event_attributes", - "request_cancel_external_workflow_execution_initiated_event_attributes", - b"request_cancel_external_workflow_execution_initiated_event_attributes", - "signal_external_workflow_execution_failed_event_attributes", - b"signal_external_workflow_execution_failed_event_attributes", - "signal_external_workflow_execution_initiated_event_attributes", - b"signal_external_workflow_execution_initiated_event_attributes", - "start_child_workflow_execution_failed_event_attributes", - b"start_child_workflow_execution_failed_event_attributes", - "start_child_workflow_execution_initiated_event_attributes", - b"start_child_workflow_execution_initiated_event_attributes", - "task_id", - b"task_id", - "timer_canceled_event_attributes", - b"timer_canceled_event_attributes", - "timer_fired_event_attributes", - b"timer_fired_event_attributes", - "timer_started_event_attributes", - b"timer_started_event_attributes", - "upsert_workflow_search_attributes_event_attributes", - b"upsert_workflow_search_attributes_event_attributes", - "user_metadata", - b"user_metadata", - "version", - b"version", - "worker_may_ignore", - b"worker_may_ignore", - "workflow_execution_cancel_requested_event_attributes", - b"workflow_execution_cancel_requested_event_attributes", - "workflow_execution_canceled_event_attributes", - b"workflow_execution_canceled_event_attributes", - "workflow_execution_completed_event_attributes", - b"workflow_execution_completed_event_attributes", - "workflow_execution_continued_as_new_event_attributes", - b"workflow_execution_continued_as_new_event_attributes", - "workflow_execution_failed_event_attributes", - b"workflow_execution_failed_event_attributes", - "workflow_execution_options_updated_event_attributes", - b"workflow_execution_options_updated_event_attributes", - "workflow_execution_signaled_event_attributes", - b"workflow_execution_signaled_event_attributes", - "workflow_execution_started_event_attributes", - b"workflow_execution_started_event_attributes", - "workflow_execution_terminated_event_attributes", - b"workflow_execution_terminated_event_attributes", - "workflow_execution_timed_out_event_attributes", - b"workflow_execution_timed_out_event_attributes", - "workflow_execution_update_accepted_event_attributes", - b"workflow_execution_update_accepted_event_attributes", - "workflow_execution_update_admitted_event_attributes", - b"workflow_execution_update_admitted_event_attributes", - "workflow_execution_update_completed_event_attributes", - b"workflow_execution_update_completed_event_attributes", - "workflow_execution_update_rejected_event_attributes", - b"workflow_execution_update_rejected_event_attributes", - "workflow_properties_modified_event_attributes", - b"workflow_properties_modified_event_attributes", - "workflow_properties_modified_externally_event_attributes", - b"workflow_properties_modified_externally_event_attributes", - "workflow_task_completed_event_attributes", - b"workflow_task_completed_event_attributes", - "workflow_task_failed_event_attributes", - b"workflow_task_failed_event_attributes", - "workflow_task_scheduled_event_attributes", - b"workflow_task_scheduled_event_attributes", - "workflow_task_started_event_attributes", - b"workflow_task_started_event_attributes", - "workflow_task_timed_out_event_attributes", - b"workflow_task_timed_out_event_attributes", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] - ) -> ( - typing_extensions.Literal[ - "workflow_execution_started_event_attributes", - "workflow_execution_completed_event_attributes", - "workflow_execution_failed_event_attributes", - "workflow_execution_timed_out_event_attributes", - "workflow_task_scheduled_event_attributes", - "workflow_task_started_event_attributes", - "workflow_task_completed_event_attributes", - "workflow_task_timed_out_event_attributes", - "workflow_task_failed_event_attributes", - "activity_task_scheduled_event_attributes", - "activity_task_started_event_attributes", - "activity_task_completed_event_attributes", - "activity_task_failed_event_attributes", - "activity_task_timed_out_event_attributes", - "timer_started_event_attributes", - "timer_fired_event_attributes", - "activity_task_cancel_requested_event_attributes", - "activity_task_canceled_event_attributes", - "timer_canceled_event_attributes", - "marker_recorded_event_attributes", - "workflow_execution_signaled_event_attributes", - "workflow_execution_terminated_event_attributes", - "workflow_execution_cancel_requested_event_attributes", - "workflow_execution_canceled_event_attributes", - "request_cancel_external_workflow_execution_initiated_event_attributes", - "request_cancel_external_workflow_execution_failed_event_attributes", - "external_workflow_execution_cancel_requested_event_attributes", - "workflow_execution_continued_as_new_event_attributes", - "start_child_workflow_execution_initiated_event_attributes", - "start_child_workflow_execution_failed_event_attributes", - "child_workflow_execution_started_event_attributes", - "child_workflow_execution_completed_event_attributes", - "child_workflow_execution_failed_event_attributes", - "child_workflow_execution_canceled_event_attributes", - "child_workflow_execution_timed_out_event_attributes", - "child_workflow_execution_terminated_event_attributes", - "signal_external_workflow_execution_initiated_event_attributes", - "signal_external_workflow_execution_failed_event_attributes", - "external_workflow_execution_signaled_event_attributes", - "upsert_workflow_search_attributes_event_attributes", - "workflow_execution_update_accepted_event_attributes", - "workflow_execution_update_rejected_event_attributes", - "workflow_execution_update_completed_event_attributes", - "workflow_properties_modified_externally_event_attributes", - "activity_properties_modified_externally_event_attributes", - "workflow_properties_modified_event_attributes", - "workflow_execution_update_admitted_event_attributes", - "nexus_operation_scheduled_event_attributes", - "nexus_operation_started_event_attributes", - "nexus_operation_completed_event_attributes", - "nexus_operation_failed_event_attributes", - "nexus_operation_canceled_event_attributes", - "nexus_operation_timed_out_event_attributes", - "nexus_operation_cancel_requested_event_attributes", - "workflow_execution_options_updated_event_attributes", - "nexus_operation_cancel_request_completed_event_attributes", - "nexus_operation_cancel_request_failed_event_attributes", - ] - | None - ): ... + activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes | None = ..., + activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes | None = ..., + timer_canceled_event_attributes: global___TimerCanceledEventAttributes | None = ..., + marker_recorded_event_attributes: global___MarkerRecordedEventAttributes | None = ..., + workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes | None = ..., + workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes | None = ..., + workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes | None = ..., + workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes | None = ..., + request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | None = ..., + request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes | None = ..., + external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes | None = ..., + workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes | None = ..., + start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes | None = ..., + start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes | None = ..., + child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes | None = ..., + child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes | None = ..., + child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes | None = ..., + child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes | None = ..., + child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes | None = ..., + child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes | None = ..., + signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes | None = ..., + signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes | None = ..., + external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes | None = ..., + upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes | None = ..., + workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes | None = ..., + workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes | None = ..., + workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes | None = ..., + workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes | None = ..., + activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes | None = ..., + workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes | None = ..., + workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes | None = ..., + nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes | None = ..., + nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes | None = ..., + nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes | None = ..., + nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes | None = ..., + nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes | None = ..., + nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes | None = ..., + nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes | None = ..., + workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes | None = ..., + nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes | None = ..., + nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", b"activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", b"activity_task_canceled_event_attributes", "activity_task_completed_event_attributes", b"activity_task_completed_event_attributes", "activity_task_failed_event_attributes", b"activity_task_failed_event_attributes", "activity_task_scheduled_event_attributes", b"activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", b"activity_task_started_event_attributes", "activity_task_timed_out_event_attributes", b"activity_task_timed_out_event_attributes", "attributes", b"attributes", "child_workflow_execution_canceled_event_attributes", b"child_workflow_execution_canceled_event_attributes", "child_workflow_execution_completed_event_attributes", b"child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", b"child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", b"child_workflow_execution_started_event_attributes", "child_workflow_execution_terminated_event_attributes", b"child_workflow_execution_terminated_event_attributes", "child_workflow_execution_timed_out_event_attributes", b"child_workflow_execution_timed_out_event_attributes", "event_time", b"event_time", "external_workflow_execution_cancel_requested_event_attributes", b"external_workflow_execution_cancel_requested_event_attributes", "external_workflow_execution_signaled_event_attributes", b"external_workflow_execution_signaled_event_attributes", "marker_recorded_event_attributes", b"marker_recorded_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", b"nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes", b"nexus_operation_cancel_request_failed_event_attributes", "nexus_operation_cancel_requested_event_attributes", b"nexus_operation_cancel_requested_event_attributes", "nexus_operation_canceled_event_attributes", b"nexus_operation_canceled_event_attributes", "nexus_operation_completed_event_attributes", b"nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", b"nexus_operation_failed_event_attributes", "nexus_operation_scheduled_event_attributes", b"nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", b"nexus_operation_started_event_attributes", "nexus_operation_timed_out_event_attributes", b"nexus_operation_timed_out_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", b"request_cancel_external_workflow_execution_failed_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", b"request_cancel_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", b"signal_external_workflow_execution_failed_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", b"signal_external_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", b"start_child_workflow_execution_failed_event_attributes", "start_child_workflow_execution_initiated_event_attributes", b"start_child_workflow_execution_initiated_event_attributes", "timer_canceled_event_attributes", b"timer_canceled_event_attributes", "timer_fired_event_attributes", b"timer_fired_event_attributes", "timer_started_event_attributes", b"timer_started_event_attributes", "upsert_workflow_search_attributes_event_attributes", b"upsert_workflow_search_attributes_event_attributes", "user_metadata", b"user_metadata", "workflow_execution_cancel_requested_event_attributes", b"workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", b"workflow_execution_canceled_event_attributes", "workflow_execution_completed_event_attributes", b"workflow_execution_completed_event_attributes", "workflow_execution_continued_as_new_event_attributes", b"workflow_execution_continued_as_new_event_attributes", "workflow_execution_failed_event_attributes", b"workflow_execution_failed_event_attributes", "workflow_execution_options_updated_event_attributes", b"workflow_execution_options_updated_event_attributes", "workflow_execution_signaled_event_attributes", b"workflow_execution_signaled_event_attributes", "workflow_execution_started_event_attributes", b"workflow_execution_started_event_attributes", "workflow_execution_terminated_event_attributes", b"workflow_execution_terminated_event_attributes", "workflow_execution_timed_out_event_attributes", b"workflow_execution_timed_out_event_attributes", "workflow_execution_update_accepted_event_attributes", b"workflow_execution_update_accepted_event_attributes", "workflow_execution_update_admitted_event_attributes", b"workflow_execution_update_admitted_event_attributes", "workflow_execution_update_completed_event_attributes", b"workflow_execution_update_completed_event_attributes", "workflow_execution_update_rejected_event_attributes", b"workflow_execution_update_rejected_event_attributes", "workflow_properties_modified_event_attributes", b"workflow_properties_modified_event_attributes", "workflow_properties_modified_externally_event_attributes", b"workflow_properties_modified_externally_event_attributes", "workflow_task_completed_event_attributes", b"workflow_task_completed_event_attributes", "workflow_task_failed_event_attributes", b"workflow_task_failed_event_attributes", "workflow_task_scheduled_event_attributes", b"workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", b"workflow_task_started_event_attributes", "workflow_task_timed_out_event_attributes", b"workflow_task_timed_out_event_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", b"activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", b"activity_task_canceled_event_attributes", "activity_task_completed_event_attributes", b"activity_task_completed_event_attributes", "activity_task_failed_event_attributes", b"activity_task_failed_event_attributes", "activity_task_scheduled_event_attributes", b"activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", b"activity_task_started_event_attributes", "activity_task_timed_out_event_attributes", b"activity_task_timed_out_event_attributes", "attributes", b"attributes", "child_workflow_execution_canceled_event_attributes", b"child_workflow_execution_canceled_event_attributes", "child_workflow_execution_completed_event_attributes", b"child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", b"child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", b"child_workflow_execution_started_event_attributes", "child_workflow_execution_terminated_event_attributes", b"child_workflow_execution_terminated_event_attributes", "child_workflow_execution_timed_out_event_attributes", b"child_workflow_execution_timed_out_event_attributes", "event_id", b"event_id", "event_time", b"event_time", "event_type", b"event_type", "external_workflow_execution_cancel_requested_event_attributes", b"external_workflow_execution_cancel_requested_event_attributes", "external_workflow_execution_signaled_event_attributes", b"external_workflow_execution_signaled_event_attributes", "links", b"links", "marker_recorded_event_attributes", b"marker_recorded_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", b"nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes", b"nexus_operation_cancel_request_failed_event_attributes", "nexus_operation_cancel_requested_event_attributes", b"nexus_operation_cancel_requested_event_attributes", "nexus_operation_canceled_event_attributes", b"nexus_operation_canceled_event_attributes", "nexus_operation_completed_event_attributes", b"nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", b"nexus_operation_failed_event_attributes", "nexus_operation_scheduled_event_attributes", b"nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", b"nexus_operation_started_event_attributes", "nexus_operation_timed_out_event_attributes", b"nexus_operation_timed_out_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", b"request_cancel_external_workflow_execution_failed_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", b"request_cancel_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", b"signal_external_workflow_execution_failed_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", b"signal_external_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", b"start_child_workflow_execution_failed_event_attributes", "start_child_workflow_execution_initiated_event_attributes", b"start_child_workflow_execution_initiated_event_attributes", "task_id", b"task_id", "timer_canceled_event_attributes", b"timer_canceled_event_attributes", "timer_fired_event_attributes", b"timer_fired_event_attributes", "timer_started_event_attributes", b"timer_started_event_attributes", "upsert_workflow_search_attributes_event_attributes", b"upsert_workflow_search_attributes_event_attributes", "user_metadata", b"user_metadata", "version", b"version", "worker_may_ignore", b"worker_may_ignore", "workflow_execution_cancel_requested_event_attributes", b"workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", b"workflow_execution_canceled_event_attributes", "workflow_execution_completed_event_attributes", b"workflow_execution_completed_event_attributes", "workflow_execution_continued_as_new_event_attributes", b"workflow_execution_continued_as_new_event_attributes", "workflow_execution_failed_event_attributes", b"workflow_execution_failed_event_attributes", "workflow_execution_options_updated_event_attributes", b"workflow_execution_options_updated_event_attributes", "workflow_execution_signaled_event_attributes", b"workflow_execution_signaled_event_attributes", "workflow_execution_started_event_attributes", b"workflow_execution_started_event_attributes", "workflow_execution_terminated_event_attributes", b"workflow_execution_terminated_event_attributes", "workflow_execution_timed_out_event_attributes", b"workflow_execution_timed_out_event_attributes", "workflow_execution_update_accepted_event_attributes", b"workflow_execution_update_accepted_event_attributes", "workflow_execution_update_admitted_event_attributes", b"workflow_execution_update_admitted_event_attributes", "workflow_execution_update_completed_event_attributes", b"workflow_execution_update_completed_event_attributes", "workflow_execution_update_rejected_event_attributes", b"workflow_execution_update_rejected_event_attributes", "workflow_properties_modified_event_attributes", b"workflow_properties_modified_event_attributes", "workflow_properties_modified_externally_event_attributes", b"workflow_properties_modified_externally_event_attributes", "workflow_task_completed_event_attributes", b"workflow_task_completed_event_attributes", "workflow_task_failed_event_attributes", b"workflow_task_failed_event_attributes", "workflow_task_scheduled_event_attributes", b"workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", b"workflow_task_started_event_attributes", "workflow_task_timed_out_event_attributes", b"workflow_task_timed_out_event_attributes"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["attributes", b"attributes"]) -> typing_extensions.Literal["workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", "workflow_execution_timed_out_event_attributes", "workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", "workflow_task_completed_event_attributes", "workflow_task_timed_out_event_attributes", "workflow_task_failed_event_attributes", "activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", "activity_task_completed_event_attributes", "activity_task_failed_event_attributes", "activity_task_timed_out_event_attributes", "timer_started_event_attributes", "timer_fired_event_attributes", "activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", "timer_canceled_event_attributes", "marker_recorded_event_attributes", "workflow_execution_signaled_event_attributes", "workflow_execution_terminated_event_attributes", "workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", "external_workflow_execution_cancel_requested_event_attributes", "workflow_execution_continued_as_new_event_attributes", "start_child_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", "child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", "child_workflow_execution_canceled_event_attributes", "child_workflow_execution_timed_out_event_attributes", "child_workflow_execution_terminated_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", "external_workflow_execution_signaled_event_attributes", "upsert_workflow_search_attributes_event_attributes", "workflow_execution_update_accepted_event_attributes", "workflow_execution_update_rejected_event_attributes", "workflow_execution_update_completed_event_attributes", "workflow_properties_modified_externally_event_attributes", "activity_properties_modified_externally_event_attributes", "workflow_properties_modified_event_attributes", "workflow_execution_update_admitted_event_attributes", "nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", "nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", "nexus_operation_canceled_event_attributes", "nexus_operation_timed_out_event_attributes", "nexus_operation_cancel_requested_event_attributes", "workflow_execution_options_updated_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes"] | None: ... global___HistoryEvent = HistoryEvent @@ -4702,18 +2721,12 @@ class History(google.protobuf.message.Message): EVENTS_FIELD_NUMBER: builtins.int @property - def events( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___HistoryEvent - ]: ... + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HistoryEvent]: ... def __init__( self, *, events: collections.abc.Iterable[global___HistoryEvent] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["events", b"events"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["events", b"events"]) -> None: ... global___History = History diff --git a/temporalio/api/namespace/v1/__init__.py b/temporalio/api/namespace/v1/__init__.py index 53c898106..44e3f6b9a 100644 --- a/temporalio/api/namespace/v1/__init__.py +++ b/temporalio/api/namespace/v1/__init__.py @@ -1,11 +1,9 @@ -from .message_pb2 import ( - BadBinaries, - BadBinaryInfo, - NamespaceConfig, - NamespaceFilter, - NamespaceInfo, - UpdateNamespaceInfo, -) +from .message_pb2 import NamespaceInfo +from .message_pb2 import NamespaceConfig +from .message_pb2 import BadBinaries +from .message_pb2 import BadBinaryInfo +from .message_pb2 import UpdateNamespaceInfo +from .message_pb2 import NamespaceFilter __all__ = [ "BadBinaries", diff --git a/temporalio/api/namespace/v1/message_pb2.py b/temporalio/api/namespace/v1/message_pb2.py index 06b0fd956..d3e94f0fa 100644 --- a/temporalio/api/namespace/v1/message_pb2.py +++ b/temporalio/api/namespace/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/namespace/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,176 +14,138 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"\xba\x03\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aW\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01\"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3') + + -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"\xba\x03\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aW\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3' -) - - -_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] -_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name["DataEntry"] -_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name["Capabilities"] -_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name["NamespaceConfig"] -_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = ( - _NAMESPACECONFIG.nested_types_by_name["CustomSearchAttributeAliasesEntry"] -) -_BADBINARIES = DESCRIPTOR.message_types_by_name["BadBinaries"] -_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name["BinariesEntry"] -_BADBINARYINFO = DESCRIPTOR.message_types_by_name["BadBinaryInfo"] -_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name["UpdateNamespaceInfo"] -_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name["DataEntry"] -_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name["NamespaceFilter"] -NamespaceInfo = _reflection.GeneratedProtocolMessageType( - "NamespaceInfo", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_DATAENTRY, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) - }, - ), - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_CAPABILITIES, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) - }, - ), - "DESCRIPTOR": _NAMESPACEINFO, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) - }, -) +_NAMESPACEINFO = DESCRIPTOR.message_types_by_name['NamespaceInfo'] +_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name['DataEntry'] +_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name['Capabilities'] +_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name['NamespaceConfig'] +_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = _NAMESPACECONFIG.nested_types_by_name['CustomSearchAttributeAliasesEntry'] +_BADBINARIES = DESCRIPTOR.message_types_by_name['BadBinaries'] +_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name['BinariesEntry'] +_BADBINARYINFO = DESCRIPTOR.message_types_by_name['BadBinaryInfo'] +_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name['UpdateNamespaceInfo'] +_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name['DataEntry'] +_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name['NamespaceFilter'] +NamespaceInfo = _reflection.GeneratedProtocolMessageType('NamespaceInfo', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEINFO_DATAENTRY, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) + }) + , + + 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEINFO_CAPABILITIES, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) + }) + , + 'DESCRIPTOR' : _NAMESPACEINFO, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) + }) _sym_db.RegisterMessage(NamespaceInfo) _sym_db.RegisterMessage(NamespaceInfo.DataEntry) _sym_db.RegisterMessage(NamespaceInfo.Capabilities) -NamespaceConfig = _reflection.GeneratedProtocolMessageType( - "NamespaceConfig", - (_message.Message,), - { - "CustomSearchAttributeAliasesEntry": _reflection.GeneratedProtocolMessageType( - "CustomSearchAttributeAliasesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) - }, - ), - "DESCRIPTOR": _NAMESPACECONFIG, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) - }, -) +NamespaceConfig = _reflection.GeneratedProtocolMessageType('NamespaceConfig', (_message.Message,), { + + 'CustomSearchAttributeAliasesEntry' : _reflection.GeneratedProtocolMessageType('CustomSearchAttributeAliasesEntry', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) + }) + , + 'DESCRIPTOR' : _NAMESPACECONFIG, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) + }) _sym_db.RegisterMessage(NamespaceConfig) _sym_db.RegisterMessage(NamespaceConfig.CustomSearchAttributeAliasesEntry) -BadBinaries = _reflection.GeneratedProtocolMessageType( - "BadBinaries", - (_message.Message,), - { - "BinariesEntry": _reflection.GeneratedProtocolMessageType( - "BinariesEntry", - (_message.Message,), - { - "DESCRIPTOR": _BADBINARIES_BINARIESENTRY, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) - }, - ), - "DESCRIPTOR": _BADBINARIES, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) - }, -) +BadBinaries = _reflection.GeneratedProtocolMessageType('BadBinaries', (_message.Message,), { + + 'BinariesEntry' : _reflection.GeneratedProtocolMessageType('BinariesEntry', (_message.Message,), { + 'DESCRIPTOR' : _BADBINARIES_BINARIESENTRY, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) + }) + , + 'DESCRIPTOR' : _BADBINARIES, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) + }) _sym_db.RegisterMessage(BadBinaries) _sym_db.RegisterMessage(BadBinaries.BinariesEntry) -BadBinaryInfo = _reflection.GeneratedProtocolMessageType( - "BadBinaryInfo", - (_message.Message,), - { - "DESCRIPTOR": _BADBINARYINFO, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) - }, -) +BadBinaryInfo = _reflection.GeneratedProtocolMessageType('BadBinaryInfo', (_message.Message,), { + 'DESCRIPTOR' : _BADBINARYINFO, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) + }) _sym_db.RegisterMessage(BadBinaryInfo) -UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceInfo", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEINFO_DATAENTRY, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) - }, - ), - "DESCRIPTOR": _UPDATENAMESPACEINFO, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) - }, -) +UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType('UpdateNamespaceInfo', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACEINFO_DATAENTRY, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) + }) + , + 'DESCRIPTOR' : _UPDATENAMESPACEINFO, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) + }) _sym_db.RegisterMessage(UpdateNamespaceInfo) _sym_db.RegisterMessage(UpdateNamespaceInfo.DataEntry) -NamespaceFilter = _reflection.GeneratedProtocolMessageType( - "NamespaceFilter", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEFILTER, - "__module__": "temporal.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) - }, -) +NamespaceFilter = _reflection.GeneratedProtocolMessageType('NamespaceFilter', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEFILTER, + '__module__' : 'temporal.api.namespace.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) + }) _sym_db.RegisterMessage(NamespaceFilter) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" - _NAMESPACEINFO_DATAENTRY._options = None - _NAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b"8\001" - _BADBINARIES_BINARIESENTRY._options = None - _BADBINARIES_BINARIESENTRY._serialized_options = b"8\001" - _UPDATENAMESPACEINFO_DATAENTRY._options = None - _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" - _NAMESPACEINFO._serialized_start = 175 - _NAMESPACEINFO._serialized_end = 617 - _NAMESPACEINFO_DATAENTRY._serialized_start = 485 - _NAMESPACEINFO_DATAENTRY._serialized_end = 528 - _NAMESPACEINFO_CAPABILITIES._serialized_start = 530 - _NAMESPACEINFO_CAPABILITIES._serialized_end = 617 - _NAMESPACECONFIG._serialized_start = 620 - _NAMESPACECONFIG._serialized_end = 1162 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start = 1095 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end = 1162 - _BADBINARIES._serialized_start = 1165 - _BADBINARIES._serialized_end = 1341 - _BADBINARIES_BINARIESENTRY._serialized_start = 1252 - _BADBINARIES_BINARIESENTRY._serialized_end = 1341 - _BADBINARYINFO._serialized_start = 1343 - _BADBINARYINFO._serialized_end = 1441 - _UPDATENAMESPACEINFO._serialized_start = 1444 - _UPDATENAMESPACEINFO._serialized_end = 1678 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_start = 485 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_end = 528 - _NAMESPACEFILTER._serialized_start = 1680 - _NAMESPACEFILTER._serialized_end = 1722 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1' + _NAMESPACEINFO_DATAENTRY._options = None + _NAMESPACEINFO_DATAENTRY._serialized_options = b'8\001' + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b'8\001' + _BADBINARIES_BINARIESENTRY._options = None + _BADBINARIES_BINARIESENTRY._serialized_options = b'8\001' + _UPDATENAMESPACEINFO_DATAENTRY._options = None + _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b'8\001' + _NAMESPACEINFO._serialized_start=175 + _NAMESPACEINFO._serialized_end=617 + _NAMESPACEINFO_DATAENTRY._serialized_start=485 + _NAMESPACEINFO_DATAENTRY._serialized_end=528 + _NAMESPACEINFO_CAPABILITIES._serialized_start=530 + _NAMESPACEINFO_CAPABILITIES._serialized_end=617 + _NAMESPACECONFIG._serialized_start=620 + _NAMESPACECONFIG._serialized_end=1162 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start=1095 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end=1162 + _BADBINARIES._serialized_start=1165 + _BADBINARIES._serialized_end=1341 + _BADBINARIES_BINARIESENTRY._serialized_start=1252 + _BADBINARIES_BINARIESENTRY._serialized_end=1341 + _BADBINARYINFO._serialized_start=1343 + _BADBINARYINFO._serialized_end=1441 + _UPDATENAMESPACEINFO._serialized_start=1444 + _UPDATENAMESPACEINFO._serialized_end=1678 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_start=485 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_end=528 + _NAMESPACEFILTER._serialized_start=1680 + _NAMESPACEFILTER._serialized_end=1722 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/namespace/v1/message_pb2.pyi b/temporalio/api/namespace/v1/message_pb2.pyi index 831972b79..4fbb6259d 100644 --- a/temporalio/api/namespace/v1/message_pb2.pyi +++ b/temporalio/api/namespace/v1/message_pb2.pyi @@ -2,17 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.enums.v1.namespace_pb2 if sys.version_info >= (3, 8): @@ -38,10 +35,7 @@ class NamespaceInfo(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class Capabilities(google.protobuf.message.Message): """Namespace capability details. Should contain what features are enabled in a namespace.""" @@ -64,17 +58,7 @@ class NamespaceInfo(google.protobuf.message.Message): sync_update: builtins.bool = ..., async_update: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_update", - b"async_update", - "eager_workflow_start", - b"eager_workflow_start", - "sync_update", - b"sync_update", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["async_update", b"async_update", "eager_workflow_start", b"eager_workflow_start", "sync_update", b"sync_update"]) -> None: ... NAME_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int @@ -89,9 +73,7 @@ class NamespaceInfo(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def data( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" id: builtins.str @property @@ -113,30 +95,8 @@ class NamespaceInfo(google.protobuf.message.Message): capabilities: global___NamespaceInfo.Capabilities | None = ..., supports_schedules: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "capabilities", - b"capabilities", - "data", - b"data", - "description", - b"description", - "id", - b"id", - "name", - b"name", - "owner_email", - b"owner_email", - "state", - b"state", - "supports_schedules", - b"supports_schedules", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "data", b"data", "description", b"description", "id", b"id", "name", b"name", "owner_email", b"owner_email", "state", b"state", "supports_schedules", b"supports_schedules"]) -> None: ... global___NamespaceInfo = NamespaceInfo @@ -156,10 +116,7 @@ class NamespaceConfig(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... WORKFLOW_EXECUTION_RETENTION_TTL_FIELD_NUMBER: builtins.int BAD_BINARIES_FIELD_NUMBER: builtins.int @@ -169,69 +126,31 @@ class NamespaceConfig(google.protobuf.message.Message): VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: builtins.int CUSTOM_SEARCH_ATTRIBUTE_ALIASES_FIELD_NUMBER: builtins.int @property - def workflow_execution_retention_ttl( - self, - ) -> google.protobuf.duration_pb2.Duration: ... + def workflow_execution_retention_ttl(self) -> google.protobuf.duration_pb2.Duration: ... @property def bad_binaries(self) -> global___BadBinaries: ... - history_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) + history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" history_archival_uri: builtins.str - visibility_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) + visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str @property - def custom_search_attribute_aliases( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def custom_search_attribute_aliases(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Map from field name to alias.""" def __init__( self, *, - workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration - | None = ..., + workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration | None = ..., bad_binaries: global___BadBinaries | None = ..., history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., history_archival_uri: builtins.str = ..., visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., visibility_archival_uri: builtins.str = ..., - custom_search_attribute_aliases: collections.abc.Mapping[ - builtins.str, builtins.str - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "bad_binaries", - b"bad_binaries", - "workflow_execution_retention_ttl", - b"workflow_execution_retention_ttl", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "bad_binaries", - b"bad_binaries", - "custom_search_attribute_aliases", - b"custom_search_attribute_aliases", - "history_archival_state", - b"history_archival_state", - "history_archival_uri", - b"history_archival_uri", - "visibility_archival_state", - b"visibility_archival_state", - "visibility_archival_uri", - b"visibility_archival_uri", - "workflow_execution_retention_ttl", - b"workflow_execution_retention_ttl", - ], + custom_search_attribute_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["bad_binaries", b"bad_binaries", "workflow_execution_retention_ttl", b"workflow_execution_retention_ttl"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["bad_binaries", b"bad_binaries", "custom_search_attribute_aliases", b"custom_search_attribute_aliases", "history_archival_state", b"history_archival_state", "history_archival_uri", b"history_archival_uri", "visibility_archival_state", b"visibility_archival_state", "visibility_archival_uri", b"visibility_archival_uri", "workflow_execution_retention_ttl", b"workflow_execution_retention_ttl"]) -> None: ... global___NamespaceConfig = NamespaceConfig @@ -252,30 +171,18 @@ class BadBinaries(google.protobuf.message.Message): key: builtins.str = ..., value: global___BadBinaryInfo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... BINARIES_FIELD_NUMBER: builtins.int @property - def binaries( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___BadBinaryInfo - ]: ... + def binaries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___BadBinaryInfo]: ... def __init__( self, *, - binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["binaries", b"binaries"] + binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["binaries", b"binaries"]) -> None: ... global___BadBinaries = BadBinaries @@ -296,15 +203,8 @@ class BadBinaryInfo(google.protobuf.message.Message): operator: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["create_time", b"create_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "operator", b"operator", "reason", b"reason" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "operator", b"operator", "reason", b"reason"]) -> None: ... global___BadBinaryInfo = BadBinaryInfo @@ -324,10 +224,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int OWNER_EMAIL_FIELD_NUMBER: builtins.int @@ -336,11 +233,9 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def data( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose. - If data already exists on the namespace, + If data already exists on the namespace, this will merge with the existing key values. """ state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType @@ -358,19 +253,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "data", - b"data", - "description", - b"description", - "owner_email", - b"owner_email", - "state", - b"state", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "description", b"description", "owner_email", b"owner_email", "state", b"state"]) -> None: ... global___UpdateNamespaceInfo = UpdateNamespaceInfo @@ -388,9 +271,6 @@ class NamespaceFilter(google.protobuf.message.Message): *, include_deleted: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["include_deleted", b"include_deleted"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["include_deleted", b"include_deleted"]) -> None: ... global___NamespaceFilter = NamespaceFilter diff --git a/temporalio/api/nexus/v1/__init__.py b/temporalio/api/nexus/v1/__init__.py index 7ae90d590..aad46dbda 100644 --- a/temporalio/api/nexus/v1/__init__.py +++ b/temporalio/api/nexus/v1/__init__.py @@ -1,18 +1,16 @@ -from .message_pb2 import ( - CancelOperationRequest, - CancelOperationResponse, - Endpoint, - EndpointSpec, - EndpointTarget, - Failure, - HandlerError, - Link, - Request, - Response, - StartOperationRequest, - StartOperationResponse, - UnsuccessfulOperationError, -) +from .message_pb2 import Failure +from .message_pb2 import HandlerError +from .message_pb2 import UnsuccessfulOperationError +from .message_pb2 import Link +from .message_pb2 import StartOperationRequest +from .message_pb2 import CancelOperationRequest +from .message_pb2 import Request +from .message_pb2 import StartOperationResponse +from .message_pb2 import CancelOperationResponse +from .message_pb2 import Response +from .message_pb2 import Endpoint +from .message_pb2 import EndpointSpec +from .message_pb2 import EndpointTarget __all__ = [ "CancelOperationRequest", diff --git a/temporalio/api/nexus/v1/message_pb2.py b/temporalio/api/nexus/v1/message_pb2.py index 263952fd7..7f77bdf82 100644 --- a/temporalio/api/nexus/v1/message_pb2.py +++ b/temporalio/api/nexus/v1/message_pb2.py @@ -2,324 +2,244 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/nexus/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t"\xc7\x02\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant"\xd9\x03\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant"\x19\n\x17\x43\x61ncelOperationResponse"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3' -) - - -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name["MetadataEntry"] -_HANDLERERROR = DESCRIPTOR.message_types_by_name["HandlerError"] -_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name[ - "UnsuccessfulOperationError" -] -_LINK = DESCRIPTOR.message_types_by_name["Link"] -_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["StartOperationRequest"] -_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = ( - _STARTOPERATIONREQUEST.nested_types_by_name["CallbackHeaderEntry"] -) -_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["CancelOperationRequest"] -_REQUEST = DESCRIPTOR.message_types_by_name["Request"] -_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name["HeaderEntry"] -_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["StartOperationResponse"] -_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Sync"] -_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Async"] -_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["CancelOperationResponse"] -_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] -_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] -_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name["EndpointTarget"] -_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name["Worker"] -_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name["External"] -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE_METADATAENTRY, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) - }, - ), - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) - }, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto\"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xc7\x02\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\xd9\x03\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3') + + + +_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] +_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name['MetadataEntry'] +_HANDLERERROR = DESCRIPTOR.message_types_by_name['HandlerError'] +_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name['UnsuccessfulOperationError'] +_LINK = DESCRIPTOR.message_types_by_name['Link'] +_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StartOperationRequest'] +_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = _STARTOPERATIONREQUEST.nested_types_by_name['CallbackHeaderEntry'] +_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['CancelOperationRequest'] +_REQUEST = DESCRIPTOR.message_types_by_name['Request'] +_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name['HeaderEntry'] +_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StartOperationResponse'] +_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name['Sync'] +_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name['Async'] +_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['CancelOperationResponse'] +_RESPONSE = DESCRIPTOR.message_types_by_name['Response'] +_ENDPOINT = DESCRIPTOR.message_types_by_name['Endpoint'] +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name['EndpointSpec'] +_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name['EndpointTarget'] +_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name['Worker'] +_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name['External'] +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + + 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE_METADATAENTRY, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) + }) + , + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) + }) _sym_db.RegisterMessage(Failure) _sym_db.RegisterMessage(Failure.MetadataEntry) -HandlerError = _reflection.GeneratedProtocolMessageType( - "HandlerError", - (_message.Message,), - { - "DESCRIPTOR": _HANDLERERROR, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) - }, -) +HandlerError = _reflection.GeneratedProtocolMessageType('HandlerError', (_message.Message,), { + 'DESCRIPTOR' : _HANDLERERROR, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) + }) _sym_db.RegisterMessage(HandlerError) -UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType( - "UnsuccessfulOperationError", - (_message.Message,), - { - "DESCRIPTOR": _UNSUCCESSFULOPERATIONERROR, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) - }, -) +UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType('UnsuccessfulOperationError', (_message.Message,), { + 'DESCRIPTOR' : _UNSUCCESSFULOPERATIONERROR, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) + }) _sym_db.RegisterMessage(UnsuccessfulOperationError) -Link = _reflection.GeneratedProtocolMessageType( - "Link", - (_message.Message,), - { - "DESCRIPTOR": _LINK, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) - }, -) +Link = _reflection.GeneratedProtocolMessageType('Link', (_message.Message,), { + 'DESCRIPTOR' : _LINK, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) + }) _sym_db.RegisterMessage(Link) -StartOperationRequest = _reflection.GeneratedProtocolMessageType( - "StartOperationRequest", - (_message.Message,), - { - "CallbackHeaderEntry": _reflection.GeneratedProtocolMessageType( - "CallbackHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) - }, - ), - "DESCRIPTOR": _STARTOPERATIONREQUEST, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) - }, -) +StartOperationRequest = _reflection.GeneratedProtocolMessageType('StartOperationRequest', (_message.Message,), { + + 'CallbackHeaderEntry' : _reflection.GeneratedProtocolMessageType('CallbackHeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) + }) + , + 'DESCRIPTOR' : _STARTOPERATIONREQUEST, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) + }) _sym_db.RegisterMessage(StartOperationRequest) _sym_db.RegisterMessage(StartOperationRequest.CallbackHeaderEntry) -CancelOperationRequest = _reflection.GeneratedProtocolMessageType( - "CancelOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _CANCELOPERATIONREQUEST, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) - }, -) +CancelOperationRequest = _reflection.GeneratedProtocolMessageType('CancelOperationRequest', (_message.Message,), { + 'DESCRIPTOR' : _CANCELOPERATIONREQUEST, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) + }) _sym_db.RegisterMessage(CancelOperationRequest) -Request = _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "HeaderEntry": _reflection.GeneratedProtocolMessageType( - "HeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST_HEADERENTRY, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) - }, - ), - "DESCRIPTOR": _REQUEST, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) - }, -) +Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { + + 'HeaderEntry' : _reflection.GeneratedProtocolMessageType('HeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _REQUEST_HEADERENTRY, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) + }) + , + 'DESCRIPTOR' : _REQUEST, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) + }) _sym_db.RegisterMessage(Request) _sym_db.RegisterMessage(Request.HeaderEntry) -StartOperationResponse = _reflection.GeneratedProtocolMessageType( - "StartOperationResponse", - (_message.Message,), - { - "Sync": _reflection.GeneratedProtocolMessageType( - "Sync", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONRESPONSE_SYNC, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) - }, - ), - "Async": _reflection.GeneratedProtocolMessageType( - "Async", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONRESPONSE_ASYNC, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) - }, - ), - "DESCRIPTOR": _STARTOPERATIONRESPONSE, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) - }, -) +StartOperationResponse = _reflection.GeneratedProtocolMessageType('StartOperationResponse', (_message.Message,), { + + 'Sync' : _reflection.GeneratedProtocolMessageType('Sync', (_message.Message,), { + 'DESCRIPTOR' : _STARTOPERATIONRESPONSE_SYNC, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) + }) + , + + 'Async' : _reflection.GeneratedProtocolMessageType('Async', (_message.Message,), { + 'DESCRIPTOR' : _STARTOPERATIONRESPONSE_ASYNC, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) + }) + , + 'DESCRIPTOR' : _STARTOPERATIONRESPONSE, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) + }) _sym_db.RegisterMessage(StartOperationResponse) _sym_db.RegisterMessage(StartOperationResponse.Sync) _sym_db.RegisterMessage(StartOperationResponse.Async) -CancelOperationResponse = _reflection.GeneratedProtocolMessageType( - "CancelOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _CANCELOPERATIONRESPONSE, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) - }, -) +CancelOperationResponse = _reflection.GeneratedProtocolMessageType('CancelOperationResponse', (_message.Message,), { + 'DESCRIPTOR' : _CANCELOPERATIONRESPONSE, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) + }) _sym_db.RegisterMessage(CancelOperationResponse) -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) - }, -) +Response = _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { + 'DESCRIPTOR' : _RESPONSE, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) + }) _sym_db.RegisterMessage(Response) -Endpoint = _reflection.GeneratedProtocolMessageType( - "Endpoint", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINT, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) - }, -) +Endpoint = _reflection.GeneratedProtocolMessageType('Endpoint', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINT, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) + }) _sym_db.RegisterMessage(Endpoint) -EndpointSpec = _reflection.GeneratedProtocolMessageType( - "EndpointSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTSPEC, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) - }, -) +EndpointSpec = _reflection.GeneratedProtocolMessageType('EndpointSpec', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTSPEC, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) + }) _sym_db.RegisterMessage(EndpointSpec) -EndpointTarget = _reflection.GeneratedProtocolMessageType( - "EndpointTarget", - (_message.Message,), - { - "Worker": _reflection.GeneratedProtocolMessageType( - "Worker", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGET_WORKER, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) - }, - ), - "External": _reflection.GeneratedProtocolMessageType( - "External", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGET_EXTERNAL, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) - }, - ), - "DESCRIPTOR": _ENDPOINTTARGET, - "__module__": "temporal.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) - }, -) +EndpointTarget = _reflection.GeneratedProtocolMessageType('EndpointTarget', (_message.Message,), { + + 'Worker' : _reflection.GeneratedProtocolMessageType('Worker', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTTARGET_WORKER, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) + }) + , + + 'External' : _reflection.GeneratedProtocolMessageType('External', (_message.Message,), { + 'DESCRIPTOR' : _ENDPOINTTARGET_EXTERNAL, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) + }) + , + 'DESCRIPTOR' : _ENDPOINTTARGET, + '__module__' : 'temporal.api.nexus.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) + }) _sym_db.RegisterMessage(EndpointTarget) _sym_db.RegisterMessage(EndpointTarget.Worker) _sym_db.RegisterMessage(EndpointTarget.External) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" - _FAILURE_METADATAENTRY._options = None - _FAILURE_METADATAENTRY._serialized_options = b"8\001" - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b"8\001" - _CANCELOPERATIONREQUEST.fields_by_name["operation_id"]._options = None - _CANCELOPERATIONREQUEST.fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _REQUEST_HEADERENTRY._options = None - _REQUEST_HEADERENTRY._serialized_options = b"8\001" - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name["operation_id"]._options = None - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _FAILURE._serialized_start = 169 - _FAILURE._serialized_end = 325 - _FAILURE_METADATAENTRY._serialized_start = 278 - _FAILURE_METADATAENTRY._serialized_end = 325 - _HANDLERERROR._serialized_start = 328 - _HANDLERERROR._serialized_end = 490 - _UNSUCCESSFULOPERATIONERROR._serialized_start = 492 - _UNSUCCESSFULOPERATIONERROR._serialized_end = 594 - _LINK._serialized_start = 596 - _LINK._serialized_end = 629 - _STARTOPERATIONREQUEST._serialized_start = 632 - _STARTOPERATIONREQUEST._serialized_end = 969 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start = 916 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end = 969 - _CANCELOPERATIONREQUEST._serialized_start = 971 - _CANCELOPERATIONREQUEST._serialized_end = 1082 - _REQUEST._serialized_start = 1085 - _REQUEST._serialized_end = 1412 - _REQUEST_HEADERENTRY._serialized_start = 1356 - _REQUEST_HEADERENTRY._serialized_end = 1401 - _STARTOPERATIONRESPONSE._serialized_start = 1415 - _STARTOPERATIONRESPONSE._serialized_end = 1888 - _STARTOPERATIONRESPONSE_SYNC._serialized_start = 1673 - _STARTOPERATIONRESPONSE_SYNC._serialized_end = 1773 - _STARTOPERATIONRESPONSE_ASYNC._serialized_start = 1775 - _STARTOPERATIONRESPONSE_ASYNC._serialized_end = 1877 - _CANCELOPERATIONRESPONSE._serialized_start = 1890 - _CANCELOPERATIONRESPONSE._serialized_end = 1915 - _RESPONSE._serialized_start = 1918 - _RESPONSE._serialized_end = 2089 - _ENDPOINT._serialized_start = 2092 - _ENDPOINT._serialized_end = 2308 - _ENDPOINTSPEC._serialized_start = 2311 - _ENDPOINTSPEC._serialized_end = 2448 - _ENDPOINTTARGET._serialized_start = 2451 - _ENDPOINTTARGET._serialized_end = 2684 - _ENDPOINTTARGET_WORKER._serialized_start = 2601 - _ENDPOINTTARGET_WORKER._serialized_end = 2648 - _ENDPOINTTARGET_EXTERNAL._serialized_start = 2650 - _ENDPOINTTARGET_EXTERNAL._serialized_end = 2673 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1' + _FAILURE_METADATAENTRY._options = None + _FAILURE_METADATAENTRY._serialized_options = b'8\001' + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b'8\001' + _CANCELOPERATIONREQUEST.fields_by_name['operation_id']._options = None + _CANCELOPERATIONREQUEST.fields_by_name['operation_id']._serialized_options = b'\030\001' + _REQUEST_HEADERENTRY._options = None + _REQUEST_HEADERENTRY._serialized_options = b'8\001' + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name['operation_id']._options = None + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name['operation_id']._serialized_options = b'\030\001' + _FAILURE._serialized_start=169 + _FAILURE._serialized_end=325 + _FAILURE_METADATAENTRY._serialized_start=278 + _FAILURE_METADATAENTRY._serialized_end=325 + _HANDLERERROR._serialized_start=328 + _HANDLERERROR._serialized_end=490 + _UNSUCCESSFULOPERATIONERROR._serialized_start=492 + _UNSUCCESSFULOPERATIONERROR._serialized_end=594 + _LINK._serialized_start=596 + _LINK._serialized_end=629 + _STARTOPERATIONREQUEST._serialized_start=632 + _STARTOPERATIONREQUEST._serialized_end=969 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start=916 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end=969 + _CANCELOPERATIONREQUEST._serialized_start=971 + _CANCELOPERATIONREQUEST._serialized_end=1082 + _REQUEST._serialized_start=1085 + _REQUEST._serialized_end=1412 + _REQUEST_HEADERENTRY._serialized_start=1356 + _REQUEST_HEADERENTRY._serialized_end=1401 + _STARTOPERATIONRESPONSE._serialized_start=1415 + _STARTOPERATIONRESPONSE._serialized_end=1888 + _STARTOPERATIONRESPONSE_SYNC._serialized_start=1673 + _STARTOPERATIONRESPONSE_SYNC._serialized_end=1773 + _STARTOPERATIONRESPONSE_ASYNC._serialized_start=1775 + _STARTOPERATIONRESPONSE_ASYNC._serialized_end=1877 + _CANCELOPERATIONRESPONSE._serialized_start=1890 + _CANCELOPERATIONRESPONSE._serialized_end=1915 + _RESPONSE._serialized_start=1918 + _RESPONSE._serialized_end=2089 + _ENDPOINT._serialized_start=2092 + _ENDPOINT._serialized_end=2308 + _ENDPOINTSPEC._serialized_start=2311 + _ENDPOINTSPEC._serialized_end=2448 + _ENDPOINTTARGET._serialized_start=2451 + _ENDPOINTTARGET._serialized_end=2684 + _ENDPOINTTARGET_WORKER._serialized_start=2601 + _ENDPOINTTARGET_WORKER._serialized_end=2648 + _ENDPOINTTARGET_EXTERNAL._serialized_start=2650 + _ENDPOINTTARGET_EXTERNAL._serialized_end=2673 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexus/v1/message_pb2.pyi b/temporalio/api/nexus/v1/message_pb2.pyi index b72127ed6..226eb44f2 100644 --- a/temporalio/api/nexus/v1/message_pb2.pyi +++ b/temporalio/api/nexus/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.nexus_pb2 @@ -42,19 +39,14 @@ class Failure(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... MESSAGE_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int message: builtins.str @property - def metadata( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... details: builtins.bytes """UTF-8 encoded JSON serializable details.""" def __init__( @@ -64,12 +56,7 @@ class Failure(google.protobuf.message.Message): metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., details: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "message", b"message", "metadata", b"metadata" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "message", b"message", "metadata", b"metadata"]) -> None: ... global___Failure = Failure @@ -83,9 +70,7 @@ class HandlerError(google.protobuf.message.Message): """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.""" @property def failure(self) -> global___Failure: ... - retry_behavior: ( - temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType - ) + retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" def __init__( self, @@ -94,20 +79,8 @@ class HandlerError(google.protobuf.message.Message): failure: global___Failure | None = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "error_type", - b"error_type", - "failure", - b"failure", - "retry_behavior", - b"retry_behavior", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["error_type", b"error_type", "failure", b"failure", "retry_behavior", b"retry_behavior"]) -> None: ... global___HandlerError = HandlerError @@ -126,15 +99,8 @@ class UnsuccessfulOperationError(google.protobuf.message.Message): operation_state: builtins.str = ..., failure: global___Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "operation_state", b"operation_state" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "operation_state", b"operation_state"]) -> None: ... global___UnsuccessfulOperationError = UnsuccessfulOperationError @@ -152,9 +118,7 @@ class Link(google.protobuf.message.Message): url: builtins.str = ..., type: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"]) -> None: ... global___Link = Link @@ -176,10 +140,7 @@ class StartOperationRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SERVICE_FIELD_NUMBER: builtins.int OPERATION_FIELD_NUMBER: builtins.int @@ -200,16 +161,10 @@ class StartOperationRequest(google.protobuf.message.Message): def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: """Full request body from the incoming HTTP request.""" @property - def callback_header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def callback_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header that is expected to be attached to the callback request when the operation completes.""" @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: """Links contain caller information and can be attached to the operations started by the handler.""" def __init__( self, @@ -219,32 +174,11 @@ class StartOperationRequest(google.protobuf.message.Message): request_id: builtins.str = ..., callback: builtins.str = ..., payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., - callback_header: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., + callback_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["payload", b"payload"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "callback", - b"callback", - "callback_header", - b"callback_header", - "links", - b"links", - "operation", - b"operation", - "payload", - b"payload", - "request_id", - b"request_id", - "service", - b"service", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["payload", b"payload"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["callback", b"callback", "callback_header", b"callback_header", "links", b"links", "operation", b"operation", "payload", b"payload", "request_id", b"request_id", "service", b"service"]) -> None: ... global___StartOperationRequest = StartOperationRequest @@ -276,19 +210,7 @@ class CancelOperationRequest(google.protobuf.message.Message): operation_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "operation", - b"operation", - "operation_id", - b"operation_id", - "operation_token", - b"operation_token", - "service", - b"service", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "service", b"service"]) -> None: ... global___CancelOperationRequest = CancelOperationRequest @@ -310,19 +232,14 @@ class Request(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... HEADER_FIELD_NUMBER: builtins.int SCHEDULED_TIME_FIELD_NUMBER: builtins.int START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int @property - def header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values. """ @@ -344,37 +261,9 @@ class Request(google.protobuf.message.Message): start_operation: global___StartOperationRequest | None = ..., cancel_operation: global___CancelOperationRequest | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel_operation", - b"cancel_operation", - "scheduled_time", - b"scheduled_time", - "start_operation", - b"start_operation", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_operation", - b"cancel_operation", - "header", - b"header", - "scheduled_time", - b"scheduled_time", - "start_operation", - b"start_operation", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "scheduled_time", b"scheduled_time", "start_operation", b"start_operation", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "header", b"header", "scheduled_time", b"scheduled_time", "start_operation", b"start_operation", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... global___Request = Request @@ -393,26 +282,15 @@ class StartOperationResponse(google.protobuf.message.Message): @property def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: ... @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link - ]: ... + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: ... def __init__( self, *, payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["payload", b"payload"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "links", b"links", "payload", b"payload" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["payload", b"payload"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["links", b"links", "payload", b"payload"]) -> None: ... class Async(google.protobuf.message.Message): """The operation will complete asynchronously. @@ -427,11 +305,7 @@ class StartOperationResponse(google.protobuf.message.Message): operation_id: builtins.str """Deprecated. Renamed to operation_token.""" @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link - ]: ... + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: ... operation_token: builtins.str def __init__( self, @@ -440,17 +314,7 @@ class StartOperationResponse(google.protobuf.message.Message): links: collections.abc.Iterable[global___Link] | None = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "links", - b"links", - "operation_id", - b"operation_id", - "operation_token", - b"operation_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["links", b"links", "operation_id", b"operation_id", "operation_token", b"operation_token"]) -> None: ... SYNC_SUCCESS_FIELD_NUMBER: builtins.int ASYNC_SUCCESS_FIELD_NUMBER: builtins.int @@ -469,38 +333,9 @@ class StartOperationResponse(google.protobuf.message.Message): async_success: global___StartOperationResponse.Async | None = ..., operation_error: global___UnsuccessfulOperationError | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "async_success", - b"async_success", - "operation_error", - b"operation_error", - "sync_success", - b"sync_success", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_success", - b"async_success", - "operation_error", - b"operation_error", - "sync_success", - b"sync_success", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> ( - typing_extensions.Literal["sync_success", "async_success", "operation_error"] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["async_success", b"async_success", "operation_error", b"operation_error", "sync_success", b"sync_success", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["async_success", b"async_success", "operation_error", b"operation_error", "sync_success", b"sync_success", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["sync_success", "async_success", "operation_error"] | None: ... global___StartOperationResponse = StartOperationResponse @@ -532,31 +367,9 @@ class Response(google.protobuf.message.Message): start_operation: global___StartOperationResponse | None = ..., cancel_operation: global___CancelOperationResponse | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel_operation", - b"cancel_operation", - "start_operation", - b"start_operation", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_operation", - b"cancel_operation", - "start_operation", - b"start_operation", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "start_operation", b"start_operation", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "start_operation", b"start_operation", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... global___Response = Response @@ -606,34 +419,8 @@ class Endpoint(google.protobuf.message.Message): last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., url_prefix: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "created_time", - b"created_time", - "id", - b"id", - "last_modified_time", - b"last_modified_time", - "spec", - b"spec", - "url_prefix", - b"url_prefix", - "version", - b"version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "spec", b"spec", "url_prefix", b"url_prefix", "version", b"version"]) -> None: ... global___Endpoint = Endpoint @@ -665,18 +452,8 @@ class EndpointSpec(google.protobuf.message.Message): description: temporalio.api.common.v1.message_pb2.Payload | None = ..., target: global___EndpointTarget | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "target", b"target" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "name", b"name", "target", b"target" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["description", b"description", "target", b"target"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "target", b"target"]) -> None: ... global___EndpointSpec = EndpointSpec @@ -702,12 +479,7 @@ class EndpointTarget(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "task_queue", b"task_queue" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... class External(google.protobuf.message.Message): """Target an external server by URL. @@ -725,9 +497,7 @@ class EndpointTarget(google.protobuf.message.Message): *, url: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["url", b"url"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["url", b"url"]) -> None: ... WORKER_FIELD_NUMBER: builtins.int EXTERNAL_FIELD_NUMBER: builtins.int @@ -741,20 +511,8 @@ class EndpointTarget(google.protobuf.message.Message): worker: global___EndpointTarget.Worker | None = ..., external: global___EndpointTarget.External | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "external", b"external", "variant", b"variant", "worker", b"worker" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "external", b"external", "variant", b"variant", "worker", b"worker" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["worker", "external"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["external", b"external", "variant", b"variant", "worker", b"worker"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["external", b"external", "variant", b"variant", "worker", b"worker"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["worker", "external"] | None: ... global___EndpointTarget = EndpointTarget diff --git a/temporalio/api/operatorservice/v1/__init__.py b/temporalio/api/operatorservice/v1/__init__.py index f6cd76fbf..60930b985 100644 --- a/temporalio/api/operatorservice/v1/__init__.py +++ b/temporalio/api/operatorservice/v1/__init__.py @@ -1,30 +1,28 @@ -from .request_response_pb2 import ( - AddOrUpdateRemoteClusterRequest, - AddOrUpdateRemoteClusterResponse, - AddSearchAttributesRequest, - AddSearchAttributesResponse, - ClusterMetadata, - CreateNexusEndpointRequest, - CreateNexusEndpointResponse, - DeleteNamespaceRequest, - DeleteNamespaceResponse, - DeleteNexusEndpointRequest, - DeleteNexusEndpointResponse, - GetNexusEndpointRequest, - GetNexusEndpointResponse, - ListClustersRequest, - ListClustersResponse, - ListNexusEndpointsRequest, - ListNexusEndpointsResponse, - ListSearchAttributesRequest, - ListSearchAttributesResponse, - RemoveRemoteClusterRequest, - RemoveRemoteClusterResponse, - RemoveSearchAttributesRequest, - RemoveSearchAttributesResponse, - UpdateNexusEndpointRequest, - UpdateNexusEndpointResponse, -) +from .request_response_pb2 import AddSearchAttributesRequest +from .request_response_pb2 import AddSearchAttributesResponse +from .request_response_pb2 import RemoveSearchAttributesRequest +from .request_response_pb2 import RemoveSearchAttributesResponse +from .request_response_pb2 import ListSearchAttributesRequest +from .request_response_pb2 import ListSearchAttributesResponse +from .request_response_pb2 import DeleteNamespaceRequest +from .request_response_pb2 import DeleteNamespaceResponse +from .request_response_pb2 import AddOrUpdateRemoteClusterRequest +from .request_response_pb2 import AddOrUpdateRemoteClusterResponse +from .request_response_pb2 import RemoveRemoteClusterRequest +from .request_response_pb2 import RemoveRemoteClusterResponse +from .request_response_pb2 import ListClustersRequest +from .request_response_pb2 import ListClustersResponse +from .request_response_pb2 import ClusterMetadata +from .request_response_pb2 import GetNexusEndpointRequest +from .request_response_pb2 import GetNexusEndpointResponse +from .request_response_pb2 import CreateNexusEndpointRequest +from .request_response_pb2 import CreateNexusEndpointResponse +from .request_response_pb2 import UpdateNexusEndpointRequest +from .request_response_pb2 import UpdateNexusEndpointResponse +from .request_response_pb2 import DeleteNexusEndpointRequest +from .request_response_pb2 import DeleteNexusEndpointResponse +from .request_response_pb2 import ListNexusEndpointsRequest +from .request_response_pb2 import ListNexusEndpointsResponse __all__ = [ "AddOrUpdateRemoteClusterRequest", @@ -57,19 +55,9 @@ # gRPC is optional try: import grpc - - from .service_pb2_grpc import ( - OperatorServiceServicer, - OperatorServiceStub, - add_OperatorServiceServicer_to_server, - ) - - __all__.extend( - [ - "OperatorServiceServicer", - "OperatorServiceStub", - "add_OperatorServiceServicer_to_server", - ] - ) + from .service_pb2_grpc import add_OperatorServiceServicer_to_server + from .service_pb2_grpc import OperatorServiceStub + from .service_pb2_grpc import OperatorServiceServicer + __all__.extend(["OperatorServiceServicer", "OperatorServiceStub", "add_OperatorServiceServicer_to_server"]) except ImportError: - pass + pass \ No newline at end of file diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.py b/temporalio/api/operatorservice/v1/request_response_pb2.py index 78e372d6c..50476d2c8 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2.py @@ -2,487 +2,329 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/request_response.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t" \n\x1eRemoveSearchAttributesResponse"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t"\x84\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t""\n AddOrUpdateRemoteClusterResponse"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\x1d\n\x1bRemoveRemoteClusterResponse"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"\xc0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"\x1d\n\x1b\x44\x65leteNexusEndpointResponse"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' -) - - -_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "AddSearchAttributesRequest" -] -_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = ( - _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name["SearchAttributesEntry"] -) -_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddSearchAttributesResponse" -] -_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveSearchAttributesRequest" -] -_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveSearchAttributesResponse" -] -_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "ListSearchAttributesRequest" -] -_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListSearchAttributesResponse" -] -_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["CustomAttributesEntry"] -) -_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["SystemAttributesEntry"] -) -_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["StorageSchemaEntry"] -) -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] -_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ - "AddOrUpdateRemoteClusterRequest" -] -_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddOrUpdateRemoteClusterResponse" -] -_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveRemoteClusterRequest" -] -_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveRemoteClusterResponse" -] -_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name["ListClustersRequest"] -_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name["ListClustersResponse"] -_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name["ClusterMetadata"] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointRequest" -] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointResponse" -] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointRequest" -] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointResponse" -] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointRequest" -] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointResponse" -] -_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListNexusEndpointsRequest" -] -_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListNexusEndpointsResponse" -] -AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "AddSearchAttributesRequest", - (_message.Message,), - { - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse\"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\" \n\x1eRemoveSearchAttributesResponse\"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t\"\x84\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t\"\"\n AddOrUpdateRemoteClusterResponse\"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\x1d\n\x1bRemoveRemoteClusterResponse\"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"\xc0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08\"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\"\x1d\n\x1b\x44\x65leteNexusEndpointResponse\"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n\"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3') + + + +_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['AddSearchAttributesRequest'] +_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name['SearchAttributesEntry'] +_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['AddSearchAttributesResponse'] +_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['RemoveSearchAttributesRequest'] +_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['RemoveSearchAttributesResponse'] +_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['ListSearchAttributesRequest'] +_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['ListSearchAttributesResponse'] +_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['CustomAttributesEntry'] +_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['SystemAttributesEntry'] +_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['StorageSchemaEntry'] +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRequest'] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceResponse'] +_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name['AddOrUpdateRemoteClusterRequest'] +_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name['AddOrUpdateRemoteClusterResponse'] +_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name['RemoveRemoteClusterRequest'] +_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name['RemoveRemoteClusterResponse'] +_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name['ListClustersRequest'] +_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name['ListClustersResponse'] +_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name['ClusterMetadata'] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointRequest'] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointResponse'] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['CreateNexusEndpointRequest'] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['CreateNexusEndpointResponse'] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointRequest'] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointResponse'] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointRequest'] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointResponse'] +_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name['ListNexusEndpointsRequest'] +_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name['ListNexusEndpointsResponse'] +AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('AddSearchAttributesRequest', (_message.Message,), { + + 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) + }) + , + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) + }) _sym_db.RegisterMessage(AddSearchAttributesRequest) _sym_db.RegisterMessage(AddSearchAttributesRequest.SearchAttributesEntry) -AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "AddSearchAttributesResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDSEARCHATTRIBUTESRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) - }, -) +AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('AddSearchAttributesResponse', (_message.Message,), { + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) + }) _sym_db.RegisterMessage(AddSearchAttributesResponse) -RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "RemoveSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVESEARCHATTRIBUTESREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) - }, -) +RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('RemoveSearchAttributesRequest', (_message.Message,), { + 'DESCRIPTOR' : _REMOVESEARCHATTRIBUTESREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) + }) _sym_db.RegisterMessage(RemoveSearchAttributesRequest) -RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "RemoveSearchAttributesResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVESEARCHATTRIBUTESRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) - }, -) +RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('RemoveSearchAttributesResponse', (_message.Message,), { + 'DESCRIPTOR' : _REMOVESEARCHATTRIBUTESRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) + }) _sym_db.RegisterMessage(RemoveSearchAttributesResponse) -ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "ListSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) - }, -) +ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('ListSearchAttributesRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) + }) _sym_db.RegisterMessage(ListSearchAttributesRequest) -ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "ListSearchAttributesResponse", - (_message.Message,), - { - "CustomAttributesEntry": _reflection.GeneratedProtocolMessageType( - "CustomAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) - }, - ), - "SystemAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SystemAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) - }, - ), - "StorageSchemaEntry": _reflection.GeneratedProtocolMessageType( - "StorageSchemaEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) - }, - ), - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) - }, -) +ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('ListSearchAttributesResponse', (_message.Message,), { + + 'CustomAttributesEntry' : _reflection.GeneratedProtocolMessageType('CustomAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) + }) + , + + 'SystemAttributesEntry' : _reflection.GeneratedProtocolMessageType('SystemAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) + }) + , + + 'StorageSchemaEntry' : _reflection.GeneratedProtocolMessageType('StorageSchemaEntry', (_message.Message,), { + 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) + }) + , + 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) + }) _sym_db.RegisterMessage(ListSearchAttributesResponse) _sym_db.RegisterMessage(ListSearchAttributesResponse.CustomAttributesEntry) _sym_db.RegisterMessage(ListSearchAttributesResponse.SystemAttributesEntry) _sym_db.RegisterMessage(ListSearchAttributesResponse.StorageSchemaEntry) -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) - }, -) +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACEREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) + }) _sym_db.RegisterMessage(DeleteNamespaceRequest) -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACERESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) - }, -) +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENAMESPACERESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) + }) _sym_db.RegisterMessage(DeleteNamespaceResponse) -AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( - "AddOrUpdateRemoteClusterRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) - }, -) +AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType('AddOrUpdateRemoteClusterRequest', (_message.Message,), { + 'DESCRIPTOR' : _ADDORUPDATEREMOTECLUSTERREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) + }) _sym_db.RegisterMessage(AddOrUpdateRemoteClusterRequest) -AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( - "AddOrUpdateRemoteClusterResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) - }, -) +AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType('AddOrUpdateRemoteClusterResponse', (_message.Message,), { + 'DESCRIPTOR' : _ADDORUPDATEREMOTECLUSTERRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) + }) _sym_db.RegisterMessage(AddOrUpdateRemoteClusterResponse) -RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( - "RemoveRemoteClusterRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEREMOTECLUSTERREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) - }, -) +RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType('RemoveRemoteClusterRequest', (_message.Message,), { + 'DESCRIPTOR' : _REMOVEREMOTECLUSTERREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) + }) _sym_db.RegisterMessage(RemoveRemoteClusterRequest) -RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( - "RemoveRemoteClusterResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEREMOTECLUSTERRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) - }, -) +RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType('RemoveRemoteClusterResponse', (_message.Message,), { + 'DESCRIPTOR' : _REMOVEREMOTECLUSTERRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) + }) _sym_db.RegisterMessage(RemoveRemoteClusterResponse) -ListClustersRequest = _reflection.GeneratedProtocolMessageType( - "ListClustersRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLUSTERSREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) - }, -) +ListClustersRequest = _reflection.GeneratedProtocolMessageType('ListClustersRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLUSTERSREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) + }) _sym_db.RegisterMessage(ListClustersRequest) -ListClustersResponse = _reflection.GeneratedProtocolMessageType( - "ListClustersResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLUSTERSRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) - }, -) +ListClustersResponse = _reflection.GeneratedProtocolMessageType('ListClustersResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLUSTERSRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) + }) _sym_db.RegisterMessage(ListClustersResponse) -ClusterMetadata = _reflection.GeneratedProtocolMessageType( - "ClusterMetadata", - (_message.Message,), - { - "DESCRIPTOR": _CLUSTERMETADATA, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) - }, -) +ClusterMetadata = _reflection.GeneratedProtocolMessageType('ClusterMetadata', (_message.Message,), { + 'DESCRIPTOR' : _CLUSTERMETADATA, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) + }) _sym_db.RegisterMessage(ClusterMetadata) -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) - }, -) +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) + }) _sym_db.RegisterMessage(GetNexusEndpointRequest) -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) - }, -) +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETNEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) + }) _sym_db.RegisterMessage(GetNexusEndpointResponse) -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) - }, -) +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) + }) _sym_db.RegisterMessage(CreateNexusEndpointRequest) -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) - }, -) +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) + }) _sym_db.RegisterMessage(CreateNexusEndpointResponse) -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) - }, -) +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) + }) _sym_db.RegisterMessage(UpdateNexusEndpointRequest) -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) - }, -) +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) + }) _sym_db.RegisterMessage(UpdateNexusEndpointResponse) -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) - }, -) +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENEXUSENDPOINTREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) + }) _sym_db.RegisterMessage(DeleteNexusEndpointRequest) -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) - }, -) +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETENEXUSENDPOINTRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) + }) _sym_db.RegisterMessage(DeleteNexusEndpointResponse) -ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( - "ListNexusEndpointsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSENDPOINTSREQUEST, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) - }, -) +ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType('ListNexusEndpointsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTNEXUSENDPOINTSREQUEST, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) + }) _sym_db.RegisterMessage(ListNexusEndpointsRequest) -ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( - "ListNexusEndpointsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSENDPOINTSRESPONSE, - "__module__": "temporal.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) - }, -) +ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType('ListNexusEndpointsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTNEXUSENDPOINTSRESPONSE, + '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) + }) _sym_db.RegisterMessage(ListNexusEndpointsResponse) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b"8\001" - _ADDSEARCHATTRIBUTESREQUEST._serialized_start = 197 - _ADDSEARCHATTRIBUTESREQUEST._serialized_end = 452 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start = 356 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end = 452 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_start = 454 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_end = 483 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_start = 485 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_end = 562 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start = 564 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end = 596 - _LISTSEARCHATTRIBUTESREQUEST._serialized_start = 598 - _LISTSEARCHATTRIBUTESREQUEST._serialized_end = 646 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_start = 649 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_end = 1259 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start = 1011 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end = 1107 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start = 1109 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end = 1205 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start = 1207 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end = 1259 - _DELETENAMESPACEREQUEST._serialized_start = 1261 - _DELETENAMESPACEREQUEST._serialized_end = 1385 - _DELETENAMESPACERESPONSE._serialized_start = 1387 - _DELETENAMESPACERESPONSE._serialized_end = 1439 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start = 1442 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end = 1574 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start = 1576 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end = 1610 - _REMOVEREMOTECLUSTERREQUEST._serialized_start = 1612 - _REMOVEREMOTECLUSTERREQUEST._serialized_end = 1662 - _REMOVEREMOTECLUSTERRESPONSE._serialized_start = 1664 - _REMOVEREMOTECLUSTERRESPONSE._serialized_end = 1693 - _LISTCLUSTERSREQUEST._serialized_start = 1695 - _LISTCLUSTERSREQUEST._serialized_end = 1760 - _LISTCLUSTERSRESPONSE._serialized_start = 1762 - _LISTCLUSTERSRESPONSE._serialized_end = 1877 - _CLUSTERMETADATA._serialized_start = 1880 - _CLUSTERMETADATA._serialized_end = 2072 - _GETNEXUSENDPOINTREQUEST._serialized_start = 2074 - _GETNEXUSENDPOINTREQUEST._serialized_end = 2111 - _GETNEXUSENDPOINTRESPONSE._serialized_start = 2113 - _GETNEXUSENDPOINTRESPONSE._serialized_end = 2190 - _CREATENEXUSENDPOINTREQUEST._serialized_start = 2192 - _CREATENEXUSENDPOINTREQUEST._serialized_end = 2271 - _CREATENEXUSENDPOINTRESPONSE._serialized_start = 2273 - _CREATENEXUSENDPOINTRESPONSE._serialized_end = 2353 - _UPDATENEXUSENDPOINTREQUEST._serialized_start = 2355 - _UPDATENEXUSENDPOINTREQUEST._serialized_end = 2463 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 2465 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 2545 - _DELETENEXUSENDPOINTREQUEST._serialized_start = 2547 - _DELETENEXUSENDPOINTREQUEST._serialized_end = 2604 - _DELETENEXUSENDPOINTRESPONSE._serialized_start = 2606 - _DELETENEXUSENDPOINTRESPONSE._serialized_end = 2635 - _LISTNEXUSENDPOINTSREQUEST._serialized_start = 2637 - _LISTNEXUSENDPOINTSREQUEST._serialized_end = 2722 - _LISTNEXUSENDPOINTSRESPONSE._serialized_start = 2724 - _LISTNEXUSENDPOINTSRESPONSE._serialized_end = 2829 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b'8\001' + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b'8\001' + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b'8\001' + _ADDSEARCHATTRIBUTESREQUEST._serialized_start=197 + _ADDSEARCHATTRIBUTESREQUEST._serialized_end=452 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start=356 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end=452 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_start=454 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_end=483 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_start=485 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_end=562 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start=564 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end=596 + _LISTSEARCHATTRIBUTESREQUEST._serialized_start=598 + _LISTSEARCHATTRIBUTESREQUEST._serialized_end=646 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_start=649 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_end=1259 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start=1011 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end=1107 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start=1109 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end=1205 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start=1207 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end=1259 + _DELETENAMESPACEREQUEST._serialized_start=1261 + _DELETENAMESPACEREQUEST._serialized_end=1385 + _DELETENAMESPACERESPONSE._serialized_start=1387 + _DELETENAMESPACERESPONSE._serialized_end=1439 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start=1442 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end=1574 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start=1576 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end=1610 + _REMOVEREMOTECLUSTERREQUEST._serialized_start=1612 + _REMOVEREMOTECLUSTERREQUEST._serialized_end=1662 + _REMOVEREMOTECLUSTERRESPONSE._serialized_start=1664 + _REMOVEREMOTECLUSTERRESPONSE._serialized_end=1693 + _LISTCLUSTERSREQUEST._serialized_start=1695 + _LISTCLUSTERSREQUEST._serialized_end=1760 + _LISTCLUSTERSRESPONSE._serialized_start=1762 + _LISTCLUSTERSRESPONSE._serialized_end=1877 + _CLUSTERMETADATA._serialized_start=1880 + _CLUSTERMETADATA._serialized_end=2072 + _GETNEXUSENDPOINTREQUEST._serialized_start=2074 + _GETNEXUSENDPOINTREQUEST._serialized_end=2111 + _GETNEXUSENDPOINTRESPONSE._serialized_start=2113 + _GETNEXUSENDPOINTRESPONSE._serialized_end=2190 + _CREATENEXUSENDPOINTREQUEST._serialized_start=2192 + _CREATENEXUSENDPOINTREQUEST._serialized_end=2271 + _CREATENEXUSENDPOINTRESPONSE._serialized_start=2273 + _CREATENEXUSENDPOINTRESPONSE._serialized_end=2353 + _UPDATENEXUSENDPOINTREQUEST._serialized_start=2355 + _UPDATENEXUSENDPOINTREQUEST._serialized_end=2463 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start=2465 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end=2545 + _DELETENEXUSENDPOINTREQUEST._serialized_start=2547 + _DELETENEXUSENDPOINTREQUEST._serialized_end=2604 + _DELETENEXUSENDPOINTRESPONSE._serialized_start=2606 + _DELETENEXUSENDPOINTRESPONSE._serialized_end=2635 + _LISTNEXUSENDPOINTSREQUEST._serialized_start=2637 + _LISTNEXUSENDPOINTSREQUEST._serialized_end=2722 + _LISTNEXUSENDPOINTSRESPONSE._serialized_start=2724 + _LISTNEXUSENDPOINTSRESPONSE._serialized_end=2829 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.pyi b/temporalio/api/operatorservice/v1/request_response_pb2.pyi index e1043b5e1..3f8715a26 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.enums.v1.common_pb2 import temporalio.api.nexus.v1.message_pb2 @@ -40,36 +37,21 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ]: + def search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: """Mapping between search attribute name and its IndexedValueType.""" namespace: builtins.str def __init__( self, *, - search_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ] - | None = ..., + search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "search_attributes", b"search_attributes" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "search_attributes", b"search_attributes"]) -> None: ... global___AddSearchAttributesRequest = AddSearchAttributesRequest @@ -88,9 +70,7 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def search_attributes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Search attribute names to delete.""" namespace: builtins.str def __init__( @@ -99,12 +79,7 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): search_attributes: collections.abc.Iterable[builtins.str] | None = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "search_attributes", b"search_attributes" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "search_attributes", b"search_attributes"]) -> None: ... global___RemoveSearchAttributesRequest = RemoveSearchAttributesRequest @@ -127,9 +102,7 @@ class ListSearchAttributesRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... global___ListSearchAttributesRequest = ListSearchAttributesRequest @@ -149,10 +122,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class SystemAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -167,10 +137,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class StorageSchemaEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -185,58 +152,28 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... CUSTOM_ATTRIBUTES_FIELD_NUMBER: builtins.int SYSTEM_ATTRIBUTES_FIELD_NUMBER: builtins.int STORAGE_SCHEMA_FIELD_NUMBER: builtins.int @property - def custom_attributes( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ]: + def custom_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: """Mapping between custom (user-registered) search attribute name to its IndexedValueType.""" @property - def system_attributes( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ]: + def system_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: """Mapping between system (predefined) search attribute name to its IndexedValueType.""" @property - def storage_schema( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def storage_schema(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Mapping from the attribute name to the visibility storage native type.""" def __init__( self, *, - custom_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ] - | None = ..., - system_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ] - | None = ..., - storage_schema: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "custom_attributes", - b"custom_attributes", - "storage_schema", - b"storage_schema", - "system_attributes", - b"system_attributes", - ], + custom_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., + system_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., + storage_schema: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["custom_attributes", b"custom_attributes", "storage_schema", b"storage_schema", "system_attributes", b"system_attributes"]) -> None: ... global___ListSearchAttributesResponse = ListSearchAttributesResponse @@ -261,23 +198,8 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): namespace_id: builtins.str = ..., namespace_delete_delay: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "namespace_delete_delay", b"namespace_delete_delay" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "namespace_delete_delay", - b"namespace_delete_delay", - "namespace_id", - b"namespace_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["namespace_delete_delay", b"namespace_delete_delay"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "namespace_delete_delay", b"namespace_delete_delay", "namespace_id", b"namespace_id"]) -> None: ... global___DeleteNamespaceRequest = DeleteNamespaceRequest @@ -292,12 +214,7 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): *, deleted_namespace: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deleted_namespace", b"deleted_namespace" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deleted_namespace", b"deleted_namespace"]) -> None: ... global___DeleteNamespaceResponse = DeleteNamespaceResponse @@ -322,17 +239,7 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): enable_remote_cluster_connection: builtins.bool = ..., frontend_http_address: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "enable_remote_cluster_connection", - b"enable_remote_cluster_connection", - "frontend_address", - b"frontend_address", - "frontend_http_address", - b"frontend_http_address", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["enable_remote_cluster_connection", b"enable_remote_cluster_connection", "frontend_address", b"frontend_address", "frontend_http_address", b"frontend_http_address"]) -> None: ... global___AddOrUpdateRemoteClusterRequest = AddOrUpdateRemoteClusterRequest @@ -356,9 +263,7 @@ class RemoveRemoteClusterRequest(google.protobuf.message.Message): *, cluster_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"]) -> None: ... global___RemoveRemoteClusterRequest = RemoveRemoteClusterRequest @@ -384,12 +289,7 @@ class ListClustersRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "page_size", b"page_size" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListClustersRequest = ListClustersRequest @@ -399,11 +299,7 @@ class ListClustersResponse(google.protobuf.message.Message): CLUSTERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def clusters( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ClusterMetadata - ]: + def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClusterMetadata]: """List of all cluster information""" next_page_token: builtins.bytes def __init__( @@ -412,12 +308,7 @@ class ListClustersResponse(google.protobuf.message.Message): clusters: collections.abc.Iterable[global___ClusterMetadata] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "clusters", b"clusters", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["clusters", b"clusters", "next_page_token", b"next_page_token"]) -> None: ... global___ListClustersResponse = ListClustersResponse @@ -456,25 +347,7 @@ class ClusterMetadata(google.protobuf.message.Message): history_shard_count: builtins.int = ..., is_connection_enabled: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "address", - b"address", - "cluster_id", - b"cluster_id", - "cluster_name", - b"cluster_name", - "history_shard_count", - b"history_shard_count", - "http_address", - b"http_address", - "initial_failover_version", - b"initial_failover_version", - "is_connection_enabled", - b"is_connection_enabled", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["address", b"address", "cluster_id", b"cluster_id", "cluster_name", b"cluster_name", "history_shard_count", b"history_shard_count", "http_address", b"http_address", "initial_failover_version", b"initial_failover_version", "is_connection_enabled", b"is_connection_enabled"]) -> None: ... global___ClusterMetadata = ClusterMetadata @@ -489,9 +362,7 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["id", b"id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ... global___GetNexusEndpointRequest = GetNexusEndpointRequest @@ -506,12 +377,8 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... global___GetNexusEndpointResponse = GetNexusEndpointResponse @@ -527,12 +394,8 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): *, spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> None: ... global___CreateNexusEndpointRequest = CreateNexusEndpointRequest @@ -548,12 +411,8 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... global___CreateNexusEndpointResponse = CreateNexusEndpointResponse @@ -576,15 +435,8 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): version: builtins.int = ..., spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "id", b"id", "spec", b"spec", "version", b"version" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "spec", b"spec", "version", b"version"]) -> None: ... global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest @@ -600,12 +452,8 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse @@ -624,9 +472,7 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): id: builtins.str = ..., version: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"]) -> None: ... global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest @@ -663,17 +509,7 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", - b"name", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListNexusEndpointsRequest = ListNexusEndpointsRequest @@ -685,25 +521,13 @@ class ListNexusEndpointsResponse(google.protobuf.message.Message): next_page_token: builtins.bytes """Token for getting the next page.""" @property - def endpoints( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.nexus.v1.message_pb2.Endpoint - ]: ... + def endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.nexus.v1.message_pb2.Endpoint]: ... def __init__( self, *, next_page_token: builtins.bytes = ..., - endpoints: collections.abc.Iterable[ - temporalio.api.nexus.v1.message_pb2.Endpoint - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "endpoints", b"endpoints", "next_page_token", b"next_page_token" - ], + endpoints: collections.abc.Iterable[temporalio.api.nexus.v1.message_pb2.Endpoint] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["endpoints", b"endpoints", "next_page_token", b"next_page_token"]) -> None: ... global___ListNexusEndpointsResponse = ListNexusEndpointsResponse diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py index bf947056a..2daafffeb 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc + diff --git a/temporalio/api/operatorservice/v1/service_pb2.py b/temporalio/api/operatorservice/v1/service_pb2.py index 1e016243a..b400974af 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.py +++ b/temporalio/api/operatorservice/v1/service_pb2.py @@ -2,57 +2,41 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/service.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.operatorservice.v1 import request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from temporalio.api.operatorservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse"A\x82\xd3\xe4\x93\x02;"\x18/cluster/nexus/endpoints:\x01*Z\x1c"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse"Y\x82\xd3\xe4\x93\x02S"$/cluster/nexus/endpoints/{id}/update:\x01*Z("#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse\"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse\"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse\"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse\"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse\"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse\"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse\"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse\"A\x82\xd3\xe4\x93\x02;\"\x18/cluster/nexus/endpoints:\x01*Z\x1c\"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse\"Y\x82\xd3\xe4\x93\x02S\"$/cluster/nexus/endpoints/{id}/update:\x01*Z(\"#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n\"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3') -_OPERATORSERVICE = DESCRIPTOR.services_by_name["OperatorService"] + +_OPERATORSERVICE = DESCRIPTOR.services_by_name['OperatorService'] if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _OPERATORSERVICE.methods_by_name["ListSearchAttributes"]._options = None - _OPERATORSERVICE.methods_by_name[ - "ListSearchAttributes" - ]._serialized_options = b"\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes" - _OPERATORSERVICE.methods_by_name["GetNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ - "GetNexusEndpoint" - ]._serialized_options = b"\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}" - _OPERATORSERVICE.methods_by_name["CreateNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ - "CreateNexusEndpoint" - ]._serialized_options = b'\202\323\344\223\002;"\030/cluster/nexus/endpoints:\001*Z\034"\027/api/v1/nexus/endpoints:\001*' - _OPERATORSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ - "UpdateNexusEndpoint" - ]._serialized_options = b'\202\323\344\223\002S"$/cluster/nexus/endpoints/{id}/update:\001*Z("#/api/v1/nexus/endpoints/{id}/update:\001*' - _OPERATORSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ - "DeleteNexusEndpoint" - ]._serialized_options = b"\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}" - _OPERATORSERVICE.methods_by_name["ListNexusEndpoints"]._options = None - _OPERATORSERVICE.methods_by_name[ - "ListNexusEndpoints" - ]._serialized_options = b"\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints" - _OPERATORSERVICE._serialized_start = 169 - _OPERATORSERVICE._serialized_end = 2415 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _OPERATORSERVICE.methods_by_name['ListSearchAttributes']._options = None + _OPERATORSERVICE.methods_by_name['ListSearchAttributes']._serialized_options = b'\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes' + _OPERATORSERVICE.methods_by_name['GetNexusEndpoint']._options = None + _OPERATORSERVICE.methods_by_name['GetNexusEndpoint']._serialized_options = b'\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}' + _OPERATORSERVICE.methods_by_name['CreateNexusEndpoint']._options = None + _OPERATORSERVICE.methods_by_name['CreateNexusEndpoint']._serialized_options = b'\202\323\344\223\002;\"\030/cluster/nexus/endpoints:\001*Z\034\"\027/api/v1/nexus/endpoints:\001*' + _OPERATORSERVICE.methods_by_name['UpdateNexusEndpoint']._options = None + _OPERATORSERVICE.methods_by_name['UpdateNexusEndpoint']._serialized_options = b'\202\323\344\223\002S\"$/cluster/nexus/endpoints/{id}/update:\001*Z(\"#/api/v1/nexus/endpoints/{id}/update:\001*' + _OPERATORSERVICE.methods_by_name['DeleteNexusEndpoint']._options = None + _OPERATORSERVICE.methods_by_name['DeleteNexusEndpoint']._serialized_options = b'\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}' + _OPERATORSERVICE.methods_by_name['ListNexusEndpoints']._options = None + _OPERATORSERVICE.methods_by_name['ListNexusEndpoints']._serialized_options = b'\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints' + _OPERATORSERVICE._serialized_start=169 + _OPERATORSERVICE._serialized_end=2415 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/service_pb2.pyi b/temporalio/api/operatorservice/v1/service_pb2.pyi index dd854e288..e08fa11c2 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2.pyi @@ -2,7 +2,6 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.py b/temporalio/api/operatorservice/v1/service_pb2_grpc.py index 9dff1e089..5b5e00ba7 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.py @@ -1,11 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc -from temporalio.api.operatorservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, -) +from temporalio.api.operatorservice.v1 import request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2 class OperatorServiceStub(object): @@ -23,65 +20,65 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AddSearchAttributes = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, + ) self.RemoveSearchAttributes = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, + ) self.ListSearchAttributes = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, + ) self.DeleteNamespace = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, + ) self.AddOrUpdateRemoteCluster = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, + ) self.RemoveRemoteCluster = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, + ) self.ListClusters = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/ListClusters", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/ListClusters', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, + ) self.GetNexusEndpoint = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, + ) self.CreateNexusEndpoint = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, + ) self.UpdateNexusEndpoint = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, + ) self.DeleteNexusEndpoint = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, + ) self.ListNexusEndpoints = channel.unary_unary( - "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, - ) + '/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints', + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, + ) class OperatorServiceServicer(object): @@ -99,8 +96,8 @@ def AddSearchAttributes(self, request, context): Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RemoveSearchAttributes(self, request, context): """RemoveSearchAttributes removes custom search attributes. @@ -108,44 +105,50 @@ def RemoveSearchAttributes(self, request, context): Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListSearchAttributes(self, request, context): - """ListSearchAttributes returns comprehensive information about search attributes.""" + """ListSearchAttributes returns comprehensive information about search attributes. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteNamespace(self, request, context): - """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" + """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddOrUpdateRemoteCluster(self, request, context): - """AddOrUpdateRemoteCluster adds or updates remote cluster.""" + """AddOrUpdateRemoteCluster adds or updates remote cluster. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RemoveRemoteCluster(self, request, context): - """RemoveRemoteCluster removes remote cluster.""" + """RemoveRemoteCluster removes remote cluster. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListClusters(self, request, context): - """ListClusters returns information about Temporal clusters.""" + """ListClusters returns information about Temporal clusters. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetNexusEndpoint(self, request, context): - """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" + """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateNexusEndpoint(self, request, context): """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of @@ -153,8 +156,8 @@ def CreateNexusEndpoint(self, request, context): Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateNexusEndpoint(self, request, context): """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or @@ -164,14 +167,15 @@ def UpdateNexusEndpoint(self, request, context): need to increment the version yourself. The server will increment the version for you after each update. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteNexusEndpoint(self, request, context): - """Delete an incoming Nexus service by ID.""" + """Delete an incoming Nexus service by ID. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListNexusEndpoints(self, request, context): """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the @@ -180,80 +184,79 @@ def ListNexusEndpoints(self, request, context): earlier than the previous page's last endpoint's ID may be missed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_OperatorServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "AddSearchAttributes": grpc.unary_unary_rpc_method_handler( - servicer.AddSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.SerializeToString, - ), - "RemoveSearchAttributes": grpc.unary_unary_rpc_method_handler( - servicer.RemoveSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.SerializeToString, - ), - "ListSearchAttributes": grpc.unary_unary_rpc_method_handler( - servicer.ListSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.SerializeToString, - ), - "DeleteNamespace": grpc.unary_unary_rpc_method_handler( - servicer.DeleteNamespace, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.SerializeToString, - ), - "AddOrUpdateRemoteCluster": grpc.unary_unary_rpc_method_handler( - servicer.AddOrUpdateRemoteCluster, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.SerializeToString, - ), - "RemoveRemoteCluster": grpc.unary_unary_rpc_method_handler( - servicer.RemoveRemoteCluster, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.SerializeToString, - ), - "ListClusters": grpc.unary_unary_rpc_method_handler( - servicer.ListClusters, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.SerializeToString, - ), - "GetNexusEndpoint": grpc.unary_unary_rpc_method_handler( - servicer.GetNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.SerializeToString, - ), - "CreateNexusEndpoint": grpc.unary_unary_rpc_method_handler( - servicer.CreateNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.SerializeToString, - ), - "UpdateNexusEndpoint": grpc.unary_unary_rpc_method_handler( - servicer.UpdateNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.SerializeToString, - ), - "DeleteNexusEndpoint": grpc.unary_unary_rpc_method_handler( - servicer.DeleteNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.SerializeToString, - ), - "ListNexusEndpoints": grpc.unary_unary_rpc_method_handler( - servicer.ListNexusEndpoints, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.SerializeToString, - ), + 'AddSearchAttributes': grpc.unary_unary_rpc_method_handler( + servicer.AddSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.SerializeToString, + ), + 'RemoveSearchAttributes': grpc.unary_unary_rpc_method_handler( + servicer.RemoveSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.SerializeToString, + ), + 'ListSearchAttributes': grpc.unary_unary_rpc_method_handler( + servicer.ListSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.SerializeToString, + ), + 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNamespace, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.SerializeToString, + ), + 'AddOrUpdateRemoteCluster': grpc.unary_unary_rpc_method_handler( + servicer.AddOrUpdateRemoteCluster, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.SerializeToString, + ), + 'RemoveRemoteCluster': grpc.unary_unary_rpc_method_handler( + servicer.RemoveRemoteCluster, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.SerializeToString, + ), + 'ListClusters': grpc.unary_unary_rpc_method_handler( + servicer.ListClusters, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.SerializeToString, + ), + 'GetNexusEndpoint': grpc.unary_unary_rpc_method_handler( + servicer.GetNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.SerializeToString, + ), + 'CreateNexusEndpoint': grpc.unary_unary_rpc_method_handler( + servicer.CreateNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.SerializeToString, + ), + 'UpdateNexusEndpoint': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.SerializeToString, + ), + 'DeleteNexusEndpoint': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.SerializeToString, + ), + 'ListNexusEndpoints': grpc.unary_unary_rpc_method_handler( + servicer.ListNexusEndpoints, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers - ) + 'temporal.api.operatorservice.v1.OperatorService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class OperatorService(object): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. @@ -263,349 +266,205 @@ class OperatorService(object): """ @staticmethod - def AddSearchAttributes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def AddSearchAttributes(request, target, - "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RemoveSearchAttributes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RemoveSearchAttributes(request, target, - "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListSearchAttributes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListSearchAttributes(request, target, - "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteNamespace(request, target, - "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AddOrUpdateRemoteCluster( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def AddOrUpdateRemoteCluster(request, target, - "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RemoveRemoteCluster( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RemoveRemoteCluster(request, target, - "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListClusters( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListClusters(request, target, - "/temporal.api.operatorservice.v1.OperatorService/ListClusters", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListClusters', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetNexusEndpoint( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetNexusEndpoint(request, target, - "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CreateNexusEndpoint( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def CreateNexusEndpoint(request, target, - "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateNexusEndpoint( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateNexusEndpoint(request, target, - "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteNexusEndpoint( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteNexusEndpoint(request, target, - "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListNexusEndpoints( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListNexusEndpoints(request, target, - "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints', temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi index c24abb239..154cc6396 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi @@ -2,11 +2,8 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import abc - import grpc - import temporalio.api.operatorservice.v1.request_response_pb2 class OperatorServiceStub: @@ -167,9 +164,7 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse - ): + ) -> temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse: """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" @abc.abstractmethod def CreateNexusEndpoint( @@ -212,6 +207,4 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): earlier than the previous page's last endpoint's ID may be missed. """ -def add_OperatorServiceServicer_to_server( - servicer: OperatorServiceServicer, server: grpc.Server -) -> None: ... +def add_OperatorServiceServicer_to_server(servicer: OperatorServiceServicer, server: grpc.Server) -> None: ... diff --git a/temporalio/api/protocol/v1/message_pb2.py b/temporalio/api/protocol/v1/message_pb2.py index ac643ab35..30fb50893 100644 --- a/temporalio/api/protocol/v1/message_pb2.py +++ b/temporalio/api/protocol/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/protocol/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,26 +14,23 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3' -) - - -_MESSAGE = DESCRIPTOR.message_types_by_name["Message"] -Message = _reflection.GeneratedProtocolMessageType( - "Message", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGE, - "__module__": "temporal.api.protocol.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto\"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12\"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3') + + + +_MESSAGE = DESCRIPTOR.message_types_by_name['Message'] +Message = _reflection.GeneratedProtocolMessageType('Message', (_message.Message,), { + 'DESCRIPTOR' : _MESSAGE, + '__module__' : 'temporal.api.protocol.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) + }) _sym_db.RegisterMessage(Message) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" - _MESSAGE._serialized_start = 96 - _MESSAGE._serialized_end = 245 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z\'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1' + _MESSAGE._serialized_start=96 + _MESSAGE._serialized_end=245 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protocol/v1/message_pb2.pyi b/temporalio/api/protocol/v1/message_pb2.pyi index 24034c89e..ba622d77d 100644 --- a/temporalio/api/protocol/v1/message_pb2.pyi +++ b/temporalio/api/protocol/v1/message_pb2.pyi @@ -2,13 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -19,7 +17,7 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor class Message(google.protobuf.message.Message): """(-- api-linter: core::0146::any=disabled - aip.dev/not-precedent: We want runtime extensibility for the body field --) + aip.dev/not-precedent: We want runtime extensibility for the body field --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -51,38 +49,8 @@ class Message(google.protobuf.message.Message): command_index: builtins.int = ..., body: google.protobuf.any_pb2.Any | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "body", - b"body", - "command_index", - b"command_index", - "event_id", - b"event_id", - "sequencing_id", - b"sequencing_id", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "body", - b"body", - "command_index", - b"command_index", - "event_id", - b"event_id", - "id", - b"id", - "protocol_instance_id", - b"protocol_instance_id", - "sequencing_id", - b"sequencing_id", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"] - ) -> typing_extensions.Literal["event_id", "command_index"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "sequencing_id", b"sequencing_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "id", b"id", "protocol_instance_id", b"protocol_instance_id", "sequencing_id", b"sequencing_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"]) -> typing_extensions.Literal["event_id", "command_index"] | None: ... global___Message = Message diff --git a/temporalio/api/query/v1/__init__.py b/temporalio/api/query/v1/__init__.py index 2fc1d283b..a880fc6ca 100644 --- a/temporalio/api/query/v1/__init__.py +++ b/temporalio/api/query/v1/__init__.py @@ -1,4 +1,6 @@ -from .message_pb2 import QueryRejected, WorkflowQuery, WorkflowQueryResult +from .message_pb2 import WorkflowQuery +from .message_pb2 import WorkflowQueryResult +from .message_pb2 import QueryRejected __all__ = [ "QueryRejected", diff --git a/temporalio/api/query/v1/message_pb2.py b/temporalio/api/query/v1/message_pb2.py index 805b30f7e..648307921 100644 --- a/temporalio/api/query/v1/message_pb2.py +++ b/temporalio/api/query/v1/message_pb2.py @@ -2,79 +2,58 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/query/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) +from temporalio.api.enums.v1 import query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3') -_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name["WorkflowQuery"] -_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name["WorkflowQueryResult"] -_QUERYREJECTED = DESCRIPTOR.message_types_by_name["QueryRejected"] -WorkflowQuery = _reflection.GeneratedProtocolMessageType( - "WorkflowQuery", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWQUERY, - "__module__": "temporal.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) - }, -) + +_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name['WorkflowQuery'] +_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name['WorkflowQueryResult'] +_QUERYREJECTED = DESCRIPTOR.message_types_by_name['QueryRejected'] +WorkflowQuery = _reflection.GeneratedProtocolMessageType('WorkflowQuery', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWQUERY, + '__module__' : 'temporal.api.query.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) + }) _sym_db.RegisterMessage(WorkflowQuery) -WorkflowQueryResult = _reflection.GeneratedProtocolMessageType( - "WorkflowQueryResult", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWQUERYRESULT, - "__module__": "temporal.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) - }, -) +WorkflowQueryResult = _reflection.GeneratedProtocolMessageType('WorkflowQueryResult', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWQUERYRESULT, + '__module__' : 'temporal.api.query.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) + }) _sym_db.RegisterMessage(WorkflowQueryResult) -QueryRejected = _reflection.GeneratedProtocolMessageType( - "QueryRejected", - (_message.Message,), - { - "DESCRIPTOR": _QUERYREJECTED, - "__module__": "temporal.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) - }, -) +QueryRejected = _reflection.GeneratedProtocolMessageType('QueryRejected', (_message.Message,), { + 'DESCRIPTOR' : _QUERYREJECTED, + '__module__' : 'temporal.api.query.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) + }) _sym_db.RegisterMessage(QueryRejected) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" - _WORKFLOWQUERY._serialized_start = 213 - _WORKFLOWQUERY._serialized_end = 350 - _WORKFLOWQUERYRESULT._serialized_start = 353 - _WORKFLOWQUERYRESULT._serialized_end = 559 - _QUERYREJECTED._serialized_start = 561 - _QUERYREJECTED._serialized_end = 640 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1' + _WORKFLOWQUERY._serialized_start=213 + _WORKFLOWQUERY._serialized_end=350 + _WORKFLOWQUERYRESULT._serialized_start=353 + _WORKFLOWQUERYRESULT._serialized_end=559 + _QUERYREJECTED._serialized_start=561 + _QUERYREJECTED._serialized_end=640 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/query/v1/message_pb2.pyi b/temporalio/api/query/v1/message_pb2.pyi index 199c51b9a..4755def20 100644 --- a/temporalio/api/query/v1/message_pb2.pyi +++ b/temporalio/api/query/v1/message_pb2.pyi @@ -2,13 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.query_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -46,23 +43,8 @@ class WorkflowQuery(google.protobuf.message.Message): query_args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", b"header", "query_args", b"query_args" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "query_args", - b"query_args", - "query_type", - b"query_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "query_args", b"query_args"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "query_args", b"query_args", "query_type", b"query_type"]) -> None: ... global___WorkflowQuery = WorkflowQuery @@ -100,25 +82,8 @@ class WorkflowQueryResult(google.protobuf.message.Message): error_message: builtins.str = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "answer", b"answer", "failure", b"failure" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "answer", - b"answer", - "error_message", - b"error_message", - "failure", - b"failure", - "result_type", - b"result_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["answer", b"answer", "failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["answer", b"answer", "error_message", b"error_message", "failure", b"failure", "result_type", b"result_type"]) -> None: ... global___WorkflowQueryResult = WorkflowQueryResult @@ -132,8 +97,6 @@ class QueryRejected(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... global___QueryRejected = QueryRejected diff --git a/temporalio/api/replication/v1/__init__.py b/temporalio/api/replication/v1/__init__.py index 0c97f5f9b..25d193971 100644 --- a/temporalio/api/replication/v1/__init__.py +++ b/temporalio/api/replication/v1/__init__.py @@ -1,8 +1,6 @@ -from .message_pb2 import ( - ClusterReplicationConfig, - FailoverStatus, - NamespaceReplicationConfig, -) +from .message_pb2 import ClusterReplicationConfig +from .message_pb2 import NamespaceReplicationConfig +from .message_pb2 import FailoverStatus __all__ = [ "ClusterReplicationConfig", diff --git a/temporalio/api/replication/v1/message_pb2.py b/temporalio/api/replication/v1/message_pb2.py index 7b5a4a158..9f86d2632 100644 --- a/temporalio/api/replication/v1/message_pb2.py +++ b/temporalio/api/replication/v1/message_pb2.py @@ -2,74 +2,56 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/replication/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState\"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3') -_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name["ClusterReplicationConfig"] -_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name[ - "NamespaceReplicationConfig" -] -_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name["FailoverStatus"] -ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType( - "ClusterReplicationConfig", - (_message.Message,), - { - "DESCRIPTOR": _CLUSTERREPLICATIONCONFIG, - "__module__": "temporal.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) - }, -) + +_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name['ClusterReplicationConfig'] +_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name['NamespaceReplicationConfig'] +_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name['FailoverStatus'] +ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType('ClusterReplicationConfig', (_message.Message,), { + 'DESCRIPTOR' : _CLUSTERREPLICATIONCONFIG, + '__module__' : 'temporal.api.replication.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) + }) _sym_db.RegisterMessage(ClusterReplicationConfig) -NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType( - "NamespaceReplicationConfig", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEREPLICATIONCONFIG, - "__module__": "temporal.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) - }, -) +NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType('NamespaceReplicationConfig', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEREPLICATIONCONFIG, + '__module__' : 'temporal.api.replication.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) + }) _sym_db.RegisterMessage(NamespaceReplicationConfig) -FailoverStatus = _reflection.GeneratedProtocolMessageType( - "FailoverStatus", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERSTATUS, - "__module__": "temporal.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) - }, -) +FailoverStatus = _reflection.GeneratedProtocolMessageType('FailoverStatus', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERSTATUS, + '__module__' : 'temporal.api.replication.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) + }) _sym_db.RegisterMessage(FailoverStatus) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" - _CLUSTERREPLICATIONCONFIG._serialized_start = 146 - _CLUSTERREPLICATIONCONFIG._serialized_end = 194 - _NAMESPACEREPLICATIONCONFIG._serialized_start = 197 - _NAMESPACEREPLICATIONCONFIG._serialized_end = 383 - _FAILOVERSTATUS._serialized_start = 385 - _FAILOVERSTATUS._serialized_end = 478 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1' + _CLUSTERREPLICATIONCONFIG._serialized_start=146 + _CLUSTERREPLICATIONCONFIG._serialized_end=194 + _NAMESPACEREPLICATIONCONFIG._serialized_start=197 + _NAMESPACEREPLICATIONCONFIG._serialized_end=383 + _FAILOVERSTATUS._serialized_start=385 + _FAILOVERSTATUS._serialized_end=478 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/replication/v1/message_pb2.pyi b/temporalio/api/replication/v1/message_pb2.pyi index e6f04334f..9e3143eaf 100644 --- a/temporalio/api/replication/v1/message_pb2.pyi +++ b/temporalio/api/replication/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.enums.v1.namespace_pb2 if sys.version_info >= (3, 8): @@ -31,9 +28,7 @@ class ClusterReplicationConfig(google.protobuf.message.Message): *, cluster_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"]) -> None: ... global___ClusterReplicationConfig = ClusterReplicationConfig @@ -45,31 +40,16 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): STATE_FIELD_NUMBER: builtins.int active_cluster_name: builtins.str @property - def clusters( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ClusterReplicationConfig - ]: ... + def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClusterReplicationConfig]: ... state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType def __init__( self, *, active_cluster_name: builtins.str = ..., - clusters: collections.abc.Iterable[global___ClusterReplicationConfig] - | None = ..., + clusters: collections.abc.Iterable[global___ClusterReplicationConfig] | None = ..., state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "active_cluster_name", - b"active_cluster_name", - "clusters", - b"clusters", - "state", - b"state", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["active_cluster_name", b"active_cluster_name", "clusters", b"clusters", "state", b"state"]) -> None: ... global___NamespaceReplicationConfig = NamespaceReplicationConfig @@ -90,14 +70,7 @@ class FailoverStatus(google.protobuf.message.Message): failover_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., failover_version: builtins.int = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failover_time", b"failover_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failover_time", b"failover_time", "failover_version", b"failover_version" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failover_time", b"failover_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failover_time", b"failover_time", "failover_version", b"failover_version"]) -> None: ... global___FailoverStatus = FailoverStatus diff --git a/temporalio/api/rules/v1/__init__.py b/temporalio/api/rules/v1/__init__.py index b48e5b2bd..2b140586b 100644 --- a/temporalio/api/rules/v1/__init__.py +++ b/temporalio/api/rules/v1/__init__.py @@ -1,4 +1,6 @@ -from .message_pb2 import WorkflowRule, WorkflowRuleAction, WorkflowRuleSpec +from .message_pb2 import WorkflowRuleAction +from .message_pb2 import WorkflowRuleSpec +from .message_pb2 import WorkflowRule __all__ = [ "WorkflowRule", diff --git a/temporalio/api/rules/v1/message_pb2.py b/temporalio/api/rules/v1/message_pb2.py index ce46e1684..a8d49fbc7 100644 --- a/temporalio/api/rules/v1/message_pb2.py +++ b/temporalio/api/rules/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/rules/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,84 +14,65 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3' -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant\"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger\"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3') + -_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name["WorkflowRuleAction"] -_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name[ - "ActionActivityPause" -] -_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name["WorkflowRuleSpec"] -_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name[ - "ActivityStartingTrigger" -] -_WORKFLOWRULE = DESCRIPTOR.message_types_by_name["WorkflowRule"] -WorkflowRuleAction = _reflection.GeneratedProtocolMessageType( - "WorkflowRuleAction", - (_message.Message,), - { - "ActionActivityPause": _reflection.GeneratedProtocolMessageType( - "ActionActivityPause", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, - "__module__": "temporal.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) - }, - ), - "DESCRIPTOR": _WORKFLOWRULEACTION, - "__module__": "temporal.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) - }, -) +_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name['WorkflowRuleAction'] +_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name['ActionActivityPause'] +_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name['WorkflowRuleSpec'] +_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name['ActivityStartingTrigger'] +_WORKFLOWRULE = DESCRIPTOR.message_types_by_name['WorkflowRule'] +WorkflowRuleAction = _reflection.GeneratedProtocolMessageType('WorkflowRuleAction', (_message.Message,), { + + 'ActionActivityPause' : _reflection.GeneratedProtocolMessageType('ActionActivityPause', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, + '__module__' : 'temporal.api.rules.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) + }) + , + 'DESCRIPTOR' : _WORKFLOWRULEACTION, + '__module__' : 'temporal.api.rules.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) + }) _sym_db.RegisterMessage(WorkflowRuleAction) _sym_db.RegisterMessage(WorkflowRuleAction.ActionActivityPause) -WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType( - "WorkflowRuleSpec", - (_message.Message,), - { - "ActivityStartingTrigger": _reflection.GeneratedProtocolMessageType( - "ActivityStartingTrigger", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, - "__module__": "temporal.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) - }, - ), - "DESCRIPTOR": _WORKFLOWRULESPEC, - "__module__": "temporal.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) - }, -) +WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType('WorkflowRuleSpec', (_message.Message,), { + + 'ActivityStartingTrigger' : _reflection.GeneratedProtocolMessageType('ActivityStartingTrigger', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, + '__module__' : 'temporal.api.rules.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) + }) + , + 'DESCRIPTOR' : _WORKFLOWRULESPEC, + '__module__' : 'temporal.api.rules.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) + }) _sym_db.RegisterMessage(WorkflowRuleSpec) _sym_db.RegisterMessage(WorkflowRuleSpec.ActivityStartingTrigger) -WorkflowRule = _reflection.GeneratedProtocolMessageType( - "WorkflowRule", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULE, - "__module__": "temporal.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) - }, -) +WorkflowRule = _reflection.GeneratedProtocolMessageType('WorkflowRule', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWRULE, + '__module__' : 'temporal.api.rules.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) + }) _sym_db.RegisterMessage(WorkflowRule) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" - _WORKFLOWRULEACTION._serialized_start = 96 - _WORKFLOWRULEACTION._serialized_end = 239 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start = 207 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end = 228 - _WORKFLOWRULESPEC._serialized_start = 242 - _WORKFLOWRULESPEC._serialized_end = 559 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start = 504 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end = 548 - _WORKFLOWRULE._serialized_start = 562 - _WORKFLOWRULE._serialized_end = 730 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1' + _WORKFLOWRULEACTION._serialized_start=96 + _WORKFLOWRULEACTION._serialized_end=239 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start=207 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end=228 + _WORKFLOWRULESPEC._serialized_start=242 + _WORKFLOWRULESPEC._serialized_end=559 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start=504 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end=548 + _WORKFLOWRULE._serialized_start=562 + _WORKFLOWRULE._serialized_end=730 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/rules/v1/message_pb2.pyi b/temporalio/api/rules/v1/message_pb2.pyi index ef036f554..38ccbc933 100644 --- a/temporalio/api/rules/v1/message_pb2.pyi +++ b/temporalio/api/rules/v1/message_pb2.pyi @@ -2,15 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -37,21 +35,9 @@ class WorkflowRuleAction(google.protobuf.message.Message): *, activity_pause: global___WorkflowRuleAction.ActionActivityPause | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_pause", b"activity_pause", "variant", b"variant" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_pause", b"activity_pause", "variant", b"variant" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["activity_pause"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_pause", b"activity_pause", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_pause", b"activity_pause", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["activity_pause"] | None: ... global___WorkflowRuleAction = WorkflowRuleAction @@ -85,9 +71,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): *, predicate: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["predicate", b"predicate"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["predicate", b"predicate"]) -> None: ... ID_FIELD_NUMBER: builtins.int ACTIVITY_START_FIELD_NUMBER: builtins.int @@ -111,11 +95,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): - ExecutionStatus """ @property - def actions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowRuleAction - ]: + def actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowRuleAction]: """WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.""" @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -131,37 +111,9 @@ class WorkflowRuleSpec(google.protobuf.message.Message): actions: collections.abc.Iterable[global___WorkflowRuleAction] | None = ..., expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_start", - b"activity_start", - "expiration_time", - b"expiration_time", - "trigger", - b"trigger", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "actions", - b"actions", - "activity_start", - b"activity_start", - "expiration_time", - b"expiration_time", - "id", - b"id", - "trigger", - b"trigger", - "visibility_query", - b"visibility_query", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["trigger", b"trigger"] - ) -> typing_extensions.Literal["activity_start"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_start", b"activity_start", "expiration_time", b"expiration_time", "trigger", b"trigger"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["actions", b"actions", "activity_start", b"activity_start", "expiration_time", b"expiration_time", "id", b"id", "trigger", b"trigger", "visibility_query", b"visibility_query"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["trigger", b"trigger"]) -> typing_extensions.Literal["activity_start"] | None: ... global___WorkflowRuleSpec = WorkflowRuleSpec @@ -197,24 +149,7 @@ class WorkflowRule(google.protobuf.message.Message): created_by_identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "spec", b"spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "created_by_identity", - b"created_by_identity", - "description", - b"description", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "created_by_identity", b"created_by_identity", "description", b"description", "spec", b"spec"]) -> None: ... global___WorkflowRule = WorkflowRule diff --git a/temporalio/api/schedule/v1/__init__.py b/temporalio/api/schedule/v1/__init__.py index ad891bc99..f4761acfe 100644 --- a/temporalio/api/schedule/v1/__init__.py +++ b/temporalio/api/schedule/v1/__init__.py @@ -1,21 +1,19 @@ -from .message_pb2 import ( - BackfillRequest, - CalendarSpec, - IntervalSpec, - Range, - Schedule, - ScheduleAction, - ScheduleActionResult, - ScheduleInfo, - ScheduleListEntry, - ScheduleListInfo, - SchedulePatch, - SchedulePolicies, - ScheduleSpec, - ScheduleState, - StructuredCalendarSpec, - TriggerImmediatelyRequest, -) +from .message_pb2 import CalendarSpec +from .message_pb2 import Range +from .message_pb2 import StructuredCalendarSpec +from .message_pb2 import IntervalSpec +from .message_pb2 import ScheduleSpec +from .message_pb2 import SchedulePolicies +from .message_pb2 import ScheduleAction +from .message_pb2 import ScheduleActionResult +from .message_pb2 import ScheduleState +from .message_pb2 import TriggerImmediatelyRequest +from .message_pb2 import BackfillRequest +from .message_pb2 import SchedulePatch +from .message_pb2 import ScheduleInfo +from .message_pb2 import Schedule +from .message_pb2 import ScheduleListInfo +from .message_pb2 import ScheduleListEntry __all__ = [ "BackfillRequest", diff --git a/temporalio/api/schedule/v1/message_pb2.py b/temporalio/api/schedule/v1/message_pb2.py index 6180b37f9..10b5cbade 100644 --- a/temporalio/api/schedule/v1/message_pb2.py +++ b/temporalio/api/schedule/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/schedule/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,258 +14,182 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - schedule_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_schedule__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t"\xd6\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState"\xa5\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3' -) - - -_CALENDARSPEC = DESCRIPTOR.message_types_by_name["CalendarSpec"] -_RANGE = DESCRIPTOR.message_types_by_name["Range"] -_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name["StructuredCalendarSpec"] -_INTERVALSPEC = DESCRIPTOR.message_types_by_name["IntervalSpec"] -_SCHEDULESPEC = DESCRIPTOR.message_types_by_name["ScheduleSpec"] -_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name["SchedulePolicies"] -_SCHEDULEACTION = DESCRIPTOR.message_types_by_name["ScheduleAction"] -_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name["ScheduleActionResult"] -_SCHEDULESTATE = DESCRIPTOR.message_types_by_name["ScheduleState"] -_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name[ - "TriggerImmediatelyRequest" -] -_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name["BackfillRequest"] -_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name["SchedulePatch"] -_SCHEDULEINFO = DESCRIPTOR.message_types_by_name["ScheduleInfo"] -_SCHEDULE = DESCRIPTOR.message_types_by_name["Schedule"] -_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name["ScheduleListInfo"] -_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name["ScheduleListEntry"] -CalendarSpec = _reflection.GeneratedProtocolMessageType( - "CalendarSpec", - (_message.Message,), - { - "DESCRIPTOR": _CALENDARSPEC, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) - }, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import schedule_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_schedule__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto\"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05\"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c\"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08\"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion\"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03\"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t\"\xd6\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01\"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState\"\xa5\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3') + + + +_CALENDARSPEC = DESCRIPTOR.message_types_by_name['CalendarSpec'] +_RANGE = DESCRIPTOR.message_types_by_name['Range'] +_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name['StructuredCalendarSpec'] +_INTERVALSPEC = DESCRIPTOR.message_types_by_name['IntervalSpec'] +_SCHEDULESPEC = DESCRIPTOR.message_types_by_name['ScheduleSpec'] +_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name['SchedulePolicies'] +_SCHEDULEACTION = DESCRIPTOR.message_types_by_name['ScheduleAction'] +_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name['ScheduleActionResult'] +_SCHEDULESTATE = DESCRIPTOR.message_types_by_name['ScheduleState'] +_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name['TriggerImmediatelyRequest'] +_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name['BackfillRequest'] +_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name['SchedulePatch'] +_SCHEDULEINFO = DESCRIPTOR.message_types_by_name['ScheduleInfo'] +_SCHEDULE = DESCRIPTOR.message_types_by_name['Schedule'] +_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name['ScheduleListInfo'] +_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name['ScheduleListEntry'] +CalendarSpec = _reflection.GeneratedProtocolMessageType('CalendarSpec', (_message.Message,), { + 'DESCRIPTOR' : _CALENDARSPEC, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) + }) _sym_db.RegisterMessage(CalendarSpec) -Range = _reflection.GeneratedProtocolMessageType( - "Range", - (_message.Message,), - { - "DESCRIPTOR": _RANGE, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) - }, -) +Range = _reflection.GeneratedProtocolMessageType('Range', (_message.Message,), { + 'DESCRIPTOR' : _RANGE, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) + }) _sym_db.RegisterMessage(Range) -StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType( - "StructuredCalendarSpec", - (_message.Message,), - { - "DESCRIPTOR": _STRUCTUREDCALENDARSPEC, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) - }, -) +StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType('StructuredCalendarSpec', (_message.Message,), { + 'DESCRIPTOR' : _STRUCTUREDCALENDARSPEC, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) + }) _sym_db.RegisterMessage(StructuredCalendarSpec) -IntervalSpec = _reflection.GeneratedProtocolMessageType( - "IntervalSpec", - (_message.Message,), - { - "DESCRIPTOR": _INTERVALSPEC, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) - }, -) +IntervalSpec = _reflection.GeneratedProtocolMessageType('IntervalSpec', (_message.Message,), { + 'DESCRIPTOR' : _INTERVALSPEC, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) + }) _sym_db.RegisterMessage(IntervalSpec) -ScheduleSpec = _reflection.GeneratedProtocolMessageType( - "ScheduleSpec", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULESPEC, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) - }, -) +ScheduleSpec = _reflection.GeneratedProtocolMessageType('ScheduleSpec', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULESPEC, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) + }) _sym_db.RegisterMessage(ScheduleSpec) -SchedulePolicies = _reflection.GeneratedProtocolMessageType( - "SchedulePolicies", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEPOLICIES, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) - }, -) +SchedulePolicies = _reflection.GeneratedProtocolMessageType('SchedulePolicies', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEPOLICIES, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) + }) _sym_db.RegisterMessage(SchedulePolicies) -ScheduleAction = _reflection.GeneratedProtocolMessageType( - "ScheduleAction", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTION, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) - }, -) +ScheduleAction = _reflection.GeneratedProtocolMessageType('ScheduleAction', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEACTION, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) + }) _sym_db.RegisterMessage(ScheduleAction) -ScheduleActionResult = _reflection.GeneratedProtocolMessageType( - "ScheduleActionResult", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIONRESULT, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) - }, -) +ScheduleActionResult = _reflection.GeneratedProtocolMessageType('ScheduleActionResult', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEACTIONRESULT, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) + }) _sym_db.RegisterMessage(ScheduleActionResult) -ScheduleState = _reflection.GeneratedProtocolMessageType( - "ScheduleState", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULESTATE, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) - }, -) +ScheduleState = _reflection.GeneratedProtocolMessageType('ScheduleState', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULESTATE, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) + }) _sym_db.RegisterMessage(ScheduleState) -TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType( - "TriggerImmediatelyRequest", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERIMMEDIATELYREQUEST, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) - }, -) +TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType('TriggerImmediatelyRequest', (_message.Message,), { + 'DESCRIPTOR' : _TRIGGERIMMEDIATELYREQUEST, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) + }) _sym_db.RegisterMessage(TriggerImmediatelyRequest) -BackfillRequest = _reflection.GeneratedProtocolMessageType( - "BackfillRequest", - (_message.Message,), - { - "DESCRIPTOR": _BACKFILLREQUEST, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) - }, -) +BackfillRequest = _reflection.GeneratedProtocolMessageType('BackfillRequest', (_message.Message,), { + 'DESCRIPTOR' : _BACKFILLREQUEST, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) + }) _sym_db.RegisterMessage(BackfillRequest) -SchedulePatch = _reflection.GeneratedProtocolMessageType( - "SchedulePatch", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEPATCH, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) - }, -) +SchedulePatch = _reflection.GeneratedProtocolMessageType('SchedulePatch', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEPATCH, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) + }) _sym_db.RegisterMessage(SchedulePatch) -ScheduleInfo = _reflection.GeneratedProtocolMessageType( - "ScheduleInfo", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEINFO, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) - }, -) +ScheduleInfo = _reflection.GeneratedProtocolMessageType('ScheduleInfo', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEINFO, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) + }) _sym_db.RegisterMessage(ScheduleInfo) -Schedule = _reflection.GeneratedProtocolMessageType( - "Schedule", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULE, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) - }, -) +Schedule = _reflection.GeneratedProtocolMessageType('Schedule', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULE, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) + }) _sym_db.RegisterMessage(Schedule) -ScheduleListInfo = _reflection.GeneratedProtocolMessageType( - "ScheduleListInfo", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELISTINFO, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) - }, -) +ScheduleListInfo = _reflection.GeneratedProtocolMessageType('ScheduleListInfo', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULELISTINFO, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) + }) _sym_db.RegisterMessage(ScheduleListInfo) -ScheduleListEntry = _reflection.GeneratedProtocolMessageType( - "ScheduleListEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELISTENTRY, - "__module__": "temporal.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) - }, -) +ScheduleListEntry = _reflection.GeneratedProtocolMessageType('ScheduleListEntry', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULELISTENTRY, + '__module__' : 'temporal.api.schedule.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) + }) _sym_db.RegisterMessage(ScheduleListEntry) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" - _SCHEDULESPEC.fields_by_name["exclude_calendar"]._options = None - _SCHEDULESPEC.fields_by_name["exclude_calendar"]._serialized_options = b"\030\001" - _SCHEDULEINFO.fields_by_name["invalid_schedule_error"]._options = None - _SCHEDULEINFO.fields_by_name[ - "invalid_schedule_error" - ]._serialized_options = b"\030\001" - _CALENDARSPEC._serialized_start = 288 - _CALENDARSPEC._serialized_end = 437 - _RANGE._serialized_start = 439 - _RANGE._serialized_end = 488 - _STRUCTUREDCALENDARSPEC._serialized_start = 491 - _STRUCTUREDCALENDARSPEC._serialized_end = 881 - _INTERVALSPEC._serialized_start = 883 - _INTERVALSPEC._serialized_end = 984 - _SCHEDULESPEC._serialized_start = 987 - _SCHEDULESPEC._serialized_end = 1557 - _SCHEDULEPOLICIES._serialized_start = 1560 - _SCHEDULEPOLICIES._serialized_end = 1760 - _SCHEDULEACTION._serialized_start = 1762 - _SCHEDULEACTION._serialized_end = 1866 - _SCHEDULEACTIONRESULT._serialized_start = 1869 - _SCHEDULEACTIONRESULT._serialized_end = 2144 - _SCHEDULESTATE._serialized_start = 2146 - _SCHEDULESTATE._serialized_end = 2244 - _TRIGGERIMMEDIATELYREQUEST._serialized_start = 2247 - _TRIGGERIMMEDIATELYREQUEST._serialized_end = 2396 - _BACKFILLREQUEST._serialized_start = 2399 - _BACKFILLREQUEST._serialized_end = 2580 - _SCHEDULEPATCH._serialized_start = 2583 - _SCHEDULEPATCH._serialized_end = 2781 - _SCHEDULEINFO._serialized_start = 2784 - _SCHEDULEINFO._serialized_end = 3254 - _SCHEDULE._serialized_start = 3257 - _SCHEDULE._serialized_end = 3497 - _SCHEDULELISTINFO._serialized_start = 3500 - _SCHEDULELISTINFO._serialized_end = 3793 - _SCHEDULELISTENTRY._serialized_start = 3796 - _SCHEDULELISTENTRY._serialized_end = 4007 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z\'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1' + _SCHEDULESPEC.fields_by_name['exclude_calendar']._options = None + _SCHEDULESPEC.fields_by_name['exclude_calendar']._serialized_options = b'\030\001' + _SCHEDULEINFO.fields_by_name['invalid_schedule_error']._options = None + _SCHEDULEINFO.fields_by_name['invalid_schedule_error']._serialized_options = b'\030\001' + _CALENDARSPEC._serialized_start=288 + _CALENDARSPEC._serialized_end=437 + _RANGE._serialized_start=439 + _RANGE._serialized_end=488 + _STRUCTUREDCALENDARSPEC._serialized_start=491 + _STRUCTUREDCALENDARSPEC._serialized_end=881 + _INTERVALSPEC._serialized_start=883 + _INTERVALSPEC._serialized_end=984 + _SCHEDULESPEC._serialized_start=987 + _SCHEDULESPEC._serialized_end=1557 + _SCHEDULEPOLICIES._serialized_start=1560 + _SCHEDULEPOLICIES._serialized_end=1760 + _SCHEDULEACTION._serialized_start=1762 + _SCHEDULEACTION._serialized_end=1866 + _SCHEDULEACTIONRESULT._serialized_start=1869 + _SCHEDULEACTIONRESULT._serialized_end=2144 + _SCHEDULESTATE._serialized_start=2146 + _SCHEDULESTATE._serialized_end=2244 + _TRIGGERIMMEDIATELYREQUEST._serialized_start=2247 + _TRIGGERIMMEDIATELYREQUEST._serialized_end=2396 + _BACKFILLREQUEST._serialized_start=2399 + _BACKFILLREQUEST._serialized_end=2580 + _SCHEDULEPATCH._serialized_start=2583 + _SCHEDULEPATCH._serialized_end=2781 + _SCHEDULEINFO._serialized_start=2784 + _SCHEDULEINFO._serialized_end=3254 + _SCHEDULE._serialized_start=3257 + _SCHEDULE._serialized_end=3497 + _SCHEDULELISTINFO._serialized_start=3500 + _SCHEDULELISTINFO._serialized_end=3793 + _SCHEDULELISTENTRY._serialized_start=3796 + _SCHEDULELISTENTRY._serialized_end=4007 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/schedule/v1/message_pb2.pyi b/temporalio/api/schedule/v1/message_pb2.pyi index b7a65ad0f..dbeb7629c 100644 --- a/temporalio/api/schedule/v1/message_pb2.pyi +++ b/temporalio/api/schedule/v1/message_pb2.pyi @@ -6,17 +6,14 @@ isort:skip_file (-- api-linter: core::0203::input-only=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.schedule_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -91,27 +88,7 @@ class CalendarSpec(google.protobuf.message.Message): day_of_week: builtins.str = ..., comment: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "comment", - b"comment", - "day_of_month", - b"day_of_month", - "day_of_week", - b"day_of_week", - "hour", - b"hour", - "minute", - b"minute", - "month", - b"month", - "second", - b"second", - "year", - b"year", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["comment", b"comment", "day_of_month", b"day_of_month", "day_of_week", b"day_of_week", "hour", b"hour", "minute", b"minute", "month", b"month", "second", b"second", "year", b"year"]) -> None: ... global___CalendarSpec = CalendarSpec @@ -140,12 +117,7 @@ class Range(google.protobuf.message.Message): end: builtins.int = ..., step: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end", b"end", "start", b"start", "step", b"step" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["end", b"end", "start", b"start", "step", b"step"]) -> None: ... global___Range = Range @@ -172,56 +144,28 @@ class StructuredCalendarSpec(google.protobuf.message.Message): DAY_OF_WEEK_FIELD_NUMBER: builtins.int COMMENT_FIELD_NUMBER: builtins.int @property - def second( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def second(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match seconds (0-59)""" @property - def minute( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def minute(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match minutes (0-59)""" @property - def hour( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def hour(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match hours (0-23)""" @property - def day_of_month( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def day_of_month(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match days of the month (1-31) (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: standard name of field --) """ @property - def month( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def month(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match months (1-12)""" @property - def year( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def year(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match years.""" @property - def day_of_week( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range - ]: + def day_of_week(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: """Match days of the week (0-6; 0 is Sunday).""" comment: builtins.str """Free-form comment describing the intention of this spec.""" @@ -237,27 +181,7 @@ class StructuredCalendarSpec(google.protobuf.message.Message): day_of_week: collections.abc.Iterable[global___Range] | None = ..., comment: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "comment", - b"comment", - "day_of_month", - b"day_of_month", - "day_of_week", - b"day_of_week", - "hour", - b"hour", - "minute", - b"minute", - "month", - b"month", - "second", - b"second", - "year", - b"year", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["comment", b"comment", "day_of_month", b"day_of_month", "day_of_week", b"day_of_week", "hour", b"hour", "minute", b"minute", "month", b"month", "second", b"second", "year", b"year"]) -> None: ... global___StructuredCalendarSpec = StructuredCalendarSpec @@ -289,18 +213,8 @@ class IntervalSpec(google.protobuf.message.Message): interval: google.protobuf.duration_pb2.Duration | None = ..., phase: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "interval", b"interval", "phase", b"phase" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "interval", b"interval", "phase", b"phase" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["interval", b"interval", "phase", b"phase"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["interval", b"interval", "phase", b"phase"]) -> None: ... global___IntervalSpec = IntervalSpec @@ -339,16 +253,10 @@ class ScheduleSpec(google.protobuf.message.Message): TIMEZONE_NAME_FIELD_NUMBER: builtins.int TIMEZONE_DATA_FIELD_NUMBER: builtins.int @property - def structured_calendar( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StructuredCalendarSpec - ]: + def structured_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StructuredCalendarSpec]: """Calendar-based specifications of times.""" @property - def cron_string( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def cron_string(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. @@ -371,34 +279,18 @@ class ScheduleSpec(google.protobuf.message.Message): with a unit suffix s, m, h, or d. """ @property - def calendar( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CalendarSpec - ]: + def calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CalendarSpec]: """Calendar-based specifications of times.""" @property - def interval( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___IntervalSpec - ]: + def interval(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___IntervalSpec]: """Interval-based specifications of times.""" @property - def exclude_calendar( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CalendarSpec - ]: + def exclude_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CalendarSpec]: """Any timestamps matching any of exclude_* will be skipped. Deprecated. Use exclude_structured_calendar. """ @property - def exclude_structured_calendar( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StructuredCalendarSpec - ]: ... + def exclude_structured_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StructuredCalendarSpec]: ... @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If start_time is set, any timestamps before start_time will be skipped. @@ -440,55 +332,20 @@ class ScheduleSpec(google.protobuf.message.Message): def __init__( self, *, - structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] - | None = ..., + structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] | None = ..., cron_string: collections.abc.Iterable[builtins.str] | None = ..., calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., interval: collections.abc.Iterable[global___IntervalSpec] | None = ..., exclude_calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., - exclude_structured_calendar: collections.abc.Iterable[ - global___StructuredCalendarSpec - ] - | None = ..., + exclude_structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., timezone_name: builtins.str = ..., timezone_data: builtins.bytes = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "calendar", - b"calendar", - "cron_string", - b"cron_string", - "end_time", - b"end_time", - "exclude_calendar", - b"exclude_calendar", - "exclude_structured_calendar", - b"exclude_structured_calendar", - "interval", - b"interval", - "jitter", - b"jitter", - "start_time", - b"start_time", - "structured_calendar", - b"structured_calendar", - "timezone_data", - b"timezone_data", - "timezone_name", - b"timezone_name", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["calendar", b"calendar", "cron_string", b"cron_string", "end_time", b"end_time", "exclude_calendar", b"exclude_calendar", "exclude_structured_calendar", b"exclude_structured_calendar", "interval", b"interval", "jitter", b"jitter", "start_time", b"start_time", "structured_calendar", b"structured_calendar", "timezone_data", b"timezone_data", "timezone_name", b"timezone_name"]) -> None: ... global___ScheduleSpec = ScheduleSpec @@ -530,22 +387,8 @@ class SchedulePolicies(google.protobuf.message.Message): pause_on_failure: builtins.bool = ..., keep_original_workflow_id: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "catchup_window", - b"catchup_window", - "keep_original_workflow_id", - b"keep_original_workflow_id", - "overlap_policy", - b"overlap_policy", - "pause_on_failure", - b"pause_on_failure", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window", "keep_original_workflow_id", b"keep_original_workflow_id", "overlap_policy", b"overlap_policy", "pause_on_failure", b"pause_on_failure"]) -> None: ... global___SchedulePolicies = SchedulePolicies @@ -554,9 +397,7 @@ class ScheduleAction(google.protobuf.message.Message): START_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow( - self, - ) -> temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo: + def start_workflow(self) -> temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo: """All fields of NewWorkflowExecutionInfo are valid except for: - workflow_id_reuse_policy - cron_schedule @@ -566,24 +407,11 @@ class ScheduleAction(google.protobuf.message.Message): def __init__( self, *, - start_workflow: temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo - | None = ..., + start_workflow: temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "action", b"action", "start_workflow", b"start_workflow" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "action", b"action", "start_workflow", b"start_workflow" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["action", b"action"] - ) -> typing_extensions.Literal["start_workflow"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["action", b"action", "start_workflow", b"start_workflow"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["action", b"action", "start_workflow", b"start_workflow"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["action", b"action"]) -> typing_extensions.Literal["start_workflow"] | None: ... global___ScheduleAction = ScheduleAction @@ -601,13 +429,9 @@ class ScheduleActionResult(google.protobuf.message.Message): def actual_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (real time).""" @property - def start_workflow_result( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def start_workflow_result(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """If action was start_workflow:""" - start_workflow_status: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType - ) + start_workflow_status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType """If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status. """ @@ -616,34 +440,11 @@ class ScheduleActionResult(google.protobuf.message.Message): *, schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., actual_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - start_workflow_result: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + start_workflow_result: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., start_workflow_status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "actual_time", - b"actual_time", - "schedule_time", - b"schedule_time", - "start_workflow_result", - b"start_workflow_result", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "actual_time", - b"actual_time", - "schedule_time", - b"schedule_time", - "start_workflow_result", - b"start_workflow_result", - "start_workflow_status", - b"start_workflow_status", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["actual_time", b"actual_time", "schedule_time", b"schedule_time", "start_workflow_result", b"start_workflow_result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["actual_time", b"actual_time", "schedule_time", b"schedule_time", "start_workflow_result", b"start_workflow_result", "start_workflow_status", b"start_workflow_status"]) -> None: ... global___ScheduleActionResult = ScheduleActionResult @@ -679,19 +480,7 @@ class ScheduleState(google.protobuf.message.Message): limited_actions: builtins.bool = ..., remaining_actions: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "limited_actions", - b"limited_actions", - "notes", - b"notes", - "paused", - b"paused", - "remaining_actions", - b"remaining_actions", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["limited_actions", b"limited_actions", "notes", b"notes", "paused", b"paused", "remaining_actions", b"remaining_actions"]) -> None: ... global___ScheduleState = ScheduleState @@ -713,15 +502,8 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time"]) -> None: ... global___TriggerImmediatelyRequest = TriggerImmediatelyRequest @@ -751,23 +533,8 @@ class BackfillRequest(google.protobuf.message.Message): end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "end_time", b"end_time", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_time", - b"end_time", - "overlap_policy", - b"overlap_policy", - "start_time", - b"start_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "overlap_policy", b"overlap_policy", "start_time", b"start_time"]) -> None: ... global___BackfillRequest = BackfillRequest @@ -782,11 +549,7 @@ class SchedulePatch(google.protobuf.message.Message): def trigger_immediately(self) -> global___TriggerImmediatelyRequest: """If set, trigger one action immediately.""" @property - def backfill_request( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___BackfillRequest - ]: + def backfill_request(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BackfillRequest]: """If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill. @@ -800,30 +563,12 @@ class SchedulePatch(google.protobuf.message.Message): self, *, trigger_immediately: global___TriggerImmediatelyRequest | None = ..., - backfill_request: collections.abc.Iterable[global___BackfillRequest] - | None = ..., + backfill_request: collections.abc.Iterable[global___BackfillRequest] | None = ..., pause: builtins.str = ..., unpause: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "trigger_immediately", b"trigger_immediately" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "backfill_request", - b"backfill_request", - "pause", - b"pause", - "trigger_immediately", - b"trigger_immediately", - "unpause", - b"unpause", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["trigger_immediately", b"trigger_immediately"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["backfill_request", b"backfill_request", "pause", b"pause", "trigger_immediately", b"trigger_immediately", "unpause", b"unpause"]) -> None: ... global___SchedulePatch = SchedulePatch @@ -855,11 +600,7 @@ class ScheduleInfo(google.protobuf.message.Message): the normal schedule or a backfill. """ @property - def running_workflows( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.WorkflowExecution - ]: + def running_workflows(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.WorkflowExecution]: """Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as @@ -867,18 +608,10 @@ class ScheduleInfo(google.protobuf.message.Message): or were reset, they might still be running but with a different run_id. """ @property - def recent_actions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ScheduleActionResult - ]: + def recent_actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScheduleActionResult]: """Most recent ten actual action times (including manual triggers).""" @property - def future_action_times( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.timestamp_pb2.Timestamp - ]: + def future_action_times(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: """Next ten scheduled action times.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -895,53 +628,15 @@ class ScheduleInfo(google.protobuf.message.Message): overlap_skipped: builtins.int = ..., buffer_dropped: builtins.int = ..., buffer_size: builtins.int = ..., - running_workflows: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.WorkflowExecution - ] - | None = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] - | None = ..., - future_action_times: collections.abc.Iterable[ - google.protobuf.timestamp_pb2.Timestamp - ] - | None = ..., + running_workflows: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.WorkflowExecution] | None = ..., + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., + future_action_times: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., invalid_schedule_error: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "update_time", b"update_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "action_count", - b"action_count", - "buffer_dropped", - b"buffer_dropped", - "buffer_size", - b"buffer_size", - "create_time", - b"create_time", - "future_action_times", - b"future_action_times", - "invalid_schedule_error", - b"invalid_schedule_error", - "missed_catchup_window", - b"missed_catchup_window", - "overlap_skipped", - b"overlap_skipped", - "recent_actions", - b"recent_actions", - "running_workflows", - b"running_workflows", - "update_time", - b"update_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "update_time", b"update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["action_count", b"action_count", "buffer_dropped", b"buffer_dropped", "buffer_size", b"buffer_size", "create_time", b"create_time", "future_action_times", b"future_action_times", "invalid_schedule_error", b"invalid_schedule_error", "missed_catchup_window", b"missed_catchup_window", "overlap_skipped", b"overlap_skipped", "recent_actions", b"recent_actions", "running_workflows", b"running_workflows", "update_time", b"update_time"]) -> None: ... global___ScheduleInfo = ScheduleInfo @@ -968,32 +663,8 @@ class Schedule(google.protobuf.message.Message): policies: global___SchedulePolicies | None = ..., state: global___ScheduleState | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "action", - b"action", - "policies", - b"policies", - "spec", - b"spec", - "state", - b"state", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "action", - b"action", - "policies", - b"policies", - "spec", - b"spec", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["action", b"action", "policies", b"policies", "spec", b"spec", "state", b"state"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["action", b"action", "policies", b"policies", "spec", b"spec", "state", b"state"]) -> None: ... global___Schedule = Schedule @@ -1025,18 +696,10 @@ class ScheduleListInfo(google.protobuf.message.Message): """From state:""" paused: builtins.bool @property - def recent_actions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ScheduleActionResult - ]: + def recent_actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScheduleActionResult]: """From info (maybe fewer entries):""" @property - def future_action_times( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.timestamp_pb2.Timestamp - ]: ... + def future_action_times(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... def __init__( self, *, @@ -1044,36 +707,11 @@ class ScheduleListInfo(google.protobuf.message.Message): workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., notes: builtins.str = ..., paused: builtins.bool = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] - | None = ..., - future_action_times: collections.abc.Iterable[ - google.protobuf.timestamp_pb2.Timestamp - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "spec", b"spec", "workflow_type", b"workflow_type" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "future_action_times", - b"future_action_times", - "notes", - b"notes", - "paused", - b"paused", - "recent_actions", - b"recent_actions", - "spec", - b"spec", - "workflow_type", - b"workflow_type", - ], + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., + future_action_times: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["future_action_times", b"future_action_times", "notes", b"notes", "paused", b"paused", "recent_actions", b"recent_actions", "spec", b"spec", "workflow_type", b"workflow_type"]) -> None: ... global___ScheduleListInfo = ScheduleListInfo @@ -1090,9 +728,7 @@ class ScheduleListEntry(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def info(self) -> global___ScheduleListInfo: ... def __init__( @@ -1100,28 +736,10 @@ class ScheduleListEntry(google.protobuf.message.Message): *, schedule_id: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., info: global___ScheduleListInfo | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "info", b"info", "memo", b"memo", "search_attributes", b"search_attributes" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "info", - b"info", - "memo", - b"memo", - "schedule_id", - b"schedule_id", - "search_attributes", - b"search_attributes", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... global___ScheduleListEntry = ScheduleListEntry diff --git a/temporalio/api/sdk/v1/__init__.py b/temporalio/api/sdk/v1/__init__.py index 2657df300..277141816 100644 --- a/temporalio/api/sdk/v1/__init__.py +++ b/temporalio/api/sdk/v1/__init__.py @@ -1,18 +1,14 @@ -from .enhanced_stack_trace_pb2 import ( - EnhancedStackTrace, - StackTrace, - StackTraceFileLocation, - StackTraceFileSlice, - StackTraceSDKInfo, -) -from .task_complete_metadata_pb2 import WorkflowTaskCompletedMetadata +from .enhanced_stack_trace_pb2 import EnhancedStackTrace +from .enhanced_stack_trace_pb2 import StackTraceSDKInfo +from .enhanced_stack_trace_pb2 import StackTraceFileSlice +from .enhanced_stack_trace_pb2 import StackTraceFileLocation +from .enhanced_stack_trace_pb2 import StackTrace from .user_metadata_pb2 import UserMetadata from .worker_config_pb2 import WorkerConfig -from .workflow_metadata_pb2 import ( - WorkflowDefinition, - WorkflowInteractionDefinition, - WorkflowMetadata, -) +from .workflow_metadata_pb2 import WorkflowMetadata +from .workflow_metadata_pb2 import WorkflowDefinition +from .workflow_metadata_pb2 import WorkflowInteractionDefinition +from .task_complete_metadata_pb2 import WorkflowTaskCompletedMetadata __all__ = [ "EnhancedStackTrace", diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py index eaa8ff251..761f1221c 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py @@ -2,111 +2,87 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/enhanced_stack_trace.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' -) -_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name["EnhancedStackTrace"] -_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name[ - "SourcesEntry" -] -_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name["StackTraceSDKInfo"] -_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name["StackTraceFileSlice"] -_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name["StackTraceFileLocation"] -_STACKTRACE = DESCRIPTOR.message_types_by_name["StackTrace"] -EnhancedStackTrace = _reflection.GeneratedProtocolMessageType( - "EnhancedStackTrace", - (_message.Message,), - { - "SourcesEntry": _reflection.GeneratedProtocolMessageType( - "SourcesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ENHANCEDSTACKTRACE_SOURCESENTRY, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) - }, - ), - "DESCRIPTOR": _ENHANCEDSTACKTRACE, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1\"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01\"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08\"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') + + + +_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name['EnhancedStackTrace'] +_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name['SourcesEntry'] +_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name['StackTraceSDKInfo'] +_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name['StackTraceFileSlice'] +_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name['StackTraceFileLocation'] +_STACKTRACE = DESCRIPTOR.message_types_by_name['StackTrace'] +EnhancedStackTrace = _reflection.GeneratedProtocolMessageType('EnhancedStackTrace', (_message.Message,), { + + 'SourcesEntry' : _reflection.GeneratedProtocolMessageType('SourcesEntry', (_message.Message,), { + 'DESCRIPTOR' : _ENHANCEDSTACKTRACE_SOURCESENTRY, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) + }) + , + 'DESCRIPTOR' : _ENHANCEDSTACKTRACE, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) + }) _sym_db.RegisterMessage(EnhancedStackTrace) _sym_db.RegisterMessage(EnhancedStackTrace.SourcesEntry) -StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType( - "StackTraceSDKInfo", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACESDKINFO, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) - }, -) +StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType('StackTraceSDKInfo', (_message.Message,), { + 'DESCRIPTOR' : _STACKTRACESDKINFO, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) + }) _sym_db.RegisterMessage(StackTraceSDKInfo) -StackTraceFileSlice = _reflection.GeneratedProtocolMessageType( - "StackTraceFileSlice", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACEFILESLICE, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) - }, -) +StackTraceFileSlice = _reflection.GeneratedProtocolMessageType('StackTraceFileSlice', (_message.Message,), { + 'DESCRIPTOR' : _STACKTRACEFILESLICE, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) + }) _sym_db.RegisterMessage(StackTraceFileSlice) -StackTraceFileLocation = _reflection.GeneratedProtocolMessageType( - "StackTraceFileLocation", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACEFILELOCATION, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) - }, -) +StackTraceFileLocation = _reflection.GeneratedProtocolMessageType('StackTraceFileLocation', (_message.Message,), { + 'DESCRIPTOR' : _STACKTRACEFILELOCATION, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) + }) _sym_db.RegisterMessage(StackTraceFileLocation) -StackTrace = _reflection.GeneratedProtocolMessageType( - "StackTrace", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACE, - "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) - }, -) +StackTrace = _reflection.GeneratedProtocolMessageType('StackTrace', (_message.Message,), { + 'DESCRIPTOR' : _STACKTRACE, + '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) + }) _sym_db.RegisterMessage(StackTrace) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b"8\001" - _ENHANCEDSTACKTRACE._serialized_start = 72 - _ENHANCEDSTACKTRACE._serialized_end = 355 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start = 267 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end = 355 - _STACKTRACESDKINFO._serialized_start = 357 - _STACKTRACESDKINFO._serialized_end = 407 - _STACKTRACEFILESLICE._serialized_start = 409 - _STACKTRACEFILESLICE._serialized_end = 468 - _STACKTRACEFILELOCATION._serialized_start = 470 - _STACKTRACEFILELOCATION._serialized_end = 589 - _STACKTRACE._serialized_start = 591 - _STACKTRACE._serialized_end = 667 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' + _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b'8\001' + _ENHANCEDSTACKTRACE._serialized_start=72 + _ENHANCEDSTACKTRACE._serialized_end=355 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start=267 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end=355 + _STACKTRACESDKINFO._serialized_start=357 + _STACKTRACESDKINFO._serialized_end=407 + _STACKTRACEFILESLICE._serialized_start=409 + _STACKTRACEFILESLICE._serialized_end=468 + _STACKTRACEFILELOCATION._serialized_start=470 + _STACKTRACEFILELOCATION._serialized_end=589 + _STACKTRACE._serialized_start=591 + _STACKTRACE._serialized_end=667 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi index 29767cbf8..b0f81016b 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -37,13 +35,8 @@ class EnhancedStackTrace(google.protobuf.message.Message): key: builtins.str = ..., value: global___StackTraceFileSlice | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SDK_FIELD_NUMBER: builtins.int SOURCES_FIELD_NUMBER: builtins.int @@ -52,36 +45,20 @@ class EnhancedStackTrace(google.protobuf.message.Message): def sdk(self) -> global___StackTraceSDKInfo: """Information pertaining to the SDK that the trace has been captured from.""" @property - def sources( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___StackTraceFileSlice - ]: + def sources(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StackTraceFileSlice]: """Mapping of file path to file contents.""" @property - def stacks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StackTrace - ]: + def stacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackTrace]: """Collection of stacks captured.""" def __init__( self, *, sdk: global___StackTraceSDKInfo | None = ..., - sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] - | None = ..., + sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] | None = ..., stacks: collections.abc.Iterable[global___StackTrace] | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["sdk", b"sdk"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "sdk", b"sdk", "sources", b"sources", "stacks", b"stacks" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["sdk", b"sdk"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["sdk", b"sdk", "sources", b"sources", "stacks", b"stacks"]) -> None: ... global___EnhancedStackTrace = EnhancedStackTrace @@ -105,15 +82,12 @@ class StackTraceSDKInfo(google.protobuf.message.Message): name: builtins.str = ..., version: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "version", b"version"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... global___StackTraceSDKInfo = StackTraceSDKInfo class StackTraceFileSlice(google.protobuf.message.Message): - """ "Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" + """"Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -133,12 +107,7 @@ class StackTraceFileSlice(google.protobuf.message.Message): line_offset: builtins.int = ..., content: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "content", b"content", "line_offset", b"line_offset" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["content", b"content", "line_offset", b"line_offset"]) -> None: ... global___StackTraceFileSlice = StackTraceFileSlice @@ -181,21 +150,7 @@ class StackTraceFileLocation(google.protobuf.message.Message): function_name: builtins.str = ..., internal_code: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "column", - b"column", - "file_path", - b"file_path", - "function_name", - b"function_name", - "internal_code", - b"internal_code", - "line", - b"line", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["column", b"column", "file_path", b"file_path", "function_name", b"function_name", "internal_code", b"internal_code", "line", b"line"]) -> None: ... global___StackTraceFileLocation = StackTraceFileLocation @@ -206,20 +161,13 @@ class StackTrace(google.protobuf.message.Message): LOCATIONS_FIELD_NUMBER: builtins.int @property - def locations( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StackTraceFileLocation - ]: + def locations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackTraceFileLocation]: """Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.""" def __init__( self, *, - locations: collections.abc.Iterable[global___StackTraceFileLocation] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["locations", b"locations"] + locations: collections.abc.Iterable[global___StackTraceFileLocation] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["locations", b"locations"]) -> None: ... global___StackTrace = StackTrace diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py index 4b3306d7e..348c4842a 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py @@ -2,40 +2,34 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/task_complete_metadata.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' -) -_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskCompletedMetadata" -] -WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskCompletedMetadata", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDMETADATA, - "__module__": "temporal.api.sdk.v1.task_complete_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1\"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') + + + +_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name['WorkflowTaskCompletedMetadata'] +WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType('WorkflowTaskCompletedMetadata', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTASKCOMPLETEDMETADATA, + '__module__' : 'temporal.api.sdk.v1.task_complete_metadata_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) + }) _sym_db.RegisterMessage(WorkflowTaskCompletedMetadata) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start = 73 - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end = 193 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start=73 + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end=193 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi index 2491881a3..28f145af2 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -26,9 +24,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): SDK_NAME_FIELD_NUMBER: builtins.int SDK_VERSION_FIELD_NUMBER: builtins.int @property - def core_used_flags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def core_used_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: @@ -50,9 +46,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): aip.dev/not-precedent: These really shouldn't have negative values. --) """ @property - def lang_used_flags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def lang_used_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. @@ -81,18 +75,6 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): sdk_name: builtins.str = ..., sdk_version: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "core_used_flags", - b"core_used_flags", - "lang_used_flags", - b"lang_used_flags", - "sdk_name", - b"sdk_name", - "sdk_version", - b"sdk_version", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["core_used_flags", b"core_used_flags", "lang_used_flags", b"lang_used_flags", "sdk_name", b"sdk_name", "sdk_version", b"sdk_version"]) -> None: ... global___WorkflowTaskCompletedMetadata = WorkflowTaskCompletedMetadata diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.py b/temporalio/api/sdk/v1/user_metadata_pb2.py index bbdb6882c..a897f7d74 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.py +++ b/temporalio/api/sdk/v1/user_metadata_pb2.py @@ -2,42 +2,35 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/user_metadata.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') -_USERMETADATA = DESCRIPTOR.message_types_by_name["UserMetadata"] -UserMetadata = _reflection.GeneratedProtocolMessageType( - "UserMetadata", - (_message.Message,), - { - "DESCRIPTOR": _USERMETADATA, - "__module__": "temporal.api.sdk.v1.user_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) - }, -) + +_USERMETADATA = DESCRIPTOR.message_types_by_name['UserMetadata'] +UserMetadata = _reflection.GeneratedProtocolMessageType('UserMetadata', (_message.Message,), { + 'DESCRIPTOR' : _USERMETADATA, + '__module__' : 'temporal.api.sdk.v1.user_metadata_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) + }) _sym_db.RegisterMessage(UserMetadata) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _USERMETADATA._serialized_start = 102 - _USERMETADATA._serialized_end = 216 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' + _USERMETADATA._serialized_start=102 + _USERMETADATA._serialized_end=216 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.pyi b/temporalio/api/sdk/v1/user_metadata_pb2.pyi index d198be8a8..4e64c720a 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/user_metadata_pb2.pyi @@ -2,13 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 if sys.version_info >= (3, 8): @@ -44,17 +41,7 @@ class UserMetadata(google.protobuf.message.Message): summary: temporalio.api.common.v1.message_pb2.Payload | None = ..., details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "summary", b"summary" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "summary", b"summary" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details", "summary", b"summary"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "summary", b"summary"]) -> None: ... global___UserMetadata = UserMetadata diff --git a/temporalio/api/sdk/v1/worker_config_pb2.py b/temporalio/api/sdk/v1/worker_config_pb2.py index c6f09582c..ba7021193 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.py +++ b/temporalio/api/sdk/v1/worker_config_pb2.py @@ -2,68 +2,56 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/worker_config.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" -) -_WORKERCONFIG = DESCRIPTOR.message_types_by_name["WorkerConfig"] -_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ - "SimplePollerBehavior" -] -_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ - "AutoscalingPollerBehavior" -] -WorkerConfig = _reflection.GeneratedProtocolMessageType( - "WorkerConfig", - (_message.Message,), - { - "SimplePollerBehavior": _reflection.GeneratedProtocolMessageType( - "SimplePollerBehavior", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, - "__module__": "temporal.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) - }, - ), - "AutoscalingPollerBehavior": _reflection.GeneratedProtocolMessageType( - "AutoscalingPollerBehavior", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, - "__module__": "temporal.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) - }, - ), - "DESCRIPTOR": _WORKERCONFIG, - "__module__": "temporal.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') + + + +_WORKERCONFIG = DESCRIPTOR.message_types_by_name['WorkerConfig'] +_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name['SimplePollerBehavior'] +_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name['AutoscalingPollerBehavior'] +WorkerConfig = _reflection.GeneratedProtocolMessageType('WorkerConfig', (_message.Message,), { + + 'SimplePollerBehavior' : _reflection.GeneratedProtocolMessageType('SimplePollerBehavior', (_message.Message,), { + 'DESCRIPTOR' : _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, + '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) + }) + , + + 'AutoscalingPollerBehavior' : _reflection.GeneratedProtocolMessageType('AutoscalingPollerBehavior', (_message.Message,), { + 'DESCRIPTOR' : _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, + '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) + }) + , + 'DESCRIPTOR' : _WORKERCONFIG, + '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) + }) _sym_db.RegisterMessage(WorkerConfig) _sym_db.RegisterMessage(WorkerConfig.SimplePollerBehavior) _sym_db.RegisterMessage(WorkerConfig.AutoscalingPollerBehavior) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKERCONFIG._serialized_start = 65 - _WORKERCONFIG._serialized_end = 458 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start = 300 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end = 343 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start = 345 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end = 439 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' + _WORKERCONFIG._serialized_start=65 + _WORKERCONFIG._serialized_end=458 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start=300 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end=343 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start=345 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end=439 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/worker_config_pb2.pyi b/temporalio/api/sdk/v1/worker_config_pb2.pyi index cc0906d24..50cd699fa 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.pyi +++ b/temporalio/api/sdk/v1/worker_config_pb2.pyi @@ -2,12 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -29,9 +27,7 @@ class WorkerConfig(google.protobuf.message.Message): *, max_pollers: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"]) -> None: ... class AutoscalingPollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -56,17 +52,7 @@ class WorkerConfig(google.protobuf.message.Message): max_pollers: builtins.int = ..., initial_pollers: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initial_pollers", - b"initial_pollers", - "max_pollers", - b"max_pollers", - "min_pollers", - b"min_pollers", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["initial_pollers", b"initial_pollers", "max_pollers", b"max_pollers", "min_pollers", b"min_pollers"]) -> None: ... WORKFLOW_CACHE_SIZE_FIELD_NUMBER: builtins.int SIMPLE_POLLER_BEHAVIOR_FIELD_NUMBER: builtins.int @@ -75,49 +61,16 @@ class WorkerConfig(google.protobuf.message.Message): @property def simple_poller_behavior(self) -> global___WorkerConfig.SimplePollerBehavior: ... @property - def autoscaling_poller_behavior( - self, - ) -> global___WorkerConfig.AutoscalingPollerBehavior: ... + def autoscaling_poller_behavior(self) -> global___WorkerConfig.AutoscalingPollerBehavior: ... def __init__( self, *, workflow_cache_size: builtins.int = ..., simple_poller_behavior: global___WorkerConfig.SimplePollerBehavior | None = ..., - autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "autoscaling_poller_behavior", - b"autoscaling_poller_behavior", - "poller_behavior", - b"poller_behavior", - "simple_poller_behavior", - b"simple_poller_behavior", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "autoscaling_poller_behavior", - b"autoscaling_poller_behavior", - "poller_behavior", - b"poller_behavior", - "simple_poller_behavior", - b"simple_poller_behavior", - "workflow_cache_size", - b"workflow_cache_size", - ], + autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior | None = ..., ) -> None: ... - def WhichOneof( - self, - oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"], - ) -> ( - typing_extensions.Literal[ - "simple_poller_behavior", "autoscaling_poller_behavior" - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", b"poller_behavior", "simple_poller_behavior", b"simple_poller_behavior"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", b"poller_behavior", "simple_poller_behavior", b"simple_poller_behavior", "workflow_cache_size", b"workflow_cache_size"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"]) -> typing_extensions.Literal["simple_poller_behavior", "autoscaling_poller_behavior"] | None: ... global___WorkerConfig = WorkerConfig diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.py b/temporalio/api/sdk/v1/workflow_metadata_pb2.py index fabbe9403..b4e058545 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.py +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.py @@ -2,68 +2,54 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/workflow_metadata.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' -) -_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name["WorkflowMetadata"] -_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name["WorkflowDefinition"] -_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name[ - "WorkflowInteractionDefinition" -] -WorkflowMetadata = _reflection.GeneratedProtocolMessageType( - "WorkflowMetadata", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWMETADATA, - "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1\"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t\"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') + + + +_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name['WorkflowMetadata'] +_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name['WorkflowDefinition'] +_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name['WorkflowInteractionDefinition'] +WorkflowMetadata = _reflection.GeneratedProtocolMessageType('WorkflowMetadata', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWMETADATA, + '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) + }) _sym_db.RegisterMessage(WorkflowMetadata) -WorkflowDefinition = _reflection.GeneratedProtocolMessageType( - "WorkflowDefinition", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWDEFINITION, - "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) - }, -) +WorkflowDefinition = _reflection.GeneratedProtocolMessageType('WorkflowDefinition', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWDEFINITION, + '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) + }) _sym_db.RegisterMessage(WorkflowDefinition) -WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType( - "WorkflowInteractionDefinition", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWINTERACTIONDEFINITION, - "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) - }, -) +WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType('WorkflowInteractionDefinition', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWINTERACTIONDEFINITION, + '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) + }) _sym_db.RegisterMessage(WorkflowInteractionDefinition) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKFLOWMETADATA._serialized_start = 68 - _WORKFLOWMETADATA._serialized_end = 172 - _WORKFLOWDEFINITION._serialized_start = 175 - _WORKFLOWDEFINITION._serialized_end = 448 - _WORKFLOWINTERACTIONDEFINITION._serialized_start = 450 - _WORKFLOWINTERACTIONDEFINITION._serialized_end = 516 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' + _WORKFLOWMETADATA._serialized_start=68 + _WORKFLOWMETADATA._serialized_end=172 + _WORKFLOWDEFINITION._serialized_start=175 + _WORKFLOWDEFINITION._serialized_end=448 + _WORKFLOWINTERACTIONDEFINITION._serialized_start=450 + _WORKFLOWINTERACTIONDEFINITION._serialized_end=516 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi index ded58390b..2a41dfcfc 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -38,15 +36,8 @@ class WorkflowMetadata(google.protobuf.message.Message): definition: global___WorkflowDefinition | None = ..., current_details: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["definition", b"definition"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_details", b"current_details", "definition", b"definition" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["definition", b"definition"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_details", b"current_details", "definition", b"definition"]) -> None: ... global___WorkflowMetadata = WorkflowMetadata @@ -64,56 +55,23 @@ class WorkflowDefinition(google.protobuf.message.Message): If missing, this workflow is a dynamic workflow. """ @property - def query_definitions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition - ]: + def query_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: """Query definitions, sorted by name.""" @property - def signal_definitions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition - ]: + def signal_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: """Signal definitions, sorted by name.""" @property - def update_definitions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition - ]: + def update_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: """Update definitions, sorted by name.""" def __init__( self, *, type: builtins.str = ..., - query_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition - ] - | None = ..., - signal_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition - ] - | None = ..., - update_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "query_definitions", - b"query_definitions", - "signal_definitions", - b"signal_definitions", - "type", - b"type", - "update_definitions", - b"update_definitions", - ], + query_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., + signal_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., + update_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["query_definitions", b"query_definitions", "signal_definitions", b"signal_definitions", "type", b"type", "update_definitions", b"update_definitions"]) -> None: ... global___WorkflowDefinition = WorkflowDefinition @@ -143,11 +101,6 @@ class WorkflowInteractionDefinition(google.protobuf.message.Message): name: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "name", b"name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name"]) -> None: ... global___WorkflowInteractionDefinition = WorkflowInteractionDefinition diff --git a/temporalio/api/taskqueue/v1/__init__.py b/temporalio/api/taskqueue/v1/__init__.py index 888c7ff2a..4f1543d0d 100644 --- a/temporalio/api/taskqueue/v1/__init__.py +++ b/temporalio/api/taskqueue/v1/__init__.py @@ -1,30 +1,28 @@ -from .message_pb2 import ( - BuildIdAssignmentRule, - BuildIdReachability, - CompatibleBuildIdRedirectRule, - CompatibleVersionSet, - ConfigMetadata, - PollerInfo, - PollerScalingDecision, - RampByPercentage, - RateLimit, - RateLimitConfig, - StickyExecutionAttributes, - TaskIdBlock, - TaskQueue, - TaskQueueConfig, - TaskQueueMetadata, - TaskQueuePartitionMetadata, - TaskQueueReachability, - TaskQueueStats, - TaskQueueStatus, - TaskQueueTypeInfo, - TaskQueueVersionInfo, - TaskQueueVersioningInfo, - TaskQueueVersionSelection, - TimestampedBuildIdAssignmentRule, - TimestampedCompatibleBuildIdRedirectRule, -) +from .message_pb2 import TaskQueue +from .message_pb2 import TaskQueueMetadata +from .message_pb2 import TaskQueueVersioningInfo +from .message_pb2 import TaskQueueVersionSelection +from .message_pb2 import TaskQueueVersionInfo +from .message_pb2 import TaskQueueTypeInfo +from .message_pb2 import TaskQueueStats +from .message_pb2 import TaskQueueStatus +from .message_pb2 import TaskIdBlock +from .message_pb2 import TaskQueuePartitionMetadata +from .message_pb2 import PollerInfo +from .message_pb2 import StickyExecutionAttributes +from .message_pb2 import CompatibleVersionSet +from .message_pb2 import TaskQueueReachability +from .message_pb2 import BuildIdReachability +from .message_pb2 import RampByPercentage +from .message_pb2 import BuildIdAssignmentRule +from .message_pb2 import CompatibleBuildIdRedirectRule +from .message_pb2 import TimestampedBuildIdAssignmentRule +from .message_pb2 import TimestampedCompatibleBuildIdRedirectRule +from .message_pb2 import PollerScalingDecision +from .message_pb2 import RateLimit +from .message_pb2 import ConfigMetadata +from .message_pb2 import RateLimitConfig +from .message_pb2 import TaskQueueConfig __all__ = [ "BuildIdAssignmentRule", diff --git a/temporalio/api/taskqueue/v1/message_pb2.py b/temporalio/api/taskqueue/v1/message_pb2.py index 3eccbd5cc..ae047eede 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.py +++ b/temporalio/api/taskqueue/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/taskqueue/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,414 +15,286 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 - -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata"\xad\x01\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfigB\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3' -) - - -_TASKQUEUE = DESCRIPTOR.message_types_by_name["TaskQueue"] -_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name["TaskQueueMetadata"] -_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersioningInfo"] -_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name[ - "TaskQueueVersionSelection" -] -_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersionInfo"] -_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name[ - "TypesInfoEntry" -] -_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name["TaskQueueTypeInfo"] -_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name["TaskQueueStats"] -_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name["TaskQueueStatus"] -_TASKIDBLOCK = DESCRIPTOR.message_types_by_name["TaskIdBlock"] -_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name[ - "TaskQueuePartitionMetadata" -] -_POLLERINFO = DESCRIPTOR.message_types_by_name["PollerInfo"] -_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StickyExecutionAttributes" -] -_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name["CompatibleVersionSet"] -_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name["TaskQueueReachability"] -_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name["BuildIdReachability"] -_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name["RampByPercentage"] -_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name["BuildIdAssignmentRule"] -_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ - "CompatibleBuildIdRedirectRule" -] -_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name[ - "TimestampedBuildIdAssignmentRule" -] -_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ - "TimestampedCompatibleBuildIdRedirectRule" -] -_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name["PollerScalingDecision"] -_RATELIMIT = DESCRIPTOR.message_types_by_name["RateLimit"] -_CONFIGMETADATA = DESCRIPTOR.message_types_by_name["ConfigMetadata"] -_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name["RateLimitConfig"] -_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name["TaskQueueConfig"] -TaskQueue = _reflection.GeneratedProtocolMessageType( - "TaskQueue", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) - }, -) +from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08\"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01\"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02\"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock\"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability\"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02\"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp\"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t\"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05\"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata\"\xad\x01\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfigB\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3') + + + +_TASKQUEUE = DESCRIPTOR.message_types_by_name['TaskQueue'] +_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name['TaskQueueMetadata'] +_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name['TaskQueueVersioningInfo'] +_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name['TaskQueueVersionSelection'] +_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name['TaskQueueVersionInfo'] +_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name['TypesInfoEntry'] +_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name['TaskQueueTypeInfo'] +_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name['TaskQueueStats'] +_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name['TaskQueueStatus'] +_TASKIDBLOCK = DESCRIPTOR.message_types_by_name['TaskIdBlock'] +_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name['TaskQueuePartitionMetadata'] +_POLLERINFO = DESCRIPTOR.message_types_by_name['PollerInfo'] +_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name['StickyExecutionAttributes'] +_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name['CompatibleVersionSet'] +_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name['TaskQueueReachability'] +_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name['BuildIdReachability'] +_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name['RampByPercentage'] +_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name['BuildIdAssignmentRule'] +_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name['CompatibleBuildIdRedirectRule'] +_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name['TimestampedBuildIdAssignmentRule'] +_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name['TimestampedCompatibleBuildIdRedirectRule'] +_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name['PollerScalingDecision'] +_RATELIMIT = DESCRIPTOR.message_types_by_name['RateLimit'] +_CONFIGMETADATA = DESCRIPTOR.message_types_by_name['ConfigMetadata'] +_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name['RateLimitConfig'] +_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name['TaskQueueConfig'] +TaskQueue = _reflection.GeneratedProtocolMessageType('TaskQueue', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) + }) _sym_db.RegisterMessage(TaskQueue) -TaskQueueMetadata = _reflection.GeneratedProtocolMessageType( - "TaskQueueMetadata", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEMETADATA, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) - }, -) +TaskQueueMetadata = _reflection.GeneratedProtocolMessageType('TaskQueueMetadata', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEMETADATA, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) + }) _sym_db.RegisterMessage(TaskQueueMetadata) -TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersioningInfo", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONINGINFO, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) - }, -) +TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType('TaskQueueVersioningInfo', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEVERSIONINGINFO, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) + }) _sym_db.RegisterMessage(TaskQueueVersioningInfo) -TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersionSelection", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONSELECTION, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) - }, -) +TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType('TaskQueueVersionSelection', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEVERSIONSELECTION, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) + }) _sym_db.RegisterMessage(TaskQueueVersionSelection) -TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersionInfo", - (_message.Message,), - { - "TypesInfoEntry": _reflection.GeneratedProtocolMessageType( - "TypesInfoEntry", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) - }, - ), - "DESCRIPTOR": _TASKQUEUEVERSIONINFO, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) - }, -) +TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType('TaskQueueVersionInfo', (_message.Message,), { + + 'TypesInfoEntry' : _reflection.GeneratedProtocolMessageType('TypesInfoEntry', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) + }) + , + 'DESCRIPTOR' : _TASKQUEUEVERSIONINFO, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) + }) _sym_db.RegisterMessage(TaskQueueVersionInfo) _sym_db.RegisterMessage(TaskQueueVersionInfo.TypesInfoEntry) -TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueTypeInfo", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUETYPEINFO, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) - }, -) +TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType('TaskQueueTypeInfo', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUETYPEINFO, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) + }) _sym_db.RegisterMessage(TaskQueueTypeInfo) -TaskQueueStats = _reflection.GeneratedProtocolMessageType( - "TaskQueueStats", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUESTATS, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) - }, -) +TaskQueueStats = _reflection.GeneratedProtocolMessageType('TaskQueueStats', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUESTATS, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) + }) _sym_db.RegisterMessage(TaskQueueStats) -TaskQueueStatus = _reflection.GeneratedProtocolMessageType( - "TaskQueueStatus", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUESTATUS, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) - }, -) +TaskQueueStatus = _reflection.GeneratedProtocolMessageType('TaskQueueStatus', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUESTATUS, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) + }) _sym_db.RegisterMessage(TaskQueueStatus) -TaskIdBlock = _reflection.GeneratedProtocolMessageType( - "TaskIdBlock", - (_message.Message,), - { - "DESCRIPTOR": _TASKIDBLOCK, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) - }, -) +TaskIdBlock = _reflection.GeneratedProtocolMessageType('TaskIdBlock', (_message.Message,), { + 'DESCRIPTOR' : _TASKIDBLOCK, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) + }) _sym_db.RegisterMessage(TaskIdBlock) -TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType( - "TaskQueuePartitionMetadata", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEPARTITIONMETADATA, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) - }, -) +TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType('TaskQueuePartitionMetadata', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEPARTITIONMETADATA, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) + }) _sym_db.RegisterMessage(TaskQueuePartitionMetadata) -PollerInfo = _reflection.GeneratedProtocolMessageType( - "PollerInfo", - (_message.Message,), - { - "DESCRIPTOR": _POLLERINFO, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) - }, -) +PollerInfo = _reflection.GeneratedProtocolMessageType('PollerInfo', (_message.Message,), { + 'DESCRIPTOR' : _POLLERINFO, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) + }) _sym_db.RegisterMessage(PollerInfo) -StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType( - "StickyExecutionAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STICKYEXECUTIONATTRIBUTES, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) - }, -) +StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType('StickyExecutionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STICKYEXECUTIONATTRIBUTES, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) + }) _sym_db.RegisterMessage(StickyExecutionAttributes) -CompatibleVersionSet = _reflection.GeneratedProtocolMessageType( - "CompatibleVersionSet", - (_message.Message,), - { - "DESCRIPTOR": _COMPATIBLEVERSIONSET, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) - }, -) +CompatibleVersionSet = _reflection.GeneratedProtocolMessageType('CompatibleVersionSet', (_message.Message,), { + 'DESCRIPTOR' : _COMPATIBLEVERSIONSET, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) + }) _sym_db.RegisterMessage(CompatibleVersionSet) -TaskQueueReachability = _reflection.GeneratedProtocolMessageType( - "TaskQueueReachability", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEREACHABILITY, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) - }, -) +TaskQueueReachability = _reflection.GeneratedProtocolMessageType('TaskQueueReachability', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUEREACHABILITY, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) + }) _sym_db.RegisterMessage(TaskQueueReachability) -BuildIdReachability = _reflection.GeneratedProtocolMessageType( - "BuildIdReachability", - (_message.Message,), - { - "DESCRIPTOR": _BUILDIDREACHABILITY, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) - }, -) +BuildIdReachability = _reflection.GeneratedProtocolMessageType('BuildIdReachability', (_message.Message,), { + 'DESCRIPTOR' : _BUILDIDREACHABILITY, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) + }) _sym_db.RegisterMessage(BuildIdReachability) -RampByPercentage = _reflection.GeneratedProtocolMessageType( - "RampByPercentage", - (_message.Message,), - { - "DESCRIPTOR": _RAMPBYPERCENTAGE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) - }, -) +RampByPercentage = _reflection.GeneratedProtocolMessageType('RampByPercentage', (_message.Message,), { + 'DESCRIPTOR' : _RAMPBYPERCENTAGE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) + }) _sym_db.RegisterMessage(RampByPercentage) -BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( - "BuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _BUILDIDASSIGNMENTRULE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) - }, -) +BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType('BuildIdAssignmentRule', (_message.Message,), { + 'DESCRIPTOR' : _BUILDIDASSIGNMENTRULE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) + }) _sym_db.RegisterMessage(BuildIdAssignmentRule) -CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( - "CompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _COMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) - }, -) +CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType('CompatibleBuildIdRedirectRule', (_message.Message,), { + 'DESCRIPTOR' : _COMPATIBLEBUILDIDREDIRECTRULE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) + }) _sym_db.RegisterMessage(CompatibleBuildIdRedirectRule) -TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( - "TimestampedBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPEDBUILDIDASSIGNMENTRULE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) - }, -) +TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType('TimestampedBuildIdAssignmentRule', (_message.Message,), { + 'DESCRIPTOR' : _TIMESTAMPEDBUILDIDASSIGNMENTRULE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) + }) _sym_db.RegisterMessage(TimestampedBuildIdAssignmentRule) -TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( - "TimestampedCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) - }, -) +TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType('TimestampedCompatibleBuildIdRedirectRule', (_message.Message,), { + 'DESCRIPTOR' : _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) + }) _sym_db.RegisterMessage(TimestampedCompatibleBuildIdRedirectRule) -PollerScalingDecision = _reflection.GeneratedProtocolMessageType( - "PollerScalingDecision", - (_message.Message,), - { - "DESCRIPTOR": _POLLERSCALINGDECISION, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) - }, -) +PollerScalingDecision = _reflection.GeneratedProtocolMessageType('PollerScalingDecision', (_message.Message,), { + 'DESCRIPTOR' : _POLLERSCALINGDECISION, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) + }) _sym_db.RegisterMessage(PollerScalingDecision) -RateLimit = _reflection.GeneratedProtocolMessageType( - "RateLimit", - (_message.Message,), - { - "DESCRIPTOR": _RATELIMIT, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) - }, -) +RateLimit = _reflection.GeneratedProtocolMessageType('RateLimit', (_message.Message,), { + 'DESCRIPTOR' : _RATELIMIT, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) + }) _sym_db.RegisterMessage(RateLimit) -ConfigMetadata = _reflection.GeneratedProtocolMessageType( - "ConfigMetadata", - (_message.Message,), - { - "DESCRIPTOR": _CONFIGMETADATA, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) - }, -) +ConfigMetadata = _reflection.GeneratedProtocolMessageType('ConfigMetadata', (_message.Message,), { + 'DESCRIPTOR' : _CONFIGMETADATA, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) + }) _sym_db.RegisterMessage(ConfigMetadata) -RateLimitConfig = _reflection.GeneratedProtocolMessageType( - "RateLimitConfig", - (_message.Message,), - { - "DESCRIPTOR": _RATELIMITCONFIG, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) - }, -) +RateLimitConfig = _reflection.GeneratedProtocolMessageType('RateLimitConfig', (_message.Message,), { + 'DESCRIPTOR' : _RATELIMITCONFIG, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) + }) _sym_db.RegisterMessage(RateLimitConfig) -TaskQueueConfig = _reflection.GeneratedProtocolMessageType( - "TaskQueueConfig", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUECONFIG, - "__module__": "temporal.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) - }, -) +TaskQueueConfig = _reflection.GeneratedProtocolMessageType('TaskQueueConfig', (_message.Message,), { + 'DESCRIPTOR' : _TASKQUEUECONFIG, + '__module__' : 'temporal.api.taskqueue.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) + }) _sym_db.RegisterMessage(TaskQueueConfig) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" - _TASKQUEUEVERSIONINGINFO.fields_by_name["current_version"]._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name[ - "current_version" - ]._serialized_options = b"\030\001" - _TASKQUEUEVERSIONINGINFO.fields_by_name["ramping_version"]._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name[ - "ramping_version" - ]._serialized_options = b"\030\001" - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b"8\001" - _POLLERINFO.fields_by_name["worker_version_capabilities"]._options = None - _POLLERINFO.fields_by_name[ - "worker_version_capabilities" - ]._serialized_options = b"\030\001" - _TASKQUEUE._serialized_start = 287 - _TASKQUEUE._serialized_end = 385 - _TASKQUEUEMETADATA._serialized_start = 387 - _TASKQUEUEMETADATA._serialized_end = 466 - _TASKQUEUEVERSIONINGINFO._serialized_start = 469 - _TASKQUEUEVERSIONINGINFO._serialized_end = 815 - _TASKQUEUEVERSIONSELECTION._serialized_start = 817 - _TASKQUEUEVERSIONSELECTION._serialized_end = 904 - _TASKQUEUEVERSIONINFO._serialized_start = 907 - _TASKQUEUEVERSIONINFO._serialized_end = 1184 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start = 1090 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end = 1184 - _TASKQUEUETYPEINFO._serialized_start = 1187 - _TASKQUEUETYPEINFO._serialized_end = 1320 - _TASKQUEUESTATS._serialized_start = 1323 - _TASKQUEUESTATS._serialized_end = 1487 - _TASKQUEUESTATUS._serialized_start = 1490 - _TASKQUEUESTATUS._serialized_end = 1662 - _TASKIDBLOCK._serialized_start = 1664 - _TASKIDBLOCK._serialized_end = 1711 - _TASKQUEUEPARTITIONMETADATA._serialized_start = 1713 - _TASKQUEUEPARTITIONMETADATA._serialized_end = 1779 - _POLLERINFO._serialized_start = 1782 - _POLLERINFO._serialized_end = 2064 - _STICKYEXECUTIONATTRIBUTES._serialized_start = 2067 - _STICKYEXECUTIONATTRIBUTES._serialized_end = 2221 - _COMPATIBLEVERSIONSET._serialized_start = 2223 - _COMPATIBLEVERSIONSET._serialized_end = 2264 - _TASKQUEUEREACHABILITY._serialized_start = 2266 - _TASKQUEUEREACHABILITY._serialized_end = 2372 - _BUILDIDREACHABILITY._serialized_start = 2374 - _BUILDIDREACHABILITY._serialized_end = 2496 - _RAMPBYPERCENTAGE._serialized_start = 2498 - _RAMPBYPERCENTAGE._serialized_end = 2541 - _BUILDIDASSIGNMENTRULE._serialized_start = 2544 - _BUILDIDASSIGNMENTRULE._serialized_end = 2672 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2674 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 2755 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start = 2758 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end = 2905 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2908 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 3071 - _POLLERSCALINGDECISION._serialized_start = 3073 - _POLLERSCALINGDECISION._serialized_end = 3135 - _RATELIMIT._serialized_start = 3137 - _RATELIMIT._serialized_end = 3177 - _CONFIGMETADATA._serialized_start = 3179 - _CONFIGMETADATA._serialized_end = 3285 - _RATELIMITCONFIG._serialized_start = 3288 - _RATELIMITCONFIG._serialized_end = 3424 - _TASKQUEUECONFIG._serialized_start = 3427 - _TASKQUEUECONFIG._serialized_end = 3600 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1' + _TASKQUEUEVERSIONINGINFO.fields_by_name['current_version']._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name['current_version']._serialized_options = b'\030\001' + _TASKQUEUEVERSIONINGINFO.fields_by_name['ramping_version']._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name['ramping_version']._serialized_options = b'\030\001' + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b'8\001' + _POLLERINFO.fields_by_name['worker_version_capabilities']._options = None + _POLLERINFO.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' + _TASKQUEUE._serialized_start=287 + _TASKQUEUE._serialized_end=385 + _TASKQUEUEMETADATA._serialized_start=387 + _TASKQUEUEMETADATA._serialized_end=466 + _TASKQUEUEVERSIONINGINFO._serialized_start=469 + _TASKQUEUEVERSIONINGINFO._serialized_end=815 + _TASKQUEUEVERSIONSELECTION._serialized_start=817 + _TASKQUEUEVERSIONSELECTION._serialized_end=904 + _TASKQUEUEVERSIONINFO._serialized_start=907 + _TASKQUEUEVERSIONINFO._serialized_end=1184 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start=1090 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end=1184 + _TASKQUEUETYPEINFO._serialized_start=1187 + _TASKQUEUETYPEINFO._serialized_end=1320 + _TASKQUEUESTATS._serialized_start=1323 + _TASKQUEUESTATS._serialized_end=1487 + _TASKQUEUESTATUS._serialized_start=1490 + _TASKQUEUESTATUS._serialized_end=1662 + _TASKIDBLOCK._serialized_start=1664 + _TASKIDBLOCK._serialized_end=1711 + _TASKQUEUEPARTITIONMETADATA._serialized_start=1713 + _TASKQUEUEPARTITIONMETADATA._serialized_end=1779 + _POLLERINFO._serialized_start=1782 + _POLLERINFO._serialized_end=2064 + _STICKYEXECUTIONATTRIBUTES._serialized_start=2067 + _STICKYEXECUTIONATTRIBUTES._serialized_end=2221 + _COMPATIBLEVERSIONSET._serialized_start=2223 + _COMPATIBLEVERSIONSET._serialized_end=2264 + _TASKQUEUEREACHABILITY._serialized_start=2266 + _TASKQUEUEREACHABILITY._serialized_end=2372 + _BUILDIDREACHABILITY._serialized_start=2374 + _BUILDIDREACHABILITY._serialized_end=2496 + _RAMPBYPERCENTAGE._serialized_start=2498 + _RAMPBYPERCENTAGE._serialized_end=2541 + _BUILDIDASSIGNMENTRULE._serialized_start=2544 + _BUILDIDASSIGNMENTRULE._serialized_end=2672 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start=2674 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end=2755 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start=2758 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end=2905 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=2908 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=3071 + _POLLERSCALINGDECISION._serialized_start=3073 + _POLLERSCALINGDECISION._serialized_end=3135 + _RATELIMIT._serialized_start=3137 + _RATELIMIT._serialized_end=3177 + _CONFIGMETADATA._serialized_start=3179 + _CONFIGMETADATA._serialized_end=3285 + _RATELIMITCONFIG._serialized_start=3288 + _RATELIMITCONFIG._serialized_end=3424 + _TASKQUEUECONFIG._serialized_start=3427 + _TASKQUEUECONFIG._serialized_end=3600 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/taskqueue/v1/message_pb2.pyi b/temporalio/api/taskqueue/v1/message_pb2.pyi index 7ea6e9fdb..d04b70dae 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.pyi +++ b/temporalio/api/taskqueue/v1/message_pb2.pyi @@ -2,18 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 import google.protobuf.wrappers_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.task_queue_pb2 @@ -47,12 +44,7 @@ class TaskQueue(google.protobuf.message.Message): kind: temporalio.api.enums.v1.task_queue_pb2.TaskQueueKind.ValueType = ..., normal_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "kind", b"kind", "name", b"name", "normal_name", b"normal_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["kind", b"kind", "name", b"name", "normal_name", b"normal_name"]) -> None: ... global___TaskQueue = TaskQueue @@ -70,18 +62,8 @@ class TaskQueueMetadata(google.protobuf.message.Message): *, max_tasks_per_second: google.protobuf.wrappers_pb2.DoubleValue | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "max_tasks_per_second", b"max_tasks_per_second" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "max_tasks_per_second", b"max_tasks_per_second" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["max_tasks_per_second", b"max_tasks_per_second"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["max_tasks_per_second", b"max_tasks_per_second"]) -> None: ... global___TaskQueueMetadata = TaskQueueMetadata @@ -97,9 +79,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): RAMPING_VERSION_PERCENTAGE_FIELD_NUMBER: builtins.int UPDATE_TIME_FIELD_NUMBER: builtins.int @property - def current_deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def current_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) @@ -109,9 +89,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): current_version: builtins.str """Deprecated. Use `current_deployment_version`.""" @property - def ramping_deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def ramping_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. Must always be different from `current_deployment_version` unless both are nil. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) @@ -132,43 +110,15 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): def __init__( self, *, - current_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + current_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., current_version: builtins.str = ..., - ramping_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + ramping_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_version", - b"current_deployment_version", - "ramping_deployment_version", - b"ramping_deployment_version", - "update_time", - b"update_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_version", - b"current_deployment_version", - "current_version", - b"current_version", - "ramping_deployment_version", - b"ramping_deployment_version", - "ramping_version", - b"ramping_version", - "ramping_version_percentage", - b"ramping_version_percentage", - "update_time", - b"update_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "ramping_deployment_version", b"ramping_deployment_version", "update_time", b"update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version", b"current_version", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version", b"ramping_version", "ramping_version_percentage", b"ramping_version_percentage", "update_time", b"update_time"]) -> None: ... global___TaskQueueVersioningInfo = TaskQueueVersioningInfo @@ -181,9 +131,7 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): UNVERSIONED_FIELD_NUMBER: builtins.int ALL_ACTIVE_FIELD_NUMBER: builtins.int @property - def build_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Include specific Build IDs.""" unversioned: builtins.bool """Include the unversioned queue.""" @@ -198,17 +146,7 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): unversioned: builtins.bool = ..., all_active: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "all_active", - b"all_active", - "build_ids", - b"build_ids", - "unversioned", - b"unversioned", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["all_active", b"all_active", "build_ids", b"build_ids", "unversioned", b"unversioned"]) -> None: ... global___TaskQueueVersionSelection = TaskQueueVersionSelection @@ -229,26 +167,15 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): key: builtins.int = ..., value: global___TaskQueueTypeInfo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... TYPES_INFO_FIELD_NUMBER: builtins.int TASK_REACHABILITY_FIELD_NUMBER: builtins.int @property - def types_info( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.int, global___TaskQueueTypeInfo - ]: + def types_info(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, global___TaskQueueTypeInfo]: """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" - task_reachability: ( - temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType - ) + task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType """Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. @@ -262,16 +189,10 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): def __init__( self, *, - types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] - | None = ..., + types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] | None = ..., task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "task_reachability", b"task_reachability", "types_info", b"types_info" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["task_reachability", b"task_reachability", "types_info", b"types_info"]) -> None: ... global___TaskQueueVersionInfo = TaskQueueVersionInfo @@ -281,11 +202,7 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): POLLERS_FIELD_NUMBER: builtins.int STATS_FIELD_NUMBER: builtins.int @property - def pollers( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PollerInfo - ]: + def pollers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PollerInfo]: """Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID.""" @property def stats(self) -> global___TaskQueueStats: ... @@ -295,13 +212,8 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): pollers: collections.abc.Iterable[global___PollerInfo] | None = ..., stats: global___TaskQueueStats | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["stats", b"stats"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["stats", b"stats"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"]) -> None: ... global___TaskQueueTypeInfo = TaskQueueTypeInfo @@ -375,25 +287,8 @@ class TaskQueueStats(google.protobuf.message.Message): tasks_add_rate: builtins.float = ..., tasks_dispatch_rate: builtins.float = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "approximate_backlog_age", b"approximate_backlog_age" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "approximate_backlog_age", - b"approximate_backlog_age", - "approximate_backlog_count", - b"approximate_backlog_count", - "tasks_add_rate", - b"tasks_add_rate", - "tasks_dispatch_rate", - b"tasks_dispatch_rate", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["approximate_backlog_age", b"approximate_backlog_age"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["approximate_backlog_age", b"approximate_backlog_age", "approximate_backlog_count", b"approximate_backlog_count", "tasks_add_rate", b"tasks_add_rate", "tasks_dispatch_rate", b"tasks_dispatch_rate"]) -> None: ... global___TaskQueueStats = TaskQueueStats @@ -422,24 +317,8 @@ class TaskQueueStatus(google.protobuf.message.Message): rate_per_second: builtins.float = ..., task_id_block: global___TaskIdBlock | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ack_level", - b"ack_level", - "backlog_count_hint", - b"backlog_count_hint", - "rate_per_second", - b"rate_per_second", - "read_level", - b"read_level", - "task_id_block", - b"task_id_block", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["ack_level", b"ack_level", "backlog_count_hint", b"backlog_count_hint", "rate_per_second", b"rate_per_second", "read_level", b"read_level", "task_id_block", b"task_id_block"]) -> None: ... global___TaskQueueStatus = TaskQueueStatus @@ -456,12 +335,7 @@ class TaskIdBlock(google.protobuf.message.Message): start_id: builtins.int = ..., end_id: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_id", b"end_id", "start_id", b"start_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["end_id", b"end_id", "start_id", b"start_id"]) -> None: ... global___TaskIdBlock = TaskIdBlock @@ -478,12 +352,7 @@ class TaskQueuePartitionMetadata(google.protobuf.message.Message): key: builtins.str = ..., owner_host_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "key", b"key", "owner_host_name", b"owner_host_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "owner_host_name", b"owner_host_name"]) -> None: ... global___TaskQueuePartitionMetadata = TaskQueuePartitionMetadata @@ -500,17 +369,13 @@ class PollerInfo(google.protobuf.message.Message): identity: builtins.str rate_per_second: builtins.float @property - def worker_version_capabilities( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """If a worker has opted into the worker versioning feature while polling, its capabilities will appear here. Deprecated. Replaced by deployment_options. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that SDK sent to server.""" def __init__( self, @@ -518,37 +383,11 @@ class PollerInfo(google.protobuf.message.Message): last_access_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., identity: builtins.str = ..., rate_per_second: builtins.float = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities - | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "last_access_time", - b"last_access_time", - "worker_version_capabilities", - b"worker_version_capabilities", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "identity", - b"identity", - "last_access_time", - b"last_access_time", - "rate_per_second", - b"rate_per_second", - "worker_version_capabilities", - b"worker_version_capabilities", - ], + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "last_access_time", b"last_access_time", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "last_access_time", b"last_access_time", "rate_per_second", b"rate_per_second", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollerInfo = PollerInfo @@ -562,7 +401,7 @@ class StickyExecutionAttributes(google.protobuf.message.Message): @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """(-- api-linter: core::0140::prepositions=disabled - aip.dev/not-precedent: "to" is used to indicate interval. --) + aip.dev/not-precedent: "to" is used to indicate interval. --) """ def __init__( self, @@ -570,24 +409,8 @@ class StickyExecutionAttributes(google.protobuf.message.Message): worker_task_queue: global___TaskQueue | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "worker_task_queue", - b"worker_task_queue", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "worker_task_queue", - b"worker_task_queue", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", b"worker_task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", b"worker_task_queue"]) -> None: ... global___StickyExecutionAttributes = StickyExecutionAttributes @@ -600,18 +423,14 @@ class CompatibleVersionSet(google.protobuf.message.Message): BUILD_IDS_FIELD_NUMBER: builtins.int @property - def build_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """All the compatible versions, unordered, except for the last element, which is considered the set "default".""" def __init__( self, *, build_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["build_ids", b"build_ids"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_ids", b"build_ids"]) -> None: ... global___CompatibleVersionSet = CompatibleVersionSet @@ -624,11 +443,7 @@ class TaskQueueReachability(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int task_queue: builtins.str @property - def reachability( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType - ]: + def reachability(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType]: """Task reachability for a worker in a single task queue. See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. @@ -637,17 +452,9 @@ class TaskQueueReachability(google.protobuf.message.Message): self, *, task_queue: builtins.str = ..., - reachability: collections.abc.Iterable[ - temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "reachability", b"reachability", "task_queue", b"task_queue" - ], + reachability: collections.abc.Iterable[temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["reachability", b"reachability", "task_queue", b"task_queue"]) -> None: ... global___TaskQueueReachability = TaskQueueReachability @@ -661,30 +468,15 @@ class BuildIdReachability(google.protobuf.message.Message): build_id: builtins.str """A build id or empty if unversioned.""" @property - def task_queue_reachability( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___TaskQueueReachability - ]: + def task_queue_reachability(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TaskQueueReachability]: """Reachability per task queue.""" def __init__( self, *, build_id: builtins.str = ..., - task_queue_reachability: collections.abc.Iterable[ - global___TaskQueueReachability - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "task_queue_reachability", - b"task_queue_reachability", - ], + task_queue_reachability: collections.abc.Iterable[global___TaskQueueReachability] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "task_queue_reachability", b"task_queue_reachability"]) -> None: ... global___BuildIdReachability = BuildIdReachability @@ -699,10 +491,7 @@ class RampByPercentage(google.protobuf.message.Message): *, ramp_percentage: builtins.float = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"]) -> None: ... global___RampByPercentage = RampByPercentage @@ -763,26 +552,9 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): target_build_id: builtins.str = ..., percentage_ramp: global___RampByPercentage | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "percentage_ramp", b"percentage_ramp", "ramp", b"ramp" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "percentage_ramp", - b"percentage_ramp", - "ramp", - b"ramp", - "target_build_id", - b"target_build_id", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["ramp", b"ramp"] - ) -> typing_extensions.Literal["percentage_ramp"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["percentage_ramp", b"percentage_ramp", "ramp", b"ramp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["percentage_ramp", b"percentage_ramp", "ramp", b"ramp", "target_build_id", b"target_build_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["ramp", b"ramp"]) -> typing_extensions.Literal["percentage_ramp"] | None: ... global___BuildIdAssignmentRule = BuildIdAssignmentRule @@ -826,12 +598,7 @@ class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): source_build_id: builtins.str = ..., target_build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "source_build_id", b"source_build_id", "target_build_id", b"target_build_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["source_build_id", b"source_build_id", "target_build_id", b"target_build_id"]) -> None: ... global___CompatibleBuildIdRedirectRule = CompatibleBuildIdRedirectRule @@ -850,18 +617,8 @@ class TimestampedBuildIdAssignmentRule(google.protobuf.message.Message): rule: global___BuildIdAssignmentRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> None: ... global___TimestampedBuildIdAssignmentRule = TimestampedBuildIdAssignmentRule @@ -880,22 +637,10 @@ class TimestampedCompatibleBuildIdRedirectRule(google.protobuf.message.Message): rule: global___CompatibleBuildIdRedirectRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> None: ... -global___TimestampedCompatibleBuildIdRedirectRule = ( - TimestampedCompatibleBuildIdRedirectRule -) +global___TimestampedCompatibleBuildIdRedirectRule = TimestampedCompatibleBuildIdRedirectRule class PollerScalingDecision(google.protobuf.message.Message): """Attached to task responses to give hints to the SDK about how it may adjust its number of @@ -918,12 +663,7 @@ class PollerScalingDecision(google.protobuf.message.Message): *, poll_request_delta_suggestion: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "poll_request_delta_suggestion", b"poll_request_delta_suggestion" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["poll_request_delta_suggestion", b"poll_request_delta_suggestion"]) -> None: ... global___PollerScalingDecision = PollerScalingDecision @@ -938,12 +678,7 @@ class RateLimit(google.protobuf.message.Message): *, requests_per_second: builtins.float = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "requests_per_second", b"requests_per_second" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["requests_per_second", b"requests_per_second"]) -> None: ... global___RateLimit = RateLimit @@ -969,20 +704,8 @@ class ConfigMetadata(google.protobuf.message.Message): update_identity: builtins.str = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["update_time", b"update_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "reason", - b"reason", - "update_identity", - b"update_identity", - "update_time", - b"update_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_time", b"update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "update_identity", b"update_identity", "update_time", b"update_time"]) -> None: ... global___ConfigMetadata = ConfigMetadata @@ -1001,18 +724,8 @@ class RateLimitConfig(google.protobuf.message.Message): rate_limit: global___RateLimit | None = ..., metadata: global___ConfigMetadata | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "metadata", b"metadata", "rate_limit", b"rate_limit" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "metadata", b"metadata", "rate_limit", b"rate_limit" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "rate_limit", b"rate_limit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "rate_limit", b"rate_limit"]) -> None: ... global___RateLimitConfig = RateLimitConfig @@ -1033,23 +746,7 @@ class TaskQueueConfig(google.protobuf.message.Message): queue_rate_limit: global___RateLimitConfig | None = ..., fairness_keys_rate_limit_default: global___RateLimitConfig | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "fairness_keys_rate_limit_default", - b"fairness_keys_rate_limit_default", - "queue_rate_limit", - b"queue_rate_limit", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "fairness_keys_rate_limit_default", - b"fairness_keys_rate_limit_default", - "queue_rate_limit", - b"queue_rate_limit", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", b"queue_rate_limit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", b"queue_rate_limit"]) -> None: ... global___TaskQueueConfig = TaskQueueConfig diff --git a/temporalio/api/testservice/v1/__init__.py b/temporalio/api/testservice/v1/__init__.py index 8539030d3..79c102049 100644 --- a/temporalio/api/testservice/v1/__init__.py +++ b/temporalio/api/testservice/v1/__init__.py @@ -1,13 +1,11 @@ -from .request_response_pb2 import ( - GetCurrentTimeResponse, - LockTimeSkippingRequest, - LockTimeSkippingResponse, - SleepRequest, - SleepResponse, - SleepUntilRequest, - UnlockTimeSkippingRequest, - UnlockTimeSkippingResponse, -) +from .request_response_pb2 import LockTimeSkippingRequest +from .request_response_pb2 import LockTimeSkippingResponse +from .request_response_pb2 import UnlockTimeSkippingRequest +from .request_response_pb2 import UnlockTimeSkippingResponse +from .request_response_pb2 import SleepUntilRequest +from .request_response_pb2 import SleepRequest +from .request_response_pb2 import SleepResponse +from .request_response_pb2 import GetCurrentTimeResponse __all__ = [ "GetCurrentTimeResponse", @@ -23,15 +21,9 @@ # gRPC is optional try: import grpc - - from .service_pb2_grpc import ( - TestServiceServicer, - TestServiceStub, - add_TestServiceServicer_to_server, - ) - - __all__.extend( - ["TestServiceServicer", "TestServiceStub", "add_TestServiceServicer_to_server"] - ) + from .service_pb2_grpc import add_TestServiceServicer_to_server + from .service_pb2_grpc import TestServiceStub + from .service_pb2_grpc import TestServiceServicer + __all__.extend(["TestServiceServicer", "TestServiceStub", "add_TestServiceServicer_to_server"]) except ImportError: - pass + pass \ No newline at end of file diff --git a/temporalio/api/testservice/v1/request_response_pb2.py b/temporalio/api/testservice/v1/request_response_pb2.py index 51ef70f65..4ec71d0b9 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.py +++ b/temporalio/api/testservice/v1/request_response_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/testservice/v1/request_response.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,128 +15,93 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x19\n\x17LockTimeSkippingRequest"\x1a\n\x18LockTimeSkippingResponse"\x1b\n\x19UnlockTimeSkippingRequest"\x1c\n\x1aUnlockTimeSkippingResponse"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration"\x0f\n\rSleepResponse"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' -) - - -_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name["LockTimeSkippingRequest"] -_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name["LockTimeSkippingResponse"] -_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name[ - "UnlockTimeSkippingRequest" -] -_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UnlockTimeSkippingResponse" -] -_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name["SleepUntilRequest"] -_SLEEPREQUEST = DESCRIPTOR.message_types_by_name["SleepRequest"] -_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name["SleepResponse"] -_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name["GetCurrentTimeResponse"] -LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( - "LockTimeSkippingRequest", - (_message.Message,), - { - "DESCRIPTOR": _LOCKTIMESKIPPINGREQUEST, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x19\n\x17LockTimeSkippingRequest\"\x1a\n\x18LockTimeSkippingResponse\"\x1b\n\x19UnlockTimeSkippingRequest\"\x1c\n\x1aUnlockTimeSkippingResponse\"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x0f\n\rSleepResponse\"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3') + + + +_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name['LockTimeSkippingRequest'] +_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name['LockTimeSkippingResponse'] +_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name['UnlockTimeSkippingRequest'] +_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name['UnlockTimeSkippingResponse'] +_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name['SleepUntilRequest'] +_SLEEPREQUEST = DESCRIPTOR.message_types_by_name['SleepRequest'] +_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name['SleepResponse'] +_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name['GetCurrentTimeResponse'] +LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType('LockTimeSkippingRequest', (_message.Message,), { + 'DESCRIPTOR' : _LOCKTIMESKIPPINGREQUEST, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) + }) _sym_db.RegisterMessage(LockTimeSkippingRequest) -LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( - "LockTimeSkippingResponse", - (_message.Message,), - { - "DESCRIPTOR": _LOCKTIMESKIPPINGRESPONSE, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) - }, -) +LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType('LockTimeSkippingResponse', (_message.Message,), { + 'DESCRIPTOR' : _LOCKTIMESKIPPINGRESPONSE, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) + }) _sym_db.RegisterMessage(LockTimeSkippingResponse) -UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( - "UnlockTimeSkippingRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNLOCKTIMESKIPPINGREQUEST, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) - }, -) +UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType('UnlockTimeSkippingRequest', (_message.Message,), { + 'DESCRIPTOR' : _UNLOCKTIMESKIPPINGREQUEST, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) + }) _sym_db.RegisterMessage(UnlockTimeSkippingRequest) -UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( - "UnlockTimeSkippingResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNLOCKTIMESKIPPINGRESPONSE, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) - }, -) +UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType('UnlockTimeSkippingResponse', (_message.Message,), { + 'DESCRIPTOR' : _UNLOCKTIMESKIPPINGRESPONSE, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) + }) _sym_db.RegisterMessage(UnlockTimeSkippingResponse) -SleepUntilRequest = _reflection.GeneratedProtocolMessageType( - "SleepUntilRequest", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPUNTILREQUEST, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) - }, -) +SleepUntilRequest = _reflection.GeneratedProtocolMessageType('SleepUntilRequest', (_message.Message,), { + 'DESCRIPTOR' : _SLEEPUNTILREQUEST, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) + }) _sym_db.RegisterMessage(SleepUntilRequest) -SleepRequest = _reflection.GeneratedProtocolMessageType( - "SleepRequest", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPREQUEST, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) - }, -) +SleepRequest = _reflection.GeneratedProtocolMessageType('SleepRequest', (_message.Message,), { + 'DESCRIPTOR' : _SLEEPREQUEST, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) + }) _sym_db.RegisterMessage(SleepRequest) -SleepResponse = _reflection.GeneratedProtocolMessageType( - "SleepResponse", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPRESPONSE, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) - }, -) +SleepResponse = _reflection.GeneratedProtocolMessageType('SleepResponse', (_message.Message,), { + 'DESCRIPTOR' : _SLEEPRESPONSE, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) + }) _sym_db.RegisterMessage(SleepResponse) -GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType( - "GetCurrentTimeResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTTIMERESPONSE, - "__module__": "temporal.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) - }, -) +GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType('GetCurrentTimeResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETCURRENTTIMERESPONSE, + '__module__' : 'temporal.api.testservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) + }) _sym_db.RegisterMessage(GetCurrentTimeResponse) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _LOCKTIMESKIPPINGREQUEST._serialized_start = 148 - _LOCKTIMESKIPPINGREQUEST._serialized_end = 173 - _LOCKTIMESKIPPINGRESPONSE._serialized_start = 175 - _LOCKTIMESKIPPINGRESPONSE._serialized_end = 201 - _UNLOCKTIMESKIPPINGREQUEST._serialized_start = 203 - _UNLOCKTIMESKIPPINGREQUEST._serialized_end = 230 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_start = 232 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_end = 260 - _SLEEPUNTILREQUEST._serialized_start = 262 - _SLEEPUNTILREQUEST._serialized_end = 328 - _SLEEPREQUEST._serialized_start = 330 - _SLEEPREQUEST._serialized_end = 389 - _SLEEPRESPONSE._serialized_start = 391 - _SLEEPRESPONSE._serialized_end = 406 - _GETCURRENTTIMERESPONSE._serialized_start = 408 - _GETCURRENTTIMERESPONSE._serialized_end = 474 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1' + _LOCKTIMESKIPPINGREQUEST._serialized_start=148 + _LOCKTIMESKIPPINGREQUEST._serialized_end=173 + _LOCKTIMESKIPPINGRESPONSE._serialized_start=175 + _LOCKTIMESKIPPINGRESPONSE._serialized_end=201 + _UNLOCKTIMESKIPPINGREQUEST._serialized_start=203 + _UNLOCKTIMESKIPPINGREQUEST._serialized_end=230 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_start=232 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_end=260 + _SLEEPUNTILREQUEST._serialized_start=262 + _SLEEPUNTILREQUEST._serialized_end=328 + _SLEEPREQUEST._serialized_start=330 + _SLEEPREQUEST._serialized_end=389 + _SLEEPRESPONSE._serialized_start=391 + _SLEEPRESPONSE._serialized_end=406 + _GETCURRENTTIMERESPONSE._serialized_start=408 + _GETCURRENTTIMERESPONSE._serialized_end=474 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/request_response_pb2.pyi b/temporalio/api/testservice/v1/request_response_pb2.pyi index e86bba03d..3b4806e31 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2.pyi @@ -23,14 +23,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -86,12 +84,8 @@ class SleepUntilRequest(google.protobuf.message.Message): *, timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> None: ... global___SleepUntilRequest = SleepUntilRequest @@ -106,12 +100,8 @@ class SleepRequest(google.protobuf.message.Message): *, duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["duration", b"duration"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["duration", b"duration"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["duration", b"duration"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["duration", b"duration"]) -> None: ... global___SleepRequest = SleepRequest @@ -135,11 +125,7 @@ class GetCurrentTimeResponse(google.protobuf.message.Message): *, time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["time", b"time"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["time", b"time"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["time", b"time"]) -> None: ... global___GetCurrentTimeResponse = GetCurrentTimeResponse diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.py b/temporalio/api/testservice/v1/request_response_pb2_grpc.py index bf947056a..2daafffeb 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc + diff --git a/temporalio/api/testservice/v1/service_pb2.py b/temporalio/api/testservice/v1/service_pb2.py index 86a4260fd..27b2149e4 100644 --- a/temporalio/api/testservice/v1/service_pb2.py +++ b/temporalio/api/testservice/v1/service_pb2.py @@ -2,33 +2,29 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/testservice/v1/service.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.testservice.v1 import request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.testservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse\"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse\"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse\"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3') -_TESTSERVICE = DESCRIPTOR.services_by_name["TestService"] + +_TESTSERVICE = DESCRIPTOR.services_by_name['TestService'] if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _TESTSERVICE._serialized_start = 156 - _TESTSERVICE._serialized_end = 862 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1' + _TESTSERVICE._serialized_start=156 + _TESTSERVICE._serialized_end=862 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/service_pb2.pyi b/temporalio/api/testservice/v1/service_pb2.pyi index 39652214d..7f4bb335b 100644 --- a/temporalio/api/testservice/v1/service_pb2.pyi +++ b/temporalio/api/testservice/v1/service_pb2.pyi @@ -23,7 +23,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.py b/temporalio/api/testservice/v1/service_pb2_grpc.py index 56893d1d1..329d2cbef 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.py +++ b/temporalio/api/testservice/v1/service_pb2_grpc.py @@ -1,12 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.testservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, -) +from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from temporalio.api.testservice.v1 import request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2 class TestServiceStub(object): @@ -23,35 +20,35 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.LockTimeSkipping = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/LockTimeSkipping", - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/LockTimeSkipping', + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, + ) self.UnlockTimeSkipping = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/UnlockTimeSkipping', + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, + ) self.Sleep = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/Sleep", - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/Sleep', + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.SleepUntil = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/SleepUntil", - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/SleepUntil', + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.UnlockTimeSkippingWithSleep = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep', + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.GetCurrentTime = channel.unary_unary( - "/temporal.api.testservice.v1.TestService/GetCurrentTime", - request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, - ) + '/temporal.api.testservice.v1.TestService/GetCurrentTime', + request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, + ) class TestServiceServicer(object): @@ -71,8 +68,8 @@ def LockTimeSkipping(self, request, context): LockTimeSkipping and UnlockTimeSkipping calls are counted. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnlockTimeSkipping(self, request, context): """UnlockTimeSkipping decrements Time Locking Counter by one. @@ -84,16 +81,16 @@ def UnlockTimeSkipping(self, request, context): Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Sleep(self, request, context): """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SleepUntil(self, request, context): """This call returns only when the Test Server Time advances to the specified timestamp. @@ -101,8 +98,8 @@ def SleepUntil(self, request, context): This is an EXPERIMENTAL API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnlockTimeSkippingWithSleep(self, request, context): """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back @@ -116,8 +113,8 @@ def UnlockTimeSkippingWithSleep(self, request, context): - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetCurrentTime(self, request, context): """GetCurrentTime returns the current Temporal Test Server time @@ -125,50 +122,49 @@ def GetCurrentTime(self, request, context): This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_TestServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "LockTimeSkipping": grpc.unary_unary_rpc_method_handler( - servicer.LockTimeSkipping, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.SerializeToString, - ), - "UnlockTimeSkipping": grpc.unary_unary_rpc_method_handler( - servicer.UnlockTimeSkipping, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.SerializeToString, - ), - "Sleep": grpc.unary_unary_rpc_method_handler( - servicer.Sleep, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - "SleepUntil": grpc.unary_unary_rpc_method_handler( - servicer.SleepUntil, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - "UnlockTimeSkippingWithSleep": grpc.unary_unary_rpc_method_handler( - servicer.UnlockTimeSkippingWithSleep, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - "GetCurrentTime": grpc.unary_unary_rpc_method_handler( - servicer.GetCurrentTime, - request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.SerializeToString, - ), + 'LockTimeSkipping': grpc.unary_unary_rpc_method_handler( + servicer.LockTimeSkipping, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.SerializeToString, + ), + 'UnlockTimeSkipping': grpc.unary_unary_rpc_method_handler( + servicer.UnlockTimeSkipping, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.SerializeToString, + ), + 'Sleep': grpc.unary_unary_rpc_method_handler( + servicer.Sleep, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + 'SleepUntil': grpc.unary_unary_rpc_method_handler( + servicer.SleepUntil, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + 'UnlockTimeSkippingWithSleep': grpc.unary_unary_rpc_method_handler( + servicer.UnlockTimeSkippingWithSleep, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + 'GetCurrentTime': grpc.unary_unary_rpc_method_handler( + servicer.GetCurrentTime, + request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "temporal.api.testservice.v1.TestService", rpc_method_handlers - ) + 'temporal.api.testservice.v1.TestService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class TestService(object): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -177,175 +173,103 @@ class TestService(object): """ @staticmethod - def LockTimeSkipping( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def LockTimeSkipping(request, target, - "/temporal.api.testservice.v1.TestService/LockTimeSkipping", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/LockTimeSkipping', temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UnlockTimeSkipping( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UnlockTimeSkipping(request, target, - "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/UnlockTimeSkipping', temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Sleep( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def Sleep(request, target, - "/temporal.api.testservice.v1.TestService/Sleep", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/Sleep', temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SleepUntil( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SleepUntil(request, target, - "/temporal.api.testservice.v1.TestService/SleepUntil", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/SleepUntil', temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UnlockTimeSkippingWithSleep( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UnlockTimeSkippingWithSleep(request, target, - "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep', temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetCurrentTime( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetCurrentTime(request, target, - "/temporal.api.testservice.v1.TestService/GetCurrentTime", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/GetCurrentTime', google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.pyi b/temporalio/api/testservice/v1/service_pb2_grpc.pyi index f3162f003..24a2c9b16 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/service_pb2_grpc.pyi @@ -23,12 +23,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - import abc - import google.protobuf.empty_pb2 import grpc - import temporalio.api.testservice.v1.request_response_pb2 class TestServiceStub: @@ -182,6 +179,4 @@ class TestServiceServicer(metaclass=abc.ABCMeta): This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ -def add_TestServiceServicer_to_server( - servicer: TestServiceServicer, server: grpc.Server -) -> None: ... +def add_TestServiceServicer_to_server(servicer: TestServiceServicer, server: grpc.Server) -> None: ... diff --git a/temporalio/api/update/v1/__init__.py b/temporalio/api/update/v1/__init__.py index 3cc0e6d21..9f86079b9 100644 --- a/temporalio/api/update/v1/__init__.py +++ b/temporalio/api/update/v1/__init__.py @@ -1,14 +1,12 @@ -from .message_pb2 import ( - Acceptance, - Input, - Meta, - Outcome, - Rejection, - Request, - Response, - UpdateRef, - WaitPolicy, -) +from .message_pb2 import WaitPolicy +from .message_pb2 import UpdateRef +from .message_pb2 import Outcome +from .message_pb2 import Meta +from .message_pb2 import Input +from .message_pb2 import Request +from .message_pb2 import Rejection +from .message_pb2 import Acceptance +from .message_pb2 import Response __all__ = [ "Acceptance", diff --git a/temporalio/api/update/v1/message_pb2.py b/temporalio/api/update/v1/message_pb2.py index badea1dd1..f5c7742e0 100644 --- a/temporalio/api/update/v1/message_pb2.py +++ b/temporalio/api/update/v1/message_pb2.py @@ -2,160 +2,117 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/update/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"c\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3' -) - - -_WAITPOLICY = DESCRIPTOR.message_types_by_name["WaitPolicy"] -_UPDATEREF = DESCRIPTOR.message_types_by_name["UpdateRef"] -_OUTCOME = DESCRIPTOR.message_types_by_name["Outcome"] -_META = DESCRIPTOR.message_types_by_name["Meta"] -_INPUT = DESCRIPTOR.message_types_by_name["Input"] -_REQUEST = DESCRIPTOR.message_types_by_name["Request"] -_REJECTION = DESCRIPTOR.message_types_by_name["Rejection"] -_ACCEPTANCE = DESCRIPTOR.message_types_by_name["Acceptance"] -_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] -WaitPolicy = _reflection.GeneratedProtocolMessageType( - "WaitPolicy", - (_message.Message,), - { - "DESCRIPTOR": _WAITPOLICY, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) - }, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto\"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t\"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"c\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input\"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3') + + + +_WAITPOLICY = DESCRIPTOR.message_types_by_name['WaitPolicy'] +_UPDATEREF = DESCRIPTOR.message_types_by_name['UpdateRef'] +_OUTCOME = DESCRIPTOR.message_types_by_name['Outcome'] +_META = DESCRIPTOR.message_types_by_name['Meta'] +_INPUT = DESCRIPTOR.message_types_by_name['Input'] +_REQUEST = DESCRIPTOR.message_types_by_name['Request'] +_REJECTION = DESCRIPTOR.message_types_by_name['Rejection'] +_ACCEPTANCE = DESCRIPTOR.message_types_by_name['Acceptance'] +_RESPONSE = DESCRIPTOR.message_types_by_name['Response'] +WaitPolicy = _reflection.GeneratedProtocolMessageType('WaitPolicy', (_message.Message,), { + 'DESCRIPTOR' : _WAITPOLICY, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) + }) _sym_db.RegisterMessage(WaitPolicy) -UpdateRef = _reflection.GeneratedProtocolMessageType( - "UpdateRef", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEREF, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) - }, -) +UpdateRef = _reflection.GeneratedProtocolMessageType('UpdateRef', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEREF, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) + }) _sym_db.RegisterMessage(UpdateRef) -Outcome = _reflection.GeneratedProtocolMessageType( - "Outcome", - (_message.Message,), - { - "DESCRIPTOR": _OUTCOME, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) - }, -) +Outcome = _reflection.GeneratedProtocolMessageType('Outcome', (_message.Message,), { + 'DESCRIPTOR' : _OUTCOME, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) + }) _sym_db.RegisterMessage(Outcome) -Meta = _reflection.GeneratedProtocolMessageType( - "Meta", - (_message.Message,), - { - "DESCRIPTOR": _META, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) - }, -) +Meta = _reflection.GeneratedProtocolMessageType('Meta', (_message.Message,), { + 'DESCRIPTOR' : _META, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) + }) _sym_db.RegisterMessage(Meta) -Input = _reflection.GeneratedProtocolMessageType( - "Input", - (_message.Message,), - { - "DESCRIPTOR": _INPUT, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) - }, -) +Input = _reflection.GeneratedProtocolMessageType('Input', (_message.Message,), { + 'DESCRIPTOR' : _INPUT, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) + }) _sym_db.RegisterMessage(Input) -Request = _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) - }, -) +Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { + 'DESCRIPTOR' : _REQUEST, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) + }) _sym_db.RegisterMessage(Request) -Rejection = _reflection.GeneratedProtocolMessageType( - "Rejection", - (_message.Message,), - { - "DESCRIPTOR": _REJECTION, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) - }, -) +Rejection = _reflection.GeneratedProtocolMessageType('Rejection', (_message.Message,), { + 'DESCRIPTOR' : _REJECTION, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) + }) _sym_db.RegisterMessage(Rejection) -Acceptance = _reflection.GeneratedProtocolMessageType( - "Acceptance", - (_message.Message,), - { - "DESCRIPTOR": _ACCEPTANCE, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) - }, -) +Acceptance = _reflection.GeneratedProtocolMessageType('Acceptance', (_message.Message,), { + 'DESCRIPTOR' : _ACCEPTANCE, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) + }) _sym_db.RegisterMessage(Acceptance) -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE, - "__module__": "temporal.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) - }, -) +Response = _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { + 'DESCRIPTOR' : _RESPONSE, + '__module__' : 'temporal.api.update.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) + }) _sym_db.RegisterMessage(Response) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" - _WAITPOLICY._serialized_start = 177 - _WAITPOLICY._serialized_end = 276 - _UPDATEREF._serialized_start = 278 - _UPDATEREF._serialized_end = 379 - _OUTCOME._serialized_start = 381 - _OUTCOME._serialized_end = 505 - _META._serialized_start = 507 - _META._serialized_end = 550 - _INPUT._serialized_start = 552 - _INPUT._serialized_end = 669 - _REQUEST._serialized_start = 671 - _REQUEST._serialized_end = 770 - _REJECTION._serialized_start = 773 - _REJECTION._serialized_end = 977 - _ACCEPTANCE._serialized_start = 980 - _ACCEPTANCE._serialized_end = 1134 - _RESPONSE._serialized_start = 1136 - _RESPONSE._serialized_end = 1240 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1' + _WAITPOLICY._serialized_start=177 + _WAITPOLICY._serialized_end=276 + _UPDATEREF._serialized_start=278 + _UPDATEREF._serialized_end=379 + _OUTCOME._serialized_start=381 + _OUTCOME._serialized_end=505 + _META._serialized_start=507 + _META._serialized_end=550 + _INPUT._serialized_start=552 + _INPUT._serialized_end=669 + _REQUEST._serialized_start=671 + _REQUEST._serialized_end=770 + _REJECTION._serialized_start=773 + _REJECTION._serialized_end=977 + _ACCEPTANCE._serialized_start=980 + _ACCEPTANCE._serialized_end=1134 + _RESPONSE._serialized_start=1136 + _RESPONSE._serialized_end=1240 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/update/v1/message_pb2.pyi b/temporalio/api/update/v1/message_pb2.pyi index 072821a0c..f67d48bdf 100644 --- a/temporalio/api/update/v1/message_pb2.pyi +++ b/temporalio/api/update/v1/message_pb2.pyi @@ -2,13 +2,10 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.update_pb2 import temporalio.api.failure.v1.message_pb2 @@ -38,10 +35,7 @@ class WaitPolicy(google.protobuf.message.Message): *, lifecycle_stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"]) -> None: ... global___WaitPolicy = WaitPolicy @@ -53,29 +47,16 @@ class UpdateRef(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int UPDATE_ID_FIELD_NUMBER: builtins.int @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... update_id: builtins.str def __init__( self, *, - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., update_id: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "update_id", b"update_id", "workflow_execution", b"workflow_execution" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["update_id", b"update_id", "workflow_execution", b"workflow_execution"]) -> None: ... global___UpdateRef = UpdateRef @@ -96,21 +77,9 @@ class Outcome(google.protobuf.message.Message): success: temporalio.api.common.v1.message_pb2.Payloads | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "success", b"success", "value", b"value" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "success", b"success", "value", b"value" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["value", b"value"] - ) -> typing_extensions.Literal["success", "failure"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "success", b"success", "value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "success", b"success", "value", b"value"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["success", "failure"] | None: ... global___Outcome = Outcome @@ -131,12 +100,7 @@ class Meta(google.protobuf.message.Message): update_id: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", b"identity", "update_id", b"update_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "update_id", b"update_id"]) -> None: ... global___Meta = Meta @@ -163,16 +127,8 @@ class Input(google.protobuf.message.Message): name: builtins.str = ..., args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["args", b"args", "header", b"header"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "args", b"args", "header", b"header", "name", b"name" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["args", b"args", "header", b"header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "header", b"header", "name", b"name"]) -> None: ... global___Input = Input @@ -193,12 +149,8 @@ class Request(google.protobuf.message.Message): meta: global___Meta | None = ..., input: global___Input | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"]) -> None: ... global___Request = Request @@ -225,25 +177,8 @@ class Rejection(google.protobuf.message.Message): rejected_request: global___Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "rejected_request", b"rejected_request" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", - b"failure", - "rejected_request", - b"rejected_request", - "rejected_request_message_id", - b"rejected_request_message_id", - "rejected_request_sequencing_event_id", - b"rejected_request_sequencing_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request", "rejected_request_message_id", b"rejected_request_message_id", "rejected_request_sequencing_event_id", b"rejected_request_sequencing_event_id"]) -> None: ... global___Rejection = Rejection @@ -268,21 +203,8 @@ class Acceptance(google.protobuf.message.Message): accepted_request_sequencing_event_id: builtins.int = ..., accepted_request: global___Request | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_request", - b"accepted_request", - "accepted_request_message_id", - b"accepted_request_message_id", - "accepted_request_sequencing_event_id", - b"accepted_request_sequencing_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request", "accepted_request_message_id", b"accepted_request_message_id", "accepted_request_sequencing_event_id", b"accepted_request_sequencing_event_id"]) -> None: ... global___Acceptance = Acceptance @@ -305,13 +227,7 @@ class Response(google.protobuf.message.Message): meta: global___Meta | None = ..., outcome: global___Outcome | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> None: ... global___Response = Response diff --git a/temporalio/api/version/v1/__init__.py b/temporalio/api/version/v1/__init__.py index fc1ee059f..6ac56355f 100644 --- a/temporalio/api/version/v1/__init__.py +++ b/temporalio/api/version/v1/__init__.py @@ -1,4 +1,6 @@ -from .message_pb2 import Alert, ReleaseInfo, VersionInfo +from .message_pb2 import ReleaseInfo +from .message_pb2 import Alert +from .message_pb2 import VersionInfo __all__ = [ "Alert", diff --git a/temporalio/api/version/v1/message_pb2.py b/temporalio/api/version/v1/message_pb2.py index de0b7a6ce..7ed02d923 100644 --- a/temporalio/api/version/v1/message_pb2.py +++ b/temporalio/api/version/v1/message_pb2.py @@ -2,72 +2,56 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/version/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"temporal/api/enums/v1/common.proto\"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t\"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity\"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3') -_RELEASEINFO = DESCRIPTOR.message_types_by_name["ReleaseInfo"] -_ALERT = DESCRIPTOR.message_types_by_name["Alert"] -_VERSIONINFO = DESCRIPTOR.message_types_by_name["VersionInfo"] -ReleaseInfo = _reflection.GeneratedProtocolMessageType( - "ReleaseInfo", - (_message.Message,), - { - "DESCRIPTOR": _RELEASEINFO, - "__module__": "temporal.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) - }, -) + +_RELEASEINFO = DESCRIPTOR.message_types_by_name['ReleaseInfo'] +_ALERT = DESCRIPTOR.message_types_by_name['Alert'] +_VERSIONINFO = DESCRIPTOR.message_types_by_name['VersionInfo'] +ReleaseInfo = _reflection.GeneratedProtocolMessageType('ReleaseInfo', (_message.Message,), { + 'DESCRIPTOR' : _RELEASEINFO, + '__module__' : 'temporal.api.version.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) + }) _sym_db.RegisterMessage(ReleaseInfo) -Alert = _reflection.GeneratedProtocolMessageType( - "Alert", - (_message.Message,), - { - "DESCRIPTOR": _ALERT, - "__module__": "temporal.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) - }, -) +Alert = _reflection.GeneratedProtocolMessageType('Alert', (_message.Message,), { + 'DESCRIPTOR' : _ALERT, + '__module__' : 'temporal.api.version.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) + }) _sym_db.RegisterMessage(Alert) -VersionInfo = _reflection.GeneratedProtocolMessageType( - "VersionInfo", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONINFO, - "__module__": "temporal.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) - }, -) +VersionInfo = _reflection.GeneratedProtocolMessageType('VersionInfo', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONINFO, + '__module__' : 'temporal.api.version.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) + }) _sym_db.RegisterMessage(VersionInfo) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" - _RELEASEINFO._serialized_start = 135 - _RELEASEINFO._serialized_end = 230 - _ALERT._serialized_start = 232 - _ALERT._serialized_end = 307 - _VERSIONINFO._serialized_start = 310 - _VERSIONINFO._serialized_end = 561 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1' + _RELEASEINFO._serialized_start=135 + _RELEASEINFO._serialized_end=230 + _ALERT._serialized_start=232 + _ALERT._serialized_end=307 + _VERSIONINFO._serialized_start=310 + _VERSIONINFO._serialized_end=561 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/version/v1/message_pb2.pyi b/temporalio/api/version/v1/message_pb2.pyi index dc481aeda..e098002a7 100644 --- a/temporalio/api/version/v1/message_pb2.pyi +++ b/temporalio/api/version/v1/message_pb2.pyi @@ -2,16 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.enums.v1.common_pb2 if sys.version_info >= (3, 8): @@ -40,15 +37,8 @@ class ReleaseInfo(google.protobuf.message.Message): release_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., notes: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["release_time", b"release_time"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "notes", b"notes", "release_time", b"release_time", "version", b"version" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["release_time", b"release_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["notes", b"notes", "release_time", b"release_time", "version", b"version"]) -> None: ... global___ReleaseInfo = ReleaseInfo @@ -67,12 +57,7 @@ class Alert(google.protobuf.message.Message): message: builtins.str = ..., severity: temporalio.api.enums.v1.common_pb2.Severity.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "message", b"message", "severity", b"severity" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "severity", b"severity"]) -> None: ... global___Alert = Alert @@ -92,11 +77,7 @@ class VersionInfo(google.protobuf.message.Message): def recommended(self) -> global___ReleaseInfo: ... instructions: builtins.str @property - def alerts( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Alert - ]: ... + def alerts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Alert]: ... @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( @@ -108,31 +89,7 @@ class VersionInfo(google.protobuf.message.Message): alerts: collections.abc.Iterable[global___Alert] | None = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current", - b"current", - "last_update_time", - b"last_update_time", - "recommended", - b"recommended", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alerts", - b"alerts", - "current", - b"current", - "instructions", - b"instructions", - "last_update_time", - b"last_update_time", - "recommended", - b"recommended", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current", b"current", "last_update_time", b"last_update_time", "recommended", b"recommended"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["alerts", b"alerts", "current", b"current", "instructions", b"instructions", "last_update_time", b"last_update_time", "recommended", b"recommended"]) -> None: ... global___VersionInfo = VersionInfo diff --git a/temporalio/api/worker/v1/__init__.py b/temporalio/api/worker/v1/__init__.py index ba261cbe3..57ffd6aa8 100644 --- a/temporalio/api/worker/v1/__init__.py +++ b/temporalio/api/worker/v1/__init__.py @@ -1,11 +1,9 @@ -from .message_pb2 import ( - PluginInfo, - WorkerHeartbeat, - WorkerHostInfo, - WorkerInfo, - WorkerPollerInfo, - WorkerSlotsInfo, -) +from .message_pb2 import WorkerPollerInfo +from .message_pb2 import WorkerSlotsInfo +from .message_pb2 import WorkerHostInfo +from .message_pb2 import WorkerHeartbeat +from .message_pb2 import WorkerInfo +from .message_pb2 import PluginInfo __all__ = [ "PluginInfo", diff --git a/temporalio/api/worker/v1/message_pb2.py b/temporalio/api/worker/v1/message_pb2.py index 4a5820368..79ec1d01b 100644 --- a/temporalio/api/worker/v1/message_pb2.py +++ b/temporalio/api/worker/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/worker/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,104 +14,76 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a"temporal/api/enums/v1/common.proto"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05"\x8c\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x13\n\x0bprocess_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02"\xcf\t\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08\"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05\"\x8c\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x13\n\x0bprocess_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02\"\xcf\t\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3') -_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name["WorkerPollerInfo"] -_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name["WorkerSlotsInfo"] -_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name["WorkerHostInfo"] -_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name["WorkerHeartbeat"] -_WORKERINFO = DESCRIPTOR.message_types_by_name["WorkerInfo"] -_PLUGININFO = DESCRIPTOR.message_types_by_name["PluginInfo"] -WorkerPollerInfo = _reflection.GeneratedProtocolMessageType( - "WorkerPollerInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERPOLLERINFO, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) - }, -) + +_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name['WorkerPollerInfo'] +_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name['WorkerSlotsInfo'] +_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name['WorkerHostInfo'] +_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name['WorkerHeartbeat'] +_WORKERINFO = DESCRIPTOR.message_types_by_name['WorkerInfo'] +_PLUGININFO = DESCRIPTOR.message_types_by_name['PluginInfo'] +WorkerPollerInfo = _reflection.GeneratedProtocolMessageType('WorkerPollerInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERPOLLERINFO, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) + }) _sym_db.RegisterMessage(WorkerPollerInfo) -WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType( - "WorkerSlotsInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERSLOTSINFO, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) - }, -) +WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType('WorkerSlotsInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERSLOTSINFO, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) + }) _sym_db.RegisterMessage(WorkerSlotsInfo) -WorkerHostInfo = _reflection.GeneratedProtocolMessageType( - "WorkerHostInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERHOSTINFO, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) - }, -) +WorkerHostInfo = _reflection.GeneratedProtocolMessageType('WorkerHostInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERHOSTINFO, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) + }) _sym_db.RegisterMessage(WorkerHostInfo) -WorkerHeartbeat = _reflection.GeneratedProtocolMessageType( - "WorkerHeartbeat", - (_message.Message,), - { - "DESCRIPTOR": _WORKERHEARTBEAT, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) - }, -) +WorkerHeartbeat = _reflection.GeneratedProtocolMessageType('WorkerHeartbeat', (_message.Message,), { + 'DESCRIPTOR' : _WORKERHEARTBEAT, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) + }) _sym_db.RegisterMessage(WorkerHeartbeat) -WorkerInfo = _reflection.GeneratedProtocolMessageType( - "WorkerInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERINFO, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) - }, -) +WorkerInfo = _reflection.GeneratedProtocolMessageType('WorkerInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERINFO, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) + }) _sym_db.RegisterMessage(WorkerInfo) -PluginInfo = _reflection.GeneratedProtocolMessageType( - "PluginInfo", - (_message.Message,), - { - "DESCRIPTOR": _PLUGININFO, - "__module__": "temporal.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) - }, -) +PluginInfo = _reflection.GeneratedProtocolMessageType('PluginInfo', (_message.Message,), { + 'DESCRIPTOR' : _PLUGININFO, + '__module__' : 'temporal.api.worker.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) + }) _sym_db.RegisterMessage(PluginInfo) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" - _WORKERPOLLERINFO._serialized_start = 208 - _WORKERPOLLERINFO._serialized_end = 338 - _WORKERSLOTSINFO._serialized_start = 341 - _WORKERSLOTSINFO._serialized_end = 582 - _WORKERHOSTINFO._serialized_start = 585 - _WORKERHOSTINFO._serialized_end = 725 - _WORKERHEARTBEAT._serialized_start = 728 - _WORKERHEARTBEAT._serialized_end = 1959 - _WORKERINFO._serialized_start = 1961 - _WORKERINFO._serialized_end = 2040 - _PLUGININFO._serialized_start = 2042 - _PLUGININFO._serialized_end = 2085 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1' + _WORKERPOLLERINFO._serialized_start=208 + _WORKERPOLLERINFO._serialized_end=338 + _WORKERSLOTSINFO._serialized_start=341 + _WORKERSLOTSINFO._serialized_end=582 + _WORKERHOSTINFO._serialized_start=585 + _WORKERHOSTINFO._serialized_end=725 + _WORKERHEARTBEAT._serialized_start=728 + _WORKERHEARTBEAT._serialized_end=1959 + _WORKERINFO._serialized_start=1961 + _WORKERINFO._serialized_end=2040 + _PLUGININFO._serialized_start=2042 + _PLUGININFO._serialized_end=2085 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/worker/v1/message_pb2.pyi b/temporalio/api/worker/v1/message_pb2.pyi index e4c2a4725..a850627e1 100644 --- a/temporalio/api/worker/v1/message_pb2.pyi +++ b/temporalio/api/worker/v1/message_pb2.pyi @@ -2,17 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 @@ -42,23 +39,8 @@ class WorkerPollerInfo(google.protobuf.message.Message): last_successful_poll_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_autoscaling: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_successful_poll_time", b"last_successful_poll_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_pollers", - b"current_pollers", - "is_autoscaling", - b"is_autoscaling", - "last_successful_poll_time", - b"last_successful_poll_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_successful_poll_time", b"last_successful_poll_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_pollers", b"current_pollers", "is_autoscaling", b"is_autoscaling", "last_successful_poll_time", b"last_successful_poll_time"]) -> None: ... global___WorkerPollerInfo = WorkerPollerInfo @@ -106,25 +88,7 @@ class WorkerSlotsInfo(google.protobuf.message.Message): last_interval_processed_tasks: builtins.int = ..., last_interval_failure_tasks: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_available_slots", - b"current_available_slots", - "current_used_slots", - b"current_used_slots", - "last_interval_failure_tasks", - b"last_interval_failure_tasks", - "last_interval_processed_tasks", - b"last_interval_processed_tasks", - "slot_supplier_kind", - b"slot_supplier_kind", - "total_failed_tasks", - b"total_failed_tasks", - "total_processed_tasks", - b"total_processed_tasks", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["current_available_slots", b"current_available_slots", "current_used_slots", b"current_used_slots", "last_interval_failure_tasks", b"last_interval_failure_tasks", "last_interval_processed_tasks", b"last_interval_processed_tasks", "slot_supplier_kind", b"slot_supplier_kind", "total_failed_tasks", b"total_failed_tasks", "total_processed_tasks", b"total_processed_tasks"]) -> None: ... global___WorkerSlotsInfo = WorkerSlotsInfo @@ -168,21 +132,7 @@ class WorkerHostInfo(google.protobuf.message.Message): current_host_cpu_usage: builtins.float = ..., current_host_mem_usage: builtins.float = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_host_cpu_usage", - b"current_host_cpu_usage", - "current_host_mem_usage", - b"current_host_mem_usage", - "host_name", - b"host_name", - "process_id", - b"process_id", - "process_key", - b"process_key", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["current_host_cpu_usage", b"current_host_cpu_usage", "current_host_mem_usage", b"current_host_mem_usage", "host_name", b"host_name", "process_id", b"process_id", "process_key", b"process_key"]) -> None: ... global___WorkerHostInfo = WorkerHostInfo @@ -232,9 +182,7 @@ class WorkerHeartbeat(google.protobuf.message.Message): task_queue: builtins.str """Task queue this worker is polling for tasks.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... sdk_name: builtins.str sdk_version: builtins.str status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType @@ -275,11 +223,7 @@ class WorkerHeartbeat(google.protobuf.message.Message): current_sticky_cache_size: builtins.int """Current cache size, expressed in number of Workflow Executions.""" @property - def plugins( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PluginInfo - ]: + def plugins(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PluginInfo]: """Plugins currently in use by this SDK.""" def __init__( self, @@ -288,15 +232,13 @@ class WorkerHeartbeat(google.protobuf.message.Message): worker_identity: builtins.str = ..., host_info: global___WorkerHostInfo | None = ..., task_queue: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., sdk_name: builtins.str = ..., sdk_version: builtins.str = ..., status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., heartbeat_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration - | None = ..., + elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_slots_info: global___WorkerSlotsInfo | None = ..., activity_task_slots_info: global___WorkerSlotsInfo | None = ..., nexus_task_slots_info: global___WorkerSlotsInfo | None = ..., @@ -310,88 +252,8 @@ class WorkerHeartbeat(google.protobuf.message.Message): current_sticky_cache_size: builtins.int = ..., plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_poller_info", - b"activity_poller_info", - "activity_task_slots_info", - b"activity_task_slots_info", - "deployment_version", - b"deployment_version", - "elapsed_since_last_heartbeat", - b"elapsed_since_last_heartbeat", - "heartbeat_time", - b"heartbeat_time", - "host_info", - b"host_info", - "local_activity_slots_info", - b"local_activity_slots_info", - "nexus_poller_info", - b"nexus_poller_info", - "nexus_task_slots_info", - b"nexus_task_slots_info", - "start_time", - b"start_time", - "workflow_poller_info", - b"workflow_poller_info", - "workflow_sticky_poller_info", - b"workflow_sticky_poller_info", - "workflow_task_slots_info", - b"workflow_task_slots_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_poller_info", - b"activity_poller_info", - "activity_task_slots_info", - b"activity_task_slots_info", - "current_sticky_cache_size", - b"current_sticky_cache_size", - "deployment_version", - b"deployment_version", - "elapsed_since_last_heartbeat", - b"elapsed_since_last_heartbeat", - "heartbeat_time", - b"heartbeat_time", - "host_info", - b"host_info", - "local_activity_slots_info", - b"local_activity_slots_info", - "nexus_poller_info", - b"nexus_poller_info", - "nexus_task_slots_info", - b"nexus_task_slots_info", - "plugins", - b"plugins", - "sdk_name", - b"sdk_name", - "sdk_version", - b"sdk_version", - "start_time", - b"start_time", - "status", - b"status", - "task_queue", - b"task_queue", - "total_sticky_cache_hit", - b"total_sticky_cache_hit", - "total_sticky_cache_miss", - b"total_sticky_cache_miss", - "worker_identity", - b"worker_identity", - "worker_instance_key", - b"worker_instance_key", - "workflow_poller_info", - b"workflow_poller_info", - "workflow_sticky_poller_info", - b"workflow_sticky_poller_info", - "workflow_task_slots_info", - b"workflow_task_slots_info", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_poller_info", b"activity_poller_info", "activity_task_slots_info", b"activity_task_slots_info", "deployment_version", b"deployment_version", "elapsed_since_last_heartbeat", b"elapsed_since_last_heartbeat", "heartbeat_time", b"heartbeat_time", "host_info", b"host_info", "local_activity_slots_info", b"local_activity_slots_info", "nexus_poller_info", b"nexus_poller_info", "nexus_task_slots_info", b"nexus_task_slots_info", "start_time", b"start_time", "workflow_poller_info", b"workflow_poller_info", "workflow_sticky_poller_info", b"workflow_sticky_poller_info", "workflow_task_slots_info", b"workflow_task_slots_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_poller_info", b"activity_poller_info", "activity_task_slots_info", b"activity_task_slots_info", "current_sticky_cache_size", b"current_sticky_cache_size", "deployment_version", b"deployment_version", "elapsed_since_last_heartbeat", b"elapsed_since_last_heartbeat", "heartbeat_time", b"heartbeat_time", "host_info", b"host_info", "local_activity_slots_info", b"local_activity_slots_info", "nexus_poller_info", b"nexus_poller_info", "nexus_task_slots_info", b"nexus_task_slots_info", "plugins", b"plugins", "sdk_name", b"sdk_name", "sdk_version", b"sdk_version", "start_time", b"start_time", "status", b"status", "task_queue", b"task_queue", "total_sticky_cache_hit", b"total_sticky_cache_hit", "total_sticky_cache_miss", b"total_sticky_cache_miss", "worker_identity", b"worker_identity", "worker_instance_key", b"worker_instance_key", "workflow_poller_info", b"workflow_poller_info", "workflow_sticky_poller_info", b"workflow_sticky_poller_info", "workflow_task_slots_info", b"workflow_task_slots_info"]) -> None: ... global___WorkerHeartbeat = WorkerHeartbeat @@ -406,14 +268,8 @@ class WorkerInfo(google.protobuf.message.Message): *, worker_heartbeat: global___WorkerHeartbeat | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> None: ... global___WorkerInfo = WorkerInfo @@ -432,9 +288,6 @@ class PluginInfo(google.protobuf.message.Message): name: builtins.str = ..., version: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "version", b"version"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... global___PluginInfo = PluginInfo diff --git a/temporalio/api/workflow/v1/__init__.py b/temporalio/api/workflow/v1/__init__.py index 30a251fa1..7c3afc63e 100644 --- a/temporalio/api/workflow/v1/__init__.py +++ b/temporalio/api/workflow/v1/__init__.py @@ -1,25 +1,23 @@ -from .message_pb2 import ( - CallbackInfo, - DeploymentTransition, - DeploymentVersionTransition, - NewWorkflowExecutionInfo, - NexusOperationCancellationInfo, - OnConflictOptions, - PendingActivityInfo, - PendingChildExecutionInfo, - PendingNexusOperationInfo, - PendingWorkflowTaskInfo, - PostResetOperation, - RequestIdInfo, - ResetPointInfo, - ResetPoints, - VersioningOverride, - WorkflowExecutionConfig, - WorkflowExecutionExtendedInfo, - WorkflowExecutionInfo, - WorkflowExecutionOptions, - WorkflowExecutionVersioningInfo, -) +from .message_pb2 import WorkflowExecutionInfo +from .message_pb2 import WorkflowExecutionExtendedInfo +from .message_pb2 import WorkflowExecutionVersioningInfo +from .message_pb2 import DeploymentTransition +from .message_pb2 import DeploymentVersionTransition +from .message_pb2 import WorkflowExecutionConfig +from .message_pb2 import PendingActivityInfo +from .message_pb2 import PendingChildExecutionInfo +from .message_pb2 import PendingWorkflowTaskInfo +from .message_pb2 import ResetPoints +from .message_pb2 import ResetPointInfo +from .message_pb2 import NewWorkflowExecutionInfo +from .message_pb2 import CallbackInfo +from .message_pb2 import PendingNexusOperationInfo +from .message_pb2 import NexusOperationCancellationInfo +from .message_pb2 import WorkflowExecutionOptions +from .message_pb2 import VersioningOverride +from .message_pb2 import OnConflictOptions +from .message_pb2 import RequestIdInfo +from .message_pb2 import PostResetOperation __all__ = [ "CallbackInfo", diff --git a/temporalio/api/workflow/v1/message_pb2.py b/temporalio/api/workflow/v1/message_pb2.py index 4e58a81c2..c2221e36e 100644 --- a/temporalio/api/workflow/v1/message_pb2.py +++ b/temporalio/api/workflow/v1/message_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflow/v1/message.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,541 +14,363 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 +from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 + -from temporalio.api.activity.v1 import ( - message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, -) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.enums.v1 import ( - event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xab\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xfc\x03\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01"\xf5\x03\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant"\x92\x05\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t"e\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3' -) - - -_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["WorkflowExecutionInfo"] -_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionExtendedInfo" -] -_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = ( - _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name["RequestIdInfosEntry"] -) -_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionVersioningInfo" -] -_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name["DeploymentTransition"] -_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name[ - "DeploymentVersionTransition" -] -_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name["WorkflowExecutionConfig"] -_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name["PendingActivityInfo"] -_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name["PauseInfo"] -_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = ( - _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Manual"] -) -_PENDINGACTIVITYINFO_PAUSEINFO_RULE = ( - _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Rule"] -) -_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ - "PendingChildExecutionInfo" -] -_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name["PendingWorkflowTaskInfo"] -_RESETPOINTS = DESCRIPTOR.message_types_by_name["ResetPoints"] -_RESETPOINTINFO = DESCRIPTOR.message_types_by_name["ResetPointInfo"] -_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["NewWorkflowExecutionInfo"] -_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] -_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name["WorkflowClosed"] -_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] -_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name[ - "PendingNexusOperationInfo" -] -_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancellationInfo" -] -_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutionOptions"] -_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name["VersioningOverride"] -_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name[ - "PinnedOverride" -] -_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] -_REQUESTIDINFO = DESCRIPTOR.message_types_by_name["RequestIdInfo"] -_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name["PostResetOperation"] -_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name[ - "SignalWorkflow" -] -_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name[ - "UpdateWorkflowOptions" -] -_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name[ - "PinnedOverrideBehavior" -] -WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) - }, -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xab\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xfc\x03\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01\"\xf5\x03\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id\"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08\"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant\"\x92\x05\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\"e\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08\"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3') + + + +_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionInfo'] +_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionExtendedInfo'] +_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name['RequestIdInfosEntry'] +_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionVersioningInfo'] +_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name['DeploymentTransition'] +_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name['DeploymentVersionTransition'] +_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name['WorkflowExecutionConfig'] +_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name['PendingActivityInfo'] +_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name['PauseInfo'] +_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name['Manual'] +_PENDINGACTIVITYINFO_PAUSEINFO_RULE = _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name['Rule'] +_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name['PendingChildExecutionInfo'] +_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name['PendingWorkflowTaskInfo'] +_RESETPOINTS = DESCRIPTOR.message_types_by_name['ResetPoints'] +_RESETPOINTINFO = DESCRIPTOR.message_types_by_name['ResetPointInfo'] +_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name['NewWorkflowExecutionInfo'] +_CALLBACKINFO = DESCRIPTOR.message_types_by_name['CallbackInfo'] +_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name['WorkflowClosed'] +_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name['Trigger'] +_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name['PendingNexusOperationInfo'] +_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name['NexusOperationCancellationInfo'] +_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name['WorkflowExecutionOptions'] +_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name['VersioningOverride'] +_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name['PinnedOverride'] +_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name['OnConflictOptions'] +_REQUESTIDINFO = DESCRIPTOR.message_types_by_name['RequestIdInfo'] +_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name['PostResetOperation'] +_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name['SignalWorkflow'] +_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name['UpdateWorkflowOptions'] +_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name['PinnedOverrideBehavior'] +WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) + }) _sym_db.RegisterMessage(WorkflowExecutionInfo) -WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionExtendedInfo", - (_message.Message,), - { - "RequestIdInfosEntry": _reflection.GeneratedProtocolMessageType( - "RequestIdInfosEntry", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) - }, - ), - "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) - }, -) +WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionExtendedInfo', (_message.Message,), { + + 'RequestIdInfosEntry' : _reflection.GeneratedProtocolMessageType('RequestIdInfosEntry', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) + }) + , + 'DESCRIPTOR' : _WORKFLOWEXECUTIONEXTENDEDINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) + }) _sym_db.RegisterMessage(WorkflowExecutionExtendedInfo) _sym_db.RegisterMessage(WorkflowExecutionExtendedInfo.RequestIdInfosEntry) -WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionVersioningInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONVERSIONINGINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) - }, -) +WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionVersioningInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONVERSIONINGINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) + }) _sym_db.RegisterMessage(WorkflowExecutionVersioningInfo) -DeploymentTransition = _reflection.GeneratedProtocolMessageType( - "DeploymentTransition", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTTRANSITION, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) - }, -) +DeploymentTransition = _reflection.GeneratedProtocolMessageType('DeploymentTransition', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENTTRANSITION, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) + }) _sym_db.RegisterMessage(DeploymentTransition) -DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType( - "DeploymentVersionTransition", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTVERSIONTRANSITION, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) - }, -) +DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType('DeploymentVersionTransition', (_message.Message,), { + 'DESCRIPTOR' : _DEPLOYMENTVERSIONTRANSITION, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) + }) _sym_db.RegisterMessage(DeploymentVersionTransition) -WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionConfig", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCONFIG, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) - }, -) +WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType('WorkflowExecutionConfig', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONFIG, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) + }) _sym_db.RegisterMessage(WorkflowExecutionConfig) -PendingActivityInfo = _reflection.GeneratedProtocolMessageType( - "PendingActivityInfo", - (_message.Message,), - { - "PauseInfo": _reflection.GeneratedProtocolMessageType( - "PauseInfo", - (_message.Message,), - { - "Manual": _reflection.GeneratedProtocolMessageType( - "Manual", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) - }, - ), - "Rule": _reflection.GeneratedProtocolMessageType( - "Rule", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_RULE, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) - }, - ), - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) - }, - ), - "DESCRIPTOR": _PENDINGACTIVITYINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) - }, -) +PendingActivityInfo = _reflection.GeneratedProtocolMessageType('PendingActivityInfo', (_message.Message,), { + + 'PauseInfo' : _reflection.GeneratedProtocolMessageType('PauseInfo', (_message.Message,), { + + 'Manual' : _reflection.GeneratedProtocolMessageType('Manual', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) + }) + , + + 'Rule' : _reflection.GeneratedProtocolMessageType('Rule', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO_RULE, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) + }) + , + 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) + }) + , + 'DESCRIPTOR' : _PENDINGACTIVITYINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) + }) _sym_db.RegisterMessage(PendingActivityInfo) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Manual) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Rule) -PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType( - "PendingChildExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGCHILDEXECUTIONINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) - }, -) +PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType('PendingChildExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGCHILDEXECUTIONINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) + }) _sym_db.RegisterMessage(PendingChildExecutionInfo) -PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType( - "PendingWorkflowTaskInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGWORKFLOWTASKINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) - }, -) +PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType('PendingWorkflowTaskInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGWORKFLOWTASKINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) + }) _sym_db.RegisterMessage(PendingWorkflowTaskInfo) -ResetPoints = _reflection.GeneratedProtocolMessageType( - "ResetPoints", - (_message.Message,), - { - "DESCRIPTOR": _RESETPOINTS, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) - }, -) +ResetPoints = _reflection.GeneratedProtocolMessageType('ResetPoints', (_message.Message,), { + 'DESCRIPTOR' : _RESETPOINTS, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) + }) _sym_db.RegisterMessage(ResetPoints) -ResetPointInfo = _reflection.GeneratedProtocolMessageType( - "ResetPointInfo", - (_message.Message,), - { - "DESCRIPTOR": _RESETPOINTINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) - }, -) +ResetPointInfo = _reflection.GeneratedProtocolMessageType('ResetPointInfo', (_message.Message,), { + 'DESCRIPTOR' : _RESETPOINTINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) + }) _sym_db.RegisterMessage(ResetPointInfo) -NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( - "NewWorkflowExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEWWORKFLOWEXECUTIONINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) - }, -) +NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType('NewWorkflowExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _NEWWORKFLOWEXECUTIONINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) + }) _sym_db.RegisterMessage(NewWorkflowExecutionInfo) -CallbackInfo = _reflection.GeneratedProtocolMessageType( - "CallbackInfo", - (_message.Message,), - { - "WorkflowClosed": _reflection.GeneratedProtocolMessageType( - "WorkflowClosed", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_WORKFLOWCLOSED, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) - }, - ), - "Trigger": _reflection.GeneratedProtocolMessageType( - "Trigger", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_TRIGGER, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) - }, - ), - "DESCRIPTOR": _CALLBACKINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) - }, -) +CallbackInfo = _reflection.GeneratedProtocolMessageType('CallbackInfo', (_message.Message,), { + + 'WorkflowClosed' : _reflection.GeneratedProtocolMessageType('WorkflowClosed', (_message.Message,), { + 'DESCRIPTOR' : _CALLBACKINFO_WORKFLOWCLOSED, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) + }) + , + + 'Trigger' : _reflection.GeneratedProtocolMessageType('Trigger', (_message.Message,), { + 'DESCRIPTOR' : _CALLBACKINFO_TRIGGER, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) + }) + , + 'DESCRIPTOR' : _CALLBACKINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) + }) _sym_db.RegisterMessage(CallbackInfo) _sym_db.RegisterMessage(CallbackInfo.WorkflowClosed) _sym_db.RegisterMessage(CallbackInfo.Trigger) -PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType( - "PendingNexusOperationInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGNEXUSOPERATIONINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) - }, -) +PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType('PendingNexusOperationInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGNEXUSOPERATIONINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) + }) _sym_db.RegisterMessage(PendingNexusOperationInfo) -NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationCancellationInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELLATIONINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) - }, -) +NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType('NexusOperationCancellationInfo', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONCANCELLATIONINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) + }) _sym_db.RegisterMessage(NexusOperationCancellationInfo) -WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionOptions", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONS, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) - }, -) +WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType('WorkflowExecutionOptions', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONOPTIONS, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) + }) _sym_db.RegisterMessage(WorkflowExecutionOptions) -VersioningOverride = _reflection.GeneratedProtocolMessageType( - "VersioningOverride", - (_message.Message,), - { - "PinnedOverride": _reflection.GeneratedProtocolMessageType( - "PinnedOverride", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONINGOVERRIDE_PINNEDOVERRIDE, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) - }, - ), - "DESCRIPTOR": _VERSIONINGOVERRIDE, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) - }, -) +VersioningOverride = _reflection.GeneratedProtocolMessageType('VersioningOverride', (_message.Message,), { + + 'PinnedOverride' : _reflection.GeneratedProtocolMessageType('PinnedOverride', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONINGOVERRIDE_PINNEDOVERRIDE, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) + }) + , + 'DESCRIPTOR' : _VERSIONINGOVERRIDE, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) + }) _sym_db.RegisterMessage(VersioningOverride) _sym_db.RegisterMessage(VersioningOverride.PinnedOverride) -OnConflictOptions = _reflection.GeneratedProtocolMessageType( - "OnConflictOptions", - (_message.Message,), - { - "DESCRIPTOR": _ONCONFLICTOPTIONS, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) - }, -) +OnConflictOptions = _reflection.GeneratedProtocolMessageType('OnConflictOptions', (_message.Message,), { + 'DESCRIPTOR' : _ONCONFLICTOPTIONS, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) + }) _sym_db.RegisterMessage(OnConflictOptions) -RequestIdInfo = _reflection.GeneratedProtocolMessageType( - "RequestIdInfo", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTIDINFO, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) - }, -) +RequestIdInfo = _reflection.GeneratedProtocolMessageType('RequestIdInfo', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTIDINFO, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) + }) _sym_db.RegisterMessage(RequestIdInfo) -PostResetOperation = _reflection.GeneratedProtocolMessageType( - "PostResetOperation", - (_message.Message,), - { - "SignalWorkflow": _reflection.GeneratedProtocolMessageType( - "SignalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _POSTRESETOPERATION_SIGNALWORKFLOW, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) - }, - ), - "UpdateWorkflowOptions": _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowOptions", - (_message.Message,), - { - "DESCRIPTOR": _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) - }, - ), - "DESCRIPTOR": _POSTRESETOPERATION, - "__module__": "temporal.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) - }, -) +PostResetOperation = _reflection.GeneratedProtocolMessageType('PostResetOperation', (_message.Message,), { + + 'SignalWorkflow' : _reflection.GeneratedProtocolMessageType('SignalWorkflow', (_message.Message,), { + 'DESCRIPTOR' : _POSTRESETOPERATION_SIGNALWORKFLOW, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) + }) + , + + 'UpdateWorkflowOptions' : _reflection.GeneratedProtocolMessageType('UpdateWorkflowOptions', (_message.Message,), { + 'DESCRIPTOR' : _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) + }) + , + 'DESCRIPTOR' : _POSTRESETOPERATION, + '__module__' : 'temporal.api.workflow.v1.message_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) + }) _sym_db.RegisterMessage(PostResetOperation) _sym_db.RegisterMessage(PostResetOperation.SignalWorkflow) _sym_db.RegisterMessage(PostResetOperation.UpdateWorkflowOptions) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" - _WORKFLOWEXECUTIONINFO.fields_by_name[ - "most_recent_worker_version_stamp" - ]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ - "most_recent_worker_version_stamp" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO.fields_by_name["assigned_build_id"]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ - "assigned_build_id" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO.fields_by_name["inherited_build_id"]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ - "inherited_build_id" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b"8\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["deployment"]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["version"]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ - "deployment_transition" - ]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ - "deployment_transition" - ]._serialized_options = b"\030\001" - _DEPLOYMENTVERSIONTRANSITION.fields_by_name["version"]._options = None - _DEPLOYMENTVERSIONTRANSITION.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["use_workflow_build_id"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ - "use_workflow_build_id" - ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name[ - "last_independently_assigned_build_id" - ]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ - "last_independently_assigned_build_id" - ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["last_worker_version_stamp"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ - "last_worker_version_stamp" - ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["last_deployment"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ - "last_deployment" - ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name[ - "last_worker_deployment_version" - ]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ - "last_worker_deployment_version" - ]._serialized_options = b"\030\001" - _RESETPOINTINFO.fields_by_name["binary_checksum"]._options = None - _RESETPOINTINFO.fields_by_name["binary_checksum"]._serialized_options = b"\030\001" - _PENDINGNEXUSOPERATIONINFO.fields_by_name["operation_id"]._options = None - _PENDINGNEXUSOPERATIONINFO.fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["behavior"]._options = None - _VERSIONINGOVERRIDE.fields_by_name["behavior"]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["deployment"]._options = None - _VERSIONINGOVERRIDE.fields_by_name["deployment"]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["pinned_version"]._options = None - _VERSIONINGOVERRIDE.fields_by_name[ - "pinned_version" - ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO._serialized_start = 552 - _WORKFLOWEXECUTIONINFO._serialized_end = 1747 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start = 1750 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end = 2258 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start = 2164 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end = 2258 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start = 2261 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end = 2762 - _DEPLOYMENTTRANSITION._serialized_start = 2764 - _DEPLOYMENTTRANSITION._serialized_end = 2846 - _DEPLOYMENTVERSIONTRANSITION._serialized_start = 2849 - _DEPLOYMENTVERSIONTRANSITION._serialized_end = 2980 - _WORKFLOWEXECUTIONCONFIG._serialized_start = 2983 - _WORKFLOWEXECUTIONCONFIG._serialized_end = 3310 - _PENDINGACTIVITYINFO._serialized_start = 3313 - _PENDINGACTIVITYINFO._serialized_end = 5038 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start = 4682 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end = 5017 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start = 4903 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end = 4945 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start = 4947 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end = 5004 - _PENDINGCHILDEXECUTIONINFO._serialized_start = 5041 - _PENDINGCHILDEXECUTIONINFO._serialized_end = 5226 - _PENDINGWORKFLOWTASKINFO._serialized_start = 5229 - _PENDINGWORKFLOWTASKINFO._serialized_end = 5498 - _RESETPOINTS._serialized_start = 5500 - _RESETPOINTS._serialized_end = 5571 - _RESETPOINTINFO._serialized_start = 5574 - _RESETPOINTINFO._serialized_end = 5813 - _NEWWORKFLOWEXECUTIONINFO._serialized_start = 5816 - _NEWWORKFLOWEXECUTIONINFO._serialized_end = 6717 - _CALLBACKINFO._serialized_start = 6720 - _CALLBACKINFO._serialized_end = 7314 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_start = 7194 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_end = 7210 - _CALLBACKINFO_TRIGGER._serialized_start = 7212 - _CALLBACKINFO_TRIGGER._serialized_end = 7314 - _PENDINGNEXUSOPERATIONINFO._serialized_start = 7317 - _PENDINGNEXUSOPERATIONINFO._serialized_end = 7975 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_start = 7978 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_end = 8366 - _WORKFLOWEXECUTIONOPTIONS._serialized_start = 8368 - _WORKFLOWEXECUTIONOPTIONS._serialized_end = 8469 - _VERSIONINGOVERRIDE._serialized_start = 8472 - _VERSIONINGOVERRIDE._serialized_end = 9045 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start = 8755 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end = 8928 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start = 8930 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end = 9033 - _ONCONFLICTOPTIONS._serialized_start = 9047 - _ONCONFLICTOPTIONS._serialized_end = 9152 - _REQUESTIDINFO._serialized_start = 9154 - _REQUESTIDINFO._serialized_end = 9259 - _POSTRESETOPERATION._serialized_start = 9262 - _POSTRESETOPERATION._serialized_end = 9829 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start = 9476 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end = 9655 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start = 9658 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end = 9818 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z\'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1' + _WORKFLOWEXECUTIONINFO.fields_by_name['most_recent_worker_version_stamp']._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name['most_recent_worker_version_stamp']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONINFO.fields_by_name['assigned_build_id']._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name['assigned_build_id']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONINFO.fields_by_name['inherited_build_id']._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name['inherited_build_id']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b'8\001' + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment']._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['version']._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['version']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment_transition']._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment_transition']._serialized_options = b'\030\001' + _DEPLOYMENTVERSIONTRANSITION.fields_by_name['version']._options = None + _DEPLOYMENTVERSIONTRANSITION.fields_by_name['version']._serialized_options = b'\030\001' + _PENDINGACTIVITYINFO.fields_by_name['use_workflow_build_id']._options = None + _PENDINGACTIVITYINFO.fields_by_name['use_workflow_build_id']._serialized_options = b'\030\001' + _PENDINGACTIVITYINFO.fields_by_name['last_independently_assigned_build_id']._options = None + _PENDINGACTIVITYINFO.fields_by_name['last_independently_assigned_build_id']._serialized_options = b'\030\001' + _PENDINGACTIVITYINFO.fields_by_name['last_worker_version_stamp']._options = None + _PENDINGACTIVITYINFO.fields_by_name['last_worker_version_stamp']._serialized_options = b'\030\001' + _PENDINGACTIVITYINFO.fields_by_name['last_deployment']._options = None + _PENDINGACTIVITYINFO.fields_by_name['last_deployment']._serialized_options = b'\030\001' + _PENDINGACTIVITYINFO.fields_by_name['last_worker_deployment_version']._options = None + _PENDINGACTIVITYINFO.fields_by_name['last_worker_deployment_version']._serialized_options = b'\030\001' + _RESETPOINTINFO.fields_by_name['binary_checksum']._options = None + _RESETPOINTINFO.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _PENDINGNEXUSOPERATIONINFO.fields_by_name['operation_id']._options = None + _PENDINGNEXUSOPERATIONINFO.fields_by_name['operation_id']._serialized_options = b'\030\001' + _VERSIONINGOVERRIDE.fields_by_name['behavior']._options = None + _VERSIONINGOVERRIDE.fields_by_name['behavior']._serialized_options = b'\030\001' + _VERSIONINGOVERRIDE.fields_by_name['deployment']._options = None + _VERSIONINGOVERRIDE.fields_by_name['deployment']._serialized_options = b'\030\001' + _VERSIONINGOVERRIDE.fields_by_name['pinned_version']._options = None + _VERSIONINGOVERRIDE.fields_by_name['pinned_version']._serialized_options = b'\030\001' + _WORKFLOWEXECUTIONINFO._serialized_start=552 + _WORKFLOWEXECUTIONINFO._serialized_end=1747 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start=1750 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end=2258 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start=2164 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end=2258 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start=2261 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end=2762 + _DEPLOYMENTTRANSITION._serialized_start=2764 + _DEPLOYMENTTRANSITION._serialized_end=2846 + _DEPLOYMENTVERSIONTRANSITION._serialized_start=2849 + _DEPLOYMENTVERSIONTRANSITION._serialized_end=2980 + _WORKFLOWEXECUTIONCONFIG._serialized_start=2983 + _WORKFLOWEXECUTIONCONFIG._serialized_end=3310 + _PENDINGACTIVITYINFO._serialized_start=3313 + _PENDINGACTIVITYINFO._serialized_end=5038 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start=4682 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end=5017 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start=4903 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end=4945 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start=4947 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end=5004 + _PENDINGCHILDEXECUTIONINFO._serialized_start=5041 + _PENDINGCHILDEXECUTIONINFO._serialized_end=5226 + _PENDINGWORKFLOWTASKINFO._serialized_start=5229 + _PENDINGWORKFLOWTASKINFO._serialized_end=5498 + _RESETPOINTS._serialized_start=5500 + _RESETPOINTS._serialized_end=5571 + _RESETPOINTINFO._serialized_start=5574 + _RESETPOINTINFO._serialized_end=5813 + _NEWWORKFLOWEXECUTIONINFO._serialized_start=5816 + _NEWWORKFLOWEXECUTIONINFO._serialized_end=6717 + _CALLBACKINFO._serialized_start=6720 + _CALLBACKINFO._serialized_end=7314 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_start=7194 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_end=7210 + _CALLBACKINFO_TRIGGER._serialized_start=7212 + _CALLBACKINFO_TRIGGER._serialized_end=7314 + _PENDINGNEXUSOPERATIONINFO._serialized_start=7317 + _PENDINGNEXUSOPERATIONINFO._serialized_end=7975 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_start=7978 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_end=8366 + _WORKFLOWEXECUTIONOPTIONS._serialized_start=8368 + _WORKFLOWEXECUTIONOPTIONS._serialized_end=8469 + _VERSIONINGOVERRIDE._serialized_start=8472 + _VERSIONINGOVERRIDE._serialized_end=9045 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start=8755 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end=8928 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start=8930 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end=9033 + _ONCONFLICTOPTIONS._serialized_start=9047 + _ONCONFLICTOPTIONS._serialized_end=9152 + _REQUESTIDINFO._serialized_start=9154 + _REQUESTIDINFO._serialized_end=9259 + _POSTRESETOPERATION._serialized_start=9262 + _POSTRESETOPERATION._serialized_end=9829 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start=9476 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end=9655 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start=9658 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end=9818 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflow/v1/message_pb2.pyi b/temporalio/api/workflow/v1/message_pb2.pyi index 869790809..9d9800eca 100644 --- a/temporalio/api/workflow/v1/message_pb2.pyi +++ b/temporalio/api/workflow/v1/message_pb2.pyi @@ -2,12 +2,8 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 @@ -16,7 +12,7 @@ import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.activity.v1.message_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 @@ -26,6 +22,7 @@ import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -77,26 +74,20 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): history_length: builtins.int parent_namespace_id: builtins.str @property - def parent_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def parent_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def execution_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def auto_reset_points(self) -> global___ResetPoints: ... task_queue: builtins.str state_transition_count: builtins.int history_size_bytes: builtins.int @property - def most_recent_worker_version_stamp( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def most_recent_worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @@ -170,21 +161,17 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., history_length: builtins.int = ..., parent_namespace_id: builtins.str = ..., - parent_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + parent_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., execution_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., auto_reset_points: global___ResetPoints | None = ..., task_queue: builtins.str = ..., state_transition_count: builtins.int = ..., history_size_bytes: builtins.int = ..., - most_recent_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + most_recent_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., execution_duration: google.protobuf.duration_pb2.Duration | None = ..., - root_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + root_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., assigned_build_id: builtins.str = ..., inherited_build_id: builtins.str = ..., first_run_id: builtins.str = ..., @@ -192,92 +179,8 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): worker_deployment_name: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "auto_reset_points", - b"auto_reset_points", - "close_time", - b"close_time", - "execution", - b"execution", - "execution_duration", - b"execution_duration", - "execution_time", - b"execution_time", - "memo", - b"memo", - "most_recent_worker_version_stamp", - b"most_recent_worker_version_stamp", - "parent_execution", - b"parent_execution", - "priority", - b"priority", - "root_execution", - b"root_execution", - "search_attributes", - b"search_attributes", - "start_time", - b"start_time", - "type", - b"type", - "versioning_info", - b"versioning_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "assigned_build_id", - b"assigned_build_id", - "auto_reset_points", - b"auto_reset_points", - "close_time", - b"close_time", - "execution", - b"execution", - "execution_duration", - b"execution_duration", - "execution_time", - b"execution_time", - "first_run_id", - b"first_run_id", - "history_length", - b"history_length", - "history_size_bytes", - b"history_size_bytes", - "inherited_build_id", - b"inherited_build_id", - "memo", - b"memo", - "most_recent_worker_version_stamp", - b"most_recent_worker_version_stamp", - "parent_execution", - b"parent_execution", - "parent_namespace_id", - b"parent_namespace_id", - "priority", - b"priority", - "root_execution", - b"root_execution", - "search_attributes", - b"search_attributes", - "start_time", - b"start_time", - "state_transition_count", - b"state_transition_count", - "status", - b"status", - "task_queue", - b"task_queue", - "type", - b"type", - "versioning_info", - b"versioning_info", - "worker_deployment_name", - b"worker_deployment_name", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["auto_reset_points", b"auto_reset_points", "close_time", b"close_time", "execution", b"execution", "execution_duration", b"execution_duration", "execution_time", b"execution_time", "memo", b"memo", "most_recent_worker_version_stamp", b"most_recent_worker_version_stamp", "parent_execution", b"parent_execution", "priority", b"priority", "root_execution", b"root_execution", "search_attributes", b"search_attributes", "start_time", b"start_time", "type", b"type", "versioning_info", b"versioning_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["assigned_build_id", b"assigned_build_id", "auto_reset_points", b"auto_reset_points", "close_time", b"close_time", "execution", b"execution", "execution_duration", b"execution_duration", "execution_time", b"execution_time", "first_run_id", b"first_run_id", "history_length", b"history_length", "history_size_bytes", b"history_size_bytes", "inherited_build_id", b"inherited_build_id", "memo", b"memo", "most_recent_worker_version_stamp", b"most_recent_worker_version_stamp", "parent_execution", b"parent_execution", "parent_namespace_id", b"parent_namespace_id", "priority", b"priority", "root_execution", b"root_execution", "search_attributes", b"search_attributes", "start_time", b"start_time", "state_transition_count", b"state_transition_count", "status", b"status", "task_queue", b"task_queue", "type", b"type", "versioning_info", b"versioning_info", "worker_deployment_name", b"worker_deployment_name"]) -> None: ... global___WorkflowExecutionInfo = WorkflowExecutionInfo @@ -300,13 +203,8 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): key: builtins.str = ..., value: global___RequestIdInfo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... EXECUTION_EXPIRATION_TIME_FIELD_NUMBER: builtins.int RUN_EXPIRATION_TIME_FIELD_NUMBER: builtins.int @@ -334,11 +232,7 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): reset_run_id: builtins.str """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" @property - def request_id_infos( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___RequestIdInfo - ]: + def request_id_infos(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___RequestIdInfo]: """Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is @@ -353,41 +247,10 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): last_reset_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., original_start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., reset_run_id: builtins.str = ..., - request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution_expiration_time", - b"execution_expiration_time", - "last_reset_time", - b"last_reset_time", - "original_start_time", - b"original_start_time", - "run_expiration_time", - b"run_expiration_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_requested", - b"cancel_requested", - "execution_expiration_time", - b"execution_expiration_time", - "last_reset_time", - b"last_reset_time", - "original_start_time", - b"original_start_time", - "request_id_infos", - b"request_id_infos", - "reset_run_id", - b"reset_run_id", - "run_expiration_time", - b"run_expiration_time", - ], + request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution_expiration_time", b"execution_expiration_time", "last_reset_time", b"last_reset_time", "original_start_time", b"original_start_time", "run_expiration_time", b"run_expiration_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_requested", b"cancel_requested", "execution_expiration_time", b"execution_expiration_time", "last_reset_time", b"last_reset_time", "original_start_time", b"original_start_time", "request_id_infos", b"request_id_infos", "reset_run_id", b"reset_run_id", "run_expiration_time", b"run_expiration_time"]) -> None: ... global___WorkflowExecutionExtendedInfo = WorkflowExecutionExtendedInfo @@ -431,9 +294,7 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version that completed the last workflow task of this workflow execution. An absent value means no workflow task is completed, or the workflow is unversioned. If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed @@ -501,46 +362,13 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., versioning_override: global___VersioningOverride | None = ..., deployment_transition: global___DeploymentTransition | None = ..., version_transition: global___DeploymentVersionTransition | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_transition", - b"deployment_transition", - "deployment_version", - b"deployment_version", - "version_transition", - b"version_transition", - "versioning_override", - b"versioning_override", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "behavior", - b"behavior", - "deployment", - b"deployment", - "deployment_transition", - b"deployment_transition", - "deployment_version", - b"deployment_version", - "version", - b"version", - "version_transition", - b"version_transition", - "versioning_override", - b"versioning_override", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_transition", b"deployment_transition", "deployment_version", b"deployment_version", "version_transition", b"version_transition", "versioning_override", b"versioning_override"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["behavior", b"behavior", "deployment", b"deployment", "deployment_transition", b"deployment_transition", "deployment_version", b"deployment_version", "version", b"version", "version_transition", b"version_transition", "versioning_override", b"versioning_override"]) -> None: ... global___WorkflowExecutionVersioningInfo = WorkflowExecutionVersioningInfo @@ -562,12 +390,8 @@ class DeploymentTransition(google.protobuf.message.Message): *, deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> None: ... global___DeploymentTransition = DeploymentTransition @@ -584,9 +408,7 @@ class DeploymentVersionTransition(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The target Version of the transition. If nil, a so-far-versioned workflow is transitioning to unversioned workers. """ @@ -594,21 +416,10 @@ class DeploymentVersionTransition(google.protobuf.message.Message): self, *, version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version", "version", b"version" - ], + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "version", b"version"]) -> None: ... global___DeploymentVersionTransition = DeploymentVersionTransition @@ -627,9 +438,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: ... @property - def default_workflow_task_timeout( - self, - ) -> google.protobuf.duration_pb2.Duration: ... + def default_workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: ... @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """User metadata provided on start workflow.""" @@ -639,41 +448,11 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., - default_workflow_task_timeout: google.protobuf.duration_pb2.Duration - | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "default_workflow_task_timeout", - b"default_workflow_task_timeout", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "default_workflow_task_timeout", - b"default_workflow_task_timeout", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - ], + default_workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout"]) -> None: ... global___WorkflowExecutionConfig = WorkflowExecutionConfig @@ -698,12 +477,7 @@ class PendingActivityInfo(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", b"identity", "reason", b"reason" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "reason", b"reason"]) -> None: ... class Rule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -724,12 +498,7 @@ class PendingActivityInfo(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", b"identity", "reason", b"reason", "rule_id", b"rule_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "reason", b"reason", "rule_id", b"rule_id"]) -> None: ... PAUSE_TIME_FIELD_NUMBER: builtins.int MANUAL_FIELD_NUMBER: builtins.int @@ -750,35 +519,9 @@ class PendingActivityInfo(google.protobuf.message.Message): manual: global___PendingActivityInfo.PauseInfo.Manual | None = ..., rule: global___PendingActivityInfo.PauseInfo.Rule | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "manual", - b"manual", - "pause_time", - b"pause_time", - "paused_by", - b"paused_by", - "rule", - b"rule", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "manual", - b"manual", - "pause_time", - b"pause_time", - "paused_by", - b"paused_by", - "rule", - b"rule", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"] - ) -> typing_extensions.Literal["manual", "rule"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["manual", b"manual", "pause_time", b"pause_time", "paused_by", b"paused_by", "rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["manual", b"manual", "pause_time", b"pause_time", "paused_by", b"paused_by", "rule", b"rule"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"]) -> typing_extensions.Literal["manual", "rule"] | None: ... ACTIVITY_ID_FIELD_NUMBER: builtins.int ACTIVITY_TYPE_FIELD_NUMBER: builtins.int @@ -834,9 +577,7 @@ class PendingActivityInfo(google.protobuf.message.Message): rules. """ @property - def last_worker_version_stamp( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def last_worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @@ -868,9 +609,7 @@ class PendingActivityInfo(google.protobuf.message.Message): Deprecated. Use `last_deployment_version`. """ @property - def last_deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def last_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ @@ -880,9 +619,7 @@ class PendingActivityInfo(google.protobuf.message.Message): @property def pause_info(self) -> global___PendingActivityInfo.PauseInfo: ... @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Current activity options. May be different from the one used to start the activity.""" def __init__( self, @@ -901,135 +638,21 @@ class PendingActivityInfo(google.protobuf.message.Message): last_worker_identity: builtins.str = ..., use_workflow_build_id: google.protobuf.empty_pb2.Empty | None = ..., last_independently_assigned_build_id: builtins.str = ..., - last_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + last_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., current_retry_interval: google.protobuf.duration_pb2.Duration | None = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., paused: builtins.bool = ..., - last_deployment: temporalio.api.deployment.v1.message_pb2.Deployment - | None = ..., + last_deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., last_worker_deployment_version: builtins.str = ..., - last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., pause_info: global___PendingActivityInfo.PauseInfo | None = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions - | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_options", - b"activity_options", - "activity_type", - b"activity_type", - "assigned_build_id", - b"assigned_build_id", - "current_retry_interval", - b"current_retry_interval", - "expiration_time", - b"expiration_time", - "heartbeat_details", - b"heartbeat_details", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_deployment", - b"last_deployment", - "last_deployment_version", - b"last_deployment_version", - "last_failure", - b"last_failure", - "last_heartbeat_time", - b"last_heartbeat_time", - "last_independently_assigned_build_id", - b"last_independently_assigned_build_id", - "last_started_time", - b"last_started_time", - "last_worker_version_stamp", - b"last_worker_version_stamp", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "pause_info", - b"pause_info", - "priority", - b"priority", - "scheduled_time", - b"scheduled_time", - "use_workflow_build_id", - b"use_workflow_build_id", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_options", - b"activity_options", - "activity_type", - b"activity_type", - "assigned_build_id", - b"assigned_build_id", - "attempt", - b"attempt", - "current_retry_interval", - b"current_retry_interval", - "expiration_time", - b"expiration_time", - "heartbeat_details", - b"heartbeat_details", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_deployment", - b"last_deployment", - "last_deployment_version", - b"last_deployment_version", - "last_failure", - b"last_failure", - "last_heartbeat_time", - b"last_heartbeat_time", - "last_independently_assigned_build_id", - b"last_independently_assigned_build_id", - "last_started_time", - b"last_started_time", - "last_worker_deployment_version", - b"last_worker_deployment_version", - "last_worker_identity", - b"last_worker_identity", - "last_worker_version_stamp", - b"last_worker_version_stamp", - "maximum_attempts", - b"maximum_attempts", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "pause_info", - b"pause_info", - "paused", - b"paused", - "priority", - b"priority", - "scheduled_time", - b"scheduled_time", - "state", - b"state", - "use_workflow_build_id", - b"use_workflow_build_id", - ], - ) -> None: ... - def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "assigned_build_id", b"assigned_build_id" - ], - ) -> ( - typing_extensions.Literal[ - "use_workflow_build_id", "last_independently_assigned_build_id" - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options", "activity_type", b"activity_type", "assigned_build_id", b"assigned_build_id", "current_retry_interval", b"current_retry_interval", "expiration_time", b"expiration_time", "heartbeat_details", b"heartbeat_details", "last_attempt_complete_time", b"last_attempt_complete_time", "last_deployment", b"last_deployment", "last_deployment_version", b"last_deployment_version", "last_failure", b"last_failure", "last_heartbeat_time", b"last_heartbeat_time", "last_independently_assigned_build_id", b"last_independently_assigned_build_id", "last_started_time", b"last_started_time", "last_worker_version_stamp", b"last_worker_version_stamp", "next_attempt_schedule_time", b"next_attempt_schedule_time", "pause_info", b"pause_info", "priority", b"priority", "scheduled_time", b"scheduled_time", "use_workflow_build_id", b"use_workflow_build_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_options", b"activity_options", "activity_type", b"activity_type", "assigned_build_id", b"assigned_build_id", "attempt", b"attempt", "current_retry_interval", b"current_retry_interval", "expiration_time", b"expiration_time", "heartbeat_details", b"heartbeat_details", "last_attempt_complete_time", b"last_attempt_complete_time", "last_deployment", b"last_deployment", "last_deployment_version", b"last_deployment_version", "last_failure", b"last_failure", "last_heartbeat_time", b"last_heartbeat_time", "last_independently_assigned_build_id", b"last_independently_assigned_build_id", "last_started_time", b"last_started_time", "last_worker_deployment_version", b"last_worker_deployment_version", "last_worker_identity", b"last_worker_identity", "last_worker_version_stamp", b"last_worker_version_stamp", "maximum_attempts", b"maximum_attempts", "next_attempt_schedule_time", b"next_attempt_schedule_time", "pause_info", b"pause_info", "paused", b"paused", "priority", b"priority", "scheduled_time", b"scheduled_time", "state", b"state", "use_workflow_build_id", b"use_workflow_build_id"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["assigned_build_id", b"assigned_build_id"]) -> typing_extensions.Literal["use_workflow_build_id", "last_independently_assigned_build_id"] | None: ... global___PendingActivityInfo = PendingActivityInfo @@ -1045,9 +668,7 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): run_id: builtins.str workflow_type_name: builtins.str initiated_id: builtins.int - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) + parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType """Default: PARENT_CLOSE_POLICY_TERMINATE.""" def __init__( self, @@ -1058,21 +679,7 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): initiated_id: builtins.int = ..., parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "initiated_id", - b"initiated_id", - "parent_close_policy", - b"parent_close_policy", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - "workflow_type_name", - b"workflow_type_name", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["initiated_id", b"initiated_id", "parent_close_policy", b"parent_close_policy", "run_id", b"run_id", "workflow_id", b"workflow_id", "workflow_type_name", b"workflow_type_name"]) -> None: ... global___PendingChildExecutionInfo = PendingChildExecutionInfo @@ -1106,32 +713,8 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "original_scheduled_time", - b"original_scheduled_time", - "scheduled_time", - b"scheduled_time", - "started_time", - b"started_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "original_scheduled_time", - b"original_scheduled_time", - "scheduled_time", - b"scheduled_time", - "started_time", - b"started_time", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["original_scheduled_time", b"original_scheduled_time", "scheduled_time", b"scheduled_time", "started_time", b"started_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "original_scheduled_time", b"original_scheduled_time", "scheduled_time", b"scheduled_time", "started_time", b"started_time", "state", b"state"]) -> None: ... global___PendingWorkflowTaskInfo = PendingWorkflowTaskInfo @@ -1140,19 +723,13 @@ class ResetPoints(google.protobuf.message.Message): POINTS_FIELD_NUMBER: builtins.int @property - def points( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ResetPointInfo - ]: ... + def points(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResetPointInfo]: ... def __init__( self, *, points: collections.abc.Iterable[global___ResetPointInfo] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["points", b"points"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["points", b"points"]) -> None: ... global___ResetPoints = ResetPoints @@ -1200,31 +777,8 @@ class ResetPointInfo(google.protobuf.message.Message): expire_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., resettable: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "expire_time", b"expire_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "binary_checksum", - b"binary_checksum", - "build_id", - b"build_id", - "create_time", - b"create_time", - "expire_time", - b"expire_time", - "first_workflow_task_completed_id", - b"first_workflow_task_completed_id", - "resettable", - b"resettable", - "run_id", - b"run_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "expire_time", b"expire_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "build_id", b"build_id", "create_time", b"create_time", "expire_time", b"expire_time", "first_workflow_task_completed_id", b"first_workflow_task_completed_id", "resettable", b"resettable", "run_id", b"run_id"]) -> None: ... global___ResetPointInfo = ResetPointInfo @@ -1268,9 +822,7 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: @@ -1280,9 +832,7 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -1313,82 +863,14 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., versioning_override: global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "memo", - b"memo", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cron_schedule", - b"cron_schedule", - "header", - b"header", - "input", - b"input", - "memo", - b"memo", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cron_schedule", b"cron_schedule", "header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... global___NewWorkflowExecutionInfo = NewWorkflowExecutionInfo @@ -1417,21 +899,9 @@ class CallbackInfo(google.protobuf.message.Message): *, workflow_closed: global___CallbackInfo.WorkflowClosed | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "variant", b"variant", "workflow_closed", b"workflow_closed" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "variant", b"variant", "workflow_closed", b"workflow_closed" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["workflow_closed"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["variant", b"variant", "workflow_closed", b"workflow_closed"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["variant", b"variant", "workflow_closed", b"workflow_closed"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["workflow_closed"] | None: ... CALLBACK_FIELD_NUMBER: builtins.int TRIGGER_FIELD_NUMBER: builtins.int @@ -1475,54 +945,13 @@ class CallbackInfo(google.protobuf.message.Message): registration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure - | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., blocked_reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "callback", - b"callback", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "registration_time", - b"registration_time", - "trigger", - b"trigger", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "blocked_reason", - b"blocked_reason", - "callback", - b"callback", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "registration_time", - b"registration_time", - "state", - b"state", - "trigger", - b"trigger", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["callback", b"callback", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "registration_time", b"registration_time", "trigger", b"trigger"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "callback", b"callback", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "registration_time", b"registration_time", "state", b"state", "trigger", b"trigger"]) -> None: ... global___CallbackInfo = CallbackInfo @@ -1604,69 +1033,16 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure - | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., cancellation_info: global___NexusOperationCancellationInfo | None = ..., scheduled_event_id: builtins.int = ..., blocked_reason: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancellation_info", - b"cancellation_info", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_time", - b"scheduled_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "blocked_reason", - b"blocked_reason", - "cancellation_info", - b"cancellation_info", - "endpoint", - b"endpoint", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "operation", - b"operation", - "operation_id", - b"operation_id", - "operation_token", - b"operation_token", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_event_id", - b"scheduled_event_id", - "scheduled_time", - b"scheduled_time", - "service", - b"service", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["cancellation_info", b"cancellation_info", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "cancellation_info", b"cancellation_info", "endpoint", b"endpoint", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_event_id", b"scheduled_event_id", "scheduled_time", b"scheduled_time", "service", b"service", "state", b"state"]) -> None: ... global___PendingNexusOperationInfo = PendingNexusOperationInfo @@ -1707,46 +1083,13 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): requested_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure - | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., blocked_reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "requested_time", - b"requested_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "blocked_reason", - b"blocked_reason", - "last_attempt_complete_time", - b"last_attempt_complete_time", - "last_attempt_failure", - b"last_attempt_failure", - "next_attempt_schedule_time", - b"next_attempt_schedule_time", - "requested_time", - b"requested_time", - "state", - b"state", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "requested_time", b"requested_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "requested_time", b"requested_time", "state", b"state"]) -> None: ... global___NexusOperationCancellationInfo = NexusOperationCancellationInfo @@ -1762,18 +1105,8 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): *, versioning_override: global___VersioningOverride | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "versioning_override", b"versioning_override" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "versioning_override", b"versioning_override" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> None: ... global___WorkflowExecutionOptions = WorkflowExecutionOptions @@ -1793,34 +1126,19 @@ class VersioningOverride(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _PinnedOverrideBehaviorEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - VersioningOverride._PinnedOverrideBehavior.ValueType - ], - builtins.type, - ): # noqa: F821 + class _PinnedOverrideBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[VersioningOverride._PinnedOverrideBehavior.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( - VersioningOverride._PinnedOverrideBehavior.ValueType - ) # 0 + PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: VersioningOverride._PinnedOverrideBehavior.ValueType # 0 """Unspecified.""" - PINNED_OVERRIDE_BEHAVIOR_PINNED: ( - VersioningOverride._PinnedOverrideBehavior.ValueType - ) # 1 + PINNED_OVERRIDE_BEHAVIOR_PINNED: VersioningOverride._PinnedOverrideBehavior.ValueType # 1 """Override workflow behavior to be Pinned.""" - class PinnedOverrideBehavior( - _PinnedOverrideBehavior, metaclass=_PinnedOverrideBehaviorEnumTypeWrapper - ): + class PinnedOverrideBehavior(_PinnedOverrideBehavior, metaclass=_PinnedOverrideBehaviorEnumTypeWrapper): """Used to specify different sub-types of Pinned override that we plan to add in the future.""" - PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( - VersioningOverride.PinnedOverrideBehavior.ValueType - ) # 0 + PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: VersioningOverride.PinnedOverrideBehavior.ValueType # 0 """Unspecified.""" - PINNED_OVERRIDE_BEHAVIOR_PINNED: ( - VersioningOverride.PinnedOverrideBehavior.ValueType - ) # 1 + PINNED_OVERRIDE_BEHAVIOR_PINNED: VersioningOverride.PinnedOverrideBehavior.ValueType # 1 """Override workflow behavior to be Pinned.""" class PinnedOverride(google.protobuf.message.Message): @@ -1833,26 +1151,16 @@ class VersioningOverride(google.protobuf.message.Message): See `PinnedOverrideBehavior` for details. """ @property - def version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" def __init__( self, *, behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., - version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["version", b"version"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "behavior", b"behavior", "version", b"version" - ], + version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["version", b"version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["behavior", b"behavior", "version", b"version"]) -> None: ... PINNED_FIELD_NUMBER: builtins.int AUTO_UPGRADE_FIELD_NUMBER: builtins.int @@ -1891,39 +1199,9 @@ class VersioningOverride(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., pinned_version: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "auto_upgrade", - b"auto_upgrade", - "deployment", - b"deployment", - "override", - b"override", - "pinned", - b"pinned", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "auto_upgrade", - b"auto_upgrade", - "behavior", - b"behavior", - "deployment", - b"deployment", - "override", - b"override", - "pinned", - b"pinned", - "pinned_version", - b"pinned_version", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["override", b"override"] - ) -> typing_extensions.Literal["pinned", "auto_upgrade"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["auto_upgrade", b"auto_upgrade", "deployment", b"deployment", "override", b"override", "pinned", b"pinned"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["auto_upgrade", b"auto_upgrade", "behavior", b"behavior", "deployment", b"deployment", "override", b"override", "pinned", b"pinned", "pinned_version", b"pinned_version"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["override", b"override"]) -> typing_extensions.Literal["pinned", "auto_upgrade"] | None: ... global___VersioningOverride = VersioningOverride @@ -1952,17 +1230,7 @@ class OnConflictOptions(google.protobuf.message.Message): attach_completion_callbacks: builtins.bool = ..., attach_links: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attach_completion_callbacks", - b"attach_completion_callbacks", - "attach_links", - b"attach_links", - "attach_request_id", - b"attach_request_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", b"attach_links", "attach_request_id", b"attach_request_id"]) -> None: ... global___OnConflictOptions = OnConflictOptions @@ -1992,17 +1260,7 @@ class RequestIdInfo(google.protobuf.message.Message): event_id: builtins.int = ..., buffered: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "buffered", - b"buffered", - "event_id", - b"event_id", - "event_type", - b"event_type", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["buffered", b"buffered", "event_id", b"event_id", "event_type", b"event_type"]) -> None: ... global___RequestIdInfo = RequestIdInfo @@ -2031,11 +1289,7 @@ class PostResetOperation(google.protobuf.message.Message): def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow.""" @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the WorkflowExecutionSignaled event.""" def __init__( self, @@ -2043,28 +1297,10 @@ class PostResetOperation(google.protobuf.message.Message): signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", b"header", "input", b"input" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "links", - b"links", - "signal_name", - b"signal_name", - ], + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "links", b"links", "signal_name", b"signal_name"]) -> None: ... class UpdateWorkflowOptions(google.protobuf.message.Message): """UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. @@ -2089,66 +1325,23 @@ class PostResetOperation(google.protobuf.message.Message): workflow_execution_options: global___WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "update_mask", - b"update_mask", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "update_mask", - b"update_mask", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... SIGNAL_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_OPTIONS_FIELD_NUMBER: builtins.int @property def signal_workflow(self) -> global___PostResetOperation.SignalWorkflow: ... @property - def update_workflow_options( - self, - ) -> global___PostResetOperation.UpdateWorkflowOptions: ... + def update_workflow_options(self) -> global___PostResetOperation.UpdateWorkflowOptions: ... def __init__( self, *, signal_workflow: global___PostResetOperation.SignalWorkflow | None = ..., - update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "signal_workflow", - b"signal_workflow", - "update_workflow_options", - b"update_workflow_options", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "signal_workflow", - b"signal_workflow", - "update_workflow_options", - b"update_workflow_options", - "variant", - b"variant", - ], + update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions | None = ..., ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> ( - typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["signal_workflow", b"signal_workflow", "update_workflow_options", b"update_workflow_options", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["signal_workflow", b"signal_workflow", "update_workflow_options", b"update_workflow_options", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None: ... global___PostResetOperation = PostResetOperation diff --git a/temporalio/api/workflowservice/v1/__init__.py b/temporalio/api/workflowservice/v1/__init__.py index 8f82668cb..91ecf8d61 100644 --- a/temporalio/api/workflowservice/v1/__init__.py +++ b/temporalio/api/workflowservice/v1/__init__.py @@ -1,189 +1,187 @@ -from .request_response_pb2 import ( - CountWorkflowExecutionsRequest, - CountWorkflowExecutionsResponse, - CreateScheduleRequest, - CreateScheduleResponse, - CreateWorkflowRuleRequest, - CreateWorkflowRuleResponse, - DeleteScheduleRequest, - DeleteScheduleResponse, - DeleteWorkerDeploymentRequest, - DeleteWorkerDeploymentResponse, - DeleteWorkerDeploymentVersionRequest, - DeleteWorkerDeploymentVersionResponse, - DeleteWorkflowExecutionRequest, - DeleteWorkflowExecutionResponse, - DeleteWorkflowRuleRequest, - DeleteWorkflowRuleResponse, - DeprecateNamespaceRequest, - DeprecateNamespaceResponse, - DescribeBatchOperationRequest, - DescribeBatchOperationResponse, - DescribeDeploymentRequest, - DescribeDeploymentResponse, - DescribeNamespaceRequest, - DescribeNamespaceResponse, - DescribeScheduleRequest, - DescribeScheduleResponse, - DescribeTaskQueueRequest, - DescribeTaskQueueResponse, - DescribeWorkerDeploymentRequest, - DescribeWorkerDeploymentResponse, - DescribeWorkerDeploymentVersionRequest, - DescribeWorkerDeploymentVersionResponse, - DescribeWorkflowExecutionRequest, - DescribeWorkflowExecutionResponse, - DescribeWorkflowRuleRequest, - DescribeWorkflowRuleResponse, - ExecuteMultiOperationRequest, - ExecuteMultiOperationResponse, - FetchWorkerConfigRequest, - FetchWorkerConfigResponse, - GetClusterInfoRequest, - GetClusterInfoResponse, - GetCurrentDeploymentRequest, - GetCurrentDeploymentResponse, - GetDeploymentReachabilityRequest, - GetDeploymentReachabilityResponse, - GetSearchAttributesRequest, - GetSearchAttributesResponse, - GetSystemInfoRequest, - GetSystemInfoResponse, - GetWorkerBuildIdCompatibilityRequest, - GetWorkerBuildIdCompatibilityResponse, - GetWorkerTaskReachabilityRequest, - GetWorkerTaskReachabilityResponse, - GetWorkerVersioningRulesRequest, - GetWorkerVersioningRulesResponse, - GetWorkflowExecutionHistoryRequest, - GetWorkflowExecutionHistoryResponse, - GetWorkflowExecutionHistoryReverseRequest, - GetWorkflowExecutionHistoryReverseResponse, - ListArchivedWorkflowExecutionsRequest, - ListArchivedWorkflowExecutionsResponse, - ListBatchOperationsRequest, - ListBatchOperationsResponse, - ListClosedWorkflowExecutionsRequest, - ListClosedWorkflowExecutionsResponse, - ListDeploymentsRequest, - ListDeploymentsResponse, - ListNamespacesRequest, - ListNamespacesResponse, - ListOpenWorkflowExecutionsRequest, - ListOpenWorkflowExecutionsResponse, - ListScheduleMatchingTimesRequest, - ListScheduleMatchingTimesResponse, - ListSchedulesRequest, - ListSchedulesResponse, - ListTaskQueuePartitionsRequest, - ListTaskQueuePartitionsResponse, - ListWorkerDeploymentsRequest, - ListWorkerDeploymentsResponse, - ListWorkersRequest, - ListWorkersResponse, - ListWorkflowExecutionsRequest, - ListWorkflowExecutionsResponse, - ListWorkflowRulesRequest, - ListWorkflowRulesResponse, - PatchScheduleRequest, - PatchScheduleResponse, - PauseActivityRequest, - PauseActivityResponse, - PollActivityTaskQueueRequest, - PollActivityTaskQueueResponse, - PollNexusTaskQueueRequest, - PollNexusTaskQueueResponse, - PollWorkflowExecutionUpdateRequest, - PollWorkflowExecutionUpdateResponse, - PollWorkflowTaskQueueRequest, - PollWorkflowTaskQueueResponse, - QueryWorkflowRequest, - QueryWorkflowResponse, - RecordActivityTaskHeartbeatByIdRequest, - RecordActivityTaskHeartbeatByIdResponse, - RecordActivityTaskHeartbeatRequest, - RecordActivityTaskHeartbeatResponse, - RecordWorkerHeartbeatRequest, - RecordWorkerHeartbeatResponse, - RegisterNamespaceRequest, - RegisterNamespaceResponse, - RequestCancelWorkflowExecutionRequest, - RequestCancelWorkflowExecutionResponse, - ResetActivityRequest, - ResetActivityResponse, - ResetStickyTaskQueueRequest, - ResetStickyTaskQueueResponse, - ResetWorkflowExecutionRequest, - ResetWorkflowExecutionResponse, - RespondActivityTaskCanceledByIdRequest, - RespondActivityTaskCanceledByIdResponse, - RespondActivityTaskCanceledRequest, - RespondActivityTaskCanceledResponse, - RespondActivityTaskCompletedByIdRequest, - RespondActivityTaskCompletedByIdResponse, - RespondActivityTaskCompletedRequest, - RespondActivityTaskCompletedResponse, - RespondActivityTaskFailedByIdRequest, - RespondActivityTaskFailedByIdResponse, - RespondActivityTaskFailedRequest, - RespondActivityTaskFailedResponse, - RespondNexusTaskCompletedRequest, - RespondNexusTaskCompletedResponse, - RespondNexusTaskFailedRequest, - RespondNexusTaskFailedResponse, - RespondQueryTaskCompletedRequest, - RespondQueryTaskCompletedResponse, - RespondWorkflowTaskCompletedRequest, - RespondWorkflowTaskCompletedResponse, - RespondWorkflowTaskFailedRequest, - RespondWorkflowTaskFailedResponse, - ScanWorkflowExecutionsRequest, - ScanWorkflowExecutionsResponse, - SetCurrentDeploymentRequest, - SetCurrentDeploymentResponse, - SetWorkerDeploymentCurrentVersionRequest, - SetWorkerDeploymentCurrentVersionResponse, - SetWorkerDeploymentRampingVersionRequest, - SetWorkerDeploymentRampingVersionResponse, - ShutdownWorkerRequest, - ShutdownWorkerResponse, - SignalWithStartWorkflowExecutionRequest, - SignalWithStartWorkflowExecutionResponse, - SignalWorkflowExecutionRequest, - SignalWorkflowExecutionResponse, - StartBatchOperationRequest, - StartBatchOperationResponse, - StartWorkflowExecutionRequest, - StartWorkflowExecutionResponse, - StopBatchOperationRequest, - StopBatchOperationResponse, - TerminateWorkflowExecutionRequest, - TerminateWorkflowExecutionResponse, - TriggerWorkflowRuleRequest, - TriggerWorkflowRuleResponse, - UnpauseActivityRequest, - UnpauseActivityResponse, - UpdateActivityOptionsRequest, - UpdateActivityOptionsResponse, - UpdateNamespaceRequest, - UpdateNamespaceResponse, - UpdateScheduleRequest, - UpdateScheduleResponse, - UpdateTaskQueueConfigRequest, - UpdateTaskQueueConfigResponse, - UpdateWorkerBuildIdCompatibilityRequest, - UpdateWorkerBuildIdCompatibilityResponse, - UpdateWorkerConfigRequest, - UpdateWorkerConfigResponse, - UpdateWorkerDeploymentVersionMetadataRequest, - UpdateWorkerDeploymentVersionMetadataResponse, - UpdateWorkerVersioningRulesRequest, - UpdateWorkerVersioningRulesResponse, - UpdateWorkflowExecutionOptionsRequest, - UpdateWorkflowExecutionOptionsResponse, - UpdateWorkflowExecutionRequest, - UpdateWorkflowExecutionResponse, -) +from .request_response_pb2 import RegisterNamespaceRequest +from .request_response_pb2 import RegisterNamespaceResponse +from .request_response_pb2 import ListNamespacesRequest +from .request_response_pb2 import ListNamespacesResponse +from .request_response_pb2 import DescribeNamespaceRequest +from .request_response_pb2 import DescribeNamespaceResponse +from .request_response_pb2 import UpdateNamespaceRequest +from .request_response_pb2 import UpdateNamespaceResponse +from .request_response_pb2 import DeprecateNamespaceRequest +from .request_response_pb2 import DeprecateNamespaceResponse +from .request_response_pb2 import StartWorkflowExecutionRequest +from .request_response_pb2 import StartWorkflowExecutionResponse +from .request_response_pb2 import GetWorkflowExecutionHistoryRequest +from .request_response_pb2 import GetWorkflowExecutionHistoryResponse +from .request_response_pb2 import GetWorkflowExecutionHistoryReverseRequest +from .request_response_pb2 import GetWorkflowExecutionHistoryReverseResponse +from .request_response_pb2 import PollWorkflowTaskQueueRequest +from .request_response_pb2 import PollWorkflowTaskQueueResponse +from .request_response_pb2 import RespondWorkflowTaskCompletedRequest +from .request_response_pb2 import RespondWorkflowTaskCompletedResponse +from .request_response_pb2 import RespondWorkflowTaskFailedRequest +from .request_response_pb2 import RespondWorkflowTaskFailedResponse +from .request_response_pb2 import PollActivityTaskQueueRequest +from .request_response_pb2 import PollActivityTaskQueueResponse +from .request_response_pb2 import RecordActivityTaskHeartbeatRequest +from .request_response_pb2 import RecordActivityTaskHeartbeatResponse +from .request_response_pb2 import RecordActivityTaskHeartbeatByIdRequest +from .request_response_pb2 import RecordActivityTaskHeartbeatByIdResponse +from .request_response_pb2 import RespondActivityTaskCompletedRequest +from .request_response_pb2 import RespondActivityTaskCompletedResponse +from .request_response_pb2 import RespondActivityTaskCompletedByIdRequest +from .request_response_pb2 import RespondActivityTaskCompletedByIdResponse +from .request_response_pb2 import RespondActivityTaskFailedRequest +from .request_response_pb2 import RespondActivityTaskFailedResponse +from .request_response_pb2 import RespondActivityTaskFailedByIdRequest +from .request_response_pb2 import RespondActivityTaskFailedByIdResponse +from .request_response_pb2 import RespondActivityTaskCanceledRequest +from .request_response_pb2 import RespondActivityTaskCanceledResponse +from .request_response_pb2 import RespondActivityTaskCanceledByIdRequest +from .request_response_pb2 import RespondActivityTaskCanceledByIdResponse +from .request_response_pb2 import RequestCancelWorkflowExecutionRequest +from .request_response_pb2 import RequestCancelWorkflowExecutionResponse +from .request_response_pb2 import SignalWorkflowExecutionRequest +from .request_response_pb2 import SignalWorkflowExecutionResponse +from .request_response_pb2 import SignalWithStartWorkflowExecutionRequest +from .request_response_pb2 import SignalWithStartWorkflowExecutionResponse +from .request_response_pb2 import ResetWorkflowExecutionRequest +from .request_response_pb2 import ResetWorkflowExecutionResponse +from .request_response_pb2 import TerminateWorkflowExecutionRequest +from .request_response_pb2 import TerminateWorkflowExecutionResponse +from .request_response_pb2 import DeleteWorkflowExecutionRequest +from .request_response_pb2 import DeleteWorkflowExecutionResponse +from .request_response_pb2 import ListOpenWorkflowExecutionsRequest +from .request_response_pb2 import ListOpenWorkflowExecutionsResponse +from .request_response_pb2 import ListClosedWorkflowExecutionsRequest +from .request_response_pb2 import ListClosedWorkflowExecutionsResponse +from .request_response_pb2 import ListWorkflowExecutionsRequest +from .request_response_pb2 import ListWorkflowExecutionsResponse +from .request_response_pb2 import ListArchivedWorkflowExecutionsRequest +from .request_response_pb2 import ListArchivedWorkflowExecutionsResponse +from .request_response_pb2 import ScanWorkflowExecutionsRequest +from .request_response_pb2 import ScanWorkflowExecutionsResponse +from .request_response_pb2 import CountWorkflowExecutionsRequest +from .request_response_pb2 import CountWorkflowExecutionsResponse +from .request_response_pb2 import GetSearchAttributesRequest +from .request_response_pb2 import GetSearchAttributesResponse +from .request_response_pb2 import RespondQueryTaskCompletedRequest +from .request_response_pb2 import RespondQueryTaskCompletedResponse +from .request_response_pb2 import ResetStickyTaskQueueRequest +from .request_response_pb2 import ResetStickyTaskQueueResponse +from .request_response_pb2 import ShutdownWorkerRequest +from .request_response_pb2 import ShutdownWorkerResponse +from .request_response_pb2 import QueryWorkflowRequest +from .request_response_pb2 import QueryWorkflowResponse +from .request_response_pb2 import DescribeWorkflowExecutionRequest +from .request_response_pb2 import DescribeWorkflowExecutionResponse +from .request_response_pb2 import DescribeTaskQueueRequest +from .request_response_pb2 import DescribeTaskQueueResponse +from .request_response_pb2 import GetClusterInfoRequest +from .request_response_pb2 import GetClusterInfoResponse +from .request_response_pb2 import GetSystemInfoRequest +from .request_response_pb2 import GetSystemInfoResponse +from .request_response_pb2 import ListTaskQueuePartitionsRequest +from .request_response_pb2 import ListTaskQueuePartitionsResponse +from .request_response_pb2 import CreateScheduleRequest +from .request_response_pb2 import CreateScheduleResponse +from .request_response_pb2 import DescribeScheduleRequest +from .request_response_pb2 import DescribeScheduleResponse +from .request_response_pb2 import UpdateScheduleRequest +from .request_response_pb2 import UpdateScheduleResponse +from .request_response_pb2 import PatchScheduleRequest +from .request_response_pb2 import PatchScheduleResponse +from .request_response_pb2 import ListScheduleMatchingTimesRequest +from .request_response_pb2 import ListScheduleMatchingTimesResponse +from .request_response_pb2 import DeleteScheduleRequest +from .request_response_pb2 import DeleteScheduleResponse +from .request_response_pb2 import ListSchedulesRequest +from .request_response_pb2 import ListSchedulesResponse +from .request_response_pb2 import UpdateWorkerBuildIdCompatibilityRequest +from .request_response_pb2 import UpdateWorkerBuildIdCompatibilityResponse +from .request_response_pb2 import GetWorkerBuildIdCompatibilityRequest +from .request_response_pb2 import GetWorkerBuildIdCompatibilityResponse +from .request_response_pb2 import UpdateWorkerVersioningRulesRequest +from .request_response_pb2 import UpdateWorkerVersioningRulesResponse +from .request_response_pb2 import GetWorkerVersioningRulesRequest +from .request_response_pb2 import GetWorkerVersioningRulesResponse +from .request_response_pb2 import GetWorkerTaskReachabilityRequest +from .request_response_pb2 import GetWorkerTaskReachabilityResponse +from .request_response_pb2 import UpdateWorkflowExecutionRequest +from .request_response_pb2 import UpdateWorkflowExecutionResponse +from .request_response_pb2 import StartBatchOperationRequest +from .request_response_pb2 import StartBatchOperationResponse +from .request_response_pb2 import StopBatchOperationRequest +from .request_response_pb2 import StopBatchOperationResponse +from .request_response_pb2 import DescribeBatchOperationRequest +from .request_response_pb2 import DescribeBatchOperationResponse +from .request_response_pb2 import ListBatchOperationsRequest +from .request_response_pb2 import ListBatchOperationsResponse +from .request_response_pb2 import PollWorkflowExecutionUpdateRequest +from .request_response_pb2 import PollWorkflowExecutionUpdateResponse +from .request_response_pb2 import PollNexusTaskQueueRequest +from .request_response_pb2 import PollNexusTaskQueueResponse +from .request_response_pb2 import RespondNexusTaskCompletedRequest +from .request_response_pb2 import RespondNexusTaskCompletedResponse +from .request_response_pb2 import RespondNexusTaskFailedRequest +from .request_response_pb2 import RespondNexusTaskFailedResponse +from .request_response_pb2 import ExecuteMultiOperationRequest +from .request_response_pb2 import ExecuteMultiOperationResponse +from .request_response_pb2 import UpdateActivityOptionsRequest +from .request_response_pb2 import UpdateActivityOptionsResponse +from .request_response_pb2 import PauseActivityRequest +from .request_response_pb2 import PauseActivityResponse +from .request_response_pb2 import UnpauseActivityRequest +from .request_response_pb2 import UnpauseActivityResponse +from .request_response_pb2 import ResetActivityRequest +from .request_response_pb2 import ResetActivityResponse +from .request_response_pb2 import UpdateWorkflowExecutionOptionsRequest +from .request_response_pb2 import UpdateWorkflowExecutionOptionsResponse +from .request_response_pb2 import DescribeDeploymentRequest +from .request_response_pb2 import DescribeDeploymentResponse +from .request_response_pb2 import DescribeWorkerDeploymentVersionRequest +from .request_response_pb2 import DescribeWorkerDeploymentVersionResponse +from .request_response_pb2 import DescribeWorkerDeploymentRequest +from .request_response_pb2 import DescribeWorkerDeploymentResponse +from .request_response_pb2 import ListDeploymentsRequest +from .request_response_pb2 import ListDeploymentsResponse +from .request_response_pb2 import SetCurrentDeploymentRequest +from .request_response_pb2 import SetCurrentDeploymentResponse +from .request_response_pb2 import SetWorkerDeploymentCurrentVersionRequest +from .request_response_pb2 import SetWorkerDeploymentCurrentVersionResponse +from .request_response_pb2 import SetWorkerDeploymentRampingVersionRequest +from .request_response_pb2 import SetWorkerDeploymentRampingVersionResponse +from .request_response_pb2 import ListWorkerDeploymentsRequest +from .request_response_pb2 import ListWorkerDeploymentsResponse +from .request_response_pb2 import DeleteWorkerDeploymentVersionRequest +from .request_response_pb2 import DeleteWorkerDeploymentVersionResponse +from .request_response_pb2 import DeleteWorkerDeploymentRequest +from .request_response_pb2 import DeleteWorkerDeploymentResponse +from .request_response_pb2 import UpdateWorkerDeploymentVersionMetadataRequest +from .request_response_pb2 import UpdateWorkerDeploymentVersionMetadataResponse +from .request_response_pb2 import GetCurrentDeploymentRequest +from .request_response_pb2 import GetCurrentDeploymentResponse +from .request_response_pb2 import GetDeploymentReachabilityRequest +from .request_response_pb2 import GetDeploymentReachabilityResponse +from .request_response_pb2 import CreateWorkflowRuleRequest +from .request_response_pb2 import CreateWorkflowRuleResponse +from .request_response_pb2 import DescribeWorkflowRuleRequest +from .request_response_pb2 import DescribeWorkflowRuleResponse +from .request_response_pb2 import DeleteWorkflowRuleRequest +from .request_response_pb2 import DeleteWorkflowRuleResponse +from .request_response_pb2 import ListWorkflowRulesRequest +from .request_response_pb2 import ListWorkflowRulesResponse +from .request_response_pb2 import TriggerWorkflowRuleRequest +from .request_response_pb2 import TriggerWorkflowRuleResponse +from .request_response_pb2 import RecordWorkerHeartbeatRequest +from .request_response_pb2 import RecordWorkerHeartbeatResponse +from .request_response_pb2 import ListWorkersRequest +from .request_response_pb2 import ListWorkersResponse +from .request_response_pb2 import UpdateTaskQueueConfigRequest +from .request_response_pb2 import UpdateTaskQueueConfigResponse +from .request_response_pb2 import FetchWorkerConfigRequest +from .request_response_pb2 import FetchWorkerConfigResponse +from .request_response_pb2 import UpdateWorkerConfigRequest +from .request_response_pb2 import UpdateWorkerConfigResponse __all__ = [ "CountWorkflowExecutionsRequest", @@ -375,19 +373,9 @@ # gRPC is optional try: import grpc - - from .service_pb2_grpc import ( - WorkflowServiceServicer, - WorkflowServiceStub, - add_WorkflowServiceServicer_to_server, - ) - - __all__.extend( - [ - "WorkflowServiceServicer", - "WorkflowServiceStub", - "add_WorkflowServiceServicer_to_server", - ] - ) + from .service_pb2_grpc import add_WorkflowServiceServicer_to_server + from .service_pb2_grpc import WorkflowServiceStub + from .service_pb2_grpc import WorkflowServiceServicer + __all__.extend(["WorkflowServiceServicer", "WorkflowServiceStub", "add_WorkflowServiceServicer_to_server"]) except ImportError: - pass + pass \ No newline at end of file diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.py b/temporalio/api/workflowservice/v1/request_response_pb2.py index 5fd33bb8f..50ad0e600 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2.py @@ -2,3613 +2,2283 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/request_response.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.enums.v1 import batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2 +from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 +from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 +from temporalio.api.enums.v1 import query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2 +from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 +from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 +from temporalio.api.enums.v1 import deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2 +from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 +from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.history.v1 import message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2 +from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 +from temporalio.api.command.v1 import message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2 +from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.filter.v1 import message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2 +from temporalio.api.protocol.v1 import message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2 +from temporalio.api.namespace.v1 import message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2 +from temporalio.api.query.v1 import message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2 +from temporalio.api.replication.v1 import message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2 +from temporalio.api.rules.v1 import message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2 +from temporalio.api.schedule.v1 import message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2 +from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 +from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 +from temporalio.api.version.v1 import message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2 +from temporalio.api.batch.v1 import message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2 +from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 +from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 +from temporalio.api.worker.v1 import message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.activity.v1 import ( - message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, -) -from temporalio.api.batch.v1 import ( - message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, -) -from temporalio.api.command.v1 import ( - message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, -) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, -) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.enums.v1 import ( - deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, -) -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, -) -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, -) -from temporalio.api.enums.v1 import ( - query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, -) -from temporalio.api.enums.v1 import ( - reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, -) -from temporalio.api.enums.v1 import ( - task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, -) -from temporalio.api.enums.v1 import ( - update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.filter.v1 import ( - message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, -) -from temporalio.api.history.v1 import ( - message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, -) -from temporalio.api.namespace.v1 import ( - message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, -) -from temporalio.api.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, -) -from temporalio.api.protocol.v1 import ( - message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, -) -from temporalio.api.query.v1 import ( - message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, -) -from temporalio.api.replication.v1 import ( - message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, -) -from temporalio.api.rules.v1 import ( - message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, -) -from temporalio.api.schedule.v1 import ( - message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.api.sdk.v1 import ( - worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) -from temporalio.api.update.v1 import ( - message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, -) -from temporalio.api.version.v1 import ( - message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, -) -from temporalio.api.worker.v1 import ( - message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, -) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xa9\x0b\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x8a\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x91\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\xb5\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\xf8\x03\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xb8\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xef\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x90\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xe9\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xa9\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfa\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xe9\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\x8b\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"!\n\x1fSignalWorkflowExecutionResponse"\xf1\t\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x15\x10\x16"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xd0\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\xaa\x01\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\x8b\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\xf4\x03\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\xe7\x02\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xf8\x01\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xea\x02\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response"#\n!RespondNexusTaskCompletedResponse"\x8c\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x32\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerError" \n\x1eRespondNexusTaskFailedResponse"\xdf\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity"\x17\n\x15PauseActivityResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x19\n\x17UnpauseActivityResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x17\n\x15ResetActivityResponse"\x8a\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xcb\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08"\xbb\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xdf\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08"\xd8\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x13previous_percentage\x18\x03 \x01(\x02"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x86\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x1f\n\x1dRecordWorkerHeartbeatResponse"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"h\n\x13ListWorkersResponse\x12\x38\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xe2\x03\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x89\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\xf5\x01\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08responseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' -) - - -_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["RegisterNamespaceRequest"] -_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name[ - "DataEntry" -] -_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "RegisterNamespaceResponse" -] -_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["ListNamespacesRequest"] -_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["ListNamespacesResponse"] -_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DescribeNamespaceRequest"] -_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeNamespaceResponse" -] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] -_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeprecateNamespaceRequest" -] -_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeprecateNamespaceResponse" -] -_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartWorkflowExecutionRequest" -] -_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartWorkflowExecutionResponse" -] -_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryRequest" -] -_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryResponse" -] -_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryReverseRequest" -] -_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryReverseResponse" -] -_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollWorkflowTaskQueueRequest" -] -_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollWorkflowTaskQueueResponse" -] -_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = ( - _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name["QueriesEntry"] -) -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskCompletedRequest" -] -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = ( - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["QueryResultsEntry"] -) -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = ( - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["Capabilities"] -) -_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskCompletedResponse" -] -_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskFailedRequest" -] -_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskFailedResponse" -] -_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollActivityTaskQueueRequest" -] -_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollActivityTaskQueueResponse" -] -_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatRequest" -] -_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatResponse" -] -_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatByIdRequest" -] -_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatByIdResponse" -] -_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedRequest" -] -_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedResponse" -] -_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedByIdRequest" -] -_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedByIdResponse" -] -_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedRequest" -] -_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedResponse" -] -_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedByIdRequest" -] -_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedByIdResponse" -] -_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledRequest" -] -_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledResponse" -] -_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledByIdRequest" -] -_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledByIdResponse" -] -_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "RequestCancelWorkflowExecutionRequest" -] -_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "RequestCancelWorkflowExecutionResponse" -] -_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SignalWorkflowExecutionRequest" -] -_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SignalWorkflowExecutionResponse" -] -_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SignalWithStartWorkflowExecutionRequest" -] -_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SignalWithStartWorkflowExecutionResponse" -] -_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "ResetWorkflowExecutionRequest" -] -_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "ResetWorkflowExecutionResponse" -] -_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "TerminateWorkflowExecutionRequest" -] -_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "TerminateWorkflowExecutionResponse" -] -_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowExecutionRequest" -] -_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowExecutionResponse" -] -_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListOpenWorkflowExecutionsRequest" -] -_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListOpenWorkflowExecutionsResponse" -] -_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListClosedWorkflowExecutionsRequest" -] -_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListClosedWorkflowExecutionsResponse" -] -_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListWorkflowExecutionsRequest" -] -_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkflowExecutionsResponse" -] -_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListArchivedWorkflowExecutionsRequest" -] -_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListArchivedWorkflowExecutionsResponse" -] -_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ScanWorkflowExecutionsRequest" -] -_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ScanWorkflowExecutionsResponse" -] -_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "CountWorkflowExecutionsRequest" -] -_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "CountWorkflowExecutionsResponse" -] -_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( - _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] -) -_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetSearchAttributesRequest" -] -_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetSearchAttributesResponse" -] -_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = ( - _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name["KeysEntry"] -) -_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondQueryTaskCompletedRequest" -] -_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondQueryTaskCompletedResponse" -] -_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "ResetStickyTaskQueueRequest" -] -_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "ResetStickyTaskQueueResponse" -] -_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name["ShutdownWorkerRequest"] -_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name["ShutdownWorkerResponse"] -_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name["QueryWorkflowRequest"] -_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name["QueryWorkflowResponse"] -_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowExecutionRequest" -] -_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowExecutionResponse" -] -_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name["DescribeTaskQueueRequest"] -_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeTaskQueueResponse" -] -_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["StatsByPriorityKeyEntry"] -) -_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["EffectiveRateLimit"] -) -_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["VersionsInfoEntry"] -) -_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name["GetClusterInfoRequest"] -_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name["GetClusterInfoResponse"] -_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = ( - _GETCLUSTERINFORESPONSE.nested_types_by_name["SupportedClientsEntry"] -) -_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name["GetSystemInfoRequest"] -_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name["GetSystemInfoResponse"] -_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name[ - "Capabilities" -] -_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListTaskQueuePartitionsRequest" -] -_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListTaskQueuePartitionsResponse" -] -_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["CreateScheduleRequest"] -_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["CreateScheduleResponse"] -_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DescribeScheduleRequest"] -_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DescribeScheduleResponse"] -_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["UpdateScheduleRequest"] -_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["UpdateScheduleResponse"] -_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["PatchScheduleRequest"] -_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["PatchScheduleResponse"] -_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name[ - "ListScheduleMatchingTimesRequest" -] -_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListScheduleMatchingTimesResponse" -] -_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DeleteScheduleRequest"] -_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DeleteScheduleResponse"] -_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["ListSchedulesRequest"] -_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["ListSchedulesResponse"] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerBuildIdCompatibilityRequest" -] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = ( - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name[ - "AddNewCompatibleVersion" - ] -) -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = ( - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name["MergeSets"] -) -_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerBuildIdCompatibilityResponse" -] -_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerBuildIdCompatibilityRequest" -] -_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerBuildIdCompatibilityResponse" -] -_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerVersioningRulesRequest" -] -_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "InsertBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "ReplaceBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "DeleteBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "AddCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "ReplaceCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "DeleteCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name["CommitBuildId"] -) -_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerVersioningRulesResponse" -] -_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerVersioningRulesRequest" -] -_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerVersioningRulesResponse" -] -_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerTaskReachabilityRequest" -] -_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerTaskReachabilityResponse" -] -_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionRequest" -] -_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionResponse" -] -_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartBatchOperationRequest" -] -_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartBatchOperationResponse" -] -_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StopBatchOperationRequest" -] -_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StopBatchOperationResponse" -] -_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeBatchOperationRequest" -] -_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeBatchOperationResponse" -] -_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListBatchOperationsRequest" -] -_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListBatchOperationsResponse" -] -_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollWorkflowExecutionUpdateRequest" -] -_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollWorkflowExecutionUpdateResponse" -] -_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollNexusTaskQueueRequest" -] -_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollNexusTaskQueueResponse" -] -_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskCompletedRequest" -] -_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskCompletedResponse" -] -_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskFailedRequest" -] -_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskFailedResponse" -] -_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "ExecuteMultiOperationRequest" -] -_EXECUTEMULTIOPERATIONREQUEST_OPERATION = ( - _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name["Operation"] -) -_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "ExecuteMultiOperationResponse" -] -_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = ( - _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name["Response"] -) -_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateActivityOptionsRequest" -] -_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateActivityOptionsResponse" -] -_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["PauseActivityRequest"] -_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["PauseActivityResponse"] -_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["UnpauseActivityRequest"] -_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["UnpauseActivityResponse"] -_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["ResetActivityRequest"] -_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["ResetActivityResponse"] -_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionOptionsRequest" -] -_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionOptionsResponse" -] -_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeDeploymentRequest" -] -_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeDeploymentResponse" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentVersionRequest" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentVersionResponse" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = ( - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name["VersionTaskQueue"] -) -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = ( - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name[ - "StatsByPriorityKeyEntry" - ] -) -_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentRequest" -] -_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentResponse" -] -_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name["ListDeploymentsRequest"] -_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name["ListDeploymentsResponse"] -_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "SetCurrentDeploymentRequest" -] -_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetCurrentDeploymentResponse" -] -_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentCurrentVersionRequest" -] -_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentCurrentVersionResponse" -] -_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentRampingVersionRequest" -] -_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentRampingVersionResponse" -] -_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListWorkerDeploymentsRequest" -] -_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkerDeploymentsResponse" -] -_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = ( - _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name["WorkerDeploymentSummary"] -) -_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentVersionRequest" -] -_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentVersionResponse" -] -_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentRequest" -] -_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentResponse" -] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionMetadataRequest" -] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = ( - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name[ - "UpsertEntriesEntry" - ] -) -_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionMetadataResponse" -] -_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "GetCurrentDeploymentRequest" -] -_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetCurrentDeploymentResponse" -] -_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetDeploymentReachabilityRequest" -] -_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetDeploymentReachabilityResponse" -] -_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateWorkflowRuleRequest" -] -_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateWorkflowRuleResponse" -] -_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowRuleRequest" -] -_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowRuleResponse" -] -_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowRuleRequest" -] -_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowRuleResponse" -] -_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name["ListWorkflowRulesRequest"] -_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkflowRulesResponse" -] -_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "TriggerWorkflowRuleRequest" -] -_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "TriggerWorkflowRuleResponse" -] -_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordWorkerHeartbeatRequest" -] -_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordWorkerHeartbeatResponse" -] -_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name["ListWorkersRequest"] -_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name["ListWorkersResponse"] -_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateTaskQueueConfigRequest" -] -_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = ( - _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name["RateLimitUpdate"] -) -_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateTaskQueueConfigResponse" -] -_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name["FetchWorkerConfigRequest"] -_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "FetchWorkerConfigResponse" -] -_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerConfigRequest" -] -_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerConfigResponse" -] -RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "RegisterNamespaceRequest", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _REGISTERNAMESPACEREQUEST_DATAENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) - }, - ), - "DESCRIPTOR": _REGISTERNAMESPACEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19RegisterNamespaceResponse\"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter\"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08\"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65precateNamespaceResponse\"\xa9\x0b\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xaa\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x8a\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x91\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01\"\xb5\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08\"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03\"\xf8\x03\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xb8\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xef\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\x90\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xe9\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"&\n$RespondActivityTaskCompletedResponse\"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xa9\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfa\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xe9\x02\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"%\n#RespondActivityTaskCanceledResponse\"\x8b\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\")\n\'RespondActivityTaskCanceledByIdResponse\"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"(\n&RequestCancelWorkflowExecutionResponse\"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n\"!\n\x1fSignalWorkflowExecutionResponse\"\xf1\t\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x15\x10\x16\"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"$\n\"TerminateWorkflowExecutionResponse\"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"!\n\x1f\x44\x65leteWorkflowExecutionResponse\"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"\x82\x01\n\"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\xd0\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\x04\x08\x05\x10\x06\"#\n!RespondQueryTaskCompletedResponse\"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x1e\n\x1cResetStickyTaskQueueResponse\"\xaa\x01\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x18\n\x16ShutdownWorkerResponse\"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition\"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected\"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo\"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01\"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01\"\x17\n\x15GetClusterInfoRequest\"\x8b\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14GetSystemInfoRequest\"\xf4\x03\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\xe7\x02\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n\"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12\"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\"\xf8\x01\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x18\n\x16UpdateScheduleResponse\"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\x17\n\x15PatchScheduleResponse\"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteScheduleResponse\"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation\"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id\"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05\"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet\"\xb5\r\n\"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation\"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability\"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation\"\x1d\n\x1bStartBatchOperationResponse\"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x1c\n\x1aStopBatchOperationResponse\"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t\"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb9\x01\n\"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\"\xea\x02\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\"#\n!RespondNexusTaskCompletedResponse\"\x8c\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x32\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerError\" \n\x1eRespondNexusTaskFailedResponse\"\xdf\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation\"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response\"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity\"\x17\n\x15PauseActivityResponse\"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x19\n\x17UnpauseActivityResponse\"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x8a\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08\"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo\"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t\"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo\"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata\"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xcb\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\"\xbb\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xdf\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\"\xd8\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x13previous_percentage\x18\x03 \x01(\x02\"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t\"\'\n%DeleteWorkerDeploymentVersionResponse\"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\" \n\x1e\x44\x65leteWorkerDeploymentResponse\"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t\"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse\"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule\".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08\"\x86\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x1f\n\x1dRecordWorkerHeartbeatResponse\"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"h\n\x13ListWorkersResponse\x12\x38\n\x0cworkers_info\x18\x01 \x03(\x0b\x32\".temporal.api.worker.v1.WorkerInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xe2\x03\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\"\x89\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\"\xf5\x01\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08responseB\xbe\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3') + + + +_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['RegisterNamespaceRequest'] +_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name['DataEntry'] +_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['RegisterNamespaceResponse'] +_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['ListNamespacesRequest'] +_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['ListNamespacesResponse'] +_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DescribeNamespaceRequest'] +_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DescribeNamespaceResponse'] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceRequest'] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceResponse'] +_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeprecateNamespaceRequest'] +_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeprecateNamespaceResponse'] +_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['StartWorkflowExecutionRequest'] +_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['StartWorkflowExecutionResponse'] +_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryRequest'] +_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryResponse'] +_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryReverseRequest'] +_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryReverseResponse'] +_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollWorkflowTaskQueueRequest'] +_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollWorkflowTaskQueueResponse'] +_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name['QueriesEntry'] +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskCompletedRequest'] +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name['QueryResultsEntry'] +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name['Capabilities'] +_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskCompletedResponse'] +_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskFailedRequest'] +_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskFailedResponse'] +_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollActivityTaskQueueRequest'] +_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollActivityTaskQueueResponse'] +_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatRequest'] +_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatResponse'] +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIdRequest'] +_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIdResponse'] +_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedRequest'] +_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedResponse'] +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIdRequest'] +_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIdResponse'] +_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedRequest'] +_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedResponse'] +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIdRequest'] +_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIdResponse'] +_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledRequest'] +_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledResponse'] +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIdRequest'] +_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIdResponse'] +_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionRequest'] +_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionResponse'] +_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionRequest'] +_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionResponse'] +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionRequest'] +_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionResponse'] +_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionRequest'] +_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionResponse'] +_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionRequest'] +_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionResponse'] +_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkflowExecutionRequest'] +_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkflowExecutionResponse'] +_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsRequest'] +_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsResponse'] +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsRequest'] +_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsResponse'] +_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsRequest'] +_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsResponse'] +_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsRequest'] +_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsResponse'] +_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsRequest'] +_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsResponse'] +_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsRequest'] +_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsResponse'] +_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name['AggregationGroup'] +_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['GetSearchAttributesRequest'] +_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['GetSearchAttributesResponse'] +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name['KeysEntry'] +_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedRequest'] +_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedResponse'] +_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['ResetStickyTaskQueueRequest'] +_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['ResetStickyTaskQueueResponse'] +_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name['ShutdownWorkerRequest'] +_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name['ShutdownWorkerResponse'] +_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name['QueryWorkflowRequest'] +_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name['QueryWorkflowResponse'] +_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionRequest'] +_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionResponse'] +_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['DescribeTaskQueueRequest'] +_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['DescribeTaskQueueResponse'] +_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['StatsByPriorityKeyEntry'] +_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['EffectiveRateLimit'] +_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['VersionsInfoEntry'] +_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name['GetClusterInfoRequest'] +_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name['GetClusterInfoResponse'] +_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = _GETCLUSTERINFORESPONSE.nested_types_by_name['SupportedClientsEntry'] +_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name['GetSystemInfoRequest'] +_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name['GetSystemInfoResponse'] +_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name['Capabilities'] +_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name['ListTaskQueuePartitionsRequest'] +_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListTaskQueuePartitionsResponse'] +_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['CreateScheduleRequest'] +_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['CreateScheduleResponse'] +_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['DescribeScheduleRequest'] +_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['DescribeScheduleResponse'] +_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['UpdateScheduleRequest'] +_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['UpdateScheduleResponse'] +_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['PatchScheduleRequest'] +_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['PatchScheduleResponse'] +_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name['ListScheduleMatchingTimesRequest'] +_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name['ListScheduleMatchingTimesResponse'] +_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteScheduleRequest'] +_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteScheduleResponse'] +_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name['ListSchedulesRequest'] +_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name['ListSchedulesResponse'] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerBuildIdCompatibilityRequest'] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name['AddNewCompatibleVersion'] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name['MergeSets'] +_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerBuildIdCompatibilityResponse'] +_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerBuildIdCompatibilityRequest'] +_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerBuildIdCompatibilityResponse'] +_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerVersioningRulesRequest'] +_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['InsertBuildIdAssignmentRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['ReplaceBuildIdAssignmentRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['DeleteBuildIdAssignmentRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['AddCompatibleBuildIdRedirectRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['ReplaceCompatibleBuildIdRedirectRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['DeleteCompatibleBuildIdRedirectRule'] +_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['CommitBuildId'] +_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerVersioningRulesResponse'] +_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerVersioningRulesRequest'] +_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerVersioningRulesResponse'] +_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerTaskReachabilityRequest'] +_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerTaskReachabilityResponse'] +_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionRequest'] +_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionResponse'] +_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StartBatchOperationRequest'] +_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StartBatchOperationResponse'] +_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StopBatchOperationRequest'] +_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StopBatchOperationResponse'] +_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeBatchOperationRequest'] +_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeBatchOperationResponse'] +_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name['ListBatchOperationsRequest'] +_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListBatchOperationsResponse'] +_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name['PollWorkflowExecutionUpdateRequest'] +_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name['PollWorkflowExecutionUpdateResponse'] +_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollNexusTaskQueueRequest'] +_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollNexusTaskQueueResponse'] +_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondNexusTaskCompletedRequest'] +_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondNexusTaskCompletedResponse'] +_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondNexusTaskFailedRequest'] +_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondNexusTaskFailedResponse'] +_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['ExecuteMultiOperationRequest'] +_EXECUTEMULTIOPERATIONREQUEST_OPERATION = _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name['Operation'] +_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['ExecuteMultiOperationResponse'] +_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name['Response'] +_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name['UpdateActivityOptionsRequest'] +_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateActivityOptionsResponse'] +_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['PauseActivityRequest'] +_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['PauseActivityResponse'] +_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['UnpauseActivityRequest'] +_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['UnpauseActivityResponse'] +_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['ResetActivityRequest'] +_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['ResetActivityResponse'] +_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionOptionsRequest'] +_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionOptionsResponse'] +_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DescribeDeploymentRequest'] +_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DescribeDeploymentResponse'] +_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentVersionRequest'] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentVersionResponse'] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name['VersionTaskQueue'] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name['StatsByPriorityKeyEntry'] +_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentRequest'] +_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentResponse'] +_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name['ListDeploymentsRequest'] +_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name['ListDeploymentsResponse'] +_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['SetCurrentDeploymentRequest'] +_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['SetCurrentDeploymentResponse'] +_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentCurrentVersionRequest'] +_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentCurrentVersionResponse'] +_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentRampingVersionRequest'] +_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentRampingVersionResponse'] +_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkerDeploymentsRequest'] +_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkerDeploymentsResponse'] +_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name['WorkerDeploymentSummary'] +_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentVersionRequest'] +_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentVersionResponse'] +_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentRequest'] +_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentResponse'] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerDeploymentVersionMetadataRequest'] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name['UpsertEntriesEntry'] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerDeploymentVersionMetadataResponse'] +_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['GetCurrentDeploymentRequest'] +_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['GetCurrentDeploymentResponse'] +_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name['GetDeploymentReachabilityRequest'] +_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetDeploymentReachabilityResponse'] +_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['CreateWorkflowRuleRequest'] +_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['CreateWorkflowRuleResponse'] +_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkflowRuleRequest'] +_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkflowRuleResponse'] +_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkflowRuleRequest'] +_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkflowRuleResponse'] +_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name['ListWorkflowRulesRequest'] +_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkflowRulesResponse'] +_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['TriggerWorkflowRuleRequest'] +_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['TriggerWorkflowRuleResponse'] +_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name['RecordWorkerHeartbeatRequest'] +_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name['RecordWorkerHeartbeatResponse'] +_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkersRequest'] +_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkersResponse'] +_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name['UpdateTaskQueueConfigRequest'] +_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name['RateLimitUpdate'] +_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name['UpdateTaskQueueConfigResponse'] +_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name['FetchWorkerConfigRequest'] +_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['FetchWorkerConfigResponse'] +_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerConfigRequest'] +_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerConfigResponse'] +RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType('RegisterNamespaceRequest', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _REGISTERNAMESPACEREQUEST_DATAENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) + }) + , + 'DESCRIPTOR' : _REGISTERNAMESPACEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) + }) _sym_db.RegisterMessage(RegisterNamespaceRequest) _sym_db.RegisterMessage(RegisterNamespaceRequest.DataEntry) -RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "RegisterNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _REGISTERNAMESPACERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) - }, -) +RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType('RegisterNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _REGISTERNAMESPACERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) + }) _sym_db.RegisterMessage(RegisterNamespaceResponse) -ListNamespacesRequest = _reflection.GeneratedProtocolMessageType( - "ListNamespacesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTNAMESPACESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) - }, -) +ListNamespacesRequest = _reflection.GeneratedProtocolMessageType('ListNamespacesRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTNAMESPACESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) + }) _sym_db.RegisterMessage(ListNamespacesRequest) -ListNamespacesResponse = _reflection.GeneratedProtocolMessageType( - "ListNamespacesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTNAMESPACESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) - }, -) +ListNamespacesResponse = _reflection.GeneratedProtocolMessageType('ListNamespacesResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTNAMESPACESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) + }) _sym_db.RegisterMessage(ListNamespacesResponse) -DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DescribeNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENAMESPACEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) - }, -) +DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType('DescribeNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBENAMESPACEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) + }) _sym_db.RegisterMessage(DescribeNamespaceRequest) -DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DescribeNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENAMESPACERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) - }, -) +DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType('DescribeNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBENAMESPACERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) + }) _sym_db.RegisterMessage(DescribeNamespaceResponse) -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) - }, -) +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) + }) _sym_db.RegisterMessage(UpdateNamespaceRequest) -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) - }, -) +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENAMESPACERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) + }) _sym_db.RegisterMessage(UpdateNamespaceResponse) -DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeprecateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DEPRECATENAMESPACEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) - }, -) +DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeprecateNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _DEPRECATENAMESPACEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) + }) _sym_db.RegisterMessage(DeprecateNamespaceRequest) -DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeprecateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DEPRECATENAMESPACERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) - }, -) +DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeprecateNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _DEPRECATENAMESPACERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) + }) _sym_db.RegisterMessage(DeprecateNamespaceResponse) -StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "StartWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _STARTWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) - }, -) +StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(StartWorkflowExecutionRequest) -StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "StartWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) - }, -) +StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(StartWorkflowExecutionResponse) -GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) - }, -) +GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) + }) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryRequest) -GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) - }, -) +GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) + }) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryResponse) -GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryReverseRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) - }, -) +GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryReverseRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) + }) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseRequest) -GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryReverseResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) - }, -) +GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryReverseResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) + }) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseResponse) -PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollWorkflowTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) - }, -) +PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollWorkflowTaskQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) + }) _sym_db.RegisterMessage(PollWorkflowTaskQueueRequest) -PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollWorkflowTaskQueueResponse", - (_message.Message,), - { - "QueriesEntry": _reflection.GeneratedProtocolMessageType( - "QueriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) - }, - ), - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) - }, -) +PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollWorkflowTaskQueueResponse', (_message.Message,), { + + 'QueriesEntry' : _reflection.GeneratedProtocolMessageType('QueriesEntry', (_message.Message,), { + 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) + }) + , + 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) + }) _sym_db.RegisterMessage(PollWorkflowTaskQueueResponse) _sym_db.RegisterMessage(PollWorkflowTaskQueueResponse.QueriesEntry) -RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskCompletedRequest", - (_message.Message,), - { - "QueryResultsEntry": _reflection.GeneratedProtocolMessageType( - "QueryResultsEntry", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) - }, - ), - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) - }, - ), - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) - }, -) +RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskCompletedRequest', (_message.Message,), { + + 'QueryResultsEntry' : _reflection.GeneratedProtocolMessageType('QueryResultsEntry', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) + }) + , + + 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) + }) + , + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) + }) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.QueryResultsEntry) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.Capabilities) -RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) - }, -) +RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) + }) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedResponse) -RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) - }, -) +RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskFailedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKFAILEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) + }) _sym_db.RegisterMessage(RespondWorkflowTaskFailedRequest) -RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) - }, -) +RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskFailedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDWORKFLOWTASKFAILEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) + }) _sym_db.RegisterMessage(RespondWorkflowTaskFailedResponse) -PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollActivityTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYTASKQUEUEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) - }, -) +PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollActivityTaskQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLACTIVITYTASKQUEUEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) + }) _sym_db.RegisterMessage(PollActivityTaskQueueRequest) -PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollActivityTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYTASKQUEUERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) - }, -) +PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollActivityTaskQueueResponse', (_message.Message,), { + 'DESCRIPTOR' : _POLLACTIVITYTASKQUEUERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) + }) _sym_db.RegisterMessage(PollActivityTaskQueueResponse) -RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) - }, -) +RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatRequest', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) + }) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatRequest) -RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) - }, -) +RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatResponse', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) + }) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatResponse) -RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) - }, -) +RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIdRequest', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) + }) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdRequest) -RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) - }, -) +RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIdResponse', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) + }) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdResponse) -RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) - }, -) +RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskCompletedRequest) -RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) - }, -) +RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskCompletedResponse) -RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) - }, -) +RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIdRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskCompletedByIdRequest) -RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) - }, -) +RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIdResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskCompletedByIdResponse) -RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) - }, -) +RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskFailedRequest) -RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) - }, -) +RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskFailedResponse) -RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) - }, -) +RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIdRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskFailedByIdRequest) -RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) - }, -) +RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIdResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskFailedByIdResponse) -RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) - }, -) +RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskCanceledRequest) -RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) - }, -) +RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskCanceledResponse) -RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) - }, -) +RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIdRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) + }) _sym_db.RegisterMessage(RespondActivityTaskCanceledByIdRequest) -RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) - }, -) +RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIdResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) + }) _sym_db.RegisterMessage(RespondActivityTaskCanceledByIdResponse) -RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "RequestCancelWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) - }, -) +RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(RequestCancelWorkflowExecutionRequest) -RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "RequestCancelWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) - }, -) +RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(RequestCancelWorkflowExecutionResponse) -SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "SignalWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) - }, -) +SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(SignalWorkflowExecutionRequest) -SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "SignalWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) - }, -) +SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(SignalWorkflowExecutionResponse) -SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "SignalWithStartWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) - }, -) +SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(SignalWithStartWorkflowExecutionRequest) -SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "SignalWithStartWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) - }, -) +SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(SignalWithStartWorkflowExecutionResponse) -ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) - }, -) +ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(ResetWorkflowExecutionRequest) -ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) - }, -) +ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(ResetWorkflowExecutionResponse) -TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "TerminateWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) - }, -) +TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(TerminateWorkflowExecutionRequest) -TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "TerminateWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) - }, -) +TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(TerminateWorkflowExecutionResponse) -DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) - }, -) +DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(DeleteWorkflowExecutionRequest) -DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) - }, -) +DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(DeleteWorkflowExecutionResponse) -ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListOpenWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) - }, -) +ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(ListOpenWorkflowExecutionsRequest) -ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListOpenWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) - }, -) +ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(ListOpenWorkflowExecutionsResponse) -ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListClosedWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) - }, -) +ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(ListClosedWorkflowExecutionsRequest) -ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListClosedWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) - }, -) +ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(ListClosedWorkflowExecutionsResponse) -ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) - }, -) +ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(ListWorkflowExecutionsRequest) -ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) - }, -) +ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(ListWorkflowExecutionsResponse) -ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListArchivedWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) - }, -) +ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(ListArchivedWorkflowExecutionsRequest) -ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListArchivedWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) - }, -) +ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(ListArchivedWorkflowExecutionsResponse) -ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ScanWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) - }, -) +ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(ScanWorkflowExecutionsRequest) -ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ScanWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) - }, -) +ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(ScanWorkflowExecutionsResponse) -CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "CountWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) - }, -) +CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) + }) _sym_db.RegisterMessage(CountWorkflowExecutionsRequest) -CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "CountWorkflowExecutionsResponse", - (_message.Message,), - { - "AggregationGroup": _reflection.GeneratedProtocolMessageType( - "AggregationGroup", - (_message.Message,), - { - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) - }, - ), - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) - }, -) +CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsResponse', (_message.Message,), { + + 'AggregationGroup' : _reflection.GeneratedProtocolMessageType('AggregationGroup', (_message.Message,), { + 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) + }) + , + 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) + }) _sym_db.RegisterMessage(CountWorkflowExecutionsResponse) _sym_db.RegisterMessage(CountWorkflowExecutionsResponse.AggregationGroup) -GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "GetSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSEARCHATTRIBUTESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) - }, -) +GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('GetSearchAttributesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) + }) _sym_db.RegisterMessage(GetSearchAttributesRequest) -GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "GetSearchAttributesResponse", - (_message.Message,), - { - "KeysEntry": _reflection.GeneratedProtocolMessageType( - "KeysEntry", - (_message.Message,), - { - "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) - }, - ), - "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) - }, -) +GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('GetSearchAttributesResponse', (_message.Message,), { + + 'KeysEntry' : _reflection.GeneratedProtocolMessageType('KeysEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) + }) + , + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) + }) _sym_db.RegisterMessage(GetSearchAttributesResponse) _sym_db.RegisterMessage(GetSearchAttributesResponse.KeysEntry) -RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondQueryTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) - }, -) +RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) + }) _sym_db.RegisterMessage(RespondQueryTaskCompletedRequest) -RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondQueryTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) - }, -) +RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) + }) _sym_db.RegisterMessage(RespondQueryTaskCompletedResponse) -ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "ResetStickyTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETSTICKYTASKQUEUEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) - }, -) +ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType('ResetStickyTaskQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETSTICKYTASKQUEUEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) + }) _sym_db.RegisterMessage(ResetStickyTaskQueueRequest) -ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "ResetStickyTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETSTICKYTASKQUEUERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) - }, -) +ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType('ResetStickyTaskQueueResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETSTICKYTASKQUEUERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) + }) _sym_db.RegisterMessage(ResetStickyTaskQueueResponse) -ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType( - "ShutdownWorkerRequest", - (_message.Message,), - { - "DESCRIPTOR": _SHUTDOWNWORKERREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) - }, -) +ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType('ShutdownWorkerRequest', (_message.Message,), { + 'DESCRIPTOR' : _SHUTDOWNWORKERREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) + }) _sym_db.RegisterMessage(ShutdownWorkerRequest) -ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType( - "ShutdownWorkerResponse", - (_message.Message,), - { - "DESCRIPTOR": _SHUTDOWNWORKERRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) - }, -) +ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType('ShutdownWorkerResponse', (_message.Message,), { + 'DESCRIPTOR' : _SHUTDOWNWORKERRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) + }) _sym_db.RegisterMessage(ShutdownWorkerResponse) -QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType( - "QueryWorkflowRequest", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOWREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) - }, -) +QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType('QueryWorkflowRequest', (_message.Message,), { + 'DESCRIPTOR' : _QUERYWORKFLOWREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) + }) _sym_db.RegisterMessage(QueryWorkflowRequest) -QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType( - "QueryWorkflowResponse", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOWRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) - }, -) +QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType('QueryWorkflowResponse', (_message.Message,), { + 'DESCRIPTOR' : _QUERYWORKFLOWRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) + }) _sym_db.RegisterMessage(QueryWorkflowResponse) -DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) - }, -) +DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) -DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) - }, -) +DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) -DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "DescribeTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) - }, -) +DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType('DescribeTaskQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKQUEUEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) + }) _sym_db.RegisterMessage(DescribeTaskQueueRequest) -DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "DescribeTaskQueueResponse", - (_message.Message,), - { - "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( - "StatsByPriorityKeyEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) - }, - ), - "EffectiveRateLimit": _reflection.GeneratedProtocolMessageType( - "EffectiveRateLimit", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) - }, - ), - "VersionsInfoEntry": _reflection.GeneratedProtocolMessageType( - "VersionsInfoEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) - }, - ), - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) - }, -) +DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType('DescribeTaskQueueResponse', (_message.Message,), { + + 'StatsByPriorityKeyEntry' : _reflection.GeneratedProtocolMessageType('StatsByPriorityKeyEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) + }) + , + + 'EffectiveRateLimit' : _reflection.GeneratedProtocolMessageType('EffectiveRateLimit', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) + }) + , + + 'VersionsInfoEntry' : _reflection.GeneratedProtocolMessageType('VersionsInfoEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) + }) _sym_db.RegisterMessage(DescribeTaskQueueResponse) _sym_db.RegisterMessage(DescribeTaskQueueResponse.StatsByPriorityKeyEntry) _sym_db.RegisterMessage(DescribeTaskQueueResponse.EffectiveRateLimit) _sym_db.RegisterMessage(DescribeTaskQueueResponse.VersionsInfoEntry) -GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType( - "GetClusterInfoRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCLUSTERINFOREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) - }, -) +GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType('GetClusterInfoRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCLUSTERINFOREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) + }) _sym_db.RegisterMessage(GetClusterInfoRequest) -GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType( - "GetClusterInfoResponse", - (_message.Message,), - { - "SupportedClientsEntry": _reflection.GeneratedProtocolMessageType( - "SupportedClientsEntry", - (_message.Message,), - { - "DESCRIPTOR": _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) - }, - ), - "DESCRIPTOR": _GETCLUSTERINFORESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) - }, -) +GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType('GetClusterInfoResponse', (_message.Message,), { + + 'SupportedClientsEntry' : _reflection.GeneratedProtocolMessageType('SupportedClientsEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) + }) + , + 'DESCRIPTOR' : _GETCLUSTERINFORESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) + }) _sym_db.RegisterMessage(GetClusterInfoResponse) _sym_db.RegisterMessage(GetClusterInfoResponse.SupportedClientsEntry) -GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType( - "GetSystemInfoRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSYSTEMINFOREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) - }, -) +GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType('GetSystemInfoRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETSYSTEMINFOREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) + }) _sym_db.RegisterMessage(GetSystemInfoRequest) -GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType( - "GetSystemInfoResponse", - (_message.Message,), - { - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _GETSYSTEMINFORESPONSE_CAPABILITIES, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) - }, - ), - "DESCRIPTOR": _GETSYSTEMINFORESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) - }, -) +GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType('GetSystemInfoResponse', (_message.Message,), { + + 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { + 'DESCRIPTOR' : _GETSYSTEMINFORESPONSE_CAPABILITIES, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) + }) + , + 'DESCRIPTOR' : _GETSYSTEMINFORESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) + }) _sym_db.RegisterMessage(GetSystemInfoResponse) _sym_db.RegisterMessage(GetSystemInfoResponse.Capabilities) -ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType( - "ListTaskQueuePartitionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) - }, -) +ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType('ListTaskQueuePartitionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTTASKQUEUEPARTITIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) + }) _sym_db.RegisterMessage(ListTaskQueuePartitionsRequest) -ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType( - "ListTaskQueuePartitionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) - }, -) +ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType('ListTaskQueuePartitionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTTASKQUEUEPARTITIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) + }) _sym_db.RegisterMessage(ListTaskQueuePartitionsResponse) -CreateScheduleRequest = _reflection.GeneratedProtocolMessageType( - "CreateScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATESCHEDULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) - }, -) +CreateScheduleRequest = _reflection.GeneratedProtocolMessageType('CreateScheduleRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATESCHEDULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) + }) _sym_db.RegisterMessage(CreateScheduleRequest) -CreateScheduleResponse = _reflection.GeneratedProtocolMessageType( - "CreateScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATESCHEDULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) - }, -) +CreateScheduleResponse = _reflection.GeneratedProtocolMessageType('CreateScheduleResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATESCHEDULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) + }) _sym_db.RegisterMessage(CreateScheduleResponse) -DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType( - "DescribeScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBESCHEDULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) - }, -) +DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType('DescribeScheduleRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESCHEDULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) + }) _sym_db.RegisterMessage(DescribeScheduleRequest) -DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType( - "DescribeScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBESCHEDULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) - }, -) +DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType('DescribeScheduleResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESCHEDULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) + }) _sym_db.RegisterMessage(DescribeScheduleResponse) -UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType( - "UpdateScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESCHEDULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) - }, -) +UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType('UpdateScheduleRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATESCHEDULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) + }) _sym_db.RegisterMessage(UpdateScheduleRequest) -UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType( - "UpdateScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESCHEDULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) - }, -) +UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType('UpdateScheduleResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATESCHEDULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) + }) _sym_db.RegisterMessage(UpdateScheduleResponse) -PatchScheduleRequest = _reflection.GeneratedProtocolMessageType( - "PatchScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _PATCHSCHEDULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) - }, -) +PatchScheduleRequest = _reflection.GeneratedProtocolMessageType('PatchScheduleRequest', (_message.Message,), { + 'DESCRIPTOR' : _PATCHSCHEDULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) + }) _sym_db.RegisterMessage(PatchScheduleRequest) -PatchScheduleResponse = _reflection.GeneratedProtocolMessageType( - "PatchScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _PATCHSCHEDULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) - }, -) +PatchScheduleResponse = _reflection.GeneratedProtocolMessageType('PatchScheduleResponse', (_message.Message,), { + 'DESCRIPTOR' : _PATCHSCHEDULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) + }) _sym_db.RegisterMessage(PatchScheduleResponse) -ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType( - "ListScheduleMatchingTimesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) - }, -) +ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType('ListScheduleMatchingTimesRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTSCHEDULEMATCHINGTIMESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) + }) _sym_db.RegisterMessage(ListScheduleMatchingTimesRequest) -ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType( - "ListScheduleMatchingTimesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) - }, -) +ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType('ListScheduleMatchingTimesResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTSCHEDULEMATCHINGTIMESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) + }) _sym_db.RegisterMessage(ListScheduleMatchingTimesResponse) -DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETESCHEDULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) - }, -) +DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType('DeleteScheduleRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETESCHEDULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) + }) _sym_db.RegisterMessage(DeleteScheduleRequest) -DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETESCHEDULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) - }, -) +DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType('DeleteScheduleResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETESCHEDULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) + }) _sym_db.RegisterMessage(DeleteScheduleResponse) -ListSchedulesRequest = _reflection.GeneratedProtocolMessageType( - "ListSchedulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) - }, -) +ListSchedulesRequest = _reflection.GeneratedProtocolMessageType('ListSchedulesRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTSCHEDULESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) + }) _sym_db.RegisterMessage(ListSchedulesRequest) -ListSchedulesResponse = _reflection.GeneratedProtocolMessageType( - "ListSchedulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) - }, -) +ListSchedulesResponse = _reflection.GeneratedProtocolMessageType('ListSchedulesResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTSCHEDULESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) + }) _sym_db.RegisterMessage(ListSchedulesResponse) -UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerBuildIdCompatibilityRequest", - (_message.Message,), - { - "AddNewCompatibleVersion": _reflection.GeneratedProtocolMessageType( - "AddNewCompatibleVersion", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) - }, - ), - "MergeSets": _reflection.GeneratedProtocolMessageType( - "MergeSets", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) - }, - ), - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) - }, -) +UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerBuildIdCompatibilityRequest', (_message.Message,), { + + 'AddNewCompatibleVersion' : _reflection.GeneratedProtocolMessageType('AddNewCompatibleVersion', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) + }) + , + + 'MergeSets' : _reflection.GeneratedProtocolMessageType('MergeSets', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) + }) + , + 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) + }) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.MergeSets) -UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerBuildIdCompatibilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) - }, -) +UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerBuildIdCompatibilityResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) + }) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityResponse) -GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerBuildIdCompatibilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) - }, -) +GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType('GetWorkerBuildIdCompatibilityRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERBUILDIDCOMPATIBILITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) + }) _sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityRequest) -GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerBuildIdCompatibilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) - }, -) +GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType('GetWorkerBuildIdCompatibilityResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) + }) _sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityResponse) -UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerVersioningRulesRequest", - (_message.Message,), - { - "InsertBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "InsertBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) - }, - ), - "ReplaceBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "ReplaceBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) - }, - ), - "DeleteBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "DeleteBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) - }, - ), - "AddCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "AddCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) - }, - ), - "ReplaceCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "ReplaceCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) - }, - ), - "DeleteCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "DeleteCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) - }, - ), - "CommitBuildId": _reflection.GeneratedProtocolMessageType( - "CommitBuildId", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) - }, - ), - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) - }, -) +UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerVersioningRulesRequest', (_message.Message,), { + + 'InsertBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('InsertBuildIdAssignmentRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) + }) + , + + 'ReplaceBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('ReplaceBuildIdAssignmentRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) + }) + , + + 'DeleteBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('DeleteBuildIdAssignmentRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) + }) + , + + 'AddCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('AddCompatibleBuildIdRedirectRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) + }) + , + + 'ReplaceCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('ReplaceCompatibleBuildIdRedirectRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) + }) + , + + 'DeleteCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('DeleteCompatibleBuildIdRedirectRule', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) + }) + , + + 'CommitBuildId' : _reflection.GeneratedProtocolMessageType('CommitBuildId', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) + }) + , + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) + }) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule -) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule -) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule -) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.CommitBuildId) -UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerVersioningRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) - }, -) +UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerVersioningRulesResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) + }) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesResponse) -GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerVersioningRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERVERSIONINGRULESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) - }, -) +GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType('GetWorkerVersioningRulesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERVERSIONINGRULESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) + }) _sym_db.RegisterMessage(GetWorkerVersioningRulesRequest) -GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerVersioningRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERVERSIONINGRULESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) - }, -) +GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType('GetWorkerVersioningRulesResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERVERSIONINGRULESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) + }) _sym_db.RegisterMessage(GetWorkerVersioningRulesResponse) -GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerTaskReachabilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERTASKREACHABILITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) - }, -) +GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType('GetWorkerTaskReachabilityRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERTASKREACHABILITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) + }) _sym_db.RegisterMessage(GetWorkerTaskReachabilityRequest) -GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerTaskReachabilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERTASKREACHABILITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) - }, -) +GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType('GetWorkerTaskReachabilityResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKERTASKREACHABILITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) + }) _sym_db.RegisterMessage(GetWorkerTaskReachabilityResponse) -UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) - }, -) +UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) + }) _sym_db.RegisterMessage(UpdateWorkflowExecutionRequest) -UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) - }, -) +UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) + }) _sym_db.RegisterMessage(UpdateWorkflowExecutionResponse) -StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "StartBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _STARTBATCHOPERATIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) - }, -) +StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType('StartBatchOperationRequest', (_message.Message,), { + 'DESCRIPTOR' : _STARTBATCHOPERATIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) + }) _sym_db.RegisterMessage(StartBatchOperationRequest) -StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "StartBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTBATCHOPERATIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) - }, -) +StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType('StartBatchOperationResponse', (_message.Message,), { + 'DESCRIPTOR' : _STARTBATCHOPERATIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) + }) _sym_db.RegisterMessage(StartBatchOperationResponse) -StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "StopBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _STOPBATCHOPERATIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) - }, -) +StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType('StopBatchOperationRequest', (_message.Message,), { + 'DESCRIPTOR' : _STOPBATCHOPERATIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) + }) _sym_db.RegisterMessage(StopBatchOperationRequest) -StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "StopBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _STOPBATCHOPERATIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) - }, -) +StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType('StopBatchOperationResponse', (_message.Message,), { + 'DESCRIPTOR' : _STOPBATCHOPERATIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) + }) _sym_db.RegisterMessage(StopBatchOperationResponse) -DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "DescribeBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEBATCHOPERATIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) - }, -) +DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType('DescribeBatchOperationRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEBATCHOPERATIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) + }) _sym_db.RegisterMessage(DescribeBatchOperationRequest) -DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "DescribeBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEBATCHOPERATIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) - }, -) +DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType('DescribeBatchOperationResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEBATCHOPERATIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) + }) _sym_db.RegisterMessage(DescribeBatchOperationResponse) -ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType( - "ListBatchOperationsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTBATCHOPERATIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) - }, -) +ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType('ListBatchOperationsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTBATCHOPERATIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) + }) _sym_db.RegisterMessage(ListBatchOperationsRequest) -ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType( - "ListBatchOperationsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTBATCHOPERATIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) - }, -) +ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType('ListBatchOperationsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTBATCHOPERATIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) + }) _sym_db.RegisterMessage(ListBatchOperationsResponse) -PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType( - "PollWorkflowExecutionUpdateRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) - }, -) +PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType('PollWorkflowExecutionUpdateRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLWORKFLOWEXECUTIONUPDATEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) + }) _sym_db.RegisterMessage(PollWorkflowExecutionUpdateRequest) -PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType( - "PollWorkflowExecutionUpdateResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) - }, -) +PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType('PollWorkflowExecutionUpdateResponse', (_message.Message,), { + 'DESCRIPTOR' : _POLLWORKFLOWEXECUTIONUPDATERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) + }) _sym_db.RegisterMessage(PollWorkflowExecutionUpdateResponse) -PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollNexusTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSTASKQUEUEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) - }, -) +PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollNexusTaskQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLNEXUSTASKQUEUEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) + }) _sym_db.RegisterMessage(PollNexusTaskQueueRequest) -PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollNexusTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSTASKQUEUERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) - }, -) +PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollNexusTaskQueueResponse', (_message.Message,), { + 'DESCRIPTOR' : _POLLNEXUSTASKQUEUERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) + }) _sym_db.RegisterMessage(PollNexusTaskQueueResponse) -RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) - }, -) +RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondNexusTaskCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDNEXUSTASKCOMPLETEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) + }) _sym_db.RegisterMessage(RespondNexusTaskCompletedRequest) -RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) - }, -) +RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondNexusTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDNEXUSTASKCOMPLETEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) + }) _sym_db.RegisterMessage(RespondNexusTaskCompletedResponse) -RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) - }, -) +RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondNexusTaskFailedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDNEXUSTASKFAILEDREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) + }) _sym_db.RegisterMessage(RespondNexusTaskFailedRequest) -RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) - }, -) +RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondNexusTaskFailedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDNEXUSTASKFAILEDRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) + }) _sym_db.RegisterMessage(RespondNexusTaskFailedResponse) -ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType( - "ExecuteMultiOperationRequest", - (_message.Message,), - { - "Operation": _reflection.GeneratedProtocolMessageType( - "Operation", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST_OPERATION, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) - }, - ), - "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) - }, -) +ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType('ExecuteMultiOperationRequest', (_message.Message,), { + + 'Operation' : _reflection.GeneratedProtocolMessageType('Operation', (_message.Message,), { + 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONREQUEST_OPERATION, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) + }) + , + 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) + }) _sym_db.RegisterMessage(ExecuteMultiOperationRequest) _sym_db.RegisterMessage(ExecuteMultiOperationRequest.Operation) -ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType( - "ExecuteMultiOperationResponse", - (_message.Message,), - { - "Response": _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) - }, - ), - "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) - }, -) +ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType('ExecuteMultiOperationResponse', (_message.Message,), { + + 'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { + 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) + }) + , + 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) + }) _sym_db.RegisterMessage(ExecuteMultiOperationResponse) _sym_db.RegisterMessage(ExecuteMultiOperationResponse.Response) -UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateActivityOptionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYOPTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) - }, -) +UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType('UpdateActivityOptionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEACTIVITYOPTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) + }) _sym_db.RegisterMessage(UpdateActivityOptionsRequest) -UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateActivityOptionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYOPTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) - }, -) +UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType('UpdateActivityOptionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEACTIVITYOPTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) + }) _sym_db.RegisterMessage(UpdateActivityOptionsResponse) -PauseActivityRequest = _reflection.GeneratedProtocolMessageType( - "PauseActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) - }, -) +PauseActivityRequest = _reflection.GeneratedProtocolMessageType('PauseActivityRequest', (_message.Message,), { + 'DESCRIPTOR' : _PAUSEACTIVITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) + }) _sym_db.RegisterMessage(PauseActivityRequest) -PauseActivityResponse = _reflection.GeneratedProtocolMessageType( - "PauseActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) - }, -) +PauseActivityResponse = _reflection.GeneratedProtocolMessageType('PauseActivityResponse', (_message.Message,), { + 'DESCRIPTOR' : _PAUSEACTIVITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) + }) _sym_db.RegisterMessage(PauseActivityResponse) -UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) - }, -) +UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType('UnpauseActivityRequest', (_message.Message,), { + 'DESCRIPTOR' : _UNPAUSEACTIVITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) + }) _sym_db.RegisterMessage(UnpauseActivityRequest) -UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) - }, -) +UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType('UnpauseActivityResponse', (_message.Message,), { + 'DESCRIPTOR' : _UNPAUSEACTIVITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) + }) _sym_db.RegisterMessage(UnpauseActivityResponse) -ResetActivityRequest = _reflection.GeneratedProtocolMessageType( - "ResetActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) - }, -) +ResetActivityRequest = _reflection.GeneratedProtocolMessageType('ResetActivityRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETACTIVITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) + }) _sym_db.RegisterMessage(ResetActivityRequest) -ResetActivityResponse = _reflection.GeneratedProtocolMessageType( - "ResetActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) - }, -) +ResetActivityResponse = _reflection.GeneratedProtocolMessageType('ResetActivityResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETACTIVITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) + }) _sym_db.RegisterMessage(ResetActivityResponse) -UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionOptionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) - }, -) +UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionOptionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) + }) _sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsRequest) -UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionOptionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) - }, -) +UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionOptionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) + }) _sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsResponse) -DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DescribeDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEDEPLOYMENTREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) - }, -) +DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType('DescribeDeploymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEDEPLOYMENTREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) + }) _sym_db.RegisterMessage(DescribeDeploymentRequest) -DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DescribeDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEDEPLOYMENTRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) - }, -) +DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType('DescribeDeploymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEDEPLOYMENTRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) + }) _sym_db.RegisterMessage(DescribeDeploymentResponse) -DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) - }, -) +DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentVersionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) + }) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionRequest) -DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentVersionResponse", - (_message.Message,), - { - "VersionTaskQueue": _reflection.GeneratedProtocolMessageType( - "VersionTaskQueue", - (_message.Message,), - { - "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( - "StatsByPriorityKeyEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) - }, - ), - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) - }, - ), - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) - }, -) +DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentVersionResponse', (_message.Message,), { + + 'VersionTaskQueue' : _reflection.GeneratedProtocolMessageType('VersionTaskQueue', (_message.Message,), { + + 'StatsByPriorityKeyEntry' : _reflection.GeneratedProtocolMessageType('StatsByPriorityKeyEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) + }) + , + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) + }) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) -_sym_db.RegisterMessage( - DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry -) - -DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) - }, -) +_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) + +DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) + }) _sym_db.RegisterMessage(DescribeWorkerDeploymentRequest) -DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) - }, -) +DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) + }) _sym_db.RegisterMessage(DescribeWorkerDeploymentResponse) -ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType( - "ListDeploymentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTDEPLOYMENTSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) - }, -) +ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType('ListDeploymentsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTDEPLOYMENTSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) + }) _sym_db.RegisterMessage(ListDeploymentsRequest) -ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType( - "ListDeploymentsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTDEPLOYMENTSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) - }, -) +ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType('ListDeploymentsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTDEPLOYMENTSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) + }) _sym_db.RegisterMessage(ListDeploymentsResponse) -SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "SetCurrentDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETCURRENTDEPLOYMENTREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) - }, -) +SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType('SetCurrentDeploymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _SETCURRENTDEPLOYMENTREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) + }) _sym_db.RegisterMessage(SetCurrentDeploymentRequest) -SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "SetCurrentDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETCURRENTDEPLOYMENTRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) - }, -) +SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType('SetCurrentDeploymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _SETCURRENTDEPLOYMENTRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) + }) _sym_db.RegisterMessage(SetCurrentDeploymentResponse) -SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentCurrentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) - }, -) +SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentCurrentVersionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) + }) _sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionRequest) -SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentCurrentVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) - }, -) +SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentCurrentVersionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) + }) _sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionResponse) -SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentRampingVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) - }, -) +SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentRampingVersionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) + }) _sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionRequest) -SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentRampingVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) - }, -) +SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentRampingVersionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) + }) _sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionResponse) -ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkerDeploymentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) - }, -) +ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType('ListWorkerDeploymentsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) + }) _sym_db.RegisterMessage(ListWorkerDeploymentsRequest) -ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkerDeploymentsResponse", - (_message.Message,), - { - "WorkerDeploymentSummary": _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentSummary", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) - }, - ), - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) - }, -) +ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType('ListWorkerDeploymentsResponse', (_message.Message,), { + + 'WorkerDeploymentSummary' : _reflection.GeneratedProtocolMessageType('WorkerDeploymentSummary', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) + }) + , + 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) + }) _sym_db.RegisterMessage(ListWorkerDeploymentsResponse) _sym_db.RegisterMessage(ListWorkerDeploymentsResponse.WorkerDeploymentSummary) -DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) - }, -) +DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentVersionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTVERSIONREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) + }) _sym_db.RegisterMessage(DeleteWorkerDeploymentVersionRequest) -DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) - }, -) +DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentVersionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) + }) _sym_db.RegisterMessage(DeleteWorkerDeploymentVersionResponse) -DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) - }, -) +DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) + }) _sym_db.RegisterMessage(DeleteWorkerDeploymentRequest) -DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) - }, -) +DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) + }) _sym_db.RegisterMessage(DeleteWorkerDeploymentResponse) -UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionMetadataRequest", - (_message.Message,), - { - "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( - "UpsertEntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) - }, - ), - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) - }, -) +UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerDeploymentVersionMetadataRequest', (_message.Message,), { + + 'UpsertEntriesEntry' : _reflection.GeneratedProtocolMessageType('UpsertEntriesEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) + }) + , + 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) + }) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) -UpdateWorkerDeploymentVersionMetadataResponse = ( - _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionMetadataResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) - }, - ) -) +UpdateWorkerDeploymentVersionMetadataResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerDeploymentVersionMetadataResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) + }) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataResponse) -GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "GetCurrentDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTDEPLOYMENTREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) - }, -) +GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType('GetCurrentDeploymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCURRENTDEPLOYMENTREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) + }) _sym_db.RegisterMessage(GetCurrentDeploymentRequest) -GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "GetCurrentDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTDEPLOYMENTRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) - }, -) +GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType('GetCurrentDeploymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETCURRENTDEPLOYMENTRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) + }) _sym_db.RegisterMessage(GetCurrentDeploymentResponse) -GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType( - "GetDeploymentReachabilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) - }, -) +GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType('GetDeploymentReachabilityRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDEPLOYMENTREACHABILITYREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) + }) _sym_db.RegisterMessage(GetDeploymentReachabilityRequest) -GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType( - "GetDeploymentReachabilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) - }, -) +GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType('GetDeploymentReachabilityResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDEPLOYMENTREACHABILITYRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) + }) _sym_db.RegisterMessage(GetDeploymentReachabilityResponse) -CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "CreateWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKFLOWRULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) - }, -) +CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('CreateWorkflowRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATEWORKFLOWRULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) + }) _sym_db.RegisterMessage(CreateWorkflowRuleRequest) -CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "CreateWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKFLOWRULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) - }, -) +CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('CreateWorkflowRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _CREATEWORKFLOWRULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) + }) _sym_db.RegisterMessage(CreateWorkflowRuleResponse) -DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWRULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) - }, -) +DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWRULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) + }) _sym_db.RegisterMessage(DescribeWorkflowRuleRequest) -DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWRULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) - }, -) +DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWRULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) + }) _sym_db.RegisterMessage(DescribeWorkflowRuleResponse) -DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWRULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) - }, -) +DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkflowRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWRULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) + }) _sym_db.RegisterMessage(DeleteWorkflowRuleRequest) -DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWRULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) - }, -) +DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkflowRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWRULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) + }) _sym_db.RegisterMessage(DeleteWorkflowRuleResponse) -ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkflowRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWRULESREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) - }, -) +ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType('ListWorkflowRulesRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWRULESREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) + }) _sym_db.RegisterMessage(ListWorkflowRulesRequest) -ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkflowRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWRULESRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) - }, -) +ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType('ListWorkflowRulesResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWRULESRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) + }) _sym_db.RegisterMessage(ListWorkflowRulesResponse) -TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "TriggerWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERWORKFLOWRULEREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) - }, -) +TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('TriggerWorkflowRuleRequest', (_message.Message,), { + 'DESCRIPTOR' : _TRIGGERWORKFLOWRULEREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) + }) _sym_db.RegisterMessage(TriggerWorkflowRuleRequest) -TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "TriggerWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERWORKFLOWRULERESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) - }, -) +TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('TriggerWorkflowRuleResponse', (_message.Message,), { + 'DESCRIPTOR' : _TRIGGERWORKFLOWRULERESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) + }) _sym_db.RegisterMessage(TriggerWorkflowRuleResponse) -RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType( - "RecordWorkerHeartbeatRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDWORKERHEARTBEATREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) - }, -) +RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType('RecordWorkerHeartbeatRequest', (_message.Message,), { + 'DESCRIPTOR' : _RECORDWORKERHEARTBEATREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) + }) _sym_db.RegisterMessage(RecordWorkerHeartbeatRequest) -RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType( - "RecordWorkerHeartbeatResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDWORKERHEARTBEATRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) - }, -) +RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType('RecordWorkerHeartbeatResponse', (_message.Message,), { + 'DESCRIPTOR' : _RECORDWORKERHEARTBEATRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) + }) _sym_db.RegisterMessage(RecordWorkerHeartbeatResponse) -ListWorkersRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkersRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERSREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) - }, -) +ListWorkersRequest = _reflection.GeneratedProtocolMessageType('ListWorkersRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKERSREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) + }) _sym_db.RegisterMessage(ListWorkersRequest) -ListWorkersResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkersResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERSRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) - }, -) +ListWorkersResponse = _reflection.GeneratedProtocolMessageType('ListWorkersResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKERSRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) + }) _sym_db.RegisterMessage(ListWorkersResponse) -UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType( - "UpdateTaskQueueConfigRequest", - (_message.Message,), - { - "RateLimitUpdate": _reflection.GeneratedProtocolMessageType( - "RateLimitUpdate", - (_message.Message,), - { - "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) - }, - ), - "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) - }, -) +UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateTaskQueueConfigRequest', (_message.Message,), { + + 'RateLimitUpdate' : _reflection.GeneratedProtocolMessageType('RateLimitUpdate', (_message.Message,), { + 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) + }) + , + 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) + }) _sym_db.RegisterMessage(UpdateTaskQueueConfigRequest) _sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.RateLimitUpdate) -UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType( - "UpdateTaskQueueConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATETASKQUEUECONFIGRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) - }, -) +UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateTaskQueueConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) + }) _sym_db.RegisterMessage(UpdateTaskQueueConfigResponse) -FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( - "FetchWorkerConfigRequest", - (_message.Message,), - { - "DESCRIPTOR": _FETCHWORKERCONFIGREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) - }, -) +FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType('FetchWorkerConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _FETCHWORKERCONFIGREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) + }) _sym_db.RegisterMessage(FetchWorkerConfigRequest) -FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( - "FetchWorkerConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _FETCHWORKERCONFIGRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) - }, -) +FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType('FetchWorkerConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _FETCHWORKERCONFIGRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) + }) _sym_db.RegisterMessage(FetchWorkerConfigResponse) -UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerConfigRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERCONFIGREQUEST, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) - }, -) +UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERCONFIGREQUEST, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) + }) _sym_db.RegisterMessage(UpdateWorkerConfigRequest) -UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERCONFIGRESPONSE, - "__module__": "temporal.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) - }, -) +UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEWORKERCONFIGRESPONSE, + '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) + }) _sym_db.RegisterMessage(UpdateWorkerConfigResponse) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b"8\001" - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name["binary_checksum"]._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._serialized_options = b"\030\001" - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b"8\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = ( - b"8\001" - ) - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ - "binary_checksum" - ]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ - "worker_version_stamp" - ]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ - "worker_version_stamp" - ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["binary_checksum"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._options = None - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ - "worker_version" - ]._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ - "worker_version" - ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name["reset_reapply_type"]._options = None - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name[ - "reset_reapply_type" - ]._serialized_options = b"\030\001" - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "include_task_queue_status" - ]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "include_task_queue_status" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["api_mode"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "api_mode" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["versions"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "versions" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["task_queue_types"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "task_queue_types" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_pollers"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "report_pollers" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_task_reachability"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ - "report_task_reachability" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUERESPONSE.fields_by_name["task_queue_status"]._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name[ - "task_queue_status" - ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUERESPONSE.fields_by_name["versions_info"]._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name[ - "versions_info" - ]._serialized_options = b"\030\001" - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b"8\001" - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._options = None - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ - "worker_version_capabilities" - ]._serialized_options = b"\030\001" - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name["version"]._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ - "previous_version" - ]._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ - "previous_version" - ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name["version"]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ - "previous_version" - ]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ - "previous_version" - ]._serialized_options = b"\030\001" - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b"8\001" - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ - "version" - ]._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ - "version" - ]._serialized_options = b"\030\001" - _REGISTERNAMESPACEREQUEST._serialized_start = 1492 - _REGISTERNAMESPACEREQUEST._serialized_end = 2140 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start = 2097 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end = 2140 - _REGISTERNAMESPACERESPONSE._serialized_start = 2142 - _REGISTERNAMESPACERESPONSE._serialized_end = 2169 - _LISTNAMESPACESREQUEST._serialized_start = 2172 - _LISTNAMESPACESREQUEST._serialized_end = 2309 - _LISTNAMESPACESRESPONSE._serialized_start = 2312 - _LISTNAMESPACESRESPONSE._serialized_end = 2441 - _DESCRIBENAMESPACEREQUEST._serialized_start = 2443 - _DESCRIBENAMESPACEREQUEST._serialized_end = 2500 - _DESCRIBENAMESPACERESPONSE._serialized_start = 2503 - _DESCRIBENAMESPACERESPONSE._serialized_end = 2867 - _UPDATENAMESPACEREQUEST._serialized_start = 2870 - _UPDATENAMESPACEREQUEST._serialized_end = 3205 - _UPDATENAMESPACERESPONSE._serialized_start = 3208 - _UPDATENAMESPACERESPONSE._serialized_end = 3499 - _DEPRECATENAMESPACEREQUEST._serialized_start = 3501 - _DEPRECATENAMESPACEREQUEST._serialized_end = 3571 - _DEPRECATENAMESPACERESPONSE._serialized_start = 3573 - _DEPRECATENAMESPACERESPONSE._serialized_end = 3601 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_start = 3604 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_end = 5053 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 5056 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 5322 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start = 5325 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end = 5623 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start = 5626 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end = 5812 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start = 5815 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end = 5991 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start = 5993 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end = 6113 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start = 6116 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end = 6510 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start = 6513 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end = 7426 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start = 7342 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end = 7426 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start = 7429 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end = 8634 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start = 8468 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end = 8563 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start = 8565 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end = 8634 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start = 8637 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end = 8882 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start = 8885 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end = 9389 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start = 9391 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end = 9426 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_start = 9429 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_end = 9869 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_start = 9872 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_end = 10879 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start = 10882 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end = 11026 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start = 11028 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end = 11140 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start = 11143 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end = 11329 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start = 11331 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end = 11447 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start = 11450 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end = 11811 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start = 11813 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end = 11851 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start = 11854 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end = 12040 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start = 12042 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end = 12084 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start = 12087 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end = 12512 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start = 12514 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end = 12601 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start = 12604 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end = 12854 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start = 12856 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end = 12947 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start = 12950 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end = 13311 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start = 13313 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end = 13350 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start = 13353 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end = 13620 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start = 13622 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end = 13663 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start = 13666 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end = 13926 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start = 13928 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end = 13968 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start = 13971 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end = 14321 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start = 14323 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end = 14356 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start = 14359 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end = 15624 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 15626 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 15701 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_start = 15704 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_end = 16153 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start = 16155 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end = 16203 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start = 16206 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end = 16493 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 16495 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 16531 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start = 16533 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end = 16655 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start = 16657 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end = 16690 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start = 16693 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end = 17022 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17025 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17155 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 17158 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 17552 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17555 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17687 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start = 17689 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end = 17798 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17800 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17926 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 17928 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 18045 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18048 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18182 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start = 18184 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end = 18293 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18295 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18421 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start = 18423 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end = 18489 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18492 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18729 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 18641 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 18729 - _GETSEARCHATTRIBUTESREQUEST._serialized_start = 18731 - _GETSEARCHATTRIBUTESREQUEST._serialized_end = 18759 - _GETSEARCHATTRIBUTESRESPONSE._serialized_start = 18762 - _GETSEARCHATTRIBUTESRESPONSE._serialized_end = 18963 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start = 18879 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end = 18963 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start = 18966 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end = 19302 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start = 19304 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end = 19339 - _RESETSTICKYTASKQUEUEREQUEST._serialized_start = 19341 - _RESETSTICKYTASKQUEUEREQUEST._serialized_end = 19451 - _RESETSTICKYTASKQUEUERESPONSE._serialized_start = 19453 - _RESETSTICKYTASKQUEUERESPONSE._serialized_end = 19483 - _SHUTDOWNWORKERREQUEST._serialized_start = 19486 - _SHUTDOWNWORKERREQUEST._serialized_end = 19656 - _SHUTDOWNWORKERRESPONSE._serialized_start = 19658 - _SHUTDOWNWORKERRESPONSE._serialized_end = 19682 - _QUERYWORKFLOWREQUEST._serialized_start = 19685 - _QUERYWORKFLOWREQUEST._serialized_end = 19918 - _QUERYWORKFLOWRESPONSE._serialized_start = 19921 - _QUERYWORKFLOWRESPONSE._serialized_end = 20062 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start = 20064 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end = 20179 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start = 20182 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end = 20847 - _DESCRIBETASKQUEUEREQUEST._serialized_start = 20850 - _DESCRIBETASKQUEUEREQUEST._serialized_end = 21378 - _DESCRIBETASKQUEUERESPONSE._serialized_start = 21381 - _DESCRIBETASKQUEUERESPONSE._serialized_end = 22385 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start = 22065 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end = 22165 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start = 22167 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end = 22283 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start = 22285 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end = 22385 - _GETCLUSTERINFOREQUEST._serialized_start = 22387 - _GETCLUSTERINFOREQUEST._serialized_end = 22410 - _GETCLUSTERINFORESPONSE._serialized_start = 22413 - _GETCLUSTERINFORESPONSE._serialized_end = 22808 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start = 22753 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end = 22808 - _GETSYSTEMINFOREQUEST._serialized_start = 22810 - _GETSYSTEMINFOREQUEST._serialized_end = 22832 - _GETSYSTEMINFORESPONSE._serialized_start = 22835 - _GETSYSTEMINFORESPONSE._serialized_end = 23335 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start = 22976 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end = 23335 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start = 23337 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end = 23446 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start = 23449 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end = 23672 - _CREATESCHEDULEREQUEST._serialized_start = 23675 - _CREATESCHEDULEREQUEST._serialized_end = 24007 - _CREATESCHEDULERESPONSE._serialized_start = 24009 - _CREATESCHEDULERESPONSE._serialized_end = 24057 - _DESCRIBESCHEDULEREQUEST._serialized_start = 24059 - _DESCRIBESCHEDULEREQUEST._serialized_end = 24124 - _DESCRIBESCHEDULERESPONSE._serialized_start = 24127 - _DESCRIBESCHEDULERESPONSE._serialized_end = 24398 - _UPDATESCHEDULEREQUEST._serialized_start = 24401 - _UPDATESCHEDULEREQUEST._serialized_end = 24649 - _UPDATESCHEDULERESPONSE._serialized_start = 24651 - _UPDATESCHEDULERESPONSE._serialized_end = 24675 - _PATCHSCHEDULEREQUEST._serialized_start = 24678 - _PATCHSCHEDULEREQUEST._serialized_end = 24834 - _PATCHSCHEDULERESPONSE._serialized_start = 24836 - _PATCHSCHEDULERESPONSE._serialized_end = 24859 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start = 24862 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end = 25030 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start = 25032 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end = 25115 - _DELETESCHEDULEREQUEST._serialized_start = 25117 - _DELETESCHEDULEREQUEST._serialized_end = 25198 - _DELETESCHEDULERESPONSE._serialized_start = 25200 - _DELETESCHEDULERESPONSE._serialized_end = 25224 - _LISTSCHEDULESREQUEST._serialized_start = 25226 - _LISTSCHEDULESREQUEST._serialized_end = 25334 - _LISTSCHEDULESRESPONSE._serialized_start = 25336 - _LISTSCHEDULESRESPONSE._serialized_end = 25448 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 25451 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 26097 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start = 25898 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end = ( - 26009 - ) - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start = 26011 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end = 26084 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 26099 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 26163 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 26165 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 26260 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 26262 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 26378 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start = 26381 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end = 28098 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start = 27433 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end = ( - 27546 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start = 27549 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end = ( - 27678 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start = 27680 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end = ( - 27744 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27746 - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 27852 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27854 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 27964 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27966 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 28028 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start = 28030 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end = 28085 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start = 28101 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end = 28353 - _GETWORKERVERSIONINGRULESREQUEST._serialized_start = 28355 - _GETWORKERVERSIONINGRULESREQUEST._serialized_end = 28427 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_start = 28430 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_end = 28679 - _GETWORKERTASKREACHABILITYREQUEST._serialized_start = 28682 - _GETWORKERTASKREACHABILITYREQUEST._serialized_end = 28838 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_start = 28840 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_end = 28954 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start = 28957 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end = 29218 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 29221 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 29436 - _STARTBATCHOPERATIONREQUEST._serialized_start = 29439 - _STARTBATCHOPERATIONREQUEST._serialized_end = 30451 - _STARTBATCHOPERATIONRESPONSE._serialized_start = 30453 - _STARTBATCHOPERATIONRESPONSE._serialized_end = 30482 - _STOPBATCHOPERATIONREQUEST._serialized_start = 30484 - _STOPBATCHOPERATIONREQUEST._serialized_end = 30580 - _STOPBATCHOPERATIONRESPONSE._serialized_start = 30582 - _STOPBATCHOPERATIONRESPONSE._serialized_end = 30610 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_start = 30612 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_end = 30678 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start = 30681 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end = 31083 - _LISTBATCHOPERATIONSREQUEST._serialized_start = 31085 - _LISTBATCHOPERATIONSREQUEST._serialized_end = 31176 - _LISTBATCHOPERATIONSRESPONSE._serialized_start = 31178 - _LISTBATCHOPERATIONSRESPONSE._serialized_end = 31299 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start = 31302 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end = 31487 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start = 31490 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end = 31709 - _POLLNEXUSTASKQUEUEREQUEST._serialized_start = 31712 - _POLLNEXUSTASKQUEUEREQUEST._serialized_end = 32074 - _POLLNEXUSTASKQUEUERESPONSE._serialized_start = 32077 - _POLLNEXUSTASKQUEUERESPONSE._serialized_end = 32257 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start = 32260 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end = 32402 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start = 32404 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end = 32439 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start = 32442 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end = 32582 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start = 32584 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end = 32616 - _EXECUTEMULTIOPERATIONREQUEST._serialized_start = 32619 - _EXECUTEMULTIOPERATIONREQUEST._serialized_end = 32970 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start = 32764 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end = 32970 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_start = 32973 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_end = 33305 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start = 33099 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end = 33305 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_start = 33308 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_end = 33644 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start = 33646 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end = 33746 - _PAUSEACTIVITYREQUEST._serialized_start = 33749 - _PAUSEACTIVITYREQUEST._serialized_end = 33928 - _PAUSEACTIVITYRESPONSE._serialized_start = 33930 - _PAUSEACTIVITYRESPONSE._serialized_end = 33953 - _UNPAUSEACTIVITYREQUEST._serialized_start = 33956 - _UNPAUSEACTIVITYREQUEST._serialized_end = 34236 - _UNPAUSEACTIVITYRESPONSE._serialized_start = 34238 - _UNPAUSEACTIVITYRESPONSE._serialized_end = 34263 - _RESETACTIVITYREQUEST._serialized_start = 34266 - _RESETACTIVITYREQUEST._serialized_end = 34573 - _RESETACTIVITYRESPONSE._serialized_start = 34575 - _RESETACTIVITYRESPONSE._serialized_end = 34598 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start = 34601 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end = 34867 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start = 34870 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end = 34998 - _DESCRIBEDEPLOYMENTREQUEST._serialized_start = 35000 - _DESCRIBEDEPLOYMENTREQUEST._serialized_end = 35106 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_start = 35108 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_end = 35205 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 35208 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 35402 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 35405 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 36057 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start = 35666 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end = 36057 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start = 22065 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end = 22165 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start = 36059 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end = 36136 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start = 36139 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end = 36279 - _LISTDEPLOYMENTSREQUEST._serialized_start = 36281 - _LISTDEPLOYMENTSREQUEST._serialized_end = 36389 - _LISTDEPLOYMENTSRESPONSE._serialized_start = 36391 - _LISTDEPLOYMENTSRESPONSE._serialized_end = 36510 - _SETCURRENTDEPLOYMENTREQUEST._serialized_start = 36513 - _SETCURRENTDEPLOYMENTREQUEST._serialized_end = 36718 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_start = 36721 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_end = 36906 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start = 36909 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end = 37112 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start = 37115 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end = 37302 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start = 37305 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end = 37528 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start = 37531 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end = 37747 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_start = 37749 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_end = 37842 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start = 37845 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end = 38516 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start = 38020 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end = 38516 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 38519 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 38719 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 38721 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 38760 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_start = 38762 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_end = 38855 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start = 38857 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end = 38889 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start = 38892 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end = 39310 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start = 39225 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end = ( - 39310 - ) - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start = 39312 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end = 39422 - _GETCURRENTDEPLOYMENTREQUEST._serialized_start = 39424 - _GETCURRENTDEPLOYMENTREQUEST._serialized_end = 39493 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_start = 39495 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_end = 39602 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start = 39604 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end = 39717 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start = 39720 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end = 39947 - _CREATEWORKFLOWRULEREQUEST._serialized_start = 39950 - _CREATEWORKFLOWRULEREQUEST._serialized_end = 40130 - _CREATEWORKFLOWRULERESPONSE._serialized_start = 40132 - _CREATEWORKFLOWRULERESPONSE._serialized_end = 40227 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_start = 40229 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_end = 40294 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_start = 40296 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_end = 40377 - _DELETEWORKFLOWRULEREQUEST._serialized_start = 40379 - _DELETEWORKFLOWRULEREQUEST._serialized_end = 40442 - _DELETEWORKFLOWRULERESPONSE._serialized_start = 40444 - _DELETEWORKFLOWRULERESPONSE._serialized_end = 40472 - _LISTWORKFLOWRULESREQUEST._serialized_start = 40474 - _LISTWORKFLOWRULESREQUEST._serialized_end = 40544 - _LISTWORKFLOWRULESRESPONSE._serialized_start = 40546 - _LISTWORKFLOWRULESRESPONSE._serialized_end = 40650 - _TRIGGERWORKFLOWRULEREQUEST._serialized_start = 40653 - _TRIGGERWORKFLOWRULEREQUEST._serialized_end = 40859 - _TRIGGERWORKFLOWRULERESPONSE._serialized_start = 40861 - _TRIGGERWORKFLOWRULERESPONSE._serialized_end = 40907 - _RECORDWORKERHEARTBEATREQUEST._serialized_start = 40910 - _RECORDWORKERHEARTBEATREQUEST._serialized_end = 41044 - _RECORDWORKERHEARTBEATRESPONSE._serialized_start = 41046 - _RECORDWORKERHEARTBEATRESPONSE._serialized_end = 41077 - _LISTWORKERSREQUEST._serialized_start = 41079 - _LISTWORKERSREQUEST._serialized_end = 41177 - _LISTWORKERSRESPONSE._serialized_start = 41179 - _LISTWORKERSRESPONSE._serialized_end = 41283 - _UPDATETASKQUEUECONFIGREQUEST._serialized_start = 41286 - _UPDATETASKQUEUECONFIGREQUEST._serialized_end = 41768 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start = 41677 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end = 41768 - _UPDATETASKQUEUECONFIGRESPONSE._serialized_start = 41770 - _UPDATETASKQUEUECONFIGRESPONSE._serialized_end = 41861 - _FETCHWORKERCONFIGREQUEST._serialized_start = 41864 - _FETCHWORKERCONFIGREQUEST._serialized_end = 42001 - _FETCHWORKERCONFIGRESPONSE._serialized_start = 42003 - _FETCHWORKERCONFIGRESPONSE._serialized_end = 42088 - _UPDATEWORKERCONFIGREQUEST._serialized_start = 42091 - _UPDATEWORKERCONFIGREQUEST._serialized_end = 42336 - _UPDATEWORKERCONFIGRESPONSE._serialized_start = 42338 - _UPDATEWORKERCONFIGRESPONSE._serialized_end = 42438 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b'8\001' + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['binary_checksum']._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b'8\001' + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = b'8\001' + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['binary_checksum']._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['worker_version_stamp']._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['worker_version_stamp']._serialized_options = b'\030\001' + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['deployment']._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['binary_checksum']._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['worker_version']._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['deployment']._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['worker_version']._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['deployment']._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['worker_version']._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['deployment']._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['worker_version']._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['deployment']._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._options = None + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._serialized_options = b'\030\001' + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._options = None + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._serialized_options = b'\030\001' + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name['reset_reapply_type']._options = None + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b'8\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['include_task_queue_status']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['include_task_queue_status']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['api_mode']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['api_mode']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['versions']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['versions']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['task_queue_types']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['task_queue_types']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_pollers']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_pollers']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_task_reachability']._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_task_reachability']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b'8\001' + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b'8\001' + _DESCRIBETASKQUEUERESPONSE.fields_by_name['task_queue_status']._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name['task_queue_status']._serialized_options = b'\030\001' + _DESCRIBETASKQUEUERESPONSE.fields_by_name['versions_info']._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name['versions_info']._serialized_options = b'\030\001' + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b'8\001' + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b'8\001' + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name['version']._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name['previous_version']._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name['previous_version']._serialized_options = b'\030\001' + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name['version']._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name['previous_version']._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name['previous_version']._serialized_options = b'\030\001' + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._options = None + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b'8\001' + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name['version']._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name['version']._serialized_options = b'\030\001' + _REGISTERNAMESPACEREQUEST._serialized_start=1492 + _REGISTERNAMESPACEREQUEST._serialized_end=2140 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start=2097 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end=2140 + _REGISTERNAMESPACERESPONSE._serialized_start=2142 + _REGISTERNAMESPACERESPONSE._serialized_end=2169 + _LISTNAMESPACESREQUEST._serialized_start=2172 + _LISTNAMESPACESREQUEST._serialized_end=2309 + _LISTNAMESPACESRESPONSE._serialized_start=2312 + _LISTNAMESPACESRESPONSE._serialized_end=2441 + _DESCRIBENAMESPACEREQUEST._serialized_start=2443 + _DESCRIBENAMESPACEREQUEST._serialized_end=2500 + _DESCRIBENAMESPACERESPONSE._serialized_start=2503 + _DESCRIBENAMESPACERESPONSE._serialized_end=2867 + _UPDATENAMESPACEREQUEST._serialized_start=2870 + _UPDATENAMESPACEREQUEST._serialized_end=3205 + _UPDATENAMESPACERESPONSE._serialized_start=3208 + _UPDATENAMESPACERESPONSE._serialized_end=3499 + _DEPRECATENAMESPACEREQUEST._serialized_start=3501 + _DEPRECATENAMESPACEREQUEST._serialized_end=3571 + _DEPRECATENAMESPACERESPONSE._serialized_start=3573 + _DEPRECATENAMESPACERESPONSE._serialized_end=3601 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_start=3604 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_end=5053 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start=5056 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end=5322 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start=5325 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end=5623 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start=5626 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end=5812 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start=5815 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end=5991 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start=5993 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end=6113 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start=6116 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end=6510 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start=6513 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end=7426 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start=7342 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end=7426 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start=7429 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end=8634 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start=8468 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end=8563 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start=8565 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end=8634 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start=8637 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end=8882 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start=8885 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end=9389 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start=9391 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end=9426 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_start=9429 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_end=9869 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_start=9872 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_end=10879 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start=10882 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end=11026 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start=11028 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end=11140 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start=11143 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end=11329 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start=11331 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end=11447 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start=11450 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end=11811 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start=11813 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end=11851 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start=11854 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end=12040 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start=12042 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end=12084 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start=12087 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end=12512 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start=12514 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end=12601 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start=12604 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end=12854 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start=12856 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end=12947 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start=12950 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end=13311 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start=13313 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end=13350 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start=13353 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end=13620 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start=13622 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end=13663 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start=13666 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end=13926 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start=13928 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end=13968 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start=13971 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end=14321 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start=14323 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end=14356 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start=14359 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end=15624 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start=15626 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end=15701 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_start=15704 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_end=16153 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start=16155 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end=16203 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start=16206 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end=16493 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start=16495 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end=16531 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start=16533 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end=16655 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start=16657 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end=16690 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start=16693 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end=17022 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start=17025 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end=17155 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start=17158 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end=17552 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start=17555 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end=17687 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start=17689 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end=17798 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start=17800 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end=17926 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start=17928 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end=18045 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start=18048 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end=18182 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start=18184 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end=18293 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start=18295 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end=18421 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start=18423 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end=18489 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start=18492 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end=18729 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start=18641 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end=18729 + _GETSEARCHATTRIBUTESREQUEST._serialized_start=18731 + _GETSEARCHATTRIBUTESREQUEST._serialized_end=18759 + _GETSEARCHATTRIBUTESRESPONSE._serialized_start=18762 + _GETSEARCHATTRIBUTESRESPONSE._serialized_end=18963 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start=18879 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end=18963 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start=18966 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end=19302 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start=19304 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end=19339 + _RESETSTICKYTASKQUEUEREQUEST._serialized_start=19341 + _RESETSTICKYTASKQUEUEREQUEST._serialized_end=19451 + _RESETSTICKYTASKQUEUERESPONSE._serialized_start=19453 + _RESETSTICKYTASKQUEUERESPONSE._serialized_end=19483 + _SHUTDOWNWORKERREQUEST._serialized_start=19486 + _SHUTDOWNWORKERREQUEST._serialized_end=19656 + _SHUTDOWNWORKERRESPONSE._serialized_start=19658 + _SHUTDOWNWORKERRESPONSE._serialized_end=19682 + _QUERYWORKFLOWREQUEST._serialized_start=19685 + _QUERYWORKFLOWREQUEST._serialized_end=19918 + _QUERYWORKFLOWRESPONSE._serialized_start=19921 + _QUERYWORKFLOWRESPONSE._serialized_end=20062 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start=20064 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end=20179 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start=20182 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end=20847 + _DESCRIBETASKQUEUEREQUEST._serialized_start=20850 + _DESCRIBETASKQUEUEREQUEST._serialized_end=21378 + _DESCRIBETASKQUEUERESPONSE._serialized_start=21381 + _DESCRIBETASKQUEUERESPONSE._serialized_end=22385 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start=22065 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end=22165 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start=22167 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end=22283 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start=22285 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end=22385 + _GETCLUSTERINFOREQUEST._serialized_start=22387 + _GETCLUSTERINFOREQUEST._serialized_end=22410 + _GETCLUSTERINFORESPONSE._serialized_start=22413 + _GETCLUSTERINFORESPONSE._serialized_end=22808 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start=22753 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end=22808 + _GETSYSTEMINFOREQUEST._serialized_start=22810 + _GETSYSTEMINFOREQUEST._serialized_end=22832 + _GETSYSTEMINFORESPONSE._serialized_start=22835 + _GETSYSTEMINFORESPONSE._serialized_end=23335 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start=22976 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end=23335 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start=23337 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end=23446 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start=23449 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end=23672 + _CREATESCHEDULEREQUEST._serialized_start=23675 + _CREATESCHEDULEREQUEST._serialized_end=24007 + _CREATESCHEDULERESPONSE._serialized_start=24009 + _CREATESCHEDULERESPONSE._serialized_end=24057 + _DESCRIBESCHEDULEREQUEST._serialized_start=24059 + _DESCRIBESCHEDULEREQUEST._serialized_end=24124 + _DESCRIBESCHEDULERESPONSE._serialized_start=24127 + _DESCRIBESCHEDULERESPONSE._serialized_end=24398 + _UPDATESCHEDULEREQUEST._serialized_start=24401 + _UPDATESCHEDULEREQUEST._serialized_end=24649 + _UPDATESCHEDULERESPONSE._serialized_start=24651 + _UPDATESCHEDULERESPONSE._serialized_end=24675 + _PATCHSCHEDULEREQUEST._serialized_start=24678 + _PATCHSCHEDULEREQUEST._serialized_end=24834 + _PATCHSCHEDULERESPONSE._serialized_start=24836 + _PATCHSCHEDULERESPONSE._serialized_end=24859 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start=24862 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end=25030 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start=25032 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end=25115 + _DELETESCHEDULEREQUEST._serialized_start=25117 + _DELETESCHEDULEREQUEST._serialized_end=25198 + _DELETESCHEDULERESPONSE._serialized_start=25200 + _DELETESCHEDULERESPONSE._serialized_end=25224 + _LISTSCHEDULESREQUEST._serialized_start=25226 + _LISTSCHEDULESREQUEST._serialized_end=25334 + _LISTSCHEDULESRESPONSE._serialized_start=25336 + _LISTSCHEDULESRESPONSE._serialized_end=25448 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start=25451 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end=26097 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start=25898 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end=26009 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start=26011 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end=26084 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start=26099 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end=26163 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start=26165 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end=26260 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start=26262 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end=26378 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start=26381 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end=28098 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start=27433 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end=27546 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start=27549 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end=27678 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start=27680 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end=27744 + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27746 + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=27852 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27854 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=27964 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27966 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=28028 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start=28030 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end=28085 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start=28101 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end=28353 + _GETWORKERVERSIONINGRULESREQUEST._serialized_start=28355 + _GETWORKERVERSIONINGRULESREQUEST._serialized_end=28427 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_start=28430 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_end=28679 + _GETWORKERTASKREACHABILITYREQUEST._serialized_start=28682 + _GETWORKERTASKREACHABILITYREQUEST._serialized_end=28838 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_start=28840 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_end=28954 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start=28957 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end=29218 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start=29221 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end=29436 + _STARTBATCHOPERATIONREQUEST._serialized_start=29439 + _STARTBATCHOPERATIONREQUEST._serialized_end=30451 + _STARTBATCHOPERATIONRESPONSE._serialized_start=30453 + _STARTBATCHOPERATIONRESPONSE._serialized_end=30482 + _STOPBATCHOPERATIONREQUEST._serialized_start=30484 + _STOPBATCHOPERATIONREQUEST._serialized_end=30580 + _STOPBATCHOPERATIONRESPONSE._serialized_start=30582 + _STOPBATCHOPERATIONRESPONSE._serialized_end=30610 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_start=30612 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_end=30678 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start=30681 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end=31083 + _LISTBATCHOPERATIONSREQUEST._serialized_start=31085 + _LISTBATCHOPERATIONSREQUEST._serialized_end=31176 + _LISTBATCHOPERATIONSRESPONSE._serialized_start=31178 + _LISTBATCHOPERATIONSRESPONSE._serialized_end=31299 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start=31302 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end=31487 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start=31490 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end=31709 + _POLLNEXUSTASKQUEUEREQUEST._serialized_start=31712 + _POLLNEXUSTASKQUEUEREQUEST._serialized_end=32074 + _POLLNEXUSTASKQUEUERESPONSE._serialized_start=32077 + _POLLNEXUSTASKQUEUERESPONSE._serialized_end=32257 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start=32260 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end=32402 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start=32404 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end=32439 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start=32442 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end=32582 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start=32584 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end=32616 + _EXECUTEMULTIOPERATIONREQUEST._serialized_start=32619 + _EXECUTEMULTIOPERATIONREQUEST._serialized_end=32970 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start=32764 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end=32970 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_start=32973 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_end=33305 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start=33099 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end=33305 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_start=33308 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_end=33644 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start=33646 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end=33746 + _PAUSEACTIVITYREQUEST._serialized_start=33749 + _PAUSEACTIVITYREQUEST._serialized_end=33928 + _PAUSEACTIVITYRESPONSE._serialized_start=33930 + _PAUSEACTIVITYRESPONSE._serialized_end=33953 + _UNPAUSEACTIVITYREQUEST._serialized_start=33956 + _UNPAUSEACTIVITYREQUEST._serialized_end=34236 + _UNPAUSEACTIVITYRESPONSE._serialized_start=34238 + _UNPAUSEACTIVITYRESPONSE._serialized_end=34263 + _RESETACTIVITYREQUEST._serialized_start=34266 + _RESETACTIVITYREQUEST._serialized_end=34573 + _RESETACTIVITYRESPONSE._serialized_start=34575 + _RESETACTIVITYRESPONSE._serialized_end=34598 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start=34601 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end=34867 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start=34870 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end=34998 + _DESCRIBEDEPLOYMENTREQUEST._serialized_start=35000 + _DESCRIBEDEPLOYMENTREQUEST._serialized_end=35106 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_start=35108 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_end=35205 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start=35208 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end=35402 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start=35405 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end=36057 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start=35666 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end=36057 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start=22065 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end=22165 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start=36059 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end=36136 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start=36139 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end=36279 + _LISTDEPLOYMENTSREQUEST._serialized_start=36281 + _LISTDEPLOYMENTSREQUEST._serialized_end=36389 + _LISTDEPLOYMENTSRESPONSE._serialized_start=36391 + _LISTDEPLOYMENTSRESPONSE._serialized_end=36510 + _SETCURRENTDEPLOYMENTREQUEST._serialized_start=36513 + _SETCURRENTDEPLOYMENTREQUEST._serialized_end=36718 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_start=36721 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_end=36906 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start=36909 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end=37112 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start=37115 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end=37302 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start=37305 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end=37528 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start=37531 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end=37747 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_start=37749 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_end=37842 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start=37845 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end=38516 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start=38020 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end=38516 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start=38519 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end=38719 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start=38721 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end=38760 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_start=38762 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_end=38855 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start=38857 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end=38889 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start=38892 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end=39310 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start=39225 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end=39310 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start=39312 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end=39422 + _GETCURRENTDEPLOYMENTREQUEST._serialized_start=39424 + _GETCURRENTDEPLOYMENTREQUEST._serialized_end=39493 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_start=39495 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_end=39602 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start=39604 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end=39717 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start=39720 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end=39947 + _CREATEWORKFLOWRULEREQUEST._serialized_start=39950 + _CREATEWORKFLOWRULEREQUEST._serialized_end=40130 + _CREATEWORKFLOWRULERESPONSE._serialized_start=40132 + _CREATEWORKFLOWRULERESPONSE._serialized_end=40227 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_start=40229 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_end=40294 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_start=40296 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_end=40377 + _DELETEWORKFLOWRULEREQUEST._serialized_start=40379 + _DELETEWORKFLOWRULEREQUEST._serialized_end=40442 + _DELETEWORKFLOWRULERESPONSE._serialized_start=40444 + _DELETEWORKFLOWRULERESPONSE._serialized_end=40472 + _LISTWORKFLOWRULESREQUEST._serialized_start=40474 + _LISTWORKFLOWRULESREQUEST._serialized_end=40544 + _LISTWORKFLOWRULESRESPONSE._serialized_start=40546 + _LISTWORKFLOWRULESRESPONSE._serialized_end=40650 + _TRIGGERWORKFLOWRULEREQUEST._serialized_start=40653 + _TRIGGERWORKFLOWRULEREQUEST._serialized_end=40859 + _TRIGGERWORKFLOWRULERESPONSE._serialized_start=40861 + _TRIGGERWORKFLOWRULERESPONSE._serialized_end=40907 + _RECORDWORKERHEARTBEATREQUEST._serialized_start=40910 + _RECORDWORKERHEARTBEATREQUEST._serialized_end=41044 + _RECORDWORKERHEARTBEATRESPONSE._serialized_start=41046 + _RECORDWORKERHEARTBEATRESPONSE._serialized_end=41077 + _LISTWORKERSREQUEST._serialized_start=41079 + _LISTWORKERSREQUEST._serialized_end=41177 + _LISTWORKERSRESPONSE._serialized_start=41179 + _LISTWORKERSRESPONSE._serialized_end=41283 + _UPDATETASKQUEUECONFIGREQUEST._serialized_start=41286 + _UPDATETASKQUEUECONFIGREQUEST._serialized_end=41768 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start=41677 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end=41768 + _UPDATETASKQUEUECONFIGRESPONSE._serialized_start=41770 + _UPDATETASKQUEUECONFIGRESPONSE._serialized_end=41861 + _FETCHWORKERCONFIGREQUEST._serialized_start=41864 + _FETCHWORKERCONFIGREQUEST._serialized_end=42001 + _FETCHWORKERCONFIGRESPONSE._serialized_start=42003 + _FETCHWORKERCONFIGRESPONSE._serialized_end=42088 + _UPDATEWORKERCONFIGREQUEST._serialized_start=42091 + _UPDATEWORKERCONFIGREQUEST._serialized_end=42336 + _UPDATEWORKERCONFIGRESPONSE._serialized_start=42338 + _UPDATEWORKERCONFIGRESPONSE._serialized_end=42438 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.pyi b/temporalio/api/workflowservice/v1/request_response_pb2.pyi index a0be16462..052f3a182 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2.pyi @@ -2,18 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.field_mask_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.activity.v1.message_pb2 import temporalio.api.batch.v1.message_pb2 import temporalio.api.command.v1.message_pb2 @@ -71,10 +68,7 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int @@ -93,31 +87,19 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def workflow_execution_retention_period( - self, - ) -> google.protobuf.duration_pb2.Duration: ... + def workflow_execution_retention_period(self) -> google.protobuf.duration_pb2.Duration: ... @property - def clusters( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig - ]: ... + def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig]: ... active_cluster_name: builtins.str @property - def data( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" security_token: builtins.str is_global_namespace: builtins.bool - history_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) + history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" history_archival_uri: builtins.str - visibility_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) + visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str def __init__( @@ -126,12 +108,8 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., description: builtins.str = ..., owner_email: builtins.str = ..., - workflow_execution_retention_period: google.protobuf.duration_pb2.Duration - | None = ..., - clusters: collections.abc.Iterable[ - temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig - ] - | None = ..., + workflow_execution_retention_period: google.protobuf.duration_pb2.Duration | None = ..., + clusters: collections.abc.Iterable[temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig] | None = ..., active_cluster_name: builtins.str = ..., data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., security_token: builtins.str = ..., @@ -141,44 +119,8 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., visibility_archival_uri: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution_retention_period", - b"workflow_execution_retention_period", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "active_cluster_name", - b"active_cluster_name", - "clusters", - b"clusters", - "data", - b"data", - "description", - b"description", - "history_archival_state", - b"history_archival_state", - "history_archival_uri", - b"history_archival_uri", - "is_global_namespace", - b"is_global_namespace", - "namespace", - b"namespace", - "owner_email", - b"owner_email", - "security_token", - b"security_token", - "visibility_archival_state", - b"visibility_archival_state", - "visibility_archival_uri", - b"visibility_archival_uri", - "workflow_execution_retention_period", - b"workflow_execution_retention_period", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution_retention_period", b"workflow_execution_retention_period"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["active_cluster_name", b"active_cluster_name", "clusters", b"clusters", "data", b"data", "description", b"description", "history_archival_state", b"history_archival_state", "history_archival_uri", b"history_archival_uri", "is_global_namespace", b"is_global_namespace", "namespace", b"namespace", "owner_email", b"owner_email", "security_token", b"security_token", "visibility_archival_state", b"visibility_archival_state", "visibility_archival_uri", b"visibility_archival_uri", "workflow_execution_retention_period", b"workflow_execution_retention_period"]) -> None: ... global___RegisterNamespaceRequest = RegisterNamespaceRequest @@ -200,32 +142,16 @@ class ListNamespacesRequest(google.protobuf.message.Message): page_size: builtins.int next_page_token: builtins.bytes @property - def namespace_filter( - self, - ) -> temporalio.api.namespace.v1.message_pb2.NamespaceFilter: ... + def namespace_filter(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceFilter: ... def __init__( self, *, page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - namespace_filter: temporalio.api.namespace.v1.message_pb2.NamespaceFilter - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace_filter", - b"namespace_filter", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - ], + namespace_filter: temporalio.api.namespace.v1.message_pb2.NamespaceFilter | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListNamespacesRequest = ListNamespacesRequest @@ -235,25 +161,15 @@ class ListNamespacesResponse(google.protobuf.message.Message): NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def namespaces( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DescribeNamespaceResponse - ]: ... + def namespaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeNamespaceResponse]: ... next_page_token: builtins.bytes def __init__( self, *, - namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] - | None = ..., + namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespaces", b"namespaces", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces", "next_page_token", b"next_page_token"]) -> None: ... global___ListNamespacesResponse = ListNamespacesResponse @@ -270,10 +186,7 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["id", b"id", "namespace", b"namespace"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "namespace", b"namespace"]) -> None: ... global___DescribeNamespaceRequest = DescribeNamespaceRequest @@ -287,69 +200,30 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int FAILOVER_HISTORY_FIELD_NUMBER: builtins.int @property - def namespace_info( - self, - ) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... + def namespace_info(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config( - self, - ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... failover_version: builtins.int is_global_namespace: builtins.bool @property - def failover_history( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.replication.v1.message_pb2.FailoverStatus - ]: + def failover_history(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.replication.v1.message_pb2.FailoverStatus]: """Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. """ def __init__( self, *, - namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo - | None = ..., + namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig - | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., failover_version: builtins.int = ..., is_global_namespace: builtins.bool = ..., - failover_history: collections.abc.Iterable[ - temporalio.api.replication.v1.message_pb2.FailoverStatus - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "namespace_info", - b"namespace_info", - "replication_config", - b"replication_config", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "failover_history", - b"failover_history", - "failover_version", - b"failover_version", - "is_global_namespace", - b"is_global_namespace", - "namespace_info", - b"namespace_info", - "replication_config", - b"replication_config", - ], + failover_history: collections.abc.Iterable[temporalio.api.replication.v1.message_pb2.FailoverStatus] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["config", b"config", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "failover_history", b"failover_history", "failover_version", b"failover_version", "is_global_namespace", b"is_global_namespace", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> None: ... global___DescribeNamespaceResponse = DescribeNamespaceResponse @@ -365,15 +239,11 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): PROMOTE_NAMESPACE_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def update_info( - self, - ) -> temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo: ... + def update_info(self) -> temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config( - self, - ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... security_token: builtins.str delete_bad_binary: builtins.str promote_namespace: builtins.bool @@ -382,45 +252,15 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - update_info: temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo - | None = ..., + update_info: temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig - | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., security_token: builtins.str = ..., delete_bad_binary: builtins.str = ..., promote_namespace: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "replication_config", - b"replication_config", - "update_info", - b"update_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "delete_bad_binary", - b"delete_bad_binary", - "namespace", - b"namespace", - "promote_namespace", - b"promote_namespace", - "replication_config", - b"replication_config", - "security_token", - b"security_token", - "update_info", - b"update_info", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["config", b"config", "replication_config", b"replication_config", "update_info", b"update_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "delete_bad_binary", b"delete_bad_binary", "namespace", b"namespace", "promote_namespace", b"promote_namespace", "replication_config", b"replication_config", "security_token", b"security_token", "update_info", b"update_info"]) -> None: ... global___UpdateNamespaceRequest = UpdateNamespaceRequest @@ -433,54 +273,24 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): FAILOVER_VERSION_FIELD_NUMBER: builtins.int IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int @property - def namespace_info( - self, - ) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... + def namespace_info(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config( - self, - ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... failover_version: builtins.int is_global_namespace: builtins.bool def __init__( self, *, - namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo - | None = ..., + namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig - | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., failover_version: builtins.int = ..., is_global_namespace: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "namespace_info", - b"namespace_info", - "replication_config", - b"replication_config", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "failover_version", - b"failover_version", - "is_global_namespace", - b"is_global_namespace", - "namespace_info", - b"namespace_info", - "replication_config", - b"replication_config", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["config", b"config", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "failover_version", b"failover_version", "is_global_namespace", b"is_global_namespace", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> None: ... global___UpdateNamespaceResponse = UpdateNamespaceResponse @@ -499,12 +309,7 @@ class DeprecateNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., security_token: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "security_token", b"security_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "security_token", b"security_token"]) -> None: ... global___DeprecateNamespaceRequest = DeprecateNamespaceRequest @@ -571,17 +376,13 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): """The identity of the client who initiated this request""" request_id: builtins.str """A unique identifier for this start request. Typically UUIDv4.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow. """ - workflow_id_conflict_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType - ) + workflow_id_conflict_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType """Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. @@ -595,9 +396,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... request_eager_execution: builtins.bool @@ -614,9 +413,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): StartWorkflowExecution. """ @property - def last_completion_result( - self, - ) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. @@ -624,11 +421,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): of the delay will be ignored. """ @property - def completion_callbacks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Callback - ]: + def completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: """Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration. @@ -640,23 +433,15 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): workflow. """ @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the workflow.""" @property - def versioning_override( - self, - ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ @property - def on_conflict_options( - self, - ) -> temporalio.api.workflow.v1.message_pb2.OnConflictOptions: + def on_conflict_options(self) -> temporalio.api.workflow.v1.message_pb2.OnConflictOptions: """Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a empty object (ie., all options with default value), it won't do anything to the existing @@ -683,126 +468,21 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., request_eager_execution: builtins.bool = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., workflow_start_delay: google.protobuf.duration_pb2.Duration | None = ..., - completion_callbacks: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Callback - ] - | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride - | None = ..., - on_conflict_options: temporalio.api.workflow.v1.message_pb2.OnConflictOptions - | None = ..., + completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., + on_conflict_options: temporalio.api.workflow.v1.message_pb2.OnConflictOptions | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "continued_failure", - b"continued_failure", - "header", - b"header", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "on_conflict_options", - b"on_conflict_options", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_start_delay", - b"workflow_start_delay", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "completion_callbacks", - b"completion_callbacks", - "continued_failure", - b"continued_failure", - "cron_schedule", - b"cron_schedule", - "header", - b"header", - "identity", - b"identity", - "input", - b"input", - "last_completion_result", - b"last_completion_result", - "links", - b"links", - "memo", - b"memo", - "namespace", - b"namespace", - "on_conflict_options", - b"on_conflict_options", - "priority", - b"priority", - "request_eager_execution", - b"request_eager_execution", - "request_id", - b"request_id", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_conflict_policy", - b"workflow_id_conflict_policy", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_start_delay", - b"workflow_start_delay", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "on_conflict_options", b"on_conflict_options", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["completion_callbacks", b"completion_callbacks", "continued_failure", b"continued_failure", "cron_schedule", b"cron_schedule", "header", b"header", "identity", b"identity", "input", b"input", "last_completion_result", b"last_completion_result", "links", b"links", "memo", b"memo", "namespace", b"namespace", "on_conflict_options", b"on_conflict_options", "priority", b"priority", "request_eager_execution", b"request_eager_execution", "request_id", b"request_id", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_conflict_policy", b"workflow_id_conflict_policy", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... global___StartWorkflowExecutionRequest = StartWorkflowExecutionRequest @@ -840,27 +520,8 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): eager_workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "eager_workflow_task", b"eager_workflow_task", "link", b"link" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "eager_workflow_task", - b"eager_workflow_task", - "link", - b"link", - "run_id", - b"run_id", - "started", - b"started", - "status", - b"status", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["eager_workflow_task", b"eager_workflow_task", "link", b"link"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["eager_workflow_task", b"eager_workflow_task", "link", b"link", "run_id", b"run_id", "started", b"started", "status", b"status"]) -> None: ... global___StartWorkflowExecutionResponse = StartWorkflowExecutionResponse @@ -886,9 +547,7 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): """If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit. """ - history_event_filter_type: ( - temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType - ) + history_event_filter_type: temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType """Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT. """ @@ -904,28 +563,8 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): history_event_filter_type: temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType = ..., skip_archival: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", - b"execution", - "history_event_filter_type", - b"history_event_filter_type", - "maximum_page_size", - b"maximum_page_size", - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "skip_archival", - b"skip_archival", - "wait_new_event", - b"wait_new_event", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "history_event_filter_type", b"history_event_filter_type", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "skip_archival", b"skip_archival", "wait_new_event", b"wait_new_event"]) -> None: ... global___GetWorkflowExecutionHistoryRequest = GetWorkflowExecutionHistoryRequest @@ -939,11 +578,7 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): @property def history(self) -> temporalio.api.history.v1.message_pb2.History: ... @property - def raw_history( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.DataBlob - ]: + def raw_history(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.DataBlob]: """Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. """ @@ -954,29 +589,12 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): self, *, history: temporalio.api.history.v1.message_pb2.History | None = ..., - raw_history: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.DataBlob - ] - | None = ..., + raw_history: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.DataBlob] | None = ..., next_page_token: builtins.bytes = ..., archived: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "archived", - b"archived", - "history", - b"history", - "next_page_token", - b"next_page_token", - "raw_history", - b"raw_history", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["archived", b"archived", "history", b"history", "next_page_token", b"next_page_token", "raw_history", b"raw_history"]) -> None: ... global___GetWorkflowExecutionHistoryResponse = GetWorkflowExecutionHistoryResponse @@ -1000,26 +618,10 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", - b"execution", - "maximum_page_size", - b"maximum_page_size", - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token"]) -> None: ... -global___GetWorkflowExecutionHistoryReverseRequest = ( - GetWorkflowExecutionHistoryReverseRequest -) +global___GetWorkflowExecutionHistoryReverseRequest = GetWorkflowExecutionHistoryReverseRequest class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1036,19 +638,10 @@ class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message history: temporalio.api.history.v1.message_pb2.History | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "history", b"history", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["history", b"history", "next_page_token", b"next_page_token"]) -> None: ... -global___GetWorkflowExecutionHistoryReverseResponse = ( - GetWorkflowExecutionHistoryReverseResponse -) +global___GetWorkflowExecutionHistoryReverseResponse = GetWorkflowExecutionHistoryReverseResponse class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1071,17 +664,13 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): "checksum" in this field name isn't very accurate, it should be though of as an id. """ @property - def worker_version_capabilities( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Deprecated. Use deployment_options instead. Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker. Experimental. Worker Deployments are experimental and might significantly change in the future. """ @@ -1095,45 +684,12 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., identity: builtins.str = ..., binary_checksum: builtins.str = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities - | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "task_queue", - b"task_queue", - "worker_heartbeat", - b"worker_heartbeat", - "worker_version_capabilities", - b"worker_version_capabilities", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "binary_checksum", - b"binary_checksum", - "deployment_options", - b"deployment_options", - "identity", - b"identity", - "namespace", - b"namespace", - "task_queue", - b"task_queue", - "worker_heartbeat", - b"worker_heartbeat", - "worker_version_capabilities", - b"worker_version_capabilities", - ], + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollWorkflowTaskQueueRequest = PollWorkflowTaskQueueRequest @@ -1154,13 +710,8 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int @@ -1181,9 +732,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): task_token: builtins.bytes """A unique identifier for this task""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... previous_started_event_id: builtins.int @@ -1228,9 +777,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): may also be populated if this task originates on a non-sticky queue. """ @property - def workflow_execution_task_queue( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + def workflow_execution_task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue. """ @@ -1241,32 +788,21 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the current workflow task started event was generated, meaning the current attempt.""" @property - def queries( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery - ]: + def queries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery]: """Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results` """ @property - def messages( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.protocol.v1.message_pb2.Message - ]: + def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: """Protocol messages piggybacking on a WFT as a transport""" @property - def poller_scaling_decision( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" def __init__( self, *, task_token: builtins.bytes = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., previous_started_event_id: builtins.int = ..., started_event_id: builtins.int = ..., @@ -1275,79 +811,15 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): history: temporalio.api.history.v1.message_pb2.History | None = ..., next_page_token: builtins.bytes = ..., query: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., - workflow_execution_task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue - | None = ..., + workflow_execution_task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - queries: collections.abc.Mapping[ - builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery - ] - | None = ..., - messages: collections.abc.Iterable[ - temporalio.api.protocol.v1.message_pb2.Message - ] - | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "history", - b"history", - "poller_scaling_decision", - b"poller_scaling_decision", - "query", - b"query", - "scheduled_time", - b"scheduled_time", - "started_time", - b"started_time", - "workflow_execution", - b"workflow_execution", - "workflow_execution_task_queue", - b"workflow_execution_task_queue", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "backlog_count_hint", - b"backlog_count_hint", - "history", - b"history", - "messages", - b"messages", - "next_page_token", - b"next_page_token", - "poller_scaling_decision", - b"poller_scaling_decision", - "previous_started_event_id", - b"previous_started_event_id", - "queries", - b"queries", - "query", - b"query", - "scheduled_time", - b"scheduled_time", - "started_event_id", - b"started_event_id", - "started_time", - b"started_time", - "task_token", - b"task_token", - "workflow_execution", - b"workflow_execution", - "workflow_execution_task_queue", - b"workflow_execution_task_queue", - "workflow_type", - b"workflow_type", - ], + queries: collections.abc.Mapping[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery] | None = ..., + messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["history", b"history", "poller_scaling_decision", b"poller_scaling_decision", "query", b"query", "scheduled_time", b"scheduled_time", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_execution_task_queue", b"workflow_execution_task_queue", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "backlog_count_hint", b"backlog_count_hint", "history", b"history", "messages", b"messages", "next_page_token", b"next_page_token", "poller_scaling_decision", b"poller_scaling_decision", "previous_started_event_id", b"previous_started_event_id", "queries", b"queries", "query", b"query", "scheduled_time", b"scheduled_time", "started_event_id", b"started_event_id", "started_time", b"started_time", "task_token", b"task_token", "workflow_execution", b"workflow_execution", "workflow_execution_task_queue", b"workflow_execution_task_queue", "workflow_type", b"workflow_type"]) -> None: ... global___PollWorkflowTaskQueueResponse = PollWorkflowTaskQueueResponse @@ -1368,13 +840,8 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.query.v1.message_pb2.WorkflowQueryResult | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class Capabilities(google.protobuf.message.Message): """SDK capability details.""" @@ -1395,13 +862,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): *, discard_speculative_workflow_task_with_events: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "discard_speculative_workflow_task_with_events", - b"discard_speculative_workflow_task_with_events", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["discard_speculative_workflow_task_with_events", b"discard_speculative_workflow_task_with_events"]) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int COMMANDS_FIELD_NUMBER: builtins.int @@ -1423,18 +884,12 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): task_token: builtins.bytes """The task token as received in `PollWorkflowTaskQueueResponse`""" @property - def commands( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.command.v1.message_pb2.Command - ]: + def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.command.v1.message_pb2.Command]: """A list of commands generated when driving the workflow code in response to the new task""" identity: builtins.str """The identity of the worker/client""" @property - def sticky_attributes( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: + def sticky_attributes(self) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: """May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue. """ @@ -1453,40 +908,26 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): Worker process' unique binary id """ @property - def query_results( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult - ]: + def query_results(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult]: """Responses to the `queries` field in the task being responded to""" namespace: builtins.str @property - def worker_version_stamp( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead. """ @property - def messages( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.protocol.v1.message_pb2.Message - ]: + def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: """Protocol messages piggybacking on a WFT as a transport""" @property - def sdk_metadata( - self, - ) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: + def sdk_metadata(self) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ @property - def metering_metadata( - self, - ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: + def metering_metadata(self) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data collected for metering""" @property def capabilities(self) -> global___RespondWorkflowTaskCompletedRequest.Capabilities: @@ -1497,111 +938,36 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) + versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType """Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, *, task_token: builtins.bytes = ..., - commands: collections.abc.Iterable[ - temporalio.api.command.v1.message_pb2.Command - ] - | None = ..., + commands: collections.abc.Iterable[temporalio.api.command.v1.message_pb2.Command] | None = ..., identity: builtins.str = ..., - sticky_attributes: temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes - | None = ..., + sticky_attributes: temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes | None = ..., return_new_workflow_task: builtins.bool = ..., force_create_new_workflow_task: builtins.bool = ..., binary_checksum: builtins.str = ..., - query_results: collections.abc.Mapping[ - builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult - ] - | None = ..., + query_results: collections.abc.Mapping[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult] | None = ..., namespace: builtins.str = ..., - worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., - messages: collections.abc.Iterable[ - temporalio.api.protocol.v1.message_pb2.Message - ] - | None = ..., - sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata - | None = ..., - metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata - | None = ..., - capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities - | None = ..., + worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., + sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata | None = ..., + metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., + capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "capabilities", - b"capabilities", - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "metering_metadata", - b"metering_metadata", - "sdk_metadata", - b"sdk_metadata", - "sticky_attributes", - b"sticky_attributes", - "worker_version_stamp", - b"worker_version_stamp", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "binary_checksum", - b"binary_checksum", - "capabilities", - b"capabilities", - "commands", - b"commands", - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "force_create_new_workflow_task", - b"force_create_new_workflow_task", - "identity", - b"identity", - "messages", - b"messages", - "metering_metadata", - b"metering_metadata", - "namespace", - b"namespace", - "query_results", - b"query_results", - "return_new_workflow_task", - b"return_new_workflow_task", - "sdk_metadata", - b"sdk_metadata", - "sticky_attributes", - b"sticky_attributes", - "task_token", - b"task_token", - "versioning_behavior", - b"versioning_behavior", - "worker_version_stamp", - b"worker_version_stamp", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "deployment", b"deployment", "deployment_options", b"deployment_options", "metering_metadata", b"metering_metadata", "sdk_metadata", b"sdk_metadata", "sticky_attributes", b"sticky_attributes", "worker_version_stamp", b"worker_version_stamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "capabilities", b"capabilities", "commands", b"commands", "deployment", b"deployment", "deployment_options", b"deployment_options", "force_create_new_workflow_task", b"force_create_new_workflow_task", "identity", b"identity", "messages", b"messages", "metering_metadata", b"metering_metadata", "namespace", b"namespace", "query_results", b"query_results", "return_new_workflow_task", b"return_new_workflow_task", "sdk_metadata", b"sdk_metadata", "sticky_attributes", b"sticky_attributes", "task_token", b"task_token", "versioning_behavior", b"versioning_behavior", "worker_version_stamp", b"worker_version_stamp"]) -> None: ... global___RespondWorkflowTaskCompletedRequest = RespondWorkflowTaskCompletedRequest @@ -1615,11 +981,7 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): def workflow_task(self) -> global___PollWorkflowTaskQueueResponse: """See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`""" @property - def activity_tasks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PollActivityTaskQueueResponse - ]: + def activity_tasks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PollActivityTaskQueueResponse]: """See `ScheduleActivityTaskCommandAttributes::request_eager_execution`""" reset_history_event_id: builtins.int """If non zero, indicates the server has discarded the workflow task that was being responded to. @@ -1630,24 +992,11 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): self, *, workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., - activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] - | None = ..., + activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] | None = ..., reset_history_event_id: builtins.int = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_tasks", - b"activity_tasks", - "reset_history_event_id", - b"reset_history_event_id", - "workflow_task", - b"workflow_task", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_tasks", b"activity_tasks", "reset_history_event_id", b"reset_history_event_id", "workflow_task", b"workflow_task"]) -> None: ... global___RespondWorkflowTaskCompletedResponse = RespondWorkflowTaskCompletedResponse @@ -1681,11 +1030,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): """ namespace: builtins.str @property - def messages( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.protocol.v1.message_pb2.Message - ]: + def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: """Protocol messages piggybacking on a WFT as a transport""" @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: @@ -1701,9 +1046,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1714,54 +1057,13 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): identity: builtins.str = ..., binary_checksum: builtins.str = ..., namespace: builtins.str = ..., - messages: collections.abc.Iterable[ - temporalio.api.protocol.v1.message_pb2.Message - ] - | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "failure", - b"failure", - "worker_version", - b"worker_version", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "binary_checksum", - b"binary_checksum", - "cause", - b"cause", - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "failure", - b"failure", - "identity", - b"identity", - "messages", - b"messages", - "namespace", - b"namespace", - "task_token", - b"task_token", - "worker_version", - b"worker_version", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "cause", b"cause", "deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "identity", b"identity", "messages", b"messages", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondWorkflowTaskFailedRequest = RespondWorkflowTaskFailedRequest @@ -1790,21 +1092,15 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the worker/client""" @property - def task_queue_metadata( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... + def task_queue_metadata(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... @property - def worker_version_capabilities( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" @property def worker_heartbeat(self) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: @@ -1815,49 +1111,13 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., identity: builtins.str = ..., - task_queue_metadata: temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata - | None = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities - | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "task_queue", - b"task_queue", - "task_queue_metadata", - b"task_queue_metadata", - "worker_heartbeat", - b"worker_heartbeat", - "worker_version_capabilities", - b"worker_version_capabilities", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "identity", - b"identity", - "namespace", - b"namespace", - "task_queue", - b"task_queue", - "task_queue_metadata", - b"task_queue_metadata", - "worker_heartbeat", - b"worker_heartbeat", - "worker_version_capabilities", - b"worker_version_capabilities", - ], + task_queue_metadata: temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata | None = ..., + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "task_queue_metadata", b"task_queue_metadata", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "task_queue_metadata", b"task_queue_metadata", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollActivityTaskQueueRequest = PollActivityTaskQueueRequest @@ -1891,9 +1151,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """Type of the requesting workflow""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the requesting workflow""" @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @@ -1950,9 +1208,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): values are not specified or exceed configured system limits. """ @property - def poller_scaling_decision( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -1963,104 +1219,25 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): task_token: builtins.bytes = ..., workflow_namespace: builtins.str = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., activity_type: temporalio.api.common.v1.message_pb2.ActivityType | None = ..., activity_id: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision - | None = ..., + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity_type", - b"activity_type", - "current_attempt_scheduled_time", - b"current_attempt_scheduled_time", - "header", - b"header", - "heartbeat_details", - b"heartbeat_details", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "poller_scaling_decision", - b"poller_scaling_decision", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_time", - b"scheduled_time", - "start_to_close_timeout", - b"start_to_close_timeout", - "started_time", - b"started_time", - "workflow_execution", - b"workflow_execution", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "attempt", - b"attempt", - "current_attempt_scheduled_time", - b"current_attempt_scheduled_time", - "header", - b"header", - "heartbeat_details", - b"heartbeat_details", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "poller_scaling_decision", - b"poller_scaling_decision", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_time", - b"scheduled_time", - "start_to_close_timeout", - b"start_to_close_timeout", - "started_time", - b"started_time", - "task_token", - b"task_token", - "workflow_execution", - b"workflow_execution", - "workflow_namespace", - b"workflow_namespace", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header", b"header", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "poller_scaling_decision", b"poller_scaling_decision", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header", b"header", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "poller_scaling_decision", b"poller_scaling_decision", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "task_token", b"task_token", "workflow_execution", b"workflow_execution", "workflow_namespace", b"workflow_namespace", "workflow_type", b"workflow_type"]) -> None: ... global___PollActivityTaskQueueResponse = PollActivityTaskQueueResponse @@ -2087,22 +1264,8 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): identity: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "identity", - b"identity", - "namespace", - b"namespace", - "task_token", - b"task_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token"]) -> None: ... global___RecordActivityTaskHeartbeatRequest = RecordActivityTaskHeartbeatRequest @@ -2129,17 +1292,7 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): activity_paused: builtins.bool = ..., activity_reset: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_paused", - b"activity_paused", - "activity_reset", - b"activity_reset", - "cancel_requested", - b"cancel_requested", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_paused", b"activity_paused", "activity_reset", b"activity_reset", "cancel_requested", b"cancel_requested"]) -> None: ... global___RecordActivityTaskHeartbeatResponse = RecordActivityTaskHeartbeatResponse @@ -2175,26 +1328,8 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "details", - b"details", - "identity", - b"identity", - "namespace", - b"namespace", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "details", b"details", "identity", b"identity", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___RecordActivityTaskHeartbeatByIdRequest = RecordActivityTaskHeartbeatByIdRequest @@ -2221,21 +1356,9 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): activity_paused: builtins.bool = ..., activity_reset: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_paused", - b"activity_paused", - "activity_reset", - b"activity_reset", - "cancel_requested", - b"cancel_requested", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_paused", b"activity_paused", "activity_reset", b"activity_reset", "cancel_requested", b"cancel_requested"]) -> None: ... -global___RecordActivityTaskHeartbeatByIdResponse = ( - RecordActivityTaskHeartbeatByIdResponse -) +global___RecordActivityTaskHeartbeatByIdResponse = RecordActivityTaskHeartbeatByIdResponse class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2269,9 +1392,7 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -2280,44 +1401,12 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "result", - b"result", - "worker_version", - b"worker_version", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "identity", - b"identity", - "namespace", - b"namespace", - "result", - b"result", - "task_token", - b"task_token", - "worker_version", - b"worker_version", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "result", b"result", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "result", b"result", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskCompletedRequest = RespondActivityTaskCompletedRequest @@ -2362,30 +1451,10 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "identity", - b"identity", - "namespace", - b"namespace", - "result", - b"result", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], - ) -> None: ... - -global___RespondActivityTaskCompletedByIdRequest = ( - RespondActivityTaskCompletedByIdRequest -) + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "identity", b"identity", "namespace", b"namespace", "result", b"result", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + +global___RespondActivityTaskCompletedByIdRequest = RespondActivityTaskCompletedByIdRequest class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2394,9 +1463,7 @@ class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCompletedByIdResponse = ( - RespondActivityTaskCompletedByIdResponse -) +global___RespondActivityTaskCompletedByIdResponse = RespondActivityTaskCompletedByIdResponse class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2434,9 +1501,7 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -2445,50 +1510,13 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "failure", - b"failure", - "last_heartbeat_details", - b"last_heartbeat_details", - "worker_version", - b"worker_version", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "failure", - b"failure", - "identity", - b"identity", - "last_heartbeat_details", - b"last_heartbeat_details", - "namespace", - b"namespace", - "task_token", - b"task_token", - "worker_version", - b"worker_version", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "identity", b"identity", "last_heartbeat_details", b"last_heartbeat_details", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskFailedRequest = RespondActivityTaskFailedRequest @@ -2497,25 +1525,16 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): FAILURES_FIELD_NUMBER: builtins.int @property - def failures( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.failure.v1.message_pb2.Failure - ]: + def failures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.failure.v1.message_pb2.Failure]: """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ def __init__( self, *, - failures: collections.abc.Iterable[ - temporalio.api.failure.v1.message_pb2.Failure - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["failures", b"failures"] + failures: collections.abc.Iterable[temporalio.api.failure.v1.message_pb2.Failure] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["failures", b"failures"]) -> None: ... global___RespondActivityTaskFailedResponse = RespondActivityTaskFailedResponse @@ -2554,34 +1573,10 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): activity_id: builtins.str = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., identity: builtins.str = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "failure", - b"failure", - "identity", - b"identity", - "last_heartbeat_details", - b"last_heartbeat_details", - "namespace", - b"namespace", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "failure", b"failure", "identity", b"identity", "last_heartbeat_details", b"last_heartbeat_details", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___RespondActivityTaskFailedByIdRequest = RespondActivityTaskFailedByIdRequest @@ -2590,25 +1585,16 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): FAILURES_FIELD_NUMBER: builtins.int @property - def failures( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.failure.v1.message_pb2.Failure - ]: + def failures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.failure.v1.message_pb2.Failure]: """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ def __init__( self, *, - failures: collections.abc.Iterable[ - temporalio.api.failure.v1.message_pb2.Failure - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["failures", b"failures"] + failures: collections.abc.Iterable[temporalio.api.failure.v1.message_pb2.Failure] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["failures", b"failures"]) -> None: ... global___RespondActivityTaskFailedByIdResponse = RespondActivityTaskFailedByIdResponse @@ -2644,9 +1630,7 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -2655,44 +1639,12 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp - | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "details", - b"details", - "worker_version", - b"worker_version", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "deployment_options", - b"deployment_options", - "details", - b"details", - "identity", - b"identity", - "namespace", - b"namespace", - "task_token", - b"task_token", - "worker_version", - b"worker_version", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "details", b"details", "worker_version", b"worker_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "details", b"details", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskCanceledRequest = RespondActivityTaskCanceledRequest @@ -2729,9 +1681,7 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the worker/client""" @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -2742,34 +1692,10 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): activity_id: builtins.str = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", b"deployment_options", "details", b"details" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "deployment_options", - b"deployment_options", - "details", - b"details", - "identity", - b"identity", - "namespace", - b"namespace", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "deployment_options", b"deployment_options", "details", b"details", "identity", b"identity", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___RespondActivityTaskCanceledByIdRequest = RespondActivityTaskCanceledByIdRequest @@ -2780,9 +1706,7 @@ class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCanceledByIdResponse = ( - RespondActivityTaskCanceledByIdResponse -) +global___RespondActivityTaskCanceledByIdResponse = RespondActivityTaskCanceledByIdResponse class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2796,9 +1720,7 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -2811,50 +1733,21 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): reason: builtins.str """Reason for requesting the cancellation""" @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the WorkflowExecutionCanceled event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., first_execution_run_id: builtins.str = ..., reason: builtins.str = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "first_execution_run_id", - b"first_execution_run_id", - "identity", - b"identity", - "links", - b"links", - "namespace", - b"namespace", - "reason", - b"reason", - "request_id", - b"request_id", - "workflow_execution", - b"workflow_execution", - ], + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["first_execution_run_id", b"first_execution_run_id", "identity", b"identity", "links", b"links", "namespace", b"namespace", "reason", b"reason", "request_id", b"request_id", "workflow_execution", b"workflow_execution"]) -> None: ... global___RequestCancelWorkflowExecutionRequest = RequestCancelWorkflowExecutionRequest @@ -2869,8 +1762,8 @@ global___RequestCancelWorkflowExecutionResponse = RequestCancelWorkflowExecution class SignalWorkflowExecutionRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - - temporalio.api.batch.v1.BatchOperationSignal. - - temporalio.api.workflow.v1.PostResetOperation.SignalWorkflow. + - temporalio.api.batch.v1.BatchOperationSignal. + - temporalio.api.workflow.v1.PostResetOperation.SignalWorkflow. """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2886,9 +1779,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" @property @@ -2906,61 +1797,23 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): These can include things like auth or tracing tokens. """ @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the WorkflowExecutionSignaled event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., control: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "workflow_execution", - b"workflow_execution", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "control", - b"control", - "header", - b"header", - "identity", - b"identity", - "input", - b"input", - "links", - b"links", - "namespace", - b"namespace", - "request_id", - b"request_id", - "signal_name", - b"signal_name", - "workflow_execution", - b"workflow_execution", - ], + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "header", b"header", "identity", b"identity", "input", b"input", "links", b"links", "namespace", b"namespace", "request_id", b"request_id", "signal_name", b"signal_name", "workflow_execution", b"workflow_execution"]) -> None: ... global___SignalWorkflowExecutionRequest = SignalWorkflowExecutionRequest @@ -3024,17 +1877,13 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """The identity of the worker/client""" request_id: builtins.str """Used to de-dupe signal w/ start requests""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *running* workflow. """ - workflow_id_conflict_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType - ) + workflow_id_conflict_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType """Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING. Note that WORKFLOW_ID_CONFLICT_POLICY_FAIL is an invalid option. @@ -3056,9 +1905,7 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -3076,16 +1923,10 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): workflow. """ @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events.""" @property - def versioning_override( - self, - ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ @@ -3113,112 +1954,18 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., workflow_start_delay: google.protobuf.duration_pb2.Duration | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride - | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "header", - b"header", - "input", - b"input", - "memo", - b"memo", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "signal_input", - b"signal_input", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_start_delay", - b"workflow_start_delay", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "control", - b"control", - "cron_schedule", - b"cron_schedule", - "header", - b"header", - "identity", - b"identity", - "input", - b"input", - "links", - b"links", - "memo", - b"memo", - "namespace", - b"namespace", - "priority", - b"priority", - "request_id", - b"request_id", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "signal_input", - b"signal_input", - "signal_name", - b"signal_name", - "task_queue", - b"task_queue", - "user_metadata", - b"user_metadata", - "versioning_override", - b"versioning_override", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_conflict_policy", - b"workflow_id_conflict_policy", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_start_delay", - b"workflow_start_delay", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... - -global___SignalWithStartWorkflowExecutionRequest = ( - SignalWithStartWorkflowExecutionRequest -) + def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "signal_input", b"signal_input", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "identity", b"identity", "input", b"input", "links", b"links", "memo", b"memo", "namespace", b"namespace", "priority", b"priority", "request_id", b"request_id", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "signal_input", b"signal_input", "signal_name", b"signal_name", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_conflict_policy", b"workflow_id_conflict_policy", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + +global___SignalWithStartWorkflowExecutionRequest = SignalWithStartWorkflowExecutionRequest class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3235,16 +1982,9 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): run_id: builtins.str = ..., started: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "started", b"started" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "started", b"started"]) -> None: ... -global___SignalWithStartWorkflowExecutionResponse = ( - SignalWithStartWorkflowExecutionResponse -) +global___SignalWithStartWorkflowExecutionResponse = SignalWithStartWorkflowExecutionResponse class ResetWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3260,9 +2000,7 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow to reset. If this contains a run ID then the workflow will be reset back to the provided event ID in that run. Otherwise it will be reset to the provided event ID in the current run. In all cases the current run will be terminated and a new run started. @@ -3279,18 +2017,10 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): Default: RESET_REAPPLY_TYPE_SIGNAL """ @property - def reset_reapply_exclude_types( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType - ]: + def reset_reapply_exclude_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType]: """Event types not to be reapplied""" @property - def post_reset_operations( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.PostResetOperation - ]: + def post_reset_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PostResetOperation]: """Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated @@ -3301,51 +2031,17 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., reason: builtins.str = ..., workflow_task_finish_event_id: builtins.int = ..., request_id: builtins.str = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., - reset_reapply_exclude_types: collections.abc.Iterable[ - temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType - ] - | None = ..., - post_reset_operations: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.PostResetOperation - ] - | None = ..., + reset_reapply_exclude_types: collections.abc.Iterable[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType] | None = ..., + post_reset_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PostResetOperation] | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "post_reset_operations", - b"post_reset_operations", - "reason", - b"reason", - "request_id", - b"request_id", - "reset_reapply_exclude_types", - b"reset_reapply_exclude_types", - "reset_reapply_type", - b"reset_reapply_type", - "workflow_execution", - b"workflow_execution", - "workflow_task_finish_event_id", - b"workflow_task_finish_event_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "post_reset_operations", b"post_reset_operations", "reason", b"reason", "request_id", b"request_id", "reset_reapply_exclude_types", b"reset_reapply_exclude_types", "reset_reapply_type", b"reset_reapply_type", "workflow_execution", b"workflow_execution", "workflow_task_finish_event_id", b"workflow_task_finish_event_id"]) -> None: ... global___ResetWorkflowExecutionRequest = ResetWorkflowExecutionRequest @@ -3359,9 +2055,7 @@ class ResetWorkflowExecutionResponse(google.protobuf.message.Message): *, run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["run_id", b"run_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id"]) -> None: ... global___ResetWorkflowExecutionResponse = ResetWorkflowExecutionResponse @@ -3377,9 +2071,7 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... reason: builtins.str @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: @@ -3392,50 +2084,21 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): execution chain as this id. """ @property - def links( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Link - ]: + def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: """Links to be associated with the WorkflowExecutionTerminated event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., reason: builtins.str = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., first_execution_run_id: builtins.str = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", - b"details", - "first_execution_run_id", - b"first_execution_run_id", - "identity", - b"identity", - "links", - b"links", - "namespace", - b"namespace", - "reason", - b"reason", - "workflow_execution", - b"workflow_execution", - ], + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "first_execution_run_id", b"first_execution_run_id", "identity", b"identity", "links", b"links", "namespace", b"namespace", "reason", b"reason", "workflow_execution", b"workflow_execution"]) -> None: ... global___TerminateWorkflowExecutionRequest = TerminateWorkflowExecutionRequest @@ -3455,29 +2118,16 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Workflow Execution to delete. If run_id is not specified, the latest one is used.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "workflow_execution", b"workflow_execution" - ], + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "workflow_execution", b"workflow_execution"]) -> None: ... global___DeleteWorkflowExecutionRequest = DeleteWorkflowExecutionRequest @@ -3503,65 +2153,24 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): maximum_page_size: builtins.int next_page_token: builtins.bytes @property - def start_time_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... + def start_time_filter(self) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... @property - def execution_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... + def execution_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... @property - def type_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... + def type_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... def __init__( self, *, namespace: builtins.str = ..., maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter - | None = ..., - execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter - | None = ..., - type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution_filter", - b"execution_filter", - "filters", - b"filters", - "start_time_filter", - b"start_time_filter", - "type_filter", - b"type_filter", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution_filter", - b"execution_filter", - "filters", - b"filters", - "maximum_page_size", - b"maximum_page_size", - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "start_time_filter", - b"start_time_filter", - "type_filter", - b"type_filter", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["filters", b"filters"] - ) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... + start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter | None = ..., + execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter | None = ..., + type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "start_time_filter", b"start_time_filter", "type_filter", b"type_filter"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "start_time_filter", b"start_time_filter", "type_filter", b"type_filter"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["filters", b"filters"]) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... global___ListOpenWorkflowExecutionsRequest = ListOpenWorkflowExecutionsRequest @@ -3571,27 +2180,15 @@ class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ]: ... + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "executions", b"executions", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... global___ListOpenWorkflowExecutionsResponse = ListOpenWorkflowExecutionsResponse @@ -3609,17 +2206,11 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): maximum_page_size: builtins.int next_page_token: builtins.bytes @property - def start_time_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... + def start_time_filter(self) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... @property - def execution_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... + def execution_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... @property - def type_filter( - self, - ) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... + def type_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... @property def status_filter(self) -> temporalio.api.filter.v1.message_pb2.StatusFilter: ... def __init__( @@ -3628,56 +2219,14 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter - | None = ..., - execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter - | None = ..., - type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter - | None = ..., + start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter | None = ..., + execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter | None = ..., + type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter | None = ..., status_filter: temporalio.api.filter.v1.message_pb2.StatusFilter | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution_filter", - b"execution_filter", - "filters", - b"filters", - "start_time_filter", - b"start_time_filter", - "status_filter", - b"status_filter", - "type_filter", - b"type_filter", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution_filter", - b"execution_filter", - "filters", - b"filters", - "maximum_page_size", - b"maximum_page_size", - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "start_time_filter", - b"start_time_filter", - "status_filter", - b"status_filter", - "type_filter", - b"type_filter", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["filters", b"filters"] - ) -> ( - typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "start_time_filter", b"start_time_filter", "status_filter", b"status_filter", "type_filter", b"type_filter"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "start_time_filter", b"start_time_filter", "status_filter", b"status_filter", "type_filter", b"type_filter"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["filters", b"filters"]) -> typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] | None: ... global___ListClosedWorkflowExecutionsRequest = ListClosedWorkflowExecutionsRequest @@ -3687,27 +2236,15 @@ class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ]: ... + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "executions", b"executions", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... global___ListClosedWorkflowExecutionsResponse = ListClosedWorkflowExecutionsResponse @@ -3730,19 +2267,7 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - "query", - b"query", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... global___ListWorkflowExecutionsRequest = ListWorkflowExecutionsRequest @@ -3752,27 +2277,15 @@ class ListWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ]: ... + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "executions", b"executions", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... global___ListWorkflowExecutionsResponse = ListWorkflowExecutionsResponse @@ -3795,19 +2308,7 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - "query", - b"query", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... global___ListArchivedWorkflowExecutionsRequest = ListArchivedWorkflowExecutionsRequest @@ -3817,27 +2318,15 @@ class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ]: ... + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "executions", b"executions", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... global___ListArchivedWorkflowExecutionsResponse = ListArchivedWorkflowExecutionsResponse @@ -3862,19 +2351,7 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - "query", - b"query", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... global___ScanWorkflowExecutionsRequest = ScanWorkflowExecutionsRequest @@ -3886,27 +2363,15 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ]: ... + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "executions", b"executions", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... global___ScanWorkflowExecutionsResponse = ScanWorkflowExecutionsResponse @@ -3923,12 +2388,7 @@ class CountWorkflowExecutionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "query", b"query" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "query", b"query"]) -> None: ... global___CountWorkflowExecutionsRequest = CountWorkflowExecutionsRequest @@ -3941,27 +2401,15 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int @property - def group_values( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: ... + def group_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... count: builtins.int def __init__( self, *, - group_values: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + group_values: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., count: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "count", b"count", "group_values", b"group_values" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["count", b"count", "group_values", b"group_values"]) -> None: ... COUNT_FIELD_NUMBER: builtins.int GROUPS_FIELD_NUMBER: builtins.int @@ -3973,11 +2421,7 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): total number of workflows matching the query. """ @property - def groups( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CountWorkflowExecutionsResponse.AggregationGroup - ]: + def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CountWorkflowExecutionsResponse.AggregationGroup]: """`groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ @@ -3985,15 +2429,9 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): self, *, count: builtins.int = ..., - groups: collections.abc.Iterable[ - global___CountWorkflowExecutionsResponse.AggregationGroup - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], + groups: collections.abc.Iterable[global___CountWorkflowExecutionsResponse.AggregationGroup] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"]) -> None: ... global___CountWorkflowExecutionsResponse = CountWorkflowExecutionsResponse @@ -4022,29 +2460,17 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... KEYS_FIELD_NUMBER: builtins.int @property - def keys( - self, - ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ]: ... + def keys(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: ... def __init__( self, *, - keys: collections.abc.Mapping[ - builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["keys", b"keys"] + keys: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["keys", b"keys"]) -> None: ... global___GetSearchAttributesResponse = GetSearchAttributesResponse @@ -4097,31 +2523,8 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "query_result", b"query_result" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "completed_type", - b"completed_type", - "error_message", - b"error_message", - "failure", - b"failure", - "namespace", - b"namespace", - "query_result", - b"query_result", - "task_token", - b"task_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "query_result", b"query_result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "completed_type", b"completed_type", "error_message", b"error_message", "failure", b"failure", "namespace", b"namespace", "query_result", b"query_result", "task_token", b"task_token"]) -> None: ... global___RespondQueryTaskCompletedRequest = RespondQueryTaskCompletedRequest @@ -4148,15 +2551,8 @@ class ResetStickyTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "namespace", b"namespace" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace"]) -> None: ... global___ResetStickyTaskQueueRequest = ResetStickyTaskQueueRequest @@ -4182,9 +2578,7 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): identity: builtins.str reason: builtins.str @property - def worker_heartbeat( - self, - ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... + def worker_heartbeat(self) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... def __init__( self, *, @@ -4192,28 +2586,10 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): sticky_task_queue: builtins.str = ..., identity: builtins.str = ..., reason: builtins.str = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "reason", - b"reason", - "sticky_task_queue", - b"sticky_task_queue", - "worker_heartbeat", - b"worker_heartbeat", - ], + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "sticky_task_queue", b"sticky_task_queue", "worker_heartbeat", b"worker_heartbeat"]) -> None: ... global___ShutdownWorkerRequest = ShutdownWorkerRequest @@ -4238,9 +2614,7 @@ class QueryWorkflowRequest(google.protobuf.message.Message): def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... - query_reject_condition: ( - temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType - ) + query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType """QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. """ @@ -4252,25 +2626,8 @@ class QueryWorkflowRequest(google.protobuf.message.Message): query: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "query", b"query" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", - b"execution", - "namespace", - b"namespace", - "query", - b"query", - "query_reject_condition", - b"query_reject_condition", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "query", b"query"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace", "query", b"query", "query_reject_condition", b"query_reject_condition"]) -> None: ... global___QueryWorkflowRequest = QueryWorkflowRequest @@ -4289,18 +2646,8 @@ class QueryWorkflowResponse(google.protobuf.message.Message): query_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., query_rejected: temporalio.api.query.v1.message_pb2.QueryRejected | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "query_rejected", b"query_rejected", "query_result", b"query_result" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "query_rejected", b"query_rejected", "query_result", b"query_result" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["query_rejected", b"query_rejected", "query_result", b"query_result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["query_rejected", b"query_rejected", "query_result", b"query_result"]) -> None: ... global___QueryWorkflowResponse = QueryWorkflowResponse @@ -4318,15 +2665,8 @@ class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "namespace", b"namespace" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace"]) -> None: ... global___DescribeWorkflowExecutionRequest = DescribeWorkflowExecutionRequest @@ -4342,113 +2682,41 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): PENDING_NEXUS_OPERATIONS_FIELD_NUMBER: builtins.int WORKFLOW_EXTENDED_INFO_FIELD_NUMBER: builtins.int @property - def execution_config( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig: ... - @property - def workflow_execution_info( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo: ... - @property - def pending_activities( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.PendingActivityInfo - ]: ... - @property - def pending_children( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo - ]: ... - @property - def pending_workflow_task( - self, - ) -> temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo: ... - @property - def callbacks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.CallbackInfo - ]: ... - @property - def pending_nexus_operations( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo - ]: ... - @property - def workflow_extended_info( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo: ... - def __init__( - self, - *, - execution_config: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig - | None = ..., - workflow_execution_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo - | None = ..., - pending_activities: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.PendingActivityInfo - ] - | None = ..., - pending_children: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo - ] - | None = ..., - pending_workflow_task: temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo - | None = ..., - callbacks: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.CallbackInfo - ] - | None = ..., - pending_nexus_operations: collections.abc.Iterable[ - temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo - ] - | None = ..., - workflow_extended_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution_config", - b"execution_config", - "pending_workflow_task", - b"pending_workflow_task", - "workflow_execution_info", - b"workflow_execution_info", - "workflow_extended_info", - b"workflow_extended_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "callbacks", - b"callbacks", - "execution_config", - b"execution_config", - "pending_activities", - b"pending_activities", - "pending_children", - b"pending_children", - "pending_nexus_operations", - b"pending_nexus_operations", - "pending_workflow_task", - b"pending_workflow_task", - "workflow_execution_info", - b"workflow_execution_info", - "workflow_extended_info", - b"workflow_extended_info", - ], + def execution_config(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig: ... + @property + def workflow_execution_info(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo: ... + @property + def pending_activities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingActivityInfo]: ... + @property + def pending_children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo]: ... + @property + def pending_workflow_task(self) -> temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo: ... + @property + def callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.CallbackInfo]: ... + @property + def pending_nexus_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo]: ... + @property + def workflow_extended_info(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo: ... + def __init__( + self, + *, + execution_config: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig | None = ..., + workflow_execution_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo | None = ..., + pending_activities: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingActivityInfo] | None = ..., + pending_children: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo] | None = ..., + pending_workflow_task: temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo | None = ..., + callbacks: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.CallbackInfo] | None = ..., + pending_nexus_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo] | None = ..., + workflow_extended_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["execution_config", b"execution_config", "pending_workflow_task", b"pending_workflow_task", "workflow_execution_info", b"workflow_execution_info", "workflow_extended_info", b"workflow_extended_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["callbacks", b"callbacks", "execution_config", b"execution_config", "pending_activities", b"pending_activities", "pending_children", b"pending_children", "pending_nexus_operations", b"pending_nexus_operations", "pending_workflow_task", b"pending_workflow_task", "workflow_execution_info", b"workflow_execution_info", "workflow_extended_info", b"workflow_extended_info"]) -> None: ... global___DescribeWorkflowExecutionResponse = DescribeWorkflowExecutionResponse class DescribeTaskQueueRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled - aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) + aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4486,9 +2754,7 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): Consult the documentation for each field to understand which mode it is supported in. """ @property - def versions( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection: + def versions(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection: """Deprecated (as part of the ENHANCED mode deprecation). Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the @@ -4496,11 +2762,7 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions --) """ @property - def task_queue_types( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType - ]: + def task_queue_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType]: """Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered. """ @@ -4523,48 +2785,13 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): report_config: builtins.bool = ..., include_task_queue_status: builtins.bool = ..., api_mode: temporalio.api.enums.v1.task_queue_pb2.DescribeTaskQueueMode.ValueType = ..., - versions: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection - | None = ..., - task_queue_types: collections.abc.Iterable[ - temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType - ] - | None = ..., + versions: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection | None = ..., + task_queue_types: collections.abc.Iterable[temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType] | None = ..., report_pollers: builtins.bool = ..., report_task_reachability: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "task_queue", b"task_queue", "versions", b"versions" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "api_mode", - b"api_mode", - "include_task_queue_status", - b"include_task_queue_status", - "namespace", - b"namespace", - "report_config", - b"report_config", - "report_pollers", - b"report_pollers", - "report_stats", - b"report_stats", - "report_task_reachability", - b"report_task_reachability", - "task_queue", - b"task_queue", - "task_queue_type", - b"task_queue_type", - "task_queue_types", - b"task_queue_types", - "versions", - b"versions", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["task_queue", b"task_queue", "versions", b"versions"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["api_mode", b"api_mode", "include_task_queue_status", b"include_task_queue_status", "namespace", b"namespace", "report_config", b"report_config", "report_pollers", b"report_pollers", "report_stats", b"report_stats", "report_task_reachability", b"report_task_reachability", "task_queue", b"task_queue", "task_queue_type", b"task_queue_type", "task_queue_types", b"task_queue_types", "versions", b"versions"]) -> None: ... global___DescribeTaskQueueRequest = DescribeTaskQueueRequest @@ -4585,13 +2812,8 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): key: builtins.int = ..., value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class EffectiveRateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4600,9 +2822,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): RATE_LIMIT_SOURCE_FIELD_NUMBER: builtins.int requests_per_second: builtins.float """The effective rate limit for the task queue.""" - rate_limit_source: ( - temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType - ) + rate_limit_source: temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType """Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api. - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond. @@ -4614,15 +2834,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): requests_per_second: builtins.float = ..., rate_limit_source: temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "rate_limit_source", - b"rate_limit_source", - "requests_per_second", - b"requests_per_second", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["rate_limit_source", b"rate_limit_source", "requests_per_second", b"requests_per_second"]) -> None: ... class VersionsInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4631,23 +2843,15 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo: ... + def value(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo: ... def __init__( self, *, key: builtins.str = ..., - value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... POLLERS_FIELD_NUMBER: builtins.int STATS_FIELD_NUMBER: builtins.int @@ -4658,31 +2862,21 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): TASK_QUEUE_STATUS_FIELD_NUMBER: builtins.int VERSIONS_INFO_FIELD_NUMBER: builtins.int @property - def pollers( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.PollerInfo - ]: ... + def pollers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.PollerInfo]: ... @property def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Statistics for the task queue. Only set if `report_stats` is set on the request. """ @property - def stats_by_priority_key( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats - ]: + def stats_by_priority_key(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats]: """Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_stats` is set on the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --) """ @property - def versioning_info( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo: + def versioning_info(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo: """Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to. When not present, it means the tasks are routed to Unversioned workers (workers with UNVERSIONED or unspecified WorkerVersioningMode.) @@ -4697,22 +2891,14 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): def config(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig: """Only populated if report_task_queue_config is set to true.""" @property - def effective_rate_limit( - self, - ) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... + def effective_rate_limit(self) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... @property - def task_queue_status( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus: + def task_queue_status(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus: """Deprecated. Status of the task queue. Only populated when `include_task_queue_status` is set to true in the request. """ @property - def versions_info( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo - ]: + def versions_info(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo]: """Deprecated. Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. @@ -4720,63 +2906,17 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): def __init__( self, *, - pollers: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.PollerInfo - ] - | None = ..., + pollers: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.PollerInfo] | None = ..., stats: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., - stats_by_priority_key: collections.abc.Mapping[ - builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats - ] - | None = ..., - versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo - | None = ..., + stats_by_priority_key: collections.abc.Mapping[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats] | None = ..., + versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo | None = ..., config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., - effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit - | None = ..., - task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus - | None = ..., - versions_info: collections.abc.Mapping[ - builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "effective_rate_limit", - b"effective_rate_limit", - "stats", - b"stats", - "task_queue_status", - b"task_queue_status", - "versioning_info", - b"versioning_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "config", - b"config", - "effective_rate_limit", - b"effective_rate_limit", - "pollers", - b"pollers", - "stats", - b"stats", - "stats_by_priority_key", - b"stats_by_priority_key", - "task_queue_status", - b"task_queue_status", - "versioning_info", - b"versioning_info", - "versions_info", - b"versions_info", - ], + effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit | None = ..., + task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus | None = ..., + versions_info: collections.abc.Mapping[builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["config", b"config", "effective_rate_limit", b"effective_rate_limit", "stats", b"stats", "task_queue_status", b"task_queue_status", "versioning_info", b"versioning_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "effective_rate_limit", b"effective_rate_limit", "pollers", b"pollers", "stats", b"stats", "stats_by_priority_key", b"stats_by_priority_key", "task_queue_status", b"task_queue_status", "versioning_info", b"versioning_info", "versions_info", b"versions_info"]) -> None: ... global___DescribeTaskQueueResponse = DescribeTaskQueueResponse @@ -4807,10 +2947,7 @@ class GetClusterInfoResponse(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SUPPORTED_CLIENTS_FIELD_NUMBER: builtins.int SERVER_VERSION_FIELD_NUMBER: builtins.int @@ -4821,9 +2958,7 @@ class GetClusterInfoResponse(google.protobuf.message.Message): PERSISTENCE_STORE_FIELD_NUMBER: builtins.int VISIBILITY_STORE_FIELD_NUMBER: builtins.int @property - def supported_clients( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def supported_clients(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". """ @@ -4838,8 +2973,7 @@ class GetClusterInfoResponse(google.protobuf.message.Message): def __init__( self, *, - supported_clients: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., + supported_clients: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., server_version: builtins.str = ..., cluster_id: builtins.str = ..., version_info: temporalio.api.version.v1.message_pb2.VersionInfo | None = ..., @@ -4848,30 +2982,8 @@ class GetClusterInfoResponse(google.protobuf.message.Message): persistence_store: builtins.str = ..., visibility_store: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["version_info", b"version_info"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cluster_id", - b"cluster_id", - "cluster_name", - b"cluster_name", - "history_shard_count", - b"history_shard_count", - "persistence_store", - b"persistence_store", - "server_version", - b"server_version", - "supported_clients", - b"supported_clients", - "version_info", - b"version_info", - "visibility_store", - b"visibility_store", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["version_info", b"version_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cluster_id", b"cluster_id", "cluster_name", b"cluster_name", "history_shard_count", b"history_shard_count", "persistence_store", b"persistence_store", "server_version", b"server_version", "supported_clients", b"supported_clients", "version_info", b"version_info", "visibility_store", b"visibility_store"]) -> None: ... global___GetClusterInfoResponse = GetClusterInfoResponse @@ -4954,33 +3066,7 @@ class GetSystemInfoResponse(google.protobuf.message.Message): count_group_by_execution_status: builtins.bool = ..., nexus: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_failure_include_heartbeat", - b"activity_failure_include_heartbeat", - "build_id_based_versioning", - b"build_id_based_versioning", - "count_group_by_execution_status", - b"count_group_by_execution_status", - "eager_workflow_start", - b"eager_workflow_start", - "encoded_failure_attributes", - b"encoded_failure_attributes", - "internal_error_differentiation", - b"internal_error_differentiation", - "nexus", - b"nexus", - "sdk_metadata", - b"sdk_metadata", - "signal_and_query_header", - b"signal_and_query_header", - "supports_schedules", - b"supports_schedules", - "upsert_memo", - b"upsert_memo", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_failure_include_heartbeat", b"activity_failure_include_heartbeat", "build_id_based_versioning", b"build_id_based_versioning", "count_group_by_execution_status", b"count_group_by_execution_status", "eager_workflow_start", b"eager_workflow_start", "encoded_failure_attributes", b"encoded_failure_attributes", "internal_error_differentiation", b"internal_error_differentiation", "nexus", b"nexus", "sdk_metadata", b"sdk_metadata", "signal_and_query_header", b"signal_and_query_header", "supports_schedules", b"supports_schedules", "upsert_memo", b"upsert_memo"]) -> None: ... SERVER_VERSION_FIELD_NUMBER: builtins.int CAPABILITIES_FIELD_NUMBER: builtins.int @@ -4995,15 +3081,8 @@ class GetSystemInfoResponse(google.protobuf.message.Message): server_version: builtins.str = ..., capabilities: global___GetSystemInfoResponse.Capabilities | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "capabilities", b"capabilities", "server_version", b"server_version" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "server_version", b"server_version"]) -> None: ... global___GetSystemInfoResponse = GetSystemInfoResponse @@ -5021,15 +3100,8 @@ class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["task_queue", b"task_queue"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "task_queue", b"task_queue" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["task_queue", b"task_queue"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... global___ListTaskQueuePartitionsRequest = ListTaskQueuePartitionsRequest @@ -5039,44 +3111,22 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ACTIVITY_TASK_QUEUE_PARTITIONS_FIELD_NUMBER: builtins.int WORKFLOW_TASK_QUEUE_PARTITIONS_FIELD_NUMBER: builtins.int @property - def activity_task_queue_partitions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata - ]: ... + def activity_task_queue_partitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata]: ... @property - def workflow_task_queue_partitions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata - ]: ... + def workflow_task_queue_partitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata]: ... def __init__( self, *, - activity_task_queue_partitions: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata - ] - | None = ..., - workflow_task_queue_partitions: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_task_queue_partitions", - b"activity_task_queue_partitions", - "workflow_task_queue_partitions", - b"workflow_task_queue_partitions", - ], + activity_task_queue_partitions: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata] | None = ..., + workflow_task_queue_partitions: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_task_queue_partitions", b"activity_task_queue_partitions", "workflow_task_queue_partitions", b"workflow_task_queue_partitions"]) -> None: ... global___ListTaskQueuePartitionsResponse = ListTaskQueuePartitionsResponse class CreateScheduleRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled - aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) + aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5107,57 +3157,21 @@ class CreateScheduleRequest(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Memo and search attributes to attach to the schedule itself.""" @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, namespace: builtins.str = ..., schedule_id: builtins.str = ..., schedule: temporalio.api.schedule.v1.message_pb2.Schedule | None = ..., - initial_patch: temporalio.api.schedule.v1.message_pb2.SchedulePatch - | None = ..., + initial_patch: temporalio.api.schedule.v1.message_pb2.SchedulePatch | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "initial_patch", - b"initial_patch", - "memo", - b"memo", - "schedule", - b"schedule", - "search_attributes", - b"search_attributes", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "initial_patch", - b"initial_patch", - "memo", - b"memo", - "namespace", - b"namespace", - "request_id", - b"request_id", - "schedule", - b"schedule", - "schedule_id", - b"schedule_id", - "search_attributes", - b"search_attributes", - ], + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["initial_patch", b"initial_patch", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "initial_patch", b"initial_patch", "memo", b"memo", "namespace", b"namespace", "request_id", b"request_id", "schedule", b"schedule", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... global___CreateScheduleRequest = CreateScheduleRequest @@ -5171,9 +3185,7 @@ class CreateScheduleResponse(google.protobuf.message.Message): *, conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"]) -> None: ... global___CreateScheduleResponse = CreateScheduleResponse @@ -5192,12 +3204,7 @@ class DescribeScheduleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., schedule_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "schedule_id", b"schedule_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "schedule_id", b"schedule_id"]) -> None: ... global___DescribeScheduleRequest = DescribeScheduleRequest @@ -5226,9 +3233,7 @@ class DescribeScheduleResponse(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """The memo and search attributes that the schedule was created with.""" @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... conflict_token: builtins.bytes """This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could @@ -5240,38 +3245,11 @@ class DescribeScheduleResponse(google.protobuf.message.Message): schedule: temporalio.api.schedule.v1.message_pb2.Schedule | None = ..., info: temporalio.api.schedule.v1.message_pb2.ScheduleInfo | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "info", - b"info", - "memo", - b"memo", - "schedule", - b"schedule", - "search_attributes", - b"search_attributes", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "conflict_token", - b"conflict_token", - "info", - b"info", - "memo", - b"memo", - "schedule", - b"schedule", - "search_attributes", - b"search_attributes", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "info", b"info", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> None: ... global___DescribeScheduleResponse = DescribeScheduleResponse @@ -5305,9 +3283,7 @@ class UpdateScheduleRequest(google.protobuf.message.Message): request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. @@ -5323,34 +3299,10 @@ class UpdateScheduleRequest(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., identity: builtins.str = ..., request_id: builtins.str = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "schedule", b"schedule", "search_attributes", b"search_attributes" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "conflict_token", - b"conflict_token", - "identity", - b"identity", - "namespace", - b"namespace", - "request_id", - b"request_id", - "schedule", - b"schedule", - "schedule_id", - b"schedule_id", - "search_attributes", - b"search_attributes", - ], + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "identity", b"identity", "namespace", b"namespace", "request_id", b"request_id", "schedule", b"schedule", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... global___UpdateScheduleRequest = UpdateScheduleRequest @@ -5390,24 +3342,8 @@ class PatchScheduleRequest(google.protobuf.message.Message): identity: builtins.str = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["patch", b"patch"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "patch", - b"patch", - "request_id", - b"request_id", - "schedule_id", - b"schedule_id", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["patch", b"patch"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "patch", b"patch", "request_id", b"request_id", "schedule_id", b"schedule_id"]) -> None: ... global___PatchScheduleRequest = PatchScheduleRequest @@ -5444,25 +3380,8 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "end_time", b"end_time", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_time", - b"end_time", - "namespace", - b"namespace", - "schedule_id", - b"schedule_id", - "start_time", - b"start_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "namespace", b"namespace", "schedule_id", b"schedule_id", "start_time", b"start_time"]) -> None: ... global___ListScheduleMatchingTimesRequest = ListScheduleMatchingTimesRequest @@ -5471,20 +3390,13 @@ class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): START_TIME_FIELD_NUMBER: builtins.int @property - def start_time( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.timestamp_pb2.Timestamp - ]: ... + def start_time(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... def __init__( self, *, - start_time: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["start_time", b"start_time"] + start_time: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["start_time", b"start_time"]) -> None: ... global___ListScheduleMatchingTimesResponse = ListScheduleMatchingTimesResponse @@ -5507,17 +3419,7 @@ class DeleteScheduleRequest(google.protobuf.message.Message): schedule_id: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "schedule_id", - b"schedule_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "schedule_id", b"schedule_id"]) -> None: ... global___DeleteScheduleRequest = DeleteScheduleRequest @@ -5553,19 +3455,7 @@ class ListSchedulesRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "maximum_page_size", - b"maximum_page_size", - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "query", - b"query", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "query", b"query"]) -> None: ... global___ListSchedulesRequest = ListSchedulesRequest @@ -5575,27 +3465,15 @@ class ListSchedulesResponse(google.protobuf.message.Message): SCHEDULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def schedules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.schedule.v1.message_pb2.ScheduleListEntry - ]: ... + def schedules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.schedule.v1.message_pb2.ScheduleListEntry]: ... next_page_token: builtins.bytes def __init__( self, *, - schedules: collections.abc.Iterable[ - temporalio.api.schedule.v1.message_pb2.ScheduleListEntry - ] - | None = ..., + schedules: collections.abc.Iterable[temporalio.api.schedule.v1.message_pb2.ScheduleListEntry] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "schedules", b"schedules" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "schedules", b"schedules"]) -> None: ... global___ListSchedulesResponse = ListSchedulesResponse @@ -5629,17 +3507,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): existing_compatible_build_id: builtins.str = ..., make_set_default: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "existing_compatible_build_id", - b"existing_compatible_build_id", - "make_set_default", - b"make_set_default", - "new_build_id", - b"new_build_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["existing_compatible_build_id", b"existing_compatible_build_id", "make_set_default", b"make_set_default", "new_build_id", b"new_build_id"]) -> None: ... class MergeSets(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5656,15 +3524,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): primary_set_build_id: builtins.str = ..., secondary_set_build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "primary_set_build_id", - b"primary_set_build_id", - "secondary_set_build_id", - b"secondary_set_build_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["primary_set_build_id", b"primary_set_build_id", "secondary_set_build_id", b"secondary_set_build_id"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -5688,9 +3548,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): aip.dev/not-precedent: In makes perfect sense here. --) """ @property - def add_new_compatible_build_id( - self, - ) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: + def add_new_compatible_build_id(self) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: """Adds a new id to an existing compatible set, see sub-message definition for more.""" promote_set_by_build_id: builtins.str """Promote an existing set to be the current default (if it isn't already) by targeting @@ -5719,67 +3577,16 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., add_new_build_id_in_new_default_set: builtins.str = ..., - add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion - | None = ..., + add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion | None = ..., promote_set_by_build_id: builtins.str = ..., promote_build_id_within_set: builtins.str = ..., - merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "add_new_build_id_in_new_default_set", - b"add_new_build_id_in_new_default_set", - "add_new_compatible_build_id", - b"add_new_compatible_build_id", - "merge_sets", - b"merge_sets", - "operation", - b"operation", - "promote_build_id_within_set", - b"promote_build_id_within_set", - "promote_set_by_build_id", - b"promote_set_by_build_id", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "add_new_build_id_in_new_default_set", - b"add_new_build_id_in_new_default_set", - "add_new_compatible_build_id", - b"add_new_compatible_build_id", - "merge_sets", - b"merge_sets", - "namespace", - b"namespace", - "operation", - b"operation", - "promote_build_id_within_set", - b"promote_build_id_within_set", - "promote_set_by_build_id", - b"promote_set_by_build_id", - "task_queue", - b"task_queue", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] - ) -> ( - typing_extensions.Literal[ - "add_new_build_id_in_new_default_set", - "add_new_compatible_build_id", - "promote_set_by_build_id", - "promote_build_id_within_set", - "merge_sets", - ] - | None - ): ... - -global___UpdateWorkerBuildIdCompatibilityRequest = ( - UpdateWorkerBuildIdCompatibilityRequest -) + merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", b"add_new_compatible_build_id", "merge_sets", b"merge_sets", "operation", b"operation", "promote_build_id_within_set", b"promote_build_id_within_set", "promote_set_by_build_id", b"promote_set_by_build_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", b"add_new_compatible_build_id", "merge_sets", b"merge_sets", "namespace", b"namespace", "operation", b"operation", "promote_build_id_within_set", b"promote_build_id_within_set", "promote_set_by_build_id", b"promote_set_by_build_id", "task_queue", b"task_queue"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["add_new_build_id_in_new_default_set", "add_new_compatible_build_id", "promote_set_by_build_id", "promote_build_id_within_set", "merge_sets"] | None: ... + +global___UpdateWorkerBuildIdCompatibilityRequest = UpdateWorkerBuildIdCompatibilityRequest class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -5790,9 +3597,7 @@ class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UpdateWorkerBuildIdCompatibilityResponse = ( - UpdateWorkerBuildIdCompatibilityResponse -) +global___UpdateWorkerBuildIdCompatibilityResponse = UpdateWorkerBuildIdCompatibilityResponse class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -5816,17 +3621,7 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): task_queue: builtins.str = ..., max_sets: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "max_sets", - b"max_sets", - "namespace", - b"namespace", - "task_queue", - b"task_queue", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["max_sets", b"max_sets", "namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... global___GetWorkerBuildIdCompatibilityRequest = GetWorkerBuildIdCompatibilityRequest @@ -5837,11 +3632,7 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): MAJOR_VERSION_SETS_FIELD_NUMBER: builtins.int @property - def major_version_sets( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet - ]: + def major_version_sets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet]: """Major version sets, in order from oldest to newest. The last element of the list will always be the current default major version. IE: New workflows will target the most recent version in that version set. @@ -5851,17 +3642,9 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): def __init__( self, *, - major_version_sets: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "major_version_sets", b"major_version_sets" - ], + major_version_sets: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["major_version_sets", b"major_version_sets"]) -> None: ... global___GetWorkerBuildIdCompatibilityResponse = GetWorkerBuildIdCompatibilityResponse @@ -5892,25 +3675,15 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): inserted at the end of the list. """ @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... + def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... def __init__( self, *, rule_index: builtins.int = ..., - rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "rule", b"rule", "rule_index", b"rule_index" - ], + rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule", "rule_index", b"rule_index"]) -> None: ... class ReplaceBuildIdAssignmentRule(google.protobuf.message.Message): """Replaces the assignment rule at a given index.""" @@ -5922,9 +3695,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): FORCE_FIELD_NUMBER: builtins.int rule_index: builtins.int @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... + def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... force: builtins.bool """By default presence of one unconditional rule is enforced, otherwise the replace operation will be rejected. Set `force` to true to @@ -5936,19 +3707,11 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): self, *, rule_index: builtins.int = ..., - rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule - | None = ..., + rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule | None = ..., force: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "force", b"force", "rule", b"rule", "rule_index", b"rule_index" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "rule", b"rule", "rule_index", b"rule_index"]) -> None: ... class DeleteBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5969,12 +3732,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): rule_index: builtins.int = ..., force: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "force", b"force", "rule_index", b"rule_index" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "rule_index", b"rule_index"]) -> None: ... class AddCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Adds the rule to the list of redirect rules for this Task Queue. There @@ -5985,21 +3743,14 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... + def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... def __init__( self, *, - rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... class ReplaceCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Replaces the routing rule with the given source Build ID.""" @@ -6008,21 +3759,14 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... + def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... def __init__( self, *, - rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... class DeleteCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6034,12 +3778,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): *, source_build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "source_build_id", b"source_build_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["source_build_id", b"source_build_id"]) -> None: ... class CommitBuildId(google.protobuf.message.Message): """This command is intended to be used to complete the rollout of a Build @@ -6069,12 +3808,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): target_build_id: builtins.str = ..., force: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "force", b"force", "target_build_id", b"target_build_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "target_build_id", b"target_build_id"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -6096,122 +3830,36 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): operation, the request will fail instead of causing an unpredictable mutation. """ @property - def insert_assignment_rule( - self, - ) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... + def insert_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... @property - def replace_assignment_rule( - self, - ) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... + def replace_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... @property - def delete_assignment_rule( - self, - ) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... + def delete_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... @property - def add_compatible_redirect_rule( - self, - ) -> ( - global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule - ): ... + def add_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule: ... @property - def replace_compatible_redirect_rule( - self, - ) -> ( - global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule - ): ... + def replace_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule: ... @property - def delete_compatible_redirect_rule( - self, - ) -> ( - global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule - ): ... + def delete_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule: ... @property - def commit_build_id( - self, - ) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... + def commit_build_id(self) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., conflict_token: builtins.bytes = ..., - insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule - | None = ..., - replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule - | None = ..., - delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule - | None = ..., - add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule - | None = ..., - replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule - | None = ..., - delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule - | None = ..., - commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "add_compatible_redirect_rule", - b"add_compatible_redirect_rule", - "commit_build_id", - b"commit_build_id", - "delete_assignment_rule", - b"delete_assignment_rule", - "delete_compatible_redirect_rule", - b"delete_compatible_redirect_rule", - "insert_assignment_rule", - b"insert_assignment_rule", - "operation", - b"operation", - "replace_assignment_rule", - b"replace_assignment_rule", - "replace_compatible_redirect_rule", - b"replace_compatible_redirect_rule", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "add_compatible_redirect_rule", - b"add_compatible_redirect_rule", - "commit_build_id", - b"commit_build_id", - "conflict_token", - b"conflict_token", - "delete_assignment_rule", - b"delete_assignment_rule", - "delete_compatible_redirect_rule", - b"delete_compatible_redirect_rule", - "insert_assignment_rule", - b"insert_assignment_rule", - "namespace", - b"namespace", - "operation", - b"operation", - "replace_assignment_rule", - b"replace_assignment_rule", - "replace_compatible_redirect_rule", - b"replace_compatible_redirect_rule", - "task_queue", - b"task_queue", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] - ) -> ( - typing_extensions.Literal[ - "insert_assignment_rule", - "replace_assignment_rule", - "delete_assignment_rule", - "add_compatible_redirect_rule", - "replace_compatible_redirect_rule", - "delete_compatible_redirect_rule", - "commit_build_id", - ] - | None - ): ... + insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule | None = ..., + replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule | None = ..., + delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule | None = ..., + add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule | None = ..., + replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule | None = ..., + delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule | None = ..., + commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", b"commit_build_id", "delete_assignment_rule", b"delete_assignment_rule", "delete_compatible_redirect_rule", b"delete_compatible_redirect_rule", "insert_assignment_rule", b"insert_assignment_rule", "operation", b"operation", "replace_assignment_rule", b"replace_assignment_rule", "replace_compatible_redirect_rule", b"replace_compatible_redirect_rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", b"commit_build_id", "conflict_token", b"conflict_token", "delete_assignment_rule", b"delete_assignment_rule", "delete_compatible_redirect_rule", b"delete_compatible_redirect_rule", "insert_assignment_rule", b"insert_assignment_rule", "namespace", b"namespace", "operation", b"operation", "replace_assignment_rule", b"replace_assignment_rule", "replace_compatible_redirect_rule", b"replace_compatible_redirect_rule", "task_queue", b"task_queue"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["insert_assignment_rule", "replace_assignment_rule", "delete_assignment_rule", "add_compatible_redirect_rule", "replace_compatible_redirect_rule", "delete_compatible_redirect_rule", "commit_build_id"] | None: ... global___UpdateWorkerVersioningRulesRequest = UpdateWorkerVersioningRulesRequest @@ -6224,17 +3872,9 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int @property - def assignment_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule - ]: ... + def assignment_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule]: ... @property - def compatible_redirect_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule - ]: ... + def compatible_redirect_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule]: ... conflict_token: builtins.bytes """This value can be passed back to UpdateWorkerVersioningRulesRequest to ensure that the rules were not modified between the two updates, which @@ -6243,27 +3883,11 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): def __init__( self, *, - assignment_rules: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule - ] - | None = ..., - compatible_redirect_rules: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule - ] - | None = ..., + assignment_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule] | None = ..., + compatible_redirect_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule] | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "assignment_rules", - b"assignment_rules", - "compatible_redirect_rules", - b"compatible_redirect_rules", - "conflict_token", - b"conflict_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["assignment_rules", b"assignment_rules", "compatible_redirect_rules", b"compatible_redirect_rules", "conflict_token", b"conflict_token"]) -> None: ... global___UpdateWorkerVersioningRulesResponse = UpdateWorkerVersioningRulesResponse @@ -6282,12 +3906,7 @@ class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "task_queue", b"task_queue" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... global___GetWorkerVersioningRulesRequest = GetWorkerVersioningRulesRequest @@ -6300,17 +3919,9 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int @property - def assignment_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule - ]: ... + def assignment_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule]: ... @property - def compatible_redirect_rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule - ]: ... + def compatible_redirect_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule]: ... conflict_token: builtins.bytes """This value can be passed back to UpdateWorkerVersioningRulesRequest to ensure that the rules were not modified between this List and the Update, @@ -6319,27 +3930,11 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): def __init__( self, *, - assignment_rules: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule - ] - | None = ..., - compatible_redirect_rules: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule - ] - | None = ..., + assignment_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule] | None = ..., + compatible_redirect_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule] | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "assignment_rules", - b"assignment_rules", - "compatible_redirect_rules", - b"compatible_redirect_rules", - "conflict_token", - b"conflict_token", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["assignment_rules", b"assignment_rules", "compatible_redirect_rules", b"compatible_redirect_rules", "conflict_token", b"conflict_token"]) -> None: ... global___GetWorkerVersioningRulesResponse = GetWorkerVersioningRulesResponse @@ -6356,18 +3951,14 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def build_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. """ @property - def task_queues( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def task_queues(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. @@ -6390,19 +3981,7 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): task_queues: collections.abc.Iterable[builtins.str] | None = ..., reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_ids", - b"build_ids", - "namespace", - b"namespace", - "reachability", - b"reachability", - "task_queues", - b"task_queues", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_ids", b"build_ids", "namespace", b"namespace", "reachability", b"reachability", "task_queues", b"task_queues"]) -> None: ... global___GetWorkerTaskReachabilityRequest = GetWorkerTaskReachabilityRequest @@ -6415,11 +3994,7 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): BUILD_ID_REACHABILITY_FIELD_NUMBER: builtins.int @property - def build_id_reachability( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability - ]: + def build_id_reachability(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability]: """Task reachability, broken down by build id and then task queue. When requesting a large number of task queues or all task queues associated with the given build ids in a namespace, all task queues will be listed in the response but some of them may not contain reachability @@ -6433,23 +4008,15 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): def __init__( self, *, - build_id_reachability: collections.abc.Iterable[ - temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id_reachability", b"build_id_reachability" - ], + build_id_reachability: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id_reachability", b"build_id_reachability"]) -> None: ... global___GetWorkerTaskReachabilityResponse = GetWorkerTaskReachabilityResponse class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): """(-- api-linter: core::0134=disabled - aip.dev/not-precedent: Update RPCs don't follow Google API format. --) + aip.dev/not-precedent: Update RPCs don't follow Google API format. --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6462,9 +4029,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace name of the target Workflow.""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) @@ -6491,38 +4056,13 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., first_execution_run_id: builtins.str = ..., wait_policy: temporalio.api.update.v1.message_pb2.WaitPolicy | None = ..., request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "request", - b"request", - "wait_policy", - b"wait_policy", - "workflow_execution", - b"workflow_execution", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "first_execution_run_id", - b"first_execution_run_id", - "namespace", - b"namespace", - "request", - b"request", - "wait_policy", - b"wait_policy", - "workflow_execution", - b"workflow_execution", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["request", b"request", "wait_policy", b"wait_policy", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["first_execution_run_id", b"first_execution_run_id", "namespace", b"namespace", "request", b"request", "wait_policy", b"wait_policy", "workflow_execution", b"workflow_execution"]) -> None: ... global___UpdateWorkflowExecutionRequest = UpdateWorkflowExecutionRequest @@ -6560,18 +4100,8 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "update_ref", b"update_ref" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "update_ref", b"update_ref"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref"]) -> None: ... global___UpdateWorkflowExecutionResponse = UpdateWorkflowExecutionResponse @@ -6604,11 +4134,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): reason: builtins.str """Reason to perform the batch operation""" @property - def executions( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.WorkflowExecution - ]: + def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.WorkflowExecution]: """Executions to apply the batch operation This field and `visibility_query` are mutually exclusive """ @@ -6621,43 +4147,23 @@ class StartBatchOperationRequest(google.protobuf.message.Message): server's configured limit. """ @property - def termination_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationTermination: ... + def termination_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationTermination: ... @property - def signal_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationSignal: ... + def signal_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationSignal: ... @property - def cancellation_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationCancellation: ... + def cancellation_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationCancellation: ... @property - def deletion_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationDeletion: ... + def deletion_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationDeletion: ... @property - def reset_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationReset: ... + def reset_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationReset: ... @property - def update_workflow_options_operation( - self, - ) -> ( - temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions - ): ... + def update_workflow_options_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions: ... @property - def unpause_activities_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities: ... + def unpause_activities_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities: ... @property - def reset_activities_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities: ... + def reset_activities_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities: ... @property - def update_activity_options_operation( - self, - ) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions: ... + def update_activity_options_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions: ... def __init__( self, *, @@ -6665,108 +4171,21 @@ class StartBatchOperationRequest(google.protobuf.message.Message): visibility_query: builtins.str = ..., job_id: builtins.str = ..., reason: builtins.str = ..., - executions: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.WorkflowExecution - ] - | None = ..., + executions: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.WorkflowExecution] | None = ..., max_operations_per_second: builtins.float = ..., - termination_operation: temporalio.api.batch.v1.message_pb2.BatchOperationTermination - | None = ..., - signal_operation: temporalio.api.batch.v1.message_pb2.BatchOperationSignal - | None = ..., - cancellation_operation: temporalio.api.batch.v1.message_pb2.BatchOperationCancellation - | None = ..., - deletion_operation: temporalio.api.batch.v1.message_pb2.BatchOperationDeletion - | None = ..., - reset_operation: temporalio.api.batch.v1.message_pb2.BatchOperationReset - | None = ..., - update_workflow_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions - | None = ..., - unpause_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities - | None = ..., - reset_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities - | None = ..., - update_activity_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancellation_operation", - b"cancellation_operation", - "deletion_operation", - b"deletion_operation", - "operation", - b"operation", - "reset_activities_operation", - b"reset_activities_operation", - "reset_operation", - b"reset_operation", - "signal_operation", - b"signal_operation", - "termination_operation", - b"termination_operation", - "unpause_activities_operation", - b"unpause_activities_operation", - "update_activity_options_operation", - b"update_activity_options_operation", - "update_workflow_options_operation", - b"update_workflow_options_operation", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancellation_operation", - b"cancellation_operation", - "deletion_operation", - b"deletion_operation", - "executions", - b"executions", - "job_id", - b"job_id", - "max_operations_per_second", - b"max_operations_per_second", - "namespace", - b"namespace", - "operation", - b"operation", - "reason", - b"reason", - "reset_activities_operation", - b"reset_activities_operation", - "reset_operation", - b"reset_operation", - "signal_operation", - b"signal_operation", - "termination_operation", - b"termination_operation", - "unpause_activities_operation", - b"unpause_activities_operation", - "update_activity_options_operation", - b"update_activity_options_operation", - "update_workflow_options_operation", - b"update_workflow_options_operation", - "visibility_query", - b"visibility_query", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] - ) -> ( - typing_extensions.Literal[ - "termination_operation", - "signal_operation", - "cancellation_operation", - "deletion_operation", - "reset_operation", - "update_workflow_options_operation", - "unpause_activities_operation", - "reset_activities_operation", - "update_activity_options_operation", - ] - | None - ): ... + termination_operation: temporalio.api.batch.v1.message_pb2.BatchOperationTermination | None = ..., + signal_operation: temporalio.api.batch.v1.message_pb2.BatchOperationSignal | None = ..., + cancellation_operation: temporalio.api.batch.v1.message_pb2.BatchOperationCancellation | None = ..., + deletion_operation: temporalio.api.batch.v1.message_pb2.BatchOperationDeletion | None = ..., + reset_operation: temporalio.api.batch.v1.message_pb2.BatchOperationReset | None = ..., + update_workflow_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions | None = ..., + unpause_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities | None = ..., + reset_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities | None = ..., + update_activity_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["cancellation_operation", b"cancellation_operation", "deletion_operation", b"deletion_operation", "operation", b"operation", "reset_activities_operation", b"reset_activities_operation", "reset_operation", b"reset_operation", "signal_operation", b"signal_operation", "termination_operation", b"termination_operation", "unpause_activities_operation", b"unpause_activities_operation", "update_activity_options_operation", b"update_activity_options_operation", "update_workflow_options_operation", b"update_workflow_options_operation"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancellation_operation", b"cancellation_operation", "deletion_operation", b"deletion_operation", "executions", b"executions", "job_id", b"job_id", "max_operations_per_second", b"max_operations_per_second", "namespace", b"namespace", "operation", b"operation", "reason", b"reason", "reset_activities_operation", b"reset_activities_operation", "reset_operation", b"reset_operation", "signal_operation", b"signal_operation", "termination_operation", b"termination_operation", "unpause_activities_operation", b"unpause_activities_operation", "update_activity_options_operation", b"update_activity_options_operation", "update_workflow_options_operation", b"update_workflow_options_operation", "visibility_query", b"visibility_query"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["termination_operation", "signal_operation", "cancellation_operation", "deletion_operation", "reset_operation", "update_workflow_options_operation", "unpause_activities_operation", "reset_activities_operation", "update_activity_options_operation"] | None: ... global___StartBatchOperationRequest = StartBatchOperationRequest @@ -6802,19 +4221,7 @@ class StopBatchOperationRequest(google.protobuf.message.Message): reason: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "job_id", - b"job_id", - "namespace", - b"namespace", - "reason", - b"reason", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "job_id", b"job_id", "namespace", b"namespace", "reason", b"reason"]) -> None: ... global___StopBatchOperationRequest = StopBatchOperationRequest @@ -6842,12 +4249,7 @@ class DescribeBatchOperationRequest(google.protobuf.message.Message): namespace: builtins.str = ..., job_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "job_id", b"job_id", "namespace", b"namespace" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id", "namespace", b"namespace"]) -> None: ... global___DescribeBatchOperationRequest = DescribeBatchOperationRequest @@ -6864,9 +4266,7 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): FAILURE_OPERATION_COUNT_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int - operation_type: ( - temporalio.api.enums.v1.batch_operation_pb2.BatchOperationType.ValueType - ) + operation_type: temporalio.api.enums.v1.batch_operation_pb2.BatchOperationType.ValueType """Batch operation type""" job_id: builtins.str """Batch job ID""" @@ -6902,37 +4302,8 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "close_time", b"close_time", "start_time", b"start_time" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "close_time", - b"close_time", - "complete_operation_count", - b"complete_operation_count", - "failure_operation_count", - b"failure_operation_count", - "identity", - b"identity", - "job_id", - b"job_id", - "operation_type", - b"operation_type", - "reason", - b"reason", - "start_time", - b"start_time", - "state", - b"state", - "total_operation_count", - b"total_operation_count", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "complete_operation_count", b"complete_operation_count", "failure_operation_count", b"failure_operation_count", "identity", b"identity", "job_id", b"job_id", "operation_type", b"operation_type", "reason", b"reason", "start_time", b"start_time", "state", b"state", "total_operation_count", b"total_operation_count"]) -> None: ... global___DescribeBatchOperationResponse = DescribeBatchOperationResponse @@ -6955,17 +4326,7 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListBatchOperationsRequest = ListBatchOperationsRequest @@ -6975,28 +4336,16 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): OPERATION_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def operation_info( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.batch.v1.message_pb2.BatchOperationInfo - ]: + def operation_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.batch.v1.message_pb2.BatchOperationInfo]: """BatchOperationInfo contains the basic info about batch operation""" next_page_token: builtins.bytes def __init__( self, *, - operation_info: collections.abc.Iterable[ - temporalio.api.batch.v1.message_pb2.BatchOperationInfo - ] - | None = ..., + operation_info: collections.abc.Iterable[temporalio.api.batch.v1.message_pb2.BatchOperationInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "operation_info", b"operation_info" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "operation_info", b"operation_info"]) -> None: ... global___ListBatchOperationsResponse = ListBatchOperationsResponse @@ -7029,25 +4378,8 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): identity: builtins.str = ..., wait_policy: temporalio.api.update.v1.message_pb2.WaitPolicy | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "update_ref", b"update_ref", "wait_policy", b"wait_policy" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "update_ref", - b"update_ref", - "wait_policy", - b"wait_policy", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_ref", b"update_ref", "wait_policy", b"wait_policy"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "update_ref", b"update_ref", "wait_policy", b"wait_policy"]) -> None: ... global___PollWorkflowExecutionUpdateRequest = PollWorkflowExecutionUpdateRequest @@ -7087,18 +4419,8 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., update_ref: temporalio.api.update.v1.message_pb2.UpdateRef | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "update_ref", b"update_ref" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "update_ref", b"update_ref"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref"]) -> None: ... global___PollWorkflowExecutionUpdateResponse = PollWorkflowExecutionUpdateResponse @@ -7117,24 +4439,16 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... @property - def worker_version_capabilities( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ @property - def deployment_options( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" @property - def worker_heartbeat( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - ]: + def worker_heartbeat(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat]: """Worker info to be sent to the server.""" def __init__( self, @@ -7142,43 +4456,12 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., identity: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities - | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions - | None = ..., - worker_heartbeat: collections.abc.Iterable[ - temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "task_queue", - b"task_queue", - "worker_version_capabilities", - b"worker_version_capabilities", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_options", - b"deployment_options", - "identity", - b"identity", - "namespace", - b"namespace", - "task_queue", - b"task_queue", - "worker_heartbeat", - b"worker_heartbeat", - "worker_version_capabilities", - b"worker_version_capabilities", - ], + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + worker_heartbeat: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollNexusTaskQueueRequest = PollNexusTaskQueueRequest @@ -7194,35 +4477,17 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): def request(self) -> temporalio.api.nexus.v1.message_pb2.Request: """Embedded request as translated from the incoming frontend request.""" @property - def poller_scaling_decision( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" def __init__( self, *, task_token: builtins.bytes = ..., request: temporalio.api.nexus.v1.message_pb2.Request | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "poller_scaling_decision", b"poller_scaling_decision", "request", b"request" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "poller_scaling_decision", - b"poller_scaling_decision", - "request", - b"request", - "task_token", - b"task_token", - ], + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["poller_scaling_decision", b"poller_scaling_decision", "request", b"request"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["poller_scaling_decision", b"poller_scaling_decision", "request", b"request", "task_token", b"task_token"]) -> None: ... global___PollNexusTaskQueueResponse = PollNexusTaskQueueResponse @@ -7249,22 +4514,8 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): task_token: builtins.bytes = ..., response: temporalio.api.nexus.v1.message_pb2.Response | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["response", b"response"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "response", - b"response", - "task_token", - b"task_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["response", b"response"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "response", b"response", "task_token", b"task_token"]) -> None: ... global___RespondNexusTaskCompletedRequest = RespondNexusTaskCompletedRequest @@ -7300,22 +4551,8 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): task_token: builtins.bytes = ..., error: temporalio.api.nexus.v1.message_pb2.HandlerError | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["error", b"error"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "error", - b"error", - "identity", - b"identity", - "namespace", - b"namespace", - "task_token", - b"task_token", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["error", b"error"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["error", b"error", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token"]) -> None: ... global___RespondNexusTaskFailedRequest = RespondNexusTaskFailedRequest @@ -7355,41 +4592,15 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): start_workflow: global___StartWorkflowExecutionRequest | None = ..., update_workflow: global___UpdateWorkflowExecutionRequest | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "operation", - b"operation", - "start_workflow", - b"start_workflow", - "update_workflow", - b"update_workflow", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "operation", - b"operation", - "start_workflow", - b"start_workflow", - "update_workflow", - b"update_workflow", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] - ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["operation", b"operation", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... NAMESPACE_FIELD_NUMBER: builtins.int OPERATIONS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def operations( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ExecuteMultiOperationRequest.Operation - ]: + def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteMultiOperationRequest.Operation]: """List of operations to execute within a single workflow. Preconditions: @@ -7403,17 +4614,9 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - operations: collections.abc.Iterable[ - global___ExecuteMultiOperationRequest.Operation - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "operations", b"operations" - ], + operations: collections.abc.Iterable[global___ExecuteMultiOperationRequest.Operation] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "operations", b"operations"]) -> None: ... global___ExecuteMultiOperationRequest = ExecuteMultiOperationRequest @@ -7443,50 +4646,19 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): start_workflow: global___StartWorkflowExecutionResponse | None = ..., update_workflow: global___UpdateWorkflowExecutionResponse | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "response", - b"response", - "start_workflow", - b"start_workflow", - "update_workflow", - b"update_workflow", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "response", - b"response", - "start_workflow", - b"start_workflow", - "update_workflow", - b"update_workflow", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["response", b"response", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["response", b"response", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... RESPONSES_FIELD_NUMBER: builtins.int @property - def responses( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ExecuteMultiOperationResponse.Response - ]: ... + def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteMultiOperationResponse.Response]: ... def __init__( self, *, - responses: collections.abc.Iterable[ - global___ExecuteMultiOperationResponse.Response - ] - | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["responses", b"responses"] + responses: collections.abc.Iterable[global___ExecuteMultiOperationResponse.Response] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["responses", b"responses"]) -> None: ... global___ExecuteMultiOperationResponse = ExecuteMultiOperationResponse @@ -7512,9 +4684,7 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the client who initiated this request""" @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options. Partial updates are accepted and controlled by update_mask""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -7538,61 +4708,16 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., identity: builtins.str = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions - | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., id: builtins.str = ..., type: builtins.str = ..., match_all: builtins.bool = ..., restore_original: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "activity_options", - b"activity_options", - "execution", - b"execution", - "id", - b"id", - "match_all", - b"match_all", - "type", - b"type", - "update_mask", - b"update_mask", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "activity_options", - b"activity_options", - "execution", - b"execution", - "id", - b"id", - "identity", - b"identity", - "match_all", - b"match_all", - "namespace", - b"namespace", - "restore_original", - b"restore_original", - "type", - b"type", - "update_mask", - b"update_mask", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "execution", b"execution", "id", b"id", "match_all", b"match_all", "type", b"type", "update_mask", b"update_mask"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "execution", b"execution", "id", b"id", "identity", b"identity", "match_all", b"match_all", "namespace", b"namespace", "restore_original", b"restore_original", "type", b"type", "update_mask", b"update_mask"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... global___UpdateActivityOptionsRequest = UpdateActivityOptionsRequest @@ -7601,24 +4726,15 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): ACTIVITY_OPTIONS_FIELD_NUMBER: builtins.int @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" def __init__( self, *, - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options"]) -> None: ... global___UpdateActivityOptionsResponse = UpdateActivityOptionsResponse @@ -7654,41 +4770,9 @@ class PauseActivityRequest(google.protobuf.message.Message): type: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "identity", - b"identity", - "namespace", - b"namespace", - "reason", - b"reason", - "type", - b"type", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "type", b"type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "namespace", b"namespace", "reason", b"reason", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type"] | None: ... global___PauseActivityRequest = PauseActivityRequest @@ -7746,51 +4830,9 @@ class UnpauseActivityRequest(google.protobuf.message.Message): reset_heartbeat: builtins.bool = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "jitter", - b"jitter", - "type", - b"type", - "unpause_all", - b"unpause_all", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "identity", - b"identity", - "jitter", - b"jitter", - "namespace", - b"namespace", - "reset_attempts", - b"reset_attempts", - "reset_heartbeat", - b"reset_heartbeat", - "type", - b"type", - "unpause_all", - b"unpause_all", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "jitter", b"jitter", "type", b"type", "unpause_all", b"unpause_all"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "jitter", b"jitter", "namespace", b"namespace", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "type", b"type", "unpause_all", b"unpause_all"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... global___UnpauseActivityRequest = UnpauseActivityRequest @@ -7861,53 +4903,9 @@ class ResetActivityRequest(google.protobuf.message.Message): jitter: google.protobuf.duration_pb2.Duration | None = ..., restore_original_options: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "jitter", - b"jitter", - "match_all", - b"match_all", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity", - b"activity", - "execution", - b"execution", - "id", - b"id", - "identity", - b"identity", - "jitter", - b"jitter", - "keep_paused", - b"keep_paused", - "match_all", - b"match_all", - "namespace", - b"namespace", - "reset_heartbeat", - b"reset_heartbeat", - "restore_original_options", - b"restore_original_options", - "type", - b"type", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "jitter", b"jitter", "keep_paused", b"keep_paused", "match_all", b"match_all", "namespace", b"namespace", "reset_heartbeat", b"reset_heartbeat", "restore_original_options", b"restore_original_options", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... global___ResetActivityRequest = ResetActivityRequest @@ -7922,8 +4920,8 @@ global___ResetActivityResponse = ResetActivityResponse class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. - - temporalio.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions. + - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. + - temporalio.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions. """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7935,17 +4933,13 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace name of the target Workflow.""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ @property - def workflow_execution_options( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -7956,36 +4950,12 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "update_mask", - b"update_mask", - "workflow_execution", - b"workflow_execution", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "update_mask", - b"update_mask", - "workflow_execution", - b"workflow_execution", - "workflow_execution_options", - b"workflow_execution_options", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution", b"workflow_execution", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "update_mask", b"update_mask", "workflow_execution", b"workflow_execution", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... global___UpdateWorkflowExecutionOptionsRequest = UpdateWorkflowExecutionOptionsRequest @@ -7994,28 +4964,15 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER: builtins.int @property - def workflow_execution_options( - self, - ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options after update.""" def __init__( self, *, - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution_options", b"workflow_execution_options" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution_options", b"workflow_execution_options" - ], + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["workflow_execution_options", b"workflow_execution_options"]) -> None: ... global___UpdateWorkflowExecutionOptionsResponse = UpdateWorkflowExecutionOptionsResponse @@ -8035,15 +4992,8 @@ class DescribeDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", b"deployment", "namespace", b"namespace" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "namespace", b"namespace"]) -> None: ... global___DescribeDeploymentRequest = DescribeDeploymentRequest @@ -8054,23 +5004,14 @@ class DescribeDeploymentResponse(google.protobuf.message.Message): DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... def __init__( self, *, - deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], + deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info"]) -> None: ... global___DescribeDeploymentResponse = DescribeDeploymentResponse @@ -8085,9 +5026,7 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" report_task_queue_stats: builtins.bool """Report stats for task queues which have been polled by this version.""" @@ -8096,29 +5035,11 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., report_task_queue_stats: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", - b"deployment_version", - "namespace", - b"namespace", - "report_task_queue_stats", - b"report_task_queue_stats", - "version", - b"version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "namespace", b"namespace", "report_task_queue_stats", b"report_task_queue_stats", "version", b"version"]) -> None: ... global___DescribeWorkerDeploymentVersionRequest = DescribeWorkerDeploymentVersionRequest @@ -8137,23 +5058,15 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.int @property - def value( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: ... + def value(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: ... def __init__( self, *, key: builtins.int = ..., - value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAME_FIELD_NUMBER: builtins.int TYPE_FIELD_NUMBER: builtins.int @@ -8165,11 +5078,7 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Only set if `report_task_queue_stats` is set on the request.""" @property - def stats_by_priority_key( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats - ]: + def stats_by_priority_key(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats]: """Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_task_queue_stats` is set to true in the request. (-- api-linter: core::0140::prepositions=disabled @@ -8181,70 +5090,28 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): name: builtins.str = ..., type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., stats: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., - stats_by_priority_key: collections.abc.Mapping[ - builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats - ] - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["stats", b"stats"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", - b"name", - "stats", - b"stats", - "stats_by_priority_key", - b"stats_by_priority_key", - "type", - b"type", - ], + stats_by_priority_key: collections.abc.Mapping[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["stats", b"stats"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "stats", b"stats", "stats_by_priority_key", b"stats_by_priority_key", "type", b"type"]) -> None: ... WORKER_DEPLOYMENT_VERSION_INFO_FIELD_NUMBER: builtins.int VERSION_TASK_QUEUES_FIELD_NUMBER: builtins.int @property - def worker_deployment_version_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo: ... + def worker_deployment_version_info(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo: ... @property - def version_task_queues( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue - ]: + def version_task_queues(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue]: """All the Task Queues that have ever polled from this Deployment version.""" def __init__( self, *, - worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo - | None = ..., - version_task_queues: collections.abc.Iterable[ - global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue - ] - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "worker_deployment_version_info", b"worker_deployment_version_info" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "version_task_queues", - b"version_task_queues", - "worker_deployment_version_info", - b"worker_deployment_version_info", - ], + worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo | None = ..., + version_task_queues: collections.abc.Iterable[global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue] | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_deployment_version_info", b"worker_deployment_version_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["version_task_queues", b"version_task_queues", "worker_deployment_version_info", b"worker_deployment_version_info"]) -> None: ... -global___DescribeWorkerDeploymentVersionResponse = ( - DescribeWorkerDeploymentVersionResponse -) +global___DescribeWorkerDeploymentVersionResponse = DescribeWorkerDeploymentVersionResponse class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8259,12 +5126,7 @@ class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_name", b"deployment_name", "namespace", b"namespace" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "namespace", b"namespace"]) -> None: ... global___DescribeWorkerDeploymentRequest = DescribeWorkerDeploymentRequest @@ -8279,31 +5141,15 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): did not change between this read and a future write. """ @property - def worker_deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo: ... + def worker_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo: ... def __init__( self, *, conflict_token: builtins.bytes = ..., - worker_deployment_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "worker_deployment_info", b"worker_deployment_info" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "conflict_token", - b"conflict_token", - "worker_deployment_info", - b"worker_deployment_info", - ], + worker_deployment_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_deployment_info", b"worker_deployment_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "worker_deployment_info", b"worker_deployment_info"]) -> None: ... global___DescribeWorkerDeploymentResponse = DescribeWorkerDeploymentResponse @@ -8329,19 +5175,7 @@ class ListDeploymentsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., series_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - "series_name", - b"series_name", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "series_name", b"series_name"]) -> None: ... global___ListDeploymentsRequest = ListDeploymentsRequest @@ -8354,26 +5188,14 @@ class ListDeploymentsResponse(google.protobuf.message.Message): DEPLOYMENTS_FIELD_NUMBER: builtins.int next_page_token: builtins.bytes @property - def deployments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.deployment.v1.message_pb2.DeploymentListInfo - ]: ... + def deployments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.deployment.v1.message_pb2.DeploymentListInfo]: ... def __init__( self, *, next_page_token: builtins.bytes = ..., - deployments: collections.abc.Iterable[ - temporalio.api.deployment.v1.message_pb2.DeploymentListInfo - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployments", b"deployments", "next_page_token", b"next_page_token" - ], + deployments: collections.abc.Iterable[temporalio.api.deployment.v1.message_pb2.DeploymentListInfo] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deployments", b"deployments", "next_page_token", b"next_page_token"]) -> None: ... global___ListDeploymentsResponse = ListDeploymentsResponse @@ -8392,9 +5214,7 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): identity: builtins.str """Optional. The identity of the client who initiated this request.""" @property - def update_metadata( - self, - ) -> temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata: + def update_metadata(self) -> temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata: """Optional. Use to add or remove user-defined metadata entries. Metadata entries are exposed when describing a deployment. It is a good place for information such as operator name, links to internal deployment pipelines, etc. @@ -8405,28 +5225,10 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., identity: builtins.str = ..., - update_metadata: temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment", b"deployment", "update_metadata", b"update_metadata" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", - b"deployment", - "identity", - b"identity", - "namespace", - b"namespace", - "update_metadata", - b"update_metadata", - ], + update_metadata: temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "update_metadata", b"update_metadata"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "identity", b"identity", "namespace", b"namespace", "update_metadata", b"update_metadata"]) -> None: ... global___SetCurrentDeploymentRequest = SetCurrentDeploymentRequest @@ -8438,40 +5240,18 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): CURRENT_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int PREVIOUS_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def current_deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def current_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... @property - def previous_deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: + def previous_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: """Info of the deployment that was current before executing this operation.""" def __init__( self, *, - current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo - | None = ..., - previous_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_info", - b"current_deployment_info", - "previous_deployment_info", - b"previous_deployment_info", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_info", - b"current_deployment_info", - "previous_deployment_info", - b"previous_deployment_info", - ], + current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., + previous_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info", "previous_deployment_info", b"previous_deployment_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info", "previous_deployment_info", b"previous_deployment_info"]) -> None: ... global___SetCurrentDeploymentResponse = SetCurrentDeploymentResponse @@ -8530,29 +5310,9 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ignore_missing_task_queues: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "conflict_token", - b"conflict_token", - "deployment_name", - b"deployment_name", - "identity", - b"identity", - "ignore_missing_task_queues", - b"ignore_missing_task_queues", - "namespace", - b"namespace", - "version", - b"version", - ], - ) -> None: ... - -global___SetWorkerDeploymentCurrentVersionRequest = ( - SetWorkerDeploymentCurrentVersionRequest -) + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "conflict_token", b"conflict_token", "deployment_name", b"deployment_name", "identity", b"identity", "ignore_missing_task_queues", b"ignore_missing_task_queues", "namespace", b"namespace", "version", b"version"]) -> None: ... + +global___SetWorkerDeploymentCurrentVersionRequest = SetWorkerDeploymentCurrentVersionRequest class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8568,39 +5328,19 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" @property - def previous_deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def previous_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The version that was current before executing this operation.""" def __init__( self, *, conflict_token: builtins.bytes = ..., previous_version: builtins.str = ..., - previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "previous_deployment_version", b"previous_deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "conflict_token", - b"conflict_token", - "previous_deployment_version", - b"previous_deployment_version", - "previous_version", - b"previous_version", - ], + previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["previous_deployment_version", b"previous_deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "previous_deployment_version", b"previous_deployment_version", "previous_version", b"previous_version"]) -> None: ... -global___SetWorkerDeploymentCurrentVersionResponse = ( - SetWorkerDeploymentCurrentVersionResponse -) +global___SetWorkerDeploymentCurrentVersionResponse = SetWorkerDeploymentCurrentVersionResponse class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage.""" @@ -8664,31 +5404,9 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ignore_missing_task_queues: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", - b"build_id", - "conflict_token", - b"conflict_token", - "deployment_name", - b"deployment_name", - "identity", - b"identity", - "ignore_missing_task_queues", - b"ignore_missing_task_queues", - "namespace", - b"namespace", - "percentage", - b"percentage", - "version", - b"version", - ], - ) -> None: ... - -global___SetWorkerDeploymentRampingVersionRequest = ( - SetWorkerDeploymentRampingVersionRequest -) + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "conflict_token", b"conflict_token", "deployment_name", b"deployment_name", "identity", b"identity", "ignore_missing_task_queues", b"ignore_missing_task_queues", "namespace", b"namespace", "percentage", b"percentage", "version", b"version"]) -> None: ... + +global___SetWorkerDeploymentRampingVersionRequest = SetWorkerDeploymentRampingVersionRequest class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8705,9 +5423,7 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" @property - def previous_deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def previous_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The version that was ramping before executing this operation.""" previous_percentage: builtins.float """The ramping version percentage before executing this operation.""" @@ -8716,33 +5432,13 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) *, conflict_token: builtins.bytes = ..., previous_version: builtins.str = ..., - previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., previous_percentage: builtins.float = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "previous_deployment_version", b"previous_deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "conflict_token", - b"conflict_token", - "previous_deployment_version", - b"previous_deployment_version", - "previous_percentage", - b"previous_percentage", - "previous_version", - b"previous_version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["previous_deployment_version", b"previous_deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "previous_deployment_version", b"previous_deployment_version", "previous_percentage", b"previous_percentage", "previous_version", b"previous_version"]) -> None: ... -global___SetWorkerDeploymentRampingVersionResponse = ( - SetWorkerDeploymentRampingVersionResponse -) +global___SetWorkerDeploymentRampingVersionResponse = SetWorkerDeploymentRampingVersionResponse class ListWorkerDeploymentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8760,17 +5456,7 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListWorkerDeploymentsRequest = ListWorkerDeploymentsRequest @@ -8794,99 +5480,42 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property - def routing_config( - self, - ) -> temporalio.api.deployment.v1.message_pb2.RoutingConfig: ... + def routing_config(self) -> temporalio.api.deployment.v1.message_pb2.RoutingConfig: ... @property - def latest_version_summary( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def latest_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the version that was added most recently in the Worker Deployment.""" @property - def current_version_summary( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def current_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the current version of the Worker Deployment.""" @property - def ramping_version_summary( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def ramping_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the ramping version of the Worker Deployment.""" def __init__( self, *, name: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - routing_config: temporalio.api.deployment.v1.message_pb2.RoutingConfig - | None = ..., - latest_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - | None = ..., - current_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - | None = ..., - ramping_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_version_summary", - b"current_version_summary", - "latest_version_summary", - b"latest_version_summary", - "ramping_version_summary", - b"ramping_version_summary", - "routing_config", - b"routing_config", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", - b"create_time", - "current_version_summary", - b"current_version_summary", - "latest_version_summary", - b"latest_version_summary", - "name", - b"name", - "ramping_version_summary", - b"ramping_version_summary", - "routing_config", - b"routing_config", - ], + routing_config: temporalio.api.deployment.v1.message_pb2.RoutingConfig | None = ..., + latest_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., + current_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., + ramping_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_version_summary", b"current_version_summary", "latest_version_summary", b"latest_version_summary", "ramping_version_summary", b"ramping_version_summary", "routing_config", b"routing_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_version_summary", b"current_version_summary", "latest_version_summary", b"latest_version_summary", "name", b"name", "ramping_version_summary", b"ramping_version_summary", "routing_config", b"routing_config"]) -> None: ... NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int WORKER_DEPLOYMENTS_FIELD_NUMBER: builtins.int next_page_token: builtins.bytes @property - def worker_deployments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary - ]: + def worker_deployments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary]: """The list of worker deployments.""" def __init__( self, *, next_page_token: builtins.bytes = ..., - worker_deployments: collections.abc.Iterable[ - global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", - b"next_page_token", - "worker_deployments", - b"worker_deployments", - ], + worker_deployments: collections.abc.Iterable[global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "worker_deployments", b"worker_deployments"]) -> None: ... global___ListWorkerDeploymentsResponse = ListWorkerDeploymentsResponse @@ -8910,9 +5539,7 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" skip_drainage: builtins.bool """Pass to force deletion even if the Version is draining. In this case the open pinned @@ -8925,32 +5552,12 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., skip_drainage: builtins.bool = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", - b"deployment_version", - "identity", - b"identity", - "namespace", - b"namespace", - "skip_drainage", - b"skip_drainage", - "version", - b"version", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "identity", b"identity", "namespace", b"namespace", "skip_drainage", b"skip_drainage", "version", b"version"]) -> None: ... global___DeleteWorkerDeploymentVersionRequest = DeleteWorkerDeploymentVersionRequest @@ -8984,17 +5591,7 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): deployment_name: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_name", - b"deployment_name", - "identity", - b"identity", - "namespace", - b"namespace", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "identity", b"identity", "namespace", b"namespace"]) -> None: ... global___DeleteWorkerDeploymentRequest = DeleteWorkerDeploymentRequest @@ -9026,13 +5623,8 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int @@ -9044,20 +5636,12 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" @property - def upsert_entries( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: ... + def upsert_entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... @property - def remove_entries( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def remove_entries(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" identity: builtins.str """Optional. The identity of the client who initiated this request.""" @@ -9066,42 +5650,15 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion - | None = ..., - upsert_entries: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + upsert_entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., remove_entries: collections.abc.Iterable[builtins.str] | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", - b"deployment_version", - "identity", - b"identity", - "namespace", - b"namespace", - "remove_entries", - b"remove_entries", - "upsert_entries", - b"upsert_entries", - "version", - b"version", - ], - ) -> None: ... - -global___UpdateWorkerDeploymentVersionMetadataRequest = ( - UpdateWorkerDeploymentVersionMetadataRequest -) + def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "identity", b"identity", "namespace", b"namespace", "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries", "version", b"version"]) -> None: ... + +global___UpdateWorkerDeploymentVersionMetadataRequest = UpdateWorkerDeploymentVersionMetadataRequest class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9115,16 +5672,10 @@ class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Mess *, metadata: temporalio.api.deployment.v1.message_pb2.VersionMetadata | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["metadata", b"metadata"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["metadata", b"metadata"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> None: ... -global___UpdateWorkerDeploymentVersionMetadataResponse = ( - UpdateWorkerDeploymentVersionMetadataResponse -) +global___UpdateWorkerDeploymentVersionMetadataResponse = UpdateWorkerDeploymentVersionMetadataResponse class GetCurrentDeploymentRequest(google.protobuf.message.Message): """Returns the Current Deployment of a deployment series. @@ -9143,12 +5694,7 @@ class GetCurrentDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., series_name: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "series_name", b"series_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "series_name", b"series_name"]) -> None: ... global___GetCurrentDeploymentRequest = GetCurrentDeploymentRequest @@ -9159,27 +5705,14 @@ class GetCurrentDeploymentResponse(google.protobuf.message.Message): CURRENT_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def current_deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def current_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... def __init__( self, *, - current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_info", b"current_deployment_info" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "current_deployment_info", b"current_deployment_info" - ], + current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info"]) -> None: ... global___GetCurrentDeploymentResponse = GetCurrentDeploymentResponse @@ -9199,15 +5732,8 @@ class GetDeploymentReachabilityRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment", b"deployment", "namespace", b"namespace" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "namespace", b"namespace"]) -> None: ... global___GetDeploymentReachabilityRequest = GetDeploymentReachabilityRequest @@ -9220,12 +5746,8 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int @property - def deployment_info( - self, - ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... - reachability: ( - temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType - ) + def deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + reachability: temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Reachability level might come from server cache. This timestamp specifies when the value @@ -9234,31 +5756,12 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): def __init__( self, *, - deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo - | None = ..., + deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., reachability: temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_info", - b"deployment_info", - "last_update_time", - b"last_update_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deployment_info", - b"deployment_info", - "last_update_time", - b"last_update_time", - "reachability", - b"reachability", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info", "last_update_time", b"last_update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info", "last_update_time", b"last_update_time", "reachability", b"reachability"]) -> None: ... global___GetDeploymentReachabilityResponse = GetDeploymentReachabilityResponse @@ -9296,26 +5799,8 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", - b"description", - "force_scan", - b"force_scan", - "identity", - b"identity", - "namespace", - b"namespace", - "request_id", - b"request_id", - "spec", - b"spec", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "force_scan", b"force_scan", "identity", b"identity", "namespace", b"namespace", "request_id", b"request_id", "spec", b"spec"]) -> None: ... global___CreateWorkflowRuleRequest = CreateWorkflowRuleRequest @@ -9335,13 +5820,8 @@ class CreateWorkflowRuleResponse(google.protobuf.message.Message): rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., job_id: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"]) -> None: ... global___CreateWorkflowRuleResponse = CreateWorkflowRuleResponse @@ -9359,12 +5839,7 @@ class DescribeWorkflowRuleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., rule_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "rule_id", b"rule_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "rule_id", b"rule_id"]) -> None: ... global___DescribeWorkflowRuleRequest = DescribeWorkflowRuleRequest @@ -9380,12 +5855,8 @@ class DescribeWorkflowRuleResponse(google.protobuf.message.Message): *, rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... global___DescribeWorkflowRuleResponse = DescribeWorkflowRuleResponse @@ -9403,12 +5874,7 @@ class DeleteWorkflowRuleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., rule_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "rule_id", b"rule_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "rule_id", b"rule_id"]) -> None: ... global___DeleteWorkflowRuleRequest = DeleteWorkflowRuleRequest @@ -9434,12 +5900,7 @@ class ListWorkflowRulesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "next_page_token", b"next_page_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token"]) -> None: ... global___ListWorkflowRulesRequest = ListWorkflowRulesRequest @@ -9449,27 +5910,15 @@ class ListWorkflowRulesResponse(google.protobuf.message.Message): RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def rules( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.rules.v1.message_pb2.WorkflowRule - ]: ... + def rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.rules.v1.message_pb2.WorkflowRule]: ... next_page_token: builtins.bytes def __init__( self, *, - rules: collections.abc.Iterable[ - temporalio.api.rules.v1.message_pb2.WorkflowRule - ] - | None = ..., + rules: collections.abc.Iterable[temporalio.api.rules.v1.message_pb2.WorkflowRule] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "rules", b"rules" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "rules", b"rules"]) -> None: ... global___ListWorkflowRulesResponse = ListWorkflowRulesResponse @@ -9500,32 +5949,9 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "execution", - b"execution", - "id", - b"id", - "identity", - b"identity", - "namespace", - b"namespace", - "rule", - b"rule", - "spec", - b"spec", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["rule", b"rule"] - ) -> typing_extensions.Literal["id", "spec"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "id", b"id", "identity", b"identity", "namespace", b"namespace", "rule", b"rule", "spec", b"spec"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["rule", b"rule"]) -> typing_extensions.Literal["id", "spec"] | None: ... global___TriggerWorkflowRuleRequest = TriggerWorkflowRuleRequest @@ -9540,9 +5966,7 @@ class TriggerWorkflowRuleResponse(google.protobuf.message.Message): *, applied: builtins.bool = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["applied", b"applied"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["applied", b"applied"]) -> None: ... global___TriggerWorkflowRuleResponse = TriggerWorkflowRuleResponse @@ -9557,32 +5981,15 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the client who initiated this request.""" @property - def worker_heartbeat( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - ]: ... + def worker_heartbeat(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat]: ... def __init__( self, *, namespace: builtins.str = ..., identity: builtins.str = ..., - worker_heartbeat: collections.abc.Iterable[ - temporalio.api.worker.v1.message_pb2.WorkerHeartbeat - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "worker_heartbeat", - b"worker_heartbeat", - ], + worker_heartbeat: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "worker_heartbeat", b"worker_heartbeat"]) -> None: ... global___RecordWorkerHeartbeatRequest = RecordWorkerHeartbeatRequest @@ -9629,19 +6036,7 @@ class ListWorkersRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "next_page_token", - b"next_page_token", - "page_size", - b"page_size", - "query", - b"query", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... global___ListWorkersRequest = ListWorkersRequest @@ -9651,28 +6046,16 @@ class ListWorkersResponse(google.protobuf.message.Message): WORKERS_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def workers_info( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.worker.v1.message_pb2.WorkerInfo - ]: ... + def workers_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerInfo]: ... next_page_token: builtins.bytes """Next page token""" def __init__( self, *, - workers_info: collections.abc.Iterable[ - temporalio.api.worker.v1.message_pb2.WorkerInfo - ] - | None = ..., + workers_info: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerInfo] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "next_page_token", b"next_page_token", "workers_info", b"workers_info" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "workers_info", b"workers_info"]) -> None: ... global___ListWorkersResponse = ListWorkersResponse @@ -9695,15 +6078,8 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): rate_limit: temporalio.api.taskqueue.v1.message_pb2.RateLimit | None = ..., reason: builtins.str = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "rate_limit", b"rate_limit", "reason", b"reason" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit", "reason", b"reason"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int @@ -9717,18 +6093,14 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): """Selects the task queue to update.""" task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType @property - def update_queue_rate_limit( - self, - ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + def update_queue_rate_limit(self) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to queue-wide rate limit. If not set, this configuration is unchanged. NOTE: A limit set by the worker is overriden; and restored again when reset. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ @property - def update_fairness_key_rate_limit_default( - self, - ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + def update_fairness_key_rate_limit_default(self) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to the default fairness key rate limit. If not set, this configuration is unchanged. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. @@ -9740,37 +6112,11 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): identity: builtins.str = ..., task_queue: builtins.str = ..., task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., - update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate - | None = ..., - update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "update_fairness_key_rate_limit_default", - b"update_fairness_key_rate_limit_default", - "update_queue_rate_limit", - b"update_queue_rate_limit", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "task_queue", - b"task_queue", - "task_queue_type", - b"task_queue_type", - "update_fairness_key_rate_limit_default", - b"update_fairness_key_rate_limit_default", - "update_queue_rate_limit", - b"update_queue_rate_limit", - ], + update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., + update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", b"update_queue_rate_limit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "task_queue_type", b"task_queue_type", "update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", b"update_queue_rate_limit"]) -> None: ... global___UpdateTaskQueueConfigRequest = UpdateTaskQueueConfigRequest @@ -9785,12 +6131,8 @@ class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): *, config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["config", b"config"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["config", b"config"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["config", b"config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config"]) -> None: ... global___UpdateTaskQueueConfigResponse = UpdateTaskQueueConfigResponse @@ -9820,22 +6162,8 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): reason: builtins.str = ..., selector: temporalio.api.common.v1.message_pb2.WorkerSelector | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["selector", b"selector"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "reason", - b"reason", - "selector", - b"selector", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["selector", b"selector"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "selector", b"selector"]) -> None: ... global___FetchWorkerConfigRequest = FetchWorkerConfigRequest @@ -9849,15 +6177,10 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): def __init__( self, *, - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["worker_config", b"worker_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["worker_config", b"worker_config"]) -> None: ... global___FetchWorkerConfigResponse = FetchWorkerConfigResponse @@ -9893,39 +6216,12 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): namespace: builtins.str = ..., identity: builtins.str = ..., reason: builtins.str = ..., - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig - | None = ..., + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., selector: temporalio.api.common.v1.message_pb2.WorkerSelector | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "selector", - b"selector", - "update_mask", - b"update_mask", - "worker_config", - b"worker_config", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "identity", - b"identity", - "namespace", - b"namespace", - "reason", - b"reason", - "selector", - b"selector", - "update_mask", - b"update_mask", - "worker_config", - b"worker_config", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["selector", b"selector", "update_mask", b"update_mask", "worker_config", b"worker_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "selector", b"selector", "update_mask", b"update_mask", "worker_config", b"worker_config"]) -> None: ... global___UpdateWorkerConfigRequest = UpdateWorkerConfigRequest @@ -9939,23 +6235,10 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): def __init__( self, *, - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "response", b"response", "worker_config", b"worker_config" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "response", b"response", "worker_config", b"worker_config" - ], + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["worker_config"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["response", b"response", "worker_config", b"worker_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["response", b"response", "worker_config", b"worker_config"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["worker_config"] | None: ... global___UpdateWorkerConfigResponse = UpdateWorkerConfigResponse diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py index bf947056a..2daafffeb 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc + diff --git a/temporalio/api/workflowservice/v1/service_pb2.py b/temporalio/api/workflowservice/v1/service_pb2.py index 5cc1619ef..6921b1df8 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.py +++ b/temporalio/api/workflowservice/v1/service_pb2.py @@ -2,333 +2,173 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/service.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from temporalio.api.workflowservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x8f\xbd\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"w\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xe6\x02\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"q\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/activities/heartbeat:\x01*Z8"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"}\x82\xd3\xe4\x93\x02w"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"o\x82\xd3\xe4\x93\x02i"+/namespaces/{namespace}/activities/complete:\x01*Z7"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z="8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"g\x82\xd3\xe4\x93\x02\x61"\'/namespaces/{namespace}/activities/fail:\x01*Z3"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"s\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse"k\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activities/cancel:\x01*Z5"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse"w\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z["V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xbe\x01\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"q\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z="8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/activities/update-options:\x01*Z="8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse"i\x82\xd3\xe4\x93\x02\x63"(/namespaces/{namespace}/activities/pause:\x01*Z4"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse"m\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activities/unpause:\x01*Z6"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse"i\x82\xd3\xe4\x93\x02\x63"(/namespaces/{namespace}/activities/reset:\x01*Z4"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse"e\x82\xd3\xe4\x93\x02_"&/namespaces/{namespace}/workflow-rules:\x01*Z2"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"k\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"q\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"s\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*B\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x8f\xbd\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xe6\x02\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/activities/heartbeat:\x01*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i\"+/namespaces/{namespace}/activities/complete:\x01*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02\x61\"\'/namespaces/{namespace}/activities/fail:\x01*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activities/cancel:\x01*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\x01\x82\xd3\xe4\x93\x02\xb7\x01\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/update-options:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/pause:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activities/unpause:\x01*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/reset:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_\"&/namespaces/{namespace}/workflow-rules:\x01*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/workers/heartbeat:\x01*Z5\"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*B\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3') -_WORKFLOWSERVICE = DESCRIPTOR.services_by_name["WorkflowService"] + +_WORKFLOWSERVICE = DESCRIPTOR.services_by_name['WorkflowService'] if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _WORKFLOWSERVICE.methods_by_name["RegisterNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RegisterNamespace" - ]._serialized_options = b'\202\323\344\223\0021"\023/cluster/namespaces:\001*Z\027"\022/api/v1/namespaces:\001*' - _WORKFLOWSERVICE.methods_by_name["DescribeNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeNamespace" - ]._serialized_options = b"\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}" - _WORKFLOWSERVICE.methods_by_name["ListNamespaces"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ListNamespaces" - ]._serialized_options = b"\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces" - _WORKFLOWSERVICE.methods_by_name["UpdateNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "UpdateNamespace" - ]._serialized_options = b'\202\323\344\223\002W"&/cluster/namespaces/{namespace}/update:\001*Z*"%/api/v1/namespaces/{namespace}/update:\001*' - _WORKFLOWSERVICE.methods_by_name["StartWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "StartWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' - _WORKFLOWSERVICE.methods_by_name["ExecuteMultiOperation"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ExecuteMultiOperation" - ]._serialized_options = b'\202\323\344\223\002\205\001"9/namespaces/{namespace}/workflows/execute-multi-operation:\001*ZE"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\001*' - _WORKFLOWSERVICE.methods_by_name["GetWorkflowExecutionHistory"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkflowExecutionHistory" - ]._serialized_options = b"\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history" - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkflowExecutionHistoryReverse" - ]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkflowExecutionHistoryReverse" - ]._serialized_options = b"\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse" - _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeat"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RecordActivityTaskHeartbeat" - ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/activities/heartbeat:\001*Z8"3/api/v1/namespaces/{namespace}/activities/heartbeat:\001*' - _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeatById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RecordActivityTaskHeartbeatById" - ]._serialized_options = b'\202\323\344\223\002w"2/namespaces/{namespace}/activities/heartbeat-by-id:\001*Z>"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompleted"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskCompleted" - ]._serialized_options = b'\202\323\344\223\002i"+/namespaces/{namespace}/activities/complete:\001*Z7"2/api/v1/namespaces/{namespace}/activities/complete:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompletedById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskCompletedById" - ]._serialized_options = b'\202\323\344\223\002u"1/namespaces/{namespace}/activities/complete-by-id:\001*Z="8/api/v1/namespaces/{namespace}/activities/complete-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailed"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskFailed" - ]._serialized_options = b'\202\323\344\223\002a"\'/namespaces/{namespace}/activities/fail:\001*Z3"./api/v1/namespaces/{namespace}/activities/fail:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailedById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskFailedById" - ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/activities/fail-by-id:\001*Z9"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCanceled"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskCanceled" - ]._serialized_options = b'\202\323\344\223\002e")/namespaces/{namespace}/activities/cancel:\001*Z5"0/api/v1/namespaces/{namespace}/activities/cancel:\001*' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCanceledById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RespondActivityTaskCanceledById" - ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/activities/cancel-by-id:\001*Z;"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name["RequestCancelWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "RequestCancelWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002\245\001"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*ZU"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*' - _WORKFLOWSERVICE.methods_by_name["SignalWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "SignalWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002\301\001"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*' - _WORKFLOWSERVICE.methods_by_name["SignalWithStartWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "SignalWithStartWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002\261\001"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*Z["V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*' - _WORKFLOWSERVICE.methods_by_name["ResetWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ResetWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002\243\001"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*' - _WORKFLOWSERVICE.methods_by_name["TerminateWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "TerminateWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002\253\001"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*' - _WORKFLOWSERVICE.methods_by_name["ListWorkflowExecutions"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ListWorkflowExecutions" - ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/workflowsZ*\022(/api/v1/namespaces/{namespace}/workflows" - _WORKFLOWSERVICE.methods_by_name["ListArchivedWorkflowExecutions"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ListArchivedWorkflowExecutions" - ]._serialized_options = b"\202\323\344\223\002a\022*/namespaces/{namespace}/archived-workflowsZ3\0221/api/v1/namespaces/{namespace}/archived-workflows" - _WORKFLOWSERVICE.methods_by_name["CountWorkflowExecutions"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "CountWorkflowExecutions" - ]._serialized_options = b"\202\323\344\223\002Y\022&/namespaces/{namespace}/workflow-countZ/\022-/api/v1/namespaces/{namespace}/workflow-count" - _WORKFLOWSERVICE.methods_by_name["QueryWorkflow"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "QueryWorkflow" - ]._serialized_options = b'\202\323\344\223\002\267\001"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*' - _WORKFLOWSERVICE.methods_by_name["DescribeWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeWorkflowExecution" - ]._serialized_options = b"\202\323\344\223\002\177\0229/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\022@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}" - _WORKFLOWSERVICE.methods_by_name["DescribeTaskQueue"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeTaskQueue" - ]._serialized_options = b"\202\323\344\223\002w\0225/namespaces/{namespace}/task-queues/{task_queue.name}Z>\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times" - _WORKFLOWSERVICE.methods_by_name["DeleteSchedule"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DeleteSchedule" - ]._serialized_options = b"\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}" - _WORKFLOWSERVICE.methods_by_name["ListSchedules"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ListSchedules" - ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules" - _WORKFLOWSERVICE.methods_by_name["GetWorkerBuildIdCompatibility"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkerBuildIdCompatibility" - ]._serialized_options = b"\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility" - _WORKFLOWSERVICE.methods_by_name["GetWorkerVersioningRules"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkerVersioningRules" - ]._serialized_options = b"\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules" - _WORKFLOWSERVICE.methods_by_name["GetWorkerTaskReachability"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetWorkerTaskReachability" - ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability" - _WORKFLOWSERVICE.methods_by_name["DescribeDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeDeployment" - ]._serialized_options = b"\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}" - _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeploymentVersion"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeWorkerDeploymentVersion" - ]._serialized_options = b"\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}" - _WORKFLOWSERVICE.methods_by_name["ListDeployments"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "ListDeployments" - ]._serialized_options = b"\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments" - _WORKFLOWSERVICE.methods_by_name["GetDeploymentReachability"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetDeploymentReachability" - ]._serialized_options = b"\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability" - _WORKFLOWSERVICE.methods_by_name["GetCurrentDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "GetCurrentDeployment" - ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}" - _WORKFLOWSERVICE.methods_by_name["SetCurrentDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "SetCurrentDeployment" - ]._serialized_options = b'\202\323\344\223\002\231\001"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' - _WORKFLOWSERVICE.methods_by_name[ - "SetWorkerDeploymentCurrentVersion" - ]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "SetWorkerDeploymentCurrentVersion" - ]._serialized_options = b'\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' - _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "DescribeWorkerDeployment" - ]._serialized_options = b"\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' - _WORKFLOWSERVICE.methods_by_name["FetchWorkerConfig"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "FetchWorkerConfig" - ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' - _WORKFLOWSERVICE.methods_by_name["UpdateWorkerConfig"]._options = None - _WORKFLOWSERVICE.methods_by_name[ - "UpdateWorkerConfig" - ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' - _WORKFLOWSERVICE._serialized_start = 170 - _WORKFLOWSERVICE._serialized_end = 24377 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _WORKFLOWSERVICE.methods_by_name['RegisterNamespace']._options = None + _WORKFLOWSERVICE.methods_by_name['RegisterNamespace']._serialized_options = b'\202\323\344\223\0021\"\023/cluster/namespaces:\001*Z\027\"\022/api/v1/namespaces:\001*' + _WORKFLOWSERVICE.methods_by_name['DescribeNamespace']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeNamespace']._serialized_options = b'\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}' + _WORKFLOWSERVICE.methods_by_name['ListNamespaces']._options = None + _WORKFLOWSERVICE.methods_by_name['ListNamespaces']._serialized_options = b'\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces' + _WORKFLOWSERVICE.methods_by_name['UpdateNamespace']._options = None + _WORKFLOWSERVICE.methods_by_name['UpdateNamespace']._serialized_options = b'\202\323\344\223\002W\"&/cluster/namespaces/{namespace}/update:\001*Z*\"%/api/v1/namespaces/{namespace}/update:\001*' + _WORKFLOWSERVICE.methods_by_name['StartWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['StartWorkflowExecution']._serialized_options = b'\202\323\344\223\002q\"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' + _WORKFLOWSERVICE.methods_by_name['ExecuteMultiOperation']._options = None + _WORKFLOWSERVICE.methods_by_name['ExecuteMultiOperation']._serialized_options = b'\202\323\344\223\002\205\001\"9/namespaces/{namespace}/workflows/execute-multi-operation:\001*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\001*' + _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistory']._options = None + _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistory']._serialized_options = b'\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history' + _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistoryReverse']._options = None + _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistoryReverse']._serialized_options = b'\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse' + _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeat']._options = None + _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeat']._serialized_options = b'\202\323\344\223\002k\",/namespaces/{namespace}/activities/heartbeat:\001*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\001*' + _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeatById']._options = None + _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeatById']._serialized_options = b'\202\323\344\223\002w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\001*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompleted']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompleted']._serialized_options = b'\202\323\344\223\002i\"+/namespaces/{namespace}/activities/complete:\001*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompletedById']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompletedById']._serialized_options = b'\202\323\344\223\002u\"1/namespaces/{namespace}/activities/complete-by-id:\001*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailed']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailed']._serialized_options = b'\202\323\344\223\002a\"\'/namespaces/{namespace}/activities/fail:\001*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailedById']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailedById']._serialized_options = b'\202\323\344\223\002m\"-/namespaces/{namespace}/activities/fail-by-id:\001*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceled']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceled']._serialized_options = b'\202\323\344\223\002e\")/namespaces/{namespace}/activities/cancel:\001*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\001*' + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceledById']._options = None + _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceledById']._serialized_options = b'\202\323\344\223\002q\"//namespaces/{namespace}/activities/cancel-by-id:\001*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name['RequestCancelWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['RequestCancelWorkflowExecution']._serialized_options = b'\202\323\344\223\002\245\001\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*' + _WORKFLOWSERVICE.methods_by_name['SignalWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['SignalWorkflowExecution']._serialized_options = b'\202\323\344\223\002\301\001\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*' + _WORKFLOWSERVICE.methods_by_name['SignalWithStartWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['SignalWithStartWorkflowExecution']._serialized_options = b'\202\323\344\223\002\261\001\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*' + _WORKFLOWSERVICE.methods_by_name['ResetWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['ResetWorkflowExecution']._serialized_options = b'\202\323\344\223\002\243\001\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*' + _WORKFLOWSERVICE.methods_by_name['TerminateWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['TerminateWorkflowExecution']._serialized_options = b'\202\323\344\223\002\253\001\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*' + _WORKFLOWSERVICE.methods_by_name['ListWorkflowExecutions']._options = None + _WORKFLOWSERVICE.methods_by_name['ListWorkflowExecutions']._serialized_options = b'\202\323\344\223\002O\022!/namespaces/{namespace}/workflowsZ*\022(/api/v1/namespaces/{namespace}/workflows' + _WORKFLOWSERVICE.methods_by_name['ListArchivedWorkflowExecutions']._options = None + _WORKFLOWSERVICE.methods_by_name['ListArchivedWorkflowExecutions']._serialized_options = b'\202\323\344\223\002a\022*/namespaces/{namespace}/archived-workflowsZ3\0221/api/v1/namespaces/{namespace}/archived-workflows' + _WORKFLOWSERVICE.methods_by_name['CountWorkflowExecutions']._options = None + _WORKFLOWSERVICE.methods_by_name['CountWorkflowExecutions']._serialized_options = b'\202\323\344\223\002Y\022&/namespaces/{namespace}/workflow-countZ/\022-/api/v1/namespaces/{namespace}/workflow-count' + _WORKFLOWSERVICE.methods_by_name['QueryWorkflow']._options = None + _WORKFLOWSERVICE.methods_by_name['QueryWorkflow']._serialized_options = b'\202\323\344\223\002\267\001\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*' + _WORKFLOWSERVICE.methods_by_name['DescribeWorkflowExecution']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeWorkflowExecution']._serialized_options = b'\202\323\344\223\002\177\0229/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\022@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}' + _WORKFLOWSERVICE.methods_by_name['DescribeTaskQueue']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeTaskQueue']._serialized_options = b'\202\323\344\223\002w\0225/namespaces/{namespace}/task-queues/{task_queue.name}Z>\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times' + _WORKFLOWSERVICE.methods_by_name['DeleteSchedule']._options = None + _WORKFLOWSERVICE.methods_by_name['DeleteSchedule']._serialized_options = b'\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}' + _WORKFLOWSERVICE.methods_by_name['ListSchedules']._options = None + _WORKFLOWSERVICE.methods_by_name['ListSchedules']._serialized_options = b'\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules' + _WORKFLOWSERVICE.methods_by_name['GetWorkerBuildIdCompatibility']._options = None + _WORKFLOWSERVICE.methods_by_name['GetWorkerBuildIdCompatibility']._serialized_options = b'\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility' + _WORKFLOWSERVICE.methods_by_name['GetWorkerVersioningRules']._options = None + _WORKFLOWSERVICE.methods_by_name['GetWorkerVersioningRules']._serialized_options = b'\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules' + _WORKFLOWSERVICE.methods_by_name['GetWorkerTaskReachability']._options = None + _WORKFLOWSERVICE.methods_by_name['GetWorkerTaskReachability']._serialized_options = b'\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability' + _WORKFLOWSERVICE.methods_by_name['DescribeDeployment']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeDeployment']._serialized_options = b'\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}' + _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeploymentVersion']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeploymentVersion']._serialized_options = b'\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}' + _WORKFLOWSERVICE.methods_by_name['ListDeployments']._options = None + _WORKFLOWSERVICE.methods_by_name['ListDeployments']._serialized_options = b'\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments' + _WORKFLOWSERVICE.methods_by_name['GetDeploymentReachability']._options = None + _WORKFLOWSERVICE.methods_by_name['GetDeploymentReachability']._serialized_options = b'\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability' + _WORKFLOWSERVICE.methods_by_name['GetCurrentDeployment']._options = None + _WORKFLOWSERVICE.methods_by_name['GetCurrentDeployment']._serialized_options = b'\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}' + _WORKFLOWSERVICE.methods_by_name['SetCurrentDeployment']._options = None + _WORKFLOWSERVICE.methods_by_name['SetCurrentDeployment']._serialized_options = b'\202\323\344\223\002\231\001\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' + _WORKFLOWSERVICE.methods_by_name['SetWorkerDeploymentCurrentVersion']._options = None + _WORKFLOWSERVICE.methods_by_name['SetWorkerDeploymentCurrentVersion']._serialized_options = b'\202\323\344\223\002\263\001\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' + _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeployment']._options = None + _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeployment']._serialized_options = b'\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' + _WORKFLOWSERVICE.methods_by_name['FetchWorkerConfig']._options = None + _WORKFLOWSERVICE.methods_by_name['FetchWorkerConfig']._serialized_options = b'\202\323\344\223\002k\",/namespaces/{namespace}/workers/fetch-config:\001*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' + _WORKFLOWSERVICE.methods_by_name['UpdateWorkerConfig']._options = None + _WORKFLOWSERVICE.methods_by_name['UpdateWorkerConfig']._serialized_options = b'\202\323\344\223\002m\"-/namespaces/{namespace}/workers/update-config:\001*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' + _WORKFLOWSERVICE._serialized_start=170 + _WORKFLOWSERVICE._serialized_end=24377 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/service_pb2.pyi b/temporalio/api/workflowservice/v1/service_pb2.pyi index dd854e288..e08fa11c2 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2.pyi @@ -2,7 +2,6 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.py b/temporalio/api/workflowservice/v1/service_pb2_grpc.py index 770781e6d..f372e0a5e 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.py @@ -1,11 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" - import grpc -from temporalio.api.workflowservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, -) +from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 class WorkflowServiceStub(object): @@ -29,465 +26,465 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterNamespace = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, + ) self.DescribeNamespace = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, + ) self.ListNamespaces = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, + ) self.UpdateNamespace = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, + ) self.DeprecateNamespace = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, + ) self.StartWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, + ) self.ExecuteMultiOperation = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, + ) self.GetWorkflowExecutionHistory = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, + ) self.GetWorkflowExecutionHistoryReverse = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, + ) self.PollWorkflowTaskQueue = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, + ) self.RespondWorkflowTaskCompleted = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, + ) self.RespondWorkflowTaskFailed = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, + ) self.PollActivityTaskQueue = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, + ) self.RecordActivityTaskHeartbeat = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, + ) self.RecordActivityTaskHeartbeatById = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, + ) self.RespondActivityTaskCompleted = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, + ) self.RespondActivityTaskCompletedById = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, + ) self.RespondActivityTaskFailed = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, + ) self.RespondActivityTaskFailedById = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, + ) self.RespondActivityTaskCanceled = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, + ) self.RespondActivityTaskCanceledById = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, + ) self.RequestCancelWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, + ) self.SignalWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, + ) self.SignalWithStartWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, + ) self.ResetWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, + ) self.TerminateWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, + ) self.DeleteWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, + ) self.ListOpenWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, + ) self.ListClosedWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, + ) self.ListWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, + ) self.ListArchivedWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, + ) self.ScanWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, + ) self.CountWorkflowExecutions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, + ) self.GetSearchAttributes = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, + ) self.RespondQueryTaskCompleted = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, + ) self.ResetStickyTaskQueue = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, + ) self.ShutdownWorker = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, + ) self.QueryWorkflow = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, + ) self.DescribeWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, + ) self.DescribeTaskQueue = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, + ) self.GetClusterInfo = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, + ) self.GetSystemInfo = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, + ) self.ListTaskQueuePartitions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, + ) self.CreateSchedule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, + ) self.DescribeSchedule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, + ) self.UpdateSchedule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, + ) self.PatchSchedule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, + ) self.ListScheduleMatchingTimes = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, + ) self.DeleteSchedule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, + ) self.ListSchedules = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListSchedules', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, + ) self.UpdateWorkerBuildIdCompatibility = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, + ) self.GetWorkerBuildIdCompatibility = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, + ) self.UpdateWorkerVersioningRules = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, + ) self.GetWorkerVersioningRules = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, + ) self.GetWorkerTaskReachability = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, + ) self.DescribeDeployment = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, + ) self.DescribeWorkerDeploymentVersion = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, + ) self.ListDeployments = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListDeployments', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, + ) self.GetDeploymentReachability = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, + ) self.GetCurrentDeployment = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, + ) self.SetCurrentDeployment = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, + ) self.SetWorkerDeploymentCurrentVersion = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, + ) self.DescribeWorkerDeployment = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, + ) self.DeleteWorkerDeployment = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, + ) self.DeleteWorkerDeploymentVersion = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, + ) self.SetWorkerDeploymentRampingVersion = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, + ) self.ListWorkerDeployments = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, + ) self.UpdateWorkerDeploymentVersionMetadata = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, + ) self.UpdateWorkflowExecution = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, + ) self.PollWorkflowExecutionUpdate = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, + ) self.StartBatchOperation = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, + ) self.StopBatchOperation = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, + ) self.DescribeBatchOperation = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, + ) self.ListBatchOperations = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, + ) self.PollNexusTaskQueue = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, + ) self.RespondNexusTaskCompleted = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, + ) self.RespondNexusTaskFailed = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, + ) self.UpdateActivityOptions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, + ) self.UpdateWorkflowExecutionOptions = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, + ) self.PauseActivity = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/PauseActivity', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, + ) self.UnpauseActivity = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, + ) self.ResetActivity = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ResetActivity', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, + ) self.CreateWorkflowRule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, + ) self.DescribeWorkflowRule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, + ) self.DeleteWorkflowRule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, + ) self.ListWorkflowRules = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, + ) self.TriggerWorkflowRule = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, + ) self.RecordWorkerHeartbeat = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, + ) self.ListWorkers = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/ListWorkers', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, + ) self.UpdateTaskQueueConfig = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, + ) self.FetchWorkerConfig = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, + ) self.UpdateWorkerConfig = channel.unary_unary( - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, - ) + '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig', + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, + ) class WorkflowServiceServicer(object): @@ -513,28 +510,30 @@ def RegisterNamespace(self, request, context): namespace. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeNamespace(self, request, context): - """DescribeNamespace returns the information and configuration for a registered namespace.""" + """DescribeNamespace returns the information and configuration for a registered namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListNamespaces(self, request, context): - """ListNamespaces returns the information and configuration for all namespaces.""" + """ListNamespaces returns the information and configuration for all namespaces. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateNamespace(self, request, context): """UpdateNamespace is used to update the information and configuration of a registered namespace. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeprecateNamespace(self, request, context): """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. @@ -547,8 +546,8 @@ def DeprecateNamespace(self, request, context): aip.dev/not-precedent: Deprecated --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StartWorkflowExecution(self, request, context): """StartWorkflowExecution starts a new workflow execution. @@ -558,8 +557,8 @@ def StartWorkflowExecution(self, request, context): instance already exists with same workflow id. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExecuteMultiOperation(self, request, context): """ExecuteMultiOperation executes multiple operations within a single workflow. @@ -573,25 +572,25 @@ def ExecuteMultiOperation(self, request, context): NOTE: Experimental API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetWorkflowExecutionHistory(self, request, context): """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with `NotFound` if the specified workflow execution is unknown to the service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetWorkflowExecutionHistoryReverse(self, request, context): - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PollWorkflowTaskQueue(self, request, context): """PollWorkflowTaskQueue is called by workers to make progress on workflows. @@ -605,8 +604,8 @@ def PollWorkflowTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondWorkflowTaskCompleted(self, request, context): """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks @@ -620,8 +619,8 @@ def RespondWorkflowTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondWorkflowTaskFailed(self, request, context): """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task @@ -638,8 +637,8 @@ def RespondWorkflowTaskFailed(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PollActivityTaskQueue(self, request, context): """PollActivityTaskQueue is called by workers to process activity tasks from a specific task @@ -659,8 +658,8 @@ def PollActivityTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RecordActivityTaskHeartbeat(self, request, context): """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. @@ -671,8 +670,8 @@ def RecordActivityTaskHeartbeat(self, request, context): such situations, in that event, the SDK should request cancellation of the activity. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RecordActivityTaskHeartbeatById(self, request, context): """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by @@ -682,8 +681,8 @@ def RecordActivityTaskHeartbeatById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskCompleted(self, request, context): """RespondActivityTaskCompleted is called by workers when they successfully complete an activity @@ -694,8 +693,8 @@ def RespondActivityTaskCompleted(self, request, context): no longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskCompletedById(self, request, context): """See `RecordActivityTaskCompleted`. This version allows clients to record completions by @@ -705,8 +704,8 @@ def RespondActivityTaskCompletedById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskFailed(self, request, context): """RespondActivityTaskFailed is called by workers when processing an activity task fails. @@ -716,8 +715,8 @@ def RespondActivityTaskFailed(self, request, context): longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskFailedById(self, request, context): """See `RecordActivityTaskFailed`. This version allows clients to record failures by @@ -727,8 +726,8 @@ def RespondActivityTaskFailedById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskCanceled(self, request, context): """RespondActivityTaskFailed is called by workers when processing an activity task fails. @@ -738,8 +737,8 @@ def RespondActivityTaskCanceled(self, request, context): no longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondActivityTaskCanceledById(self, request, context): """See `RecordActivityTaskCanceled`. This version allows clients to record failures by @@ -749,8 +748,8 @@ def RespondActivityTaskCanceledById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RequestCancelWorkflowExecution(self, request, context): """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of @@ -761,8 +760,8 @@ def RequestCancelWorkflowExecution(self, request, context): workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SignalWorkflowExecution(self, request, context): """SignalWorkflowExecution is used to send a signal to a running workflow execution. @@ -771,8 +770,8 @@ def SignalWorkflowExecution(self, request, context): task being created for the execution. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SignalWithStartWorkflowExecution(self, request, context): """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if @@ -789,8 +788,8 @@ def SignalWithStartWorkflowExecution(self, request, context): aip.dev/not-precedent: "With" is used to indicate combined operation. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ResetWorkflowExecution(self, request, context): """ResetWorkflowExecution will reset an existing workflow execution to a specified @@ -799,8 +798,8 @@ def ResetWorkflowExecution(self, request, context): TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out? """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TerminateWorkflowExecution(self, request, context): """TerminateWorkflowExecution terminates an existing workflow execution by recording a @@ -808,8 +807,8 @@ def TerminateWorkflowExecution(self, request, context): execution instance. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteWorkflowExecution(self, request, context): """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when @@ -821,8 +820,8 @@ def DeleteWorkflowExecution(self, request, context): aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListOpenWorkflowExecutions(self, request, context): """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. @@ -831,8 +830,8 @@ def ListOpenWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListClosedWorkflowExecutions(self, request, context): """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. @@ -841,20 +840,22 @@ def ListClosedWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListWorkflowExecutions(self, request, context): - """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" + """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListArchivedWorkflowExecutions(self, request, context): - """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" + """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ScanWorkflowExecutions(self, request, context): """ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order. @@ -864,14 +865,15 @@ def ScanWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CountWorkflowExecutions(self, request, context): - """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" + """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetSearchAttributes(self, request, context): """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs @@ -880,8 +882,8 @@ def GetSearchAttributes(self, request, context): aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondQueryTaskCompleted(self, request, context): """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on @@ -894,8 +896,8 @@ def RespondQueryTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ResetStickyTaskQueue(self, request, context): """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of @@ -914,8 +916,8 @@ def ResetStickyTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ShutdownWorker(self, request, context): """ShutdownWorker is used to indicate that the given sticky task @@ -933,20 +935,22 @@ def ShutdownWorker(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def QueryWorkflow(self, request, context): - """QueryWorkflow requests a query be executed for a specified workflow execution.""" + """QueryWorkflow requests a query be executed for a specified workflow execution. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeWorkflowExecution(self, request, context): - """DescribeWorkflowExecution returns information about the specified workflow execution.""" + """DescribeWorkflowExecution returns information about the specified workflow execution. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeTaskQueue(self, request, context): """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: @@ -955,70 +959,79 @@ def DescribeTaskQueue(self, request, context): - Backlog info for Workflow and/or Activity tasks """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetClusterInfo(self, request, context): - """GetClusterInfo returns information about temporal cluster""" + """GetClusterInfo returns information about temporal cluster + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetSystemInfo(self, request, context): - """GetSystemInfo returns information about the system.""" + """GetSystemInfo returns information about the system. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListTaskQueuePartitions(self, request, context): """(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateSchedule(self, request, context): - """Creates a new schedule.""" + """Creates a new schedule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeSchedule(self, request, context): - """Returns the schedule description and current state of an existing schedule.""" + """Returns the schedule description and current state of an existing schedule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateSchedule(self, request, context): - """Changes the configuration or state of an existing schedule.""" + """Changes the configuration or state of an existing schedule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PatchSchedule(self, request, context): - """Makes a specific change to a schedule or triggers an immediate action.""" + """Makes a specific change to a schedule or triggers an immediate action. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListScheduleMatchingTimes(self, request, context): - """Lists matching times within a range.""" + """Lists matching times within a range. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteSchedule(self, request, context): - """Deletes a schedule, removing it from the system.""" + """Deletes a schedule, removing it from the system. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListSchedules(self, request, context): - """List all schedules in a namespace.""" + """List all schedules in a namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkerBuildIdCompatibility(self, request, context): """Deprecated. Use `UpdateWorkerVersioningRules`. @@ -1029,7 +1042,7 @@ def UpdateWorkerBuildIdCompatibility(self, request, context): members are compatible with one another. A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. + multiple workers. To query which workers can be retired, use the `GetWorkerTaskReachability` API. @@ -1040,16 +1053,16 @@ def UpdateWorkerBuildIdCompatibility(self, request, context): aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetWorkerBuildIdCompatibility(self, request, context): """Deprecated. Use `GetWorkerVersioningRules`. Fetches the worker build id versioning sets for a task queue. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkerVersioningRules(self, request, context): """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of @@ -1078,16 +1091,16 @@ def UpdateWorkerVersioningRules(self, request, context): aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetWorkerVersioningRules(self, request, context): """Fetches the Build ID assignment and redirect rules for a Task Queue. WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetWorkerTaskReachability(self, request, context): """Deprecated. Use `DescribeTaskQueue`. @@ -1106,8 +1119,8 @@ def GetWorkerTaskReachability(self, request, context): `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeDeployment(self, request, context): """Describes a worker deployment. @@ -1115,16 +1128,16 @@ def DescribeDeployment(self, request, context): Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeWorkerDeploymentVersion(self, request, context): """Describes a worker deployment version. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListDeployments(self, request, context): """Lists worker deployments in the namespace. Optionally can filter based on deployment series @@ -1133,8 +1146,8 @@ def ListDeployments(self, request, context): Deprecated. Replaced with `ListWorkerDeployments`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetDeploymentReachability(self, request, context): """Returns the reachability level of a worker deployment to help users decide when it is time @@ -1147,8 +1160,8 @@ def GetDeploymentReachability(self, request, context): Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetCurrentDeployment(self, request, context): """Returns the current deployment (and its info) for a given deployment series. @@ -1156,8 +1169,8 @@ def GetCurrentDeployment(self, request, context): Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetCurrentDeployment(self, request, context): """Sets a deployment as the current deployment for its deployment series. Can optionally update @@ -1166,8 +1179,8 @@ def SetCurrentDeployment(self, request, context): Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetWorkerDeploymentCurrentVersion(self, request, context): """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping @@ -1175,16 +1188,16 @@ def SetWorkerDeploymentCurrentVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeWorkerDeployment(self, request, context): """Describes a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteWorkerDeployment(self, request, context): """Deletes records of (an old) Deployment. A deployment can only be deleted if @@ -1192,8 +1205,8 @@ def DeleteWorkerDeployment(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteWorkerDeploymentVersion(self, request, context): """Used for manual deletion of Versions. User can delete a Version only when all the @@ -1205,8 +1218,8 @@ def DeleteWorkerDeploymentVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetWorkerDeploymentRampingVersion(self, request, context): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for @@ -1214,30 +1227,31 @@ def SetWorkerDeploymentRampingVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListWorkerDeployments(self, request, context): """Lists all Worker Deployments that are tracked in the Namespace. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkerDeploymentVersionMetadata(self, request, context): """Updates the user-given metadata attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkflowExecution(self, request, context): - """Invokes the specified Update function on user Workflow code.""" + """Invokes the specified Update function on user Workflow code. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PollWorkflowExecutionUpdate(self, request, context): """Polls a Workflow Execution for the outcome of a Workflow Update @@ -1249,32 +1263,36 @@ def PollWorkflowExecutionUpdate(self, request, context): aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StartBatchOperation(self, request, context): - """StartBatchOperation starts a new batch operation""" + """StartBatchOperation starts a new batch operation + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StopBatchOperation(self, request, context): - """StopBatchOperation stops a batch operation""" + """StopBatchOperation stops a batch operation + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeBatchOperation(self, request, context): - """DescribeBatchOperation returns the information about a batch operation""" + """DescribeBatchOperation returns the information about a batch operation + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListBatchOperations(self, request, context): - """ListBatchOperations returns a list of batch operations""" + """ListBatchOperations returns a list of batch operations + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PollNexusTaskQueue(self, request, context): """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. @@ -1282,8 +1300,8 @@ def PollNexusTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondNexusTaskCompleted(self, request, context): """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. @@ -1291,8 +1309,8 @@ def RespondNexusTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RespondNexusTaskFailed(self, request, context): """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. @@ -1300,22 +1318,23 @@ def RespondNexusTaskFailed(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateActivityOptions(self, request, context): """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. If there are multiple pending activities of the provided type - all of them will be updated. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkflowExecutionOptions(self, request, context): - """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" + """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PauseActivity(self, request, context): """PauseActivity pauses the execution of an activity specified by its ID or type. @@ -1336,8 +1355,8 @@ def PauseActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnpauseActivity(self, request, context): """UnpauseActivity unpauses the execution of an activity specified by its ID or type. @@ -1355,8 +1374,8 @@ def UnpauseActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ResetActivity(self, request, context): """ResetActivity resets the execution of an activity specified by its ID or type. @@ -1378,8 +1397,8 @@ def ResetActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateWorkflowRule(self, request, context): """Create a new workflow rule. The rules are used to control the workflow execution. @@ -1389,28 +1408,30 @@ def CreateWorkflowRule(self, request, context): Namespace config is eventually consistent. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DescribeWorkflowRule(self, request, context): """DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteWorkflowRule(self, request, context): - """Delete rule by rule id""" + """Delete rule by rule id + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListWorkflowRules(self, request, context): - """Return all namespace workflow rules""" + """Return all namespace workflow rules + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TriggerWorkflowRule(self, request, context): """TriggerWorkflowRule allows to: @@ -1419,20 +1440,22 @@ def TriggerWorkflowRule(self, request, context): This is useful for one-off operations. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RecordWorkerHeartbeat(self, request, context): - """WorkerHeartbeat receive heartbeat request from the worker.""" + """WorkerHeartbeat receive heartbeat request from the worker. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListWorkers(self, request, context): - """ListWorkers is a visibility API to list worker status information in a specific namespace.""" + """ListWorkers is a visibility API to list worker status information in a specific namespace. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateTaskQueueConfig(self, request, context): """Updates task queue configuration. @@ -1441,14 +1464,15 @@ def UpdateTaskQueueConfig(self, request, context): If the overall queue rate limit is unset, the worker-set rate limit takes effect. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def FetchWorkerConfig(self, request, context): - """FetchWorkerConfig returns the worker configuration for a specific worker.""" + """FetchWorkerConfig returns the worker configuration for a specific worker. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateWorkerConfig(self, request, context): """UpdateWorkerConfig updates the worker configuration of one or more workers. @@ -1456,480 +1480,479 @@ def UpdateWorkerConfig(self, request, context): Can be used to update the configuration of multiple workers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_WorkflowServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "RegisterNamespace": grpc.unary_unary_rpc_method_handler( - servicer.RegisterNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.SerializeToString, - ), - "DescribeNamespace": grpc.unary_unary_rpc_method_handler( - servicer.DescribeNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.SerializeToString, - ), - "ListNamespaces": grpc.unary_unary_rpc_method_handler( - servicer.ListNamespaces, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.SerializeToString, - ), - "UpdateNamespace": grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.SerializeToString, - ), - "DeprecateNamespace": grpc.unary_unary_rpc_method_handler( - servicer.DeprecateNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.SerializeToString, - ), - "StartWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.StartWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.SerializeToString, - ), - "ExecuteMultiOperation": grpc.unary_unary_rpc_method_handler( - servicer.ExecuteMultiOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.SerializeToString, - ), - "GetWorkflowExecutionHistory": grpc.unary_unary_rpc_method_handler( - servicer.GetWorkflowExecutionHistory, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.SerializeToString, - ), - "GetWorkflowExecutionHistoryReverse": grpc.unary_unary_rpc_method_handler( - servicer.GetWorkflowExecutionHistoryReverse, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.SerializeToString, - ), - "PollWorkflowTaskQueue": grpc.unary_unary_rpc_method_handler( - servicer.PollWorkflowTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.SerializeToString, - ), - "RespondWorkflowTaskCompleted": grpc.unary_unary_rpc_method_handler( - servicer.RespondWorkflowTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.SerializeToString, - ), - "RespondWorkflowTaskFailed": grpc.unary_unary_rpc_method_handler( - servicer.RespondWorkflowTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.SerializeToString, - ), - "PollActivityTaskQueue": grpc.unary_unary_rpc_method_handler( - servicer.PollActivityTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.SerializeToString, - ), - "RecordActivityTaskHeartbeat": grpc.unary_unary_rpc_method_handler( - servicer.RecordActivityTaskHeartbeat, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.SerializeToString, - ), - "RecordActivityTaskHeartbeatById": grpc.unary_unary_rpc_method_handler( - servicer.RecordActivityTaskHeartbeatById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.SerializeToString, - ), - "RespondActivityTaskCompleted": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.SerializeToString, - ), - "RespondActivityTaskCompletedById": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCompletedById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.SerializeToString, - ), - "RespondActivityTaskFailed": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.SerializeToString, - ), - "RespondActivityTaskFailedById": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskFailedById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.SerializeToString, - ), - "RespondActivityTaskCanceled": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCanceled, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.SerializeToString, - ), - "RespondActivityTaskCanceledById": grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCanceledById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.SerializeToString, - ), - "RequestCancelWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.RequestCancelWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.SerializeToString, - ), - "SignalWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.SignalWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.SerializeToString, - ), - "SignalWithStartWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.SignalWithStartWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.SerializeToString, - ), - "ResetWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.ResetWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.SerializeToString, - ), - "TerminateWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.TerminateWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.SerializeToString, - ), - "DeleteWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.SerializeToString, - ), - "ListOpenWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.ListOpenWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.SerializeToString, - ), - "ListClosedWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.ListClosedWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.SerializeToString, - ), - "ListWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.ListWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.SerializeToString, - ), - "ListArchivedWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.ListArchivedWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.SerializeToString, - ), - "ScanWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.ScanWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.SerializeToString, - ), - "CountWorkflowExecutions": grpc.unary_unary_rpc_method_handler( - servicer.CountWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.SerializeToString, - ), - "GetSearchAttributes": grpc.unary_unary_rpc_method_handler( - servicer.GetSearchAttributes, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.SerializeToString, - ), - "RespondQueryTaskCompleted": grpc.unary_unary_rpc_method_handler( - servicer.RespondQueryTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.SerializeToString, - ), - "ResetStickyTaskQueue": grpc.unary_unary_rpc_method_handler( - servicer.ResetStickyTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.SerializeToString, - ), - "ShutdownWorker": grpc.unary_unary_rpc_method_handler( - servicer.ShutdownWorker, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.SerializeToString, - ), - "QueryWorkflow": grpc.unary_unary_rpc_method_handler( - servicer.QueryWorkflow, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.SerializeToString, - ), - "DescribeWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.SerializeToString, - ), - "DescribeTaskQueue": grpc.unary_unary_rpc_method_handler( - servicer.DescribeTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.SerializeToString, - ), - "GetClusterInfo": grpc.unary_unary_rpc_method_handler( - servicer.GetClusterInfo, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.SerializeToString, - ), - "GetSystemInfo": grpc.unary_unary_rpc_method_handler( - servicer.GetSystemInfo, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.SerializeToString, - ), - "ListTaskQueuePartitions": grpc.unary_unary_rpc_method_handler( - servicer.ListTaskQueuePartitions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.SerializeToString, - ), - "CreateSchedule": grpc.unary_unary_rpc_method_handler( - servicer.CreateSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.SerializeToString, - ), - "DescribeSchedule": grpc.unary_unary_rpc_method_handler( - servicer.DescribeSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.SerializeToString, - ), - "UpdateSchedule": grpc.unary_unary_rpc_method_handler( - servicer.UpdateSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.SerializeToString, - ), - "PatchSchedule": grpc.unary_unary_rpc_method_handler( - servicer.PatchSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.SerializeToString, - ), - "ListScheduleMatchingTimes": grpc.unary_unary_rpc_method_handler( - servicer.ListScheduleMatchingTimes, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.SerializeToString, - ), - "DeleteSchedule": grpc.unary_unary_rpc_method_handler( - servicer.DeleteSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.SerializeToString, - ), - "ListSchedules": grpc.unary_unary_rpc_method_handler( - servicer.ListSchedules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.SerializeToString, - ), - "UpdateWorkerBuildIdCompatibility": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerBuildIdCompatibility, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.SerializeToString, - ), - "GetWorkerBuildIdCompatibility": grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerBuildIdCompatibility, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.SerializeToString, - ), - "UpdateWorkerVersioningRules": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerVersioningRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.SerializeToString, - ), - "GetWorkerVersioningRules": grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerVersioningRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.SerializeToString, - ), - "GetWorkerTaskReachability": grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerTaskReachability, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.SerializeToString, - ), - "DescribeDeployment": grpc.unary_unary_rpc_method_handler( - servicer.DescribeDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.SerializeToString, - ), - "DescribeWorkerDeploymentVersion": grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkerDeploymentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.SerializeToString, - ), - "ListDeployments": grpc.unary_unary_rpc_method_handler( - servicer.ListDeployments, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.SerializeToString, - ), - "GetDeploymentReachability": grpc.unary_unary_rpc_method_handler( - servicer.GetDeploymentReachability, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.SerializeToString, - ), - "GetCurrentDeployment": grpc.unary_unary_rpc_method_handler( - servicer.GetCurrentDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.SerializeToString, - ), - "SetCurrentDeployment": grpc.unary_unary_rpc_method_handler( - servicer.SetCurrentDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.SerializeToString, - ), - "SetWorkerDeploymentCurrentVersion": grpc.unary_unary_rpc_method_handler( - servicer.SetWorkerDeploymentCurrentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.SerializeToString, - ), - "DescribeWorkerDeployment": grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkerDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.SerializeToString, - ), - "DeleteWorkerDeployment": grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkerDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.SerializeToString, - ), - "DeleteWorkerDeploymentVersion": grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkerDeploymentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.SerializeToString, - ), - "SetWorkerDeploymentRampingVersion": grpc.unary_unary_rpc_method_handler( - servicer.SetWorkerDeploymentRampingVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.SerializeToString, - ), - "ListWorkerDeployments": grpc.unary_unary_rpc_method_handler( - servicer.ListWorkerDeployments, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.SerializeToString, - ), - "UpdateWorkerDeploymentVersionMetadata": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerDeploymentVersionMetadata, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.SerializeToString, - ), - "UpdateWorkflowExecution": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.SerializeToString, - ), - "PollWorkflowExecutionUpdate": grpc.unary_unary_rpc_method_handler( - servicer.PollWorkflowExecutionUpdate, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.SerializeToString, - ), - "StartBatchOperation": grpc.unary_unary_rpc_method_handler( - servicer.StartBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.SerializeToString, - ), - "StopBatchOperation": grpc.unary_unary_rpc_method_handler( - servicer.StopBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.SerializeToString, - ), - "DescribeBatchOperation": grpc.unary_unary_rpc_method_handler( - servicer.DescribeBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.SerializeToString, - ), - "ListBatchOperations": grpc.unary_unary_rpc_method_handler( - servicer.ListBatchOperations, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.SerializeToString, - ), - "PollNexusTaskQueue": grpc.unary_unary_rpc_method_handler( - servicer.PollNexusTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.SerializeToString, - ), - "RespondNexusTaskCompleted": grpc.unary_unary_rpc_method_handler( - servicer.RespondNexusTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.SerializeToString, - ), - "RespondNexusTaskFailed": grpc.unary_unary_rpc_method_handler( - servicer.RespondNexusTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.SerializeToString, - ), - "UpdateActivityOptions": grpc.unary_unary_rpc_method_handler( - servicer.UpdateActivityOptions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.SerializeToString, - ), - "UpdateWorkflowExecutionOptions": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkflowExecutionOptions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.SerializeToString, - ), - "PauseActivity": grpc.unary_unary_rpc_method_handler( - servicer.PauseActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.SerializeToString, - ), - "UnpauseActivity": grpc.unary_unary_rpc_method_handler( - servicer.UnpauseActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.SerializeToString, - ), - "ResetActivity": grpc.unary_unary_rpc_method_handler( - servicer.ResetActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.SerializeToString, - ), - "CreateWorkflowRule": grpc.unary_unary_rpc_method_handler( - servicer.CreateWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.SerializeToString, - ), - "DescribeWorkflowRule": grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.SerializeToString, - ), - "DeleteWorkflowRule": grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.SerializeToString, - ), - "ListWorkflowRules": grpc.unary_unary_rpc_method_handler( - servicer.ListWorkflowRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.SerializeToString, - ), - "TriggerWorkflowRule": grpc.unary_unary_rpc_method_handler( - servicer.TriggerWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.SerializeToString, - ), - "RecordWorkerHeartbeat": grpc.unary_unary_rpc_method_handler( - servicer.RecordWorkerHeartbeat, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.SerializeToString, - ), - "ListWorkers": grpc.unary_unary_rpc_method_handler( - servicer.ListWorkers, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.SerializeToString, - ), - "UpdateTaskQueueConfig": grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskQueueConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.SerializeToString, - ), - "FetchWorkerConfig": grpc.unary_unary_rpc_method_handler( - servicer.FetchWorkerConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.SerializeToString, - ), - "UpdateWorkerConfig": grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.SerializeToString, - ), + 'RegisterNamespace': grpc.unary_unary_rpc_method_handler( + servicer.RegisterNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.SerializeToString, + ), + 'DescribeNamespace': grpc.unary_unary_rpc_method_handler( + servicer.DescribeNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.SerializeToString, + ), + 'ListNamespaces': grpc.unary_unary_rpc_method_handler( + servicer.ListNamespaces, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.SerializeToString, + ), + 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.SerializeToString, + ), + 'DeprecateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.DeprecateNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.SerializeToString, + ), + 'StartWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.StartWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.SerializeToString, + ), + 'ExecuteMultiOperation': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteMultiOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.SerializeToString, + ), + 'GetWorkflowExecutionHistory': grpc.unary_unary_rpc_method_handler( + servicer.GetWorkflowExecutionHistory, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.SerializeToString, + ), + 'GetWorkflowExecutionHistoryReverse': grpc.unary_unary_rpc_method_handler( + servicer.GetWorkflowExecutionHistoryReverse, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.SerializeToString, + ), + 'PollWorkflowTaskQueue': grpc.unary_unary_rpc_method_handler( + servicer.PollWorkflowTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.SerializeToString, + ), + 'RespondWorkflowTaskCompleted': grpc.unary_unary_rpc_method_handler( + servicer.RespondWorkflowTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.SerializeToString, + ), + 'RespondWorkflowTaskFailed': grpc.unary_unary_rpc_method_handler( + servicer.RespondWorkflowTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.SerializeToString, + ), + 'PollActivityTaskQueue': grpc.unary_unary_rpc_method_handler( + servicer.PollActivityTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.SerializeToString, + ), + 'RecordActivityTaskHeartbeat': grpc.unary_unary_rpc_method_handler( + servicer.RecordActivityTaskHeartbeat, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.SerializeToString, + ), + 'RecordActivityTaskHeartbeatById': grpc.unary_unary_rpc_method_handler( + servicer.RecordActivityTaskHeartbeatById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.SerializeToString, + ), + 'RespondActivityTaskCompleted': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.SerializeToString, + ), + 'RespondActivityTaskCompletedById': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCompletedById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.SerializeToString, + ), + 'RespondActivityTaskFailed': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.SerializeToString, + ), + 'RespondActivityTaskFailedById': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskFailedById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.SerializeToString, + ), + 'RespondActivityTaskCanceled': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCanceled, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.SerializeToString, + ), + 'RespondActivityTaskCanceledById': grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCanceledById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.SerializeToString, + ), + 'RequestCancelWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.RequestCancelWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.SerializeToString, + ), + 'SignalWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.SignalWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.SerializeToString, + ), + 'SignalWithStartWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.SignalWithStartWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.SerializeToString, + ), + 'ResetWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.ResetWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.SerializeToString, + ), + 'TerminateWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.TerminateWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.SerializeToString, + ), + 'DeleteWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.SerializeToString, + ), + 'ListOpenWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.ListOpenWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.SerializeToString, + ), + 'ListClosedWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.ListClosedWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.SerializeToString, + ), + 'ListWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.ListWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.SerializeToString, + ), + 'ListArchivedWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.ListArchivedWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.SerializeToString, + ), + 'ScanWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.ScanWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.SerializeToString, + ), + 'CountWorkflowExecutions': grpc.unary_unary_rpc_method_handler( + servicer.CountWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.SerializeToString, + ), + 'GetSearchAttributes': grpc.unary_unary_rpc_method_handler( + servicer.GetSearchAttributes, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.SerializeToString, + ), + 'RespondQueryTaskCompleted': grpc.unary_unary_rpc_method_handler( + servicer.RespondQueryTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.SerializeToString, + ), + 'ResetStickyTaskQueue': grpc.unary_unary_rpc_method_handler( + servicer.ResetStickyTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.SerializeToString, + ), + 'ShutdownWorker': grpc.unary_unary_rpc_method_handler( + servicer.ShutdownWorker, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.SerializeToString, + ), + 'QueryWorkflow': grpc.unary_unary_rpc_method_handler( + servicer.QueryWorkflow, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.SerializeToString, + ), + 'DescribeWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.SerializeToString, + ), + 'DescribeTaskQueue': grpc.unary_unary_rpc_method_handler( + servicer.DescribeTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.SerializeToString, + ), + 'GetClusterInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetClusterInfo, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.SerializeToString, + ), + 'GetSystemInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetSystemInfo, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.SerializeToString, + ), + 'ListTaskQueuePartitions': grpc.unary_unary_rpc_method_handler( + servicer.ListTaskQueuePartitions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.SerializeToString, + ), + 'CreateSchedule': grpc.unary_unary_rpc_method_handler( + servicer.CreateSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.SerializeToString, + ), + 'DescribeSchedule': grpc.unary_unary_rpc_method_handler( + servicer.DescribeSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.SerializeToString, + ), + 'UpdateSchedule': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.SerializeToString, + ), + 'PatchSchedule': grpc.unary_unary_rpc_method_handler( + servicer.PatchSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.SerializeToString, + ), + 'ListScheduleMatchingTimes': grpc.unary_unary_rpc_method_handler( + servicer.ListScheduleMatchingTimes, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.SerializeToString, + ), + 'DeleteSchedule': grpc.unary_unary_rpc_method_handler( + servicer.DeleteSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.SerializeToString, + ), + 'ListSchedules': grpc.unary_unary_rpc_method_handler( + servicer.ListSchedules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.SerializeToString, + ), + 'UpdateWorkerBuildIdCompatibility': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerBuildIdCompatibility, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.SerializeToString, + ), + 'GetWorkerBuildIdCompatibility': grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerBuildIdCompatibility, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.SerializeToString, + ), + 'UpdateWorkerVersioningRules': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerVersioningRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.SerializeToString, + ), + 'GetWorkerVersioningRules': grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerVersioningRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.SerializeToString, + ), + 'GetWorkerTaskReachability': grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerTaskReachability, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.SerializeToString, + ), + 'DescribeDeployment': grpc.unary_unary_rpc_method_handler( + servicer.DescribeDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.SerializeToString, + ), + 'DescribeWorkerDeploymentVersion': grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkerDeploymentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.SerializeToString, + ), + 'ListDeployments': grpc.unary_unary_rpc_method_handler( + servicer.ListDeployments, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.SerializeToString, + ), + 'GetDeploymentReachability': grpc.unary_unary_rpc_method_handler( + servicer.GetDeploymentReachability, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.SerializeToString, + ), + 'GetCurrentDeployment': grpc.unary_unary_rpc_method_handler( + servicer.GetCurrentDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.SerializeToString, + ), + 'SetCurrentDeployment': grpc.unary_unary_rpc_method_handler( + servicer.SetCurrentDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.SerializeToString, + ), + 'SetWorkerDeploymentCurrentVersion': grpc.unary_unary_rpc_method_handler( + servicer.SetWorkerDeploymentCurrentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.SerializeToString, + ), + 'DescribeWorkerDeployment': grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkerDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.SerializeToString, + ), + 'DeleteWorkerDeployment': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkerDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.SerializeToString, + ), + 'DeleteWorkerDeploymentVersion': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkerDeploymentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.SerializeToString, + ), + 'SetWorkerDeploymentRampingVersion': grpc.unary_unary_rpc_method_handler( + servicer.SetWorkerDeploymentRampingVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.SerializeToString, + ), + 'ListWorkerDeployments': grpc.unary_unary_rpc_method_handler( + servicer.ListWorkerDeployments, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.SerializeToString, + ), + 'UpdateWorkerDeploymentVersionMetadata': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerDeploymentVersionMetadata, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.SerializeToString, + ), + 'UpdateWorkflowExecution': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.SerializeToString, + ), + 'PollWorkflowExecutionUpdate': grpc.unary_unary_rpc_method_handler( + servicer.PollWorkflowExecutionUpdate, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.SerializeToString, + ), + 'StartBatchOperation': grpc.unary_unary_rpc_method_handler( + servicer.StartBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.SerializeToString, + ), + 'StopBatchOperation': grpc.unary_unary_rpc_method_handler( + servicer.StopBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.SerializeToString, + ), + 'DescribeBatchOperation': grpc.unary_unary_rpc_method_handler( + servicer.DescribeBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.SerializeToString, + ), + 'ListBatchOperations': grpc.unary_unary_rpc_method_handler( + servicer.ListBatchOperations, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.SerializeToString, + ), + 'PollNexusTaskQueue': grpc.unary_unary_rpc_method_handler( + servicer.PollNexusTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.SerializeToString, + ), + 'RespondNexusTaskCompleted': grpc.unary_unary_rpc_method_handler( + servicer.RespondNexusTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.SerializeToString, + ), + 'RespondNexusTaskFailed': grpc.unary_unary_rpc_method_handler( + servicer.RespondNexusTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.SerializeToString, + ), + 'UpdateActivityOptions': grpc.unary_unary_rpc_method_handler( + servicer.UpdateActivityOptions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.SerializeToString, + ), + 'UpdateWorkflowExecutionOptions': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkflowExecutionOptions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.SerializeToString, + ), + 'PauseActivity': grpc.unary_unary_rpc_method_handler( + servicer.PauseActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.SerializeToString, + ), + 'UnpauseActivity': grpc.unary_unary_rpc_method_handler( + servicer.UnpauseActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.SerializeToString, + ), + 'ResetActivity': grpc.unary_unary_rpc_method_handler( + servicer.ResetActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.SerializeToString, + ), + 'CreateWorkflowRule': grpc.unary_unary_rpc_method_handler( + servicer.CreateWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.SerializeToString, + ), + 'DescribeWorkflowRule': grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.SerializeToString, + ), + 'DeleteWorkflowRule': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.SerializeToString, + ), + 'ListWorkflowRules': grpc.unary_unary_rpc_method_handler( + servicer.ListWorkflowRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.SerializeToString, + ), + 'TriggerWorkflowRule': grpc.unary_unary_rpc_method_handler( + servicer.TriggerWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.SerializeToString, + ), + 'RecordWorkerHeartbeat': grpc.unary_unary_rpc_method_handler( + servicer.RecordWorkerHeartbeat, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.SerializeToString, + ), + 'ListWorkers': grpc.unary_unary_rpc_method_handler( + servicer.ListWorkers, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.SerializeToString, + ), + 'UpdateTaskQueueConfig': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskQueueConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.SerializeToString, + ), + 'FetchWorkerConfig': grpc.unary_unary_rpc_method_handler( + servicer.FetchWorkerConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.SerializeToString, + ), + 'UpdateWorkerConfig': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers - ) + 'temporal.api.workflowservice.v1.WorkflowService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class WorkflowService(object): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -1945,2669 +1968,1565 @@ class WorkflowService(object): """ @staticmethod - def RegisterNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RegisterNamespace(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeNamespace(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListNamespaces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListNamespaces(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateNamespace(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeprecateNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeprecateNamespace(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def StartWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def StartWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ExecuteMultiOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ExecuteMultiOperation(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetWorkflowExecutionHistory( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetWorkflowExecutionHistory(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetWorkflowExecutionHistoryReverse( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetWorkflowExecutionHistoryReverse(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PollWorkflowTaskQueue( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PollWorkflowTaskQueue(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondWorkflowTaskCompleted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondWorkflowTaskCompleted(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondWorkflowTaskFailed( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondWorkflowTaskFailed(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PollActivityTaskQueue( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PollActivityTaskQueue(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RecordActivityTaskHeartbeat( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RecordActivityTaskHeartbeat(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RecordActivityTaskHeartbeatById( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RecordActivityTaskHeartbeatById(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskCompleted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskCompleted(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskCompletedById( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskCompletedById(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskFailed( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskFailed(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskFailedById( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskFailedById(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskCanceled( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskCanceled(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondActivityTaskCanceledById( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondActivityTaskCanceledById(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RequestCancelWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RequestCancelWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SignalWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SignalWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SignalWithStartWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SignalWithStartWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ResetWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ResetWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def TerminateWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def TerminateWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListOpenWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListOpenWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListClosedWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListClosedWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListArchivedWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListArchivedWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ScanWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ScanWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CountWorkflowExecutions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def CountWorkflowExecutions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetSearchAttributes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetSearchAttributes(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondQueryTaskCompleted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondQueryTaskCompleted(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ResetStickyTaskQueue( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ResetStickyTaskQueue(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ShutdownWorker( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ShutdownWorker(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def QueryWorkflow( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def QueryWorkflow(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeTaskQueue( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeTaskQueue(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetClusterInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetClusterInfo(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetSystemInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetSystemInfo(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListTaskQueuePartitions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListTaskQueuePartitions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CreateSchedule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def CreateSchedule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeSchedule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeSchedule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateSchedule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateSchedule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PatchSchedule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PatchSchedule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListScheduleMatchingTimes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListScheduleMatchingTimes(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteSchedule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteSchedule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListSchedules( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListSchedules(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListSchedules', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkerBuildIdCompatibility( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkerBuildIdCompatibility(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetWorkerBuildIdCompatibility( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetWorkerBuildIdCompatibility(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkerVersioningRules( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkerVersioningRules(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetWorkerVersioningRules( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetWorkerVersioningRules(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetWorkerTaskReachability( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetWorkerTaskReachability(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeDeployment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeDeployment(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeWorkerDeploymentVersion( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeWorkerDeploymentVersion(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListDeployments( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListDeployments(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListDeployments', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetDeploymentReachability( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetDeploymentReachability(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def GetCurrentDeployment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def GetCurrentDeployment(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SetCurrentDeployment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SetCurrentDeployment(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SetWorkerDeploymentCurrentVersion( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SetWorkerDeploymentCurrentVersion(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeWorkerDeployment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeWorkerDeployment(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteWorkerDeployment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteWorkerDeployment(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteWorkerDeploymentVersion( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteWorkerDeploymentVersion(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SetWorkerDeploymentRampingVersion( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def SetWorkerDeploymentRampingVersion(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListWorkerDeployments( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListWorkerDeployments(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkerDeploymentVersionMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkerDeploymentVersionMetadata(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkflowExecution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkflowExecution(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PollWorkflowExecutionUpdate( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PollWorkflowExecutionUpdate(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def StartBatchOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def StartBatchOperation(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def StopBatchOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def StopBatchOperation(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeBatchOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeBatchOperation(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListBatchOperations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListBatchOperations(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PollNexusTaskQueue( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PollNexusTaskQueue(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondNexusTaskCompleted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondNexusTaskCompleted(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RespondNexusTaskFailed( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RespondNexusTaskFailed(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateActivityOptions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateActivityOptions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkflowExecutionOptions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkflowExecutionOptions(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PauseActivity( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def PauseActivity(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PauseActivity', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UnpauseActivity( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UnpauseActivity(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ResetActivity( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ResetActivity(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetActivity', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CreateWorkflowRule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def CreateWorkflowRule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DescribeWorkflowRule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DescribeWorkflowRule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteWorkflowRule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def DeleteWorkflowRule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListWorkflowRules( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListWorkflowRules(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def TriggerWorkflowRule( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def TriggerWorkflowRule(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def RecordWorkerHeartbeat( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def RecordWorkerHeartbeat(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListWorkers( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def ListWorkers(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkers', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateTaskQueueConfig( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateTaskQueueConfig(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def FetchWorkerConfig( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def FetchWorkerConfig(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def UpdateWorkerConfig( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): - return grpc.experimental.unary_unary( - request, + def UpdateWorkerConfig(request, target, - "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig', temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - ) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi index 6da9c7db3..4d1980f05 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi @@ -2,11 +2,8 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import abc - import grpc - import temporalio.api.workflowservice.v1.request_response_pb2 class WorkflowServiceStub: @@ -907,9 +904,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse: """RegisterNamespace creates a new namespace which can be used as a container for all resources. A Namespace is a top level entity within Temporal, and is used as a container for resources @@ -922,9 +917,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse: """DescribeNamespace returns the information and configuration for a registered namespace.""" @abc.abstractmethod def ListNamespaces( @@ -1000,8 +993,8 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, context: grpc.ServicerContext, ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse: - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ @abc.abstractmethod @@ -1394,13 +1387,11 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse: """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - - List of pollers - - Workflow Reachability status - - Backlog info for Workflow and/or Activity tasks + - List of pollers + - Workflow Reachability status + - Backlog info for Workflow and/or Activity tasks """ @abc.abstractmethod def GetClusterInfo( @@ -1423,7 +1414,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): context: grpc.ServicerContext, ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse: """(-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) + aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ @abc.abstractmethod def CreateSchedule( @@ -1437,9 +1428,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse: """Returns the schedule description and current state of an existing schedule.""" @abc.abstractmethod def UpdateSchedule( @@ -1490,7 +1479,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): members are compatible with one another. A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. + multiple workers. To query which workers can be retired, use the `GetWorkerTaskReachability` API. @@ -1902,9 +1891,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse: """Return all namespace workflow rules""" @abc.abstractmethod def TriggerWorkflowRule( @@ -1947,9 +1934,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse - ): + ) -> temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse: """FetchWorkerConfig returns the worker configuration for a specific worker.""" @abc.abstractmethod def UpdateWorkerConfig( @@ -1962,6 +1947,4 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Can be used to update the configuration of multiple workers. """ -def add_WorkflowServiceServicer_to_server( - servicer: WorkflowServiceServicer, server: grpc.Server -) -> None: ... +def add_WorkflowServiceServicer_to_server(servicer: WorkflowServiceServicer, server: grpc.Server) -> None: ... diff --git a/temporalio/bridge/proto/__init__.py b/temporalio/bridge/proto/__init__.py index d4e90a2fc..e6988dd2c 100644 --- a/temporalio/bridge/proto/__init__.py +++ b/temporalio/bridge/proto/__init__.py @@ -1,11 +1,9 @@ -from .core_interface_pb2 import ( - ActivityHeartbeat, - ActivitySlotInfo, - ActivityTaskCompletion, - LocalActivitySlotInfo, - NexusSlotInfo, - WorkflowSlotInfo, -) +from .core_interface_pb2 import ActivityHeartbeat +from .core_interface_pb2 import ActivityTaskCompletion +from .core_interface_pb2 import WorkflowSlotInfo +from .core_interface_pb2 import ActivitySlotInfo +from .core_interface_pb2 import LocalActivitySlotInfo +from .core_interface_pb2 import NexusSlotInfo __all__ = [ "ActivityHeartbeat", diff --git a/temporalio/bridge/proto/activity_result/__init__.py b/temporalio/bridge/proto/activity_result/__init__.py index c910af687..12cf10c4f 100644 --- a/temporalio/bridge/proto/activity_result/__init__.py +++ b/temporalio/bridge/proto/activity_result/__init__.py @@ -1,12 +1,10 @@ -from .activity_result_pb2 import ( - ActivityExecutionResult, - ActivityResolution, - Cancellation, - DoBackoff, - Failure, - Success, - WillCompleteAsync, -) +from .activity_result_pb2 import ActivityExecutionResult +from .activity_result_pb2 import ActivityResolution +from .activity_result_pb2 import Success +from .activity_result_pb2 import Failure +from .activity_result_pb2 import Cancellation +from .activity_result_pb2 import WillCompleteAsync +from .activity_result_pb2 import DoBackoff __all__ = [ "ActivityExecutionResult", diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.py b/temporalio/bridge/proto/activity_result/activity_result_pb2.py index 77029baca..148d418e8 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.py +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/activity_result/activity_result.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,120 +14,86 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status\"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32\".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status\":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\x13\n\x11WillCompleteAsync\"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3') -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x13\n\x11WillCompleteAsync"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3' -) - - -_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name["ActivityExecutionResult"] -_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name["ActivityResolution"] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] -_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name["WillCompleteAsync"] -_DOBACKOFF = DESCRIPTOR.message_types_by_name["DoBackoff"] -ActivityExecutionResult = _reflection.GeneratedProtocolMessageType( - "ActivityExecutionResult", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYEXECUTIONRESULT, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) - }, -) + + +_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name['ActivityExecutionResult'] +_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name['ActivityResolution'] +_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] +_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] +_CANCELLATION = DESCRIPTOR.message_types_by_name['Cancellation'] +_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name['WillCompleteAsync'] +_DOBACKOFF = DESCRIPTOR.message_types_by_name['DoBackoff'] +ActivityExecutionResult = _reflection.GeneratedProtocolMessageType('ActivityExecutionResult', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYEXECUTIONRESULT, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) + }) _sym_db.RegisterMessage(ActivityExecutionResult) -ActivityResolution = _reflection.GeneratedProtocolMessageType( - "ActivityResolution", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYRESOLUTION, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) - }, -) +ActivityResolution = _reflection.GeneratedProtocolMessageType('ActivityResolution', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYRESOLUTION, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) + }) _sym_db.RegisterMessage(ActivityResolution) -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) - }, -) +Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { + 'DESCRIPTOR' : _SUCCESS, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) + }) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) - }, -) +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) + }) _sym_db.RegisterMessage(Failure) -Cancellation = _reflection.GeneratedProtocolMessageType( - "Cancellation", - (_message.Message,), - { - "DESCRIPTOR": _CANCELLATION, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) - }, -) +Cancellation = _reflection.GeneratedProtocolMessageType('Cancellation', (_message.Message,), { + 'DESCRIPTOR' : _CANCELLATION, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) + }) _sym_db.RegisterMessage(Cancellation) -WillCompleteAsync = _reflection.GeneratedProtocolMessageType( - "WillCompleteAsync", - (_message.Message,), - { - "DESCRIPTOR": _WILLCOMPLETEASYNC, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) - }, -) +WillCompleteAsync = _reflection.GeneratedProtocolMessageType('WillCompleteAsync', (_message.Message,), { + 'DESCRIPTOR' : _WILLCOMPLETEASYNC, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) + }) _sym_db.RegisterMessage(WillCompleteAsync) -DoBackoff = _reflection.GeneratedProtocolMessageType( - "DoBackoff", - (_message.Message,), - { - "DESCRIPTOR": _DOBACKOFF, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) - }, -) +DoBackoff = _reflection.GeneratedProtocolMessageType('DoBackoff', (_message.Message,), { + 'DESCRIPTOR' : _DOBACKOFF, + '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) + }) _sym_db.RegisterMessage(DoBackoff) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0021Temporalio::Internal::Bridge::Api::ActivityResult" - ) - _ACTIVITYEXECUTIONRESULT._serialized_start = 227 - _ACTIVITYEXECUTIONRESULT._serialized_end = 504 - _ACTIVITYRESOLUTION._serialized_start = 507 - _ACTIVITYRESOLUTION._serialized_end = 759 - _SUCCESS._serialized_start = 761 - _SUCCESS._serialized_end = 819 - _FAILURE._serialized_start = 821 - _FAILURE._serialized_end = 881 - _CANCELLATION._serialized_start = 883 - _CANCELLATION._serialized_end = 948 - _WILLCOMPLETEASYNC._serialized_start = 950 - _WILLCOMPLETEASYNC._serialized_end = 969 - _DOBACKOFF._serialized_start = 972 - _DOBACKOFF._serialized_end = 1113 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0021Temporalio::Internal::Bridge::Api::ActivityResult' + _ACTIVITYEXECUTIONRESULT._serialized_start=227 + _ACTIVITYEXECUTIONRESULT._serialized_end=504 + _ACTIVITYRESOLUTION._serialized_start=507 + _ACTIVITYRESOLUTION._serialized_end=759 + _SUCCESS._serialized_start=761 + _SUCCESS._serialized_end=819 + _FAILURE._serialized_start=821 + _FAILURE._serialized_end=881 + _CANCELLATION._serialized_start=883 + _CANCELLATION._serialized_end=948 + _WILLCOMPLETEASYNC._serialized_start=950 + _WILLCOMPLETEASYNC._serialized_end=969 + _DOBACKOFF._serialized_start=972 + _DOBACKOFF._serialized_end=1113 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi index bae35a91d..251c3b677 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi @@ -2,15 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 @@ -46,44 +43,9 @@ class ActivityExecutionResult(google.protobuf.message.Message): cancelled: global___Cancellation | None = ..., will_complete_async: global___WillCompleteAsync | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - "will_complete_async", - b"will_complete_async", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - "will_complete_async", - b"will_complete_async", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal[ - "completed", "failed", "cancelled", "will_complete_async" - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "will_complete_async", b"will_complete_async"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "will_complete_async", b"will_complete_async"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "will_complete_async"] | None: ... global___ActivityExecutionResult = ActivityExecutionResult @@ -114,41 +76,9 @@ class ActivityResolution(google.protobuf.message.Message): cancelled: global___Cancellation | None = ..., backoff: global___DoBackoff | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "backoff", - b"backoff", - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "backoff", - b"backoff", - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None: ... global___ActivityResolution = ActivityResolution @@ -165,12 +95,8 @@ class Success(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... global___Success = Success @@ -187,12 +113,8 @@ class Failure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___Failure = Failure @@ -214,12 +136,8 @@ class Cancellation(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___Cancellation = Cancellation @@ -271,25 +189,7 @@ class DoBackoff(google.protobuf.message.Message): backoff_duration: google.protobuf.duration_pb2.Duration | None = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "backoff_duration", - b"backoff_duration", - "original_schedule_time", - b"original_schedule_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "attempt", - b"attempt", - "backoff_duration", - b"backoff_duration", - "original_schedule_time", - b"original_schedule_time", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["backoff_duration", b"backoff_duration", "original_schedule_time", b"original_schedule_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "backoff_duration", b"backoff_duration", "original_schedule_time", b"original_schedule_time"]) -> None: ... global___DoBackoff = DoBackoff diff --git a/temporalio/bridge/proto/activity_task/__init__.py b/temporalio/bridge/proto/activity_task/__init__.py index 779ebf353..2428e5dae 100644 --- a/temporalio/bridge/proto/activity_task/__init__.py +++ b/temporalio/bridge/proto/activity_task/__init__.py @@ -1,10 +1,8 @@ -from .activity_task_pb2 import ( - ActivityCancellationDetails, - ActivityCancelReason, - ActivityTask, - Cancel, - Start, -) +from .activity_task_pb2 import ActivityCancelReason +from .activity_task_pb2 import ActivityTask +from .activity_task_pb2 import Start +from .activity_task_pb2 import Cancel +from .activity_task_pb2 import ActivityCancellationDetails __all__ = [ "ActivityCancelReason", diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.py b/temporalio/bridge/proto/activity_task/activity_task_pb2.py index abb166222..b89fb399a 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.py +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.py @@ -2,14 +2,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/activity_task/activity_task.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,19 +15,13 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant"\xa1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant\"\xa1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails\"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3') -_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name["ActivityCancelReason"] +_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name['ActivityCancelReason'] ActivityCancelReason = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELREASON) NOT_FOUND = 0 CANCELLED = 1 @@ -39,84 +31,63 @@ RESET = 5 -_ACTIVITYTASK = DESCRIPTOR.message_types_by_name["ActivityTask"] -_START = DESCRIPTOR.message_types_by_name["Start"] -_START_HEADERFIELDSENTRY = _START.nested_types_by_name["HeaderFieldsEntry"] -_CANCEL = DESCRIPTOR.message_types_by_name["Cancel"] -_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name[ - "ActivityCancellationDetails" -] -ActivityTask = _reflection.GeneratedProtocolMessageType( - "ActivityTask", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASK, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) - }, -) +_ACTIVITYTASK = DESCRIPTOR.message_types_by_name['ActivityTask'] +_START = DESCRIPTOR.message_types_by_name['Start'] +_START_HEADERFIELDSENTRY = _START.nested_types_by_name['HeaderFieldsEntry'] +_CANCEL = DESCRIPTOR.message_types_by_name['Cancel'] +_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name['ActivityCancellationDetails'] +ActivityTask = _reflection.GeneratedProtocolMessageType('ActivityTask', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASK, + '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) + }) _sym_db.RegisterMessage(ActivityTask) -Start = _reflection.GeneratedProtocolMessageType( - "Start", - (_message.Message,), - { - "HeaderFieldsEntry": _reflection.GeneratedProtocolMessageType( - "HeaderFieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _START_HEADERFIELDSENTRY, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) - }, - ), - "DESCRIPTOR": _START, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) - }, -) +Start = _reflection.GeneratedProtocolMessageType('Start', (_message.Message,), { + + 'HeaderFieldsEntry' : _reflection.GeneratedProtocolMessageType('HeaderFieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _START_HEADERFIELDSENTRY, + '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) + }) + , + 'DESCRIPTOR' : _START, + '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) + }) _sym_db.RegisterMessage(Start) _sym_db.RegisterMessage(Start.HeaderFieldsEntry) -Cancel = _reflection.GeneratedProtocolMessageType( - "Cancel", - (_message.Message,), - { - "DESCRIPTOR": _CANCEL, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) - }, -) +Cancel = _reflection.GeneratedProtocolMessageType('Cancel', (_message.Message,), { + 'DESCRIPTOR' : _CANCEL, + '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) + }) _sym_db.RegisterMessage(Cancel) -ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType( - "ActivityCancellationDetails", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYCANCELLATIONDETAILS, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) - }, -) +ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType('ActivityCancellationDetails', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYCANCELLATIONDETAILS, + '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) + }) _sym_db.RegisterMessage(ActivityCancellationDetails) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" - ) - _START_HEADERFIELDSENTRY._options = None - _START_HEADERFIELDSENTRY._serialized_options = b"8\001" - _ACTIVITYCANCELREASON._serialized_start = 1600 - _ACTIVITYCANCELREASON._serialized_end = 1711 - _ACTIVITYTASK._serialized_start = 221 - _ACTIVITYTASK._serialized_end = 362 - _START._serialized_start = 365 - _START._serialized_end = 1294 - _START_HEADERFIELDSENTRY._serialized_start = 1210 - _START_HEADERFIELDSENTRY._serialized_end = 1294 - _CANCEL._serialized_start = 1297 - _CANCEL._serialized_end = 1435 - _ACTIVITYCANCELLATIONDETAILS._serialized_start = 1438 - _ACTIVITYCANCELLATIONDETAILS._serialized_end = 1598 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\002/Temporalio::Internal::Bridge::Api::ActivityTask' + _START_HEADERFIELDSENTRY._options = None + _START_HEADERFIELDSENTRY._serialized_options = b'8\001' + _ACTIVITYCANCELREASON._serialized_start=1600 + _ACTIVITYCANCELREASON._serialized_end=1711 + _ACTIVITYTASK._serialized_start=221 + _ACTIVITYTASK._serialized_end=362 + _START._serialized_start=365 + _START._serialized_end=1294 + _START_HEADERFIELDSENTRY._serialized_start=1210 + _START_HEADERFIELDSENTRY._serialized_end=1294 + _CANCEL._serialized_start=1297 + _CANCEL._serialized_end=1435 + _ACTIVITYCANCELLATIONDETAILS._serialized_start=1438 + _ACTIVITYCANCELLATIONDETAILS._serialized_end=1598 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi index 6d977759c..32ab663af 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi @@ -4,20 +4,17 @@ isort:skip_file * Definitions of the different activity tasks returned from [crate::Core::poll_task]. """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -30,12 +27,7 @@ class _ActivityCancelReason: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ActivityCancelReasonEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ActivityCancelReason.ValueType - ], - builtins.type, -): # noqa: F821 +class _ActivityCancelReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ActivityCancelReason.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NOT_FOUND: _ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -50,9 +42,7 @@ class _ActivityCancelReasonEnumTypeWrapper( RESET: _ActivityCancelReason.ValueType # 5 """Activity was reset""" -class ActivityCancelReason( - _ActivityCancelReason, metaclass=_ActivityCancelReasonEnumTypeWrapper -): ... +class ActivityCancelReason(_ActivityCancelReason, metaclass=_ActivityCancelReasonEnumTypeWrapper): ... NOT_FOUND: ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -89,28 +79,9 @@ class ActivityTask(google.protobuf.message.Message): start: global___Start | None = ..., cancel: global___Cancel | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel", b"cancel", "start", b"start", "variant", b"variant" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel", - b"cancel", - "start", - b"start", - "task_token", - b"task_token", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start", "cancel"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancel", b"cancel", "start", b"start", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel", b"cancel", "start", b"start", "task_token", b"task_token", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start", "cancel"] | None: ... global___ActivityTask = ActivityTask @@ -133,13 +104,8 @@ class Start(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... WORKFLOW_NAMESPACE_FIELD_NUMBER: builtins.int WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -164,33 +130,19 @@ class Start(google.protobuf.message.Message): workflow_type: builtins.str """The workflow's type name or function identifier""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow execution which requested this activity""" activity_id: builtins.str """The activity's ID""" activity_type: builtins.str """The activity's type name or function identifier""" @property - def header_fields( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: ... + def header_fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... @property - def input( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Arguments to the activity""" @property - def heartbeat_details( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def heartbeat_details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """The last details that were recorded by a heartbeat when this task was generated""" @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -229,23 +181,14 @@ class Start(google.protobuf.message.Message): *, workflow_namespace: builtins.str = ..., workflow_type: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., activity_id: builtins.str = ..., activity_type: builtins.str = ..., - header_fields: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., - heartbeat_details: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + header_fields: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + heartbeat_details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., + current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -255,70 +198,8 @@ class Start(google.protobuf.message.Message): priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., is_local: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "current_attempt_scheduled_time", - b"current_attempt_scheduled_time", - "heartbeat_timeout", - b"heartbeat_timeout", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_time", - b"scheduled_time", - "start_to_close_timeout", - b"start_to_close_timeout", - "started_time", - b"started_time", - "workflow_execution", - b"workflow_execution", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "attempt", - b"attempt", - "current_attempt_scheduled_time", - b"current_attempt_scheduled_time", - "header_fields", - b"header_fields", - "heartbeat_details", - b"heartbeat_details", - "heartbeat_timeout", - b"heartbeat_timeout", - "input", - b"input", - "is_local", - b"is_local", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "scheduled_time", - b"scheduled_time", - "start_to_close_timeout", - b"start_to_close_timeout", - "started_time", - b"started_time", - "workflow_execution", - b"workflow_execution", - "workflow_namespace", - b"workflow_namespace", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["current_attempt_scheduled_time", b"current_attempt_scheduled_time", "heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header_fields", b"header_fields", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "is_local", b"is_local", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_namespace", b"workflow_namespace", "workflow_type", b"workflow_type"]) -> None: ... global___Start = Start @@ -340,15 +221,8 @@ class Cancel(google.protobuf.message.Message): reason: global___ActivityCancelReason.ValueType = ..., details: global___ActivityCancellationDetails | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "reason", b"reason" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "reason", b"reason"]) -> None: ... global___Cancel = Cancel @@ -377,22 +251,6 @@ class ActivityCancellationDetails(google.protobuf.message.Message): is_worker_shutdown: builtins.bool = ..., is_reset: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "is_cancelled", - b"is_cancelled", - "is_not_found", - b"is_not_found", - "is_paused", - b"is_paused", - "is_reset", - b"is_reset", - "is_timed_out", - b"is_timed_out", - "is_worker_shutdown", - b"is_worker_shutdown", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["is_cancelled", b"is_cancelled", "is_not_found", b"is_not_found", "is_paused", b"is_paused", "is_reset", b"is_reset", "is_timed_out", b"is_timed_out", "is_worker_shutdown", b"is_worker_shutdown"]) -> None: ... global___ActivityCancellationDetails = ActivityCancellationDetails diff --git a/temporalio/bridge/proto/child_workflow/__init__.py b/temporalio/bridge/proto/child_workflow/__init__.py index 59853e27b..5e0862a45 100644 --- a/temporalio/bridge/proto/child_workflow/__init__.py +++ b/temporalio/bridge/proto/child_workflow/__init__.py @@ -1,12 +1,10 @@ -from .child_workflow_pb2 import ( - Cancellation, - ChildWorkflowCancellationType, - ChildWorkflowResult, - Failure, - ParentClosePolicy, - StartChildWorkflowExecutionFailedCause, - Success, -) +from .child_workflow_pb2 import ParentClosePolicy +from .child_workflow_pb2 import StartChildWorkflowExecutionFailedCause +from .child_workflow_pb2 import ChildWorkflowCancellationType +from .child_workflow_pb2 import ChildWorkflowResult +from .child_workflow_pb2 import Success +from .child_workflow_pb2 import Failure +from .child_workflow_pb2 import Cancellation __all__ = [ "Cancellation", diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py index e8e485e02..1b7c0f91f 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py @@ -2,47 +2,30 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/child_workflow/child_workflow.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status\":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3') -_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] +_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name['ParentClosePolicy'] ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) -_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name[ - "StartChildWorkflowExecutionFailedCause" -] -StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper( - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE -) -_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ - "ChildWorkflowCancellationType" -] -ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper( - _CHILDWORKFLOWCANCELLATIONTYPE -) +_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name['StartChildWorkflowExecutionFailedCause'] +StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper(_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE) +_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['ChildWorkflowCancellationType'] +ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper(_CHILDWORKFLOWCANCELLATIONTYPE) PARENT_CLOSE_POLICY_UNSPECIFIED = 0 PARENT_CLOSE_POLICY_TERMINATE = 1 PARENT_CLOSE_POLICY_ABANDON = 2 @@ -55,71 +38,54 @@ WAIT_CANCELLATION_REQUESTED = 3 -_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name["ChildWorkflowResult"] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] -ChildWorkflowResult = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowResult", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWRESULT, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) - }, -) +_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name['ChildWorkflowResult'] +_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] +_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] +_CANCELLATION = DESCRIPTOR.message_types_by_name['Cancellation'] +ChildWorkflowResult = _reflection.GeneratedProtocolMessageType('ChildWorkflowResult', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWRESULT, + '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) + }) _sym_db.RegisterMessage(ChildWorkflowResult) -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) - }, -) +Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { + 'DESCRIPTOR' : _SUCCESS, + '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) + }) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) - }, -) +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) + }) _sym_db.RegisterMessage(Failure) -Cancellation = _reflection.GeneratedProtocolMessageType( - "Cancellation", - (_message.Message,), - { - "DESCRIPTOR": _CANCELLATION, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) - }, -) +Cancellation = _reflection.GeneratedProtocolMessageType('Cancellation', (_message.Message,), { + 'DESCRIPTOR' : _CANCELLATION, + '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) + }) _sym_db.RegisterMessage(Cancellation) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" - ) - _PARENTCLOSEPOLICY._serialized_start = 585 - _PARENTCLOSEPOLICY._serialized_end = 749 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start = 752 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end = 926 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start = 928 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end = 1054 - _CHILDWORKFLOWRESULT._serialized_start = 198 - _CHILDWORKFLOWRESULT._serialized_end = 393 - _SUCCESS._serialized_start = 395 - _SUCCESS._serialized_end = 453 - _FAILURE._serialized_start = 455 - _FAILURE._serialized_end = 515 - _CANCELLATION._serialized_start = 517 - _CANCELLATION._serialized_end = 582 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow' + _PARENTCLOSEPOLICY._serialized_start=585 + _PARENTCLOSEPOLICY._serialized_end=749 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start=752 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end=926 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start=928 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end=1054 + _CHILDWORKFLOWRESULT._serialized_start=198 + _CHILDWORKFLOWRESULT._serialized_end=393 + _SUCCESS._serialized_start=395 + _SUCCESS._serialized_end=453 + _FAILURE._serialized_start=455 + _FAILURE._serialized_end=515 + _CANCELLATION._serialized_start=517 + _CANCELLATION._serialized_end=582 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi index a41c5b2be..85fe06d28 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi @@ -2,17 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -25,12 +22,7 @@ class _ParentClosePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ParentClosePolicyEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ParentClosePolicy.ValueType - ], - builtins.type, -): # noqa: F821 +class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ParentClosePolicy.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 """Let's the server set the default.""" @@ -41,9 +33,7 @@ class _ParentClosePolicyEnumTypeWrapper( PARENT_CLOSE_POLICY_REQUEST_CANCEL: _ParentClosePolicy.ValueType # 3 """Cancel means requesting cancellation on the child workflow.""" -class ParentClosePolicy( - _ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper -): +class ParentClosePolicy(_ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper): """Used by the service to determine the fate of a child workflow in case its parent is closed. """ @@ -62,44 +52,23 @@ class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _StartChildWorkflowExecutionFailedCause.ValueType - ], - builtins.type, -): # noqa: F821 +class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_StartChildWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - _StartChildWorkflowExecutionFailedCause.ValueType - ) # 0 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( - _StartChildWorkflowExecutionFailedCause.ValueType - ) # 1 - -class StartChildWorkflowExecutionFailedCause( - _StartChildWorkflowExecutionFailedCause, - metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper, -): + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _StartChildWorkflowExecutionFailedCause.ValueType # 0 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: _StartChildWorkflowExecutionFailedCause.ValueType # 1 + +class StartChildWorkflowExecutionFailedCause(_StartChildWorkflowExecutionFailedCause, metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper): """Possible causes of failure to start a child workflow""" -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( - StartChildWorkflowExecutionFailedCause.ValueType -) # 0 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( - StartChildWorkflowExecutionFailedCause.ValueType -) # 1 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: StartChildWorkflowExecutionFailedCause.ValueType # 0 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: StartChildWorkflowExecutionFailedCause.ValueType # 1 global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause class _ChildWorkflowCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ChildWorkflowCancellationTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ChildWorkflowCancellationType.ValueType - ], - builtins.type, -): # noqa: F821 +class _ChildWorkflowCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ChildWorkflowCancellationType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ABANDON: _ChildWorkflowCancellationType.ValueType # 0 """Do not request cancellation of the child workflow if already scheduled""" @@ -110,10 +79,7 @@ class _ChildWorkflowCancellationTypeEnumTypeWrapper( WAIT_CANCELLATION_REQUESTED: _ChildWorkflowCancellationType.ValueType # 3 """Request cancellation of the child and wait for confirmation that the request was received.""" -class ChildWorkflowCancellationType( - _ChildWorkflowCancellationType, - metaclass=_ChildWorkflowCancellationTypeEnumTypeWrapper, -): +class ChildWorkflowCancellationType(_ChildWorkflowCancellationType, metaclass=_ChildWorkflowCancellationTypeEnumTypeWrapper): """Controls at which point to report back to lang when a child workflow is cancelled""" ABANDON: ChildWorkflowCancellationType.ValueType # 0 @@ -147,35 +113,9 @@ class ChildWorkflowResult(google.protobuf.message.Message): failed: global___Failure | None = ..., cancelled: global___Cancellation | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... global___ChildWorkflowResult = ChildWorkflowResult @@ -192,12 +132,8 @@ class Success(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... global___Success = Success @@ -216,12 +152,8 @@ class Failure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___Failure = Failure @@ -240,11 +172,7 @@ class Cancellation(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___Cancellation = Cancellation diff --git a/temporalio/bridge/proto/common/__init__.py b/temporalio/bridge/proto/common/__init__.py index 5622fffb8..83fb42cb3 100644 --- a/temporalio/bridge/proto/common/__init__.py +++ b/temporalio/bridge/proto/common/__init__.py @@ -1,8 +1,6 @@ -from .common_pb2 import ( - NamespacedWorkflowExecution, - VersioningIntent, - WorkerDeploymentVersion, -) +from .common_pb2 import VersioningIntent +from .common_pb2 import NamespacedWorkflowExecution +from .common_pb2 import WorkerDeploymentVersion __all__ = [ "NamespacedWorkflowExecution", diff --git a/temporalio/bridge/proto/common/common_pb2.py b/temporalio/bridge/proto/common/common_pb2.py index c56456fce..56325116d 100644 --- a/temporalio/bridge/proto/common/common_pb2.py +++ b/temporalio/bridge/proto/common/common_pb2.py @@ -2,14 +2,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/common/common.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,52 +15,40 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3' -) -_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name["VersioningIntent"] +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto\"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3') + +_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name['VersioningIntent'] VersioningIntent = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGINTENT) UNSPECIFIED = 0 COMPATIBLE = 1 DEFAULT = 2 -_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "NamespacedWorkflowExecution" -] -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] -NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "NamespacedWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.common.common_pb2", - # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) - }, -) +_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['NamespacedWorkflowExecution'] +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersion'] +NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType('NamespacedWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _NAMESPACEDWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.common.common_pb2' + # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) + }) _sym_db.RegisterMessage(NamespacedWorkflowExecution) -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersion", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, - "__module__": "temporal.sdk.core.common.common_pb2", - # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) - }, -) +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersion', (_message.Message,), { + 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSION, + '__module__' : 'temporal.sdk.core.common.common_pb2' + # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) + }) _sym_db.RegisterMessage(WorkerDeploymentVersion) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002)Temporalio::Internal::Bridge::Api::Common" - ) - _VERSIONINGINTENT._serialized_start = 246 - _VERSIONINGINTENT._serialized_end = 310 - _NAMESPACEDWORKFLOWEXECUTION._serialized_start = 89 - _NAMESPACEDWORKFLOWEXECUTION._serialized_end = 174 - _WORKERDEPLOYMENTVERSION._serialized_start = 176 - _WORKERDEPLOYMENTVERSION._serialized_end = 244 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\002)Temporalio::Internal::Bridge::Api::Common' + _VERSIONINGINTENT._serialized_start=246 + _VERSIONINGINTENT._serialized_end=310 + _NAMESPACEDWORKFLOWEXECUTION._serialized_start=89 + _NAMESPACEDWORKFLOWEXECUTION._serialized_end=174 + _WORKERDEPLOYMENTVERSION._serialized_start=176 + _WORKERDEPLOYMENTVERSION._serialized_end=244 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/common/common_pb2.pyi b/temporalio/bridge/proto/common/common_pb2.pyi index 739a129e1..197f079b4 100644 --- a/temporalio/bridge/proto/common/common_pb2.pyi +++ b/temporalio/bridge/proto/common/common_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -22,12 +20,7 @@ class _VersioningIntent: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersioningIntentEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _VersioningIntent.ValueType - ], - builtins.type, -): # noqa: F821 +class _VersioningIntentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersioningIntent.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: _VersioningIntent.ValueType # 0 """Indicates that core should choose the most sensible default behavior for the type of @@ -86,17 +79,7 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", - b"namespace", - "run_id", - b"run_id", - "workflow_id", - b"workflow_id", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___NamespacedWorkflowExecution = NamespacedWorkflowExecution @@ -113,11 +96,6 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): deployment_name: builtins.str = ..., build_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "build_id", b"build_id", "deployment_name", b"deployment_name" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name"]) -> None: ... global___WorkerDeploymentVersion = WorkerDeploymentVersion diff --git a/temporalio/bridge/proto/core_interface_pb2.py b/temporalio/bridge/proto/core_interface_pb2.py index 7531a37a5..eb779717e 100644 --- a/temporalio/bridge/proto/core_interface_pb2.py +++ b/temporalio/bridge/proto/core_interface_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/core_interface.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,124 +15,82 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.bridge.proto.activity_result import activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2 +from temporalio.bridge.proto.activity_task import activity_task_pb2 as temporal_dot_sdk_dot_core_dot_activity__task_dot_activity__task__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 +from temporalio.bridge.proto.external_data import external_data_pb2 as temporal_dot_sdk_dot_core_dot_external__data_dot_external__data__pb2 +from temporalio.bridge.proto.workflow_activation import workflow_activation_pb2 as temporal_dot_sdk_dot_core_dot_workflow__activation_dot_workflow__activation__pb2 +from temporalio.bridge.proto.workflow_commands import workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2 +from temporalio.bridge.proto.workflow_completion import workflow_completion_pb2 as temporal_dot_sdk_dot_core_dot_workflow__completion_dot_workflow__completion__pb2 -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.bridge.proto.activity_result import ( - activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2, -) -from temporalio.bridge.proto.activity_task import ( - activity_task_pb2 as temporal_dot_sdk_dot_core_dot_activity__task_dot_activity__task__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) -from temporalio.bridge.proto.external_data import ( - external_data_pb2 as temporal_dot_sdk_dot_core_dot_external__data_dot_external__data__pb2, -) -from temporalio.bridge.proto.workflow_activation import ( - workflow_activation_pb2 as temporal_dot_sdk_dot_core_dot_workflow__activation_dot_workflow__activation__pb2, -) -from temporalio.bridge.proto.workflow_commands import ( - workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2, -) -from temporalio.bridge.proto.workflow_completion import ( - workflow_completion_pb2 as temporal_dot_sdk_dot_core_dot_workflow__completion_dot_workflow__completion__pb2, -) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\tB3\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto\"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult\"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08\")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t\".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t\"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\tB3\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3') -_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name["ActivityHeartbeat"] -_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name["ActivityTaskCompletion"] -_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name["WorkflowSlotInfo"] -_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["ActivitySlotInfo"] -_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["LocalActivitySlotInfo"] -_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name["NexusSlotInfo"] -ActivityHeartbeat = _reflection.GeneratedProtocolMessageType( - "ActivityHeartbeat", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYHEARTBEAT, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) - }, -) + +_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name['ActivityHeartbeat'] +_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name['ActivityTaskCompletion'] +_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name['WorkflowSlotInfo'] +_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name['ActivitySlotInfo'] +_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name['LocalActivitySlotInfo'] +_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name['NexusSlotInfo'] +ActivityHeartbeat = _reflection.GeneratedProtocolMessageType('ActivityHeartbeat', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYHEARTBEAT, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) + }) _sym_db.RegisterMessage(ActivityHeartbeat) -ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCompletion", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCOMPLETION, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) - }, -) +ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType('ActivityTaskCompletion', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCOMPLETION, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) + }) _sym_db.RegisterMessage(ActivityTaskCompletion) -WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowSlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) - }, -) +WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType('WorkflowSlotInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWSLOTINFO, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) + }) _sym_db.RegisterMessage(WorkflowSlotInfo) -ActivitySlotInfo = _reflection.GeneratedProtocolMessageType( - "ActivitySlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) - }, -) +ActivitySlotInfo = _reflection.GeneratedProtocolMessageType('ActivitySlotInfo', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYSLOTINFO, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) + }) _sym_db.RegisterMessage(ActivitySlotInfo) -LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType( - "LocalActivitySlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _LOCALACTIVITYSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) - }, -) +LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType('LocalActivitySlotInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOCALACTIVITYSLOTINFO, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) + }) _sym_db.RegisterMessage(LocalActivitySlotInfo) -NexusSlotInfo = _reflection.GeneratedProtocolMessageType( - "NexusSlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) - }, -) +NexusSlotInfo = _reflection.GeneratedProtocolMessageType('NexusSlotInfo', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSSLOTINFO, + '__module__' : 'temporal.sdk.core.core_interface_pb2' + # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) + }) _sym_db.RegisterMessage(NexusSlotInfo) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" - ) - _ACTIVITYHEARTBEAT._serialized_start = 576 - _ACTIVITYHEARTBEAT._serialized_end = 665 - _ACTIVITYTASKCOMPLETION._serialized_start = 667 - _ACTIVITYTASKCOMPLETION._serialized_end = 777 - _WORKFLOWSLOTINFO._serialized_start = 779 - _WORKFLOWSLOTINFO._serialized_end = 839 - _ACTIVITYSLOTINFO._serialized_start = 841 - _ACTIVITYSLOTINFO._serialized_end = 882 - _LOCALACTIVITYSLOTINFO._serialized_start = 884 - _LOCALACTIVITYSLOTINFO._serialized_end = 930 - _NEXUSSLOTINFO._serialized_start = 932 - _NEXUSSLOTINFO._serialized_end = 983 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0020Temporalio::Internal::Bridge::Api::CoreInterface' + _ACTIVITYHEARTBEAT._serialized_start=576 + _ACTIVITYHEARTBEAT._serialized_end=665 + _ACTIVITYTASKCOMPLETION._serialized_start=667 + _ACTIVITYTASKCOMPLETION._serialized_end=777 + _WORKFLOWSLOTINFO._serialized_start=779 + _WORKFLOWSLOTINFO._serialized_end=839 + _ACTIVITYSLOTINFO._serialized_start=841 + _ACTIVITYSLOTINFO._serialized_end=882 + _LOCALACTIVITYSLOTINFO._serialized_start=884 + _LOCALACTIVITYSLOTINFO._serialized_end=930 + _NEXUSSLOTINFO._serialized_start=932 + _NEXUSSLOTINFO._serialized_end=983 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/core_interface_pb2.pyi b/temporalio/bridge/proto/core_interface_pb2.pyi index 020359cf0..705cbcae6 100644 --- a/temporalio/bridge/proto/core_interface_pb2.pyi +++ b/temporalio/bridge/proto/core_interface_pb2.pyi @@ -2,15 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.bridge.proto.activity_result.activity_result_pb2 @@ -30,24 +27,14 @@ class ActivityHeartbeat(google.protobuf.message.Message): DETAILS_FIELD_NUMBER: builtins.int task_token: builtins.bytes @property - def details( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: ... + def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... def __init__( self, *, task_token: builtins.bytes = ..., - details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "task_token", b"task_token" - ], + details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "task_token", b"task_token"]) -> None: ... global___ActivityHeartbeat = ActivityHeartbeat @@ -60,25 +47,15 @@ class ActivityTaskCompletion(google.protobuf.message.Message): RESULT_FIELD_NUMBER: builtins.int task_token: builtins.bytes @property - def result( - self, - ) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult: ... + def result(self) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult: ... def __init__( self, *, task_token: builtins.bytes = ..., - result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "result", b"result", "task_token", b"task_token" - ], + result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "task_token", b"task_token"]) -> None: ... global___ActivityTaskCompletion = ActivityTaskCompletion @@ -97,12 +74,7 @@ class WorkflowSlotInfo(google.protobuf.message.Message): workflow_type: builtins.str = ..., is_sticky: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "is_sticky", b"is_sticky", "workflow_type", b"workflow_type" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["is_sticky", b"is_sticky", "workflow_type", b"workflow_type"]) -> None: ... global___WorkflowSlotInfo = WorkflowSlotInfo @@ -118,9 +90,7 @@ class ActivitySlotInfo(google.protobuf.message.Message): *, activity_type: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> None: ... global___ActivitySlotInfo = ActivitySlotInfo @@ -136,9 +106,7 @@ class LocalActivitySlotInfo(google.protobuf.message.Message): *, activity_type: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> None: ... global___LocalActivitySlotInfo = LocalActivitySlotInfo @@ -157,11 +125,6 @@ class NexusSlotInfo(google.protobuf.message.Message): service: builtins.str = ..., operation: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "operation", b"operation", "service", b"service" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "service", b"service"]) -> None: ... global___NexusSlotInfo = NexusSlotInfo diff --git a/temporalio/bridge/proto/external_data/__init__.py b/temporalio/bridge/proto/external_data/__init__.py index 836e97ef4..79a203d84 100644 --- a/temporalio/bridge/proto/external_data/__init__.py +++ b/temporalio/bridge/proto/external_data/__init__.py @@ -1,4 +1,5 @@ -from .external_data_pb2 import LocalActivityMarkerData, PatchedMarkerData +from .external_data_pb2 import LocalActivityMarkerData +from .external_data_pb2 import PatchedMarkerData __all__ = [ "LocalActivityMarkerData", diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.py b/temporalio/bridge/proto/external_data/external_data_pb2.py index e8070efa7..68d56c4ac 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.py +++ b/temporalio/bridge/proto/external_data/external_data_pb2.py @@ -2,13 +2,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/external_data/external_data.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,42 +15,33 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3' -) - - -_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name["LocalActivityMarkerData"] -_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name["PatchedMarkerData"] -LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType( - "LocalActivityMarkerData", - (_message.Message,), - { - "DESCRIPTOR": _LOCALACTIVITYMARKERDATA, - "__module__": "temporal.sdk.core.external_data.external_data_pb2", - # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) - }, -) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3') + + + +_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name['LocalActivityMarkerData'] +_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name['PatchedMarkerData'] +LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType('LocalActivityMarkerData', (_message.Message,), { + 'DESCRIPTOR' : _LOCALACTIVITYMARKERDATA, + '__module__' : 'temporal.sdk.core.external_data.external_data_pb2' + # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) + }) _sym_db.RegisterMessage(LocalActivityMarkerData) -PatchedMarkerData = _reflection.GeneratedProtocolMessageType( - "PatchedMarkerData", - (_message.Message,), - { - "DESCRIPTOR": _PATCHEDMARKERDATA, - "__module__": "temporal.sdk.core.external_data.external_data_pb2", - # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) - }, -) +PatchedMarkerData = _reflection.GeneratedProtocolMessageType('PatchedMarkerData', (_message.Message,), { + 'DESCRIPTOR' : _PATCHEDMARKERDATA, + '__module__' : 'temporal.sdk.core.external_data.external_data_pb2' + # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) + }) _sym_db.RegisterMessage(PatchedMarkerData) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" - ) - _LOCALACTIVITYMARKERDATA._serialized_start = 144 - _LOCALACTIVITYMARKERDATA._serialized_end = 398 - _PATCHEDMARKERDATA._serialized_start = 400 - _PATCHEDMARKERDATA._serialized_end = 451 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\002/Temporalio::Internal::Bridge::Api::ExternalData' + _LOCALACTIVITYMARKERDATA._serialized_start=144 + _LOCALACTIVITYMARKERDATA._serialized_end=398 + _PATCHEDMARKERDATA._serialized_start=400 + _PATCHEDMARKERDATA._serialized_end=451 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.pyi b/temporalio/bridge/proto/external_data/external_data_pb2.pyi index a1d29e39d..c785820de 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.pyi +++ b/temporalio/bridge/proto/external_data/external_data_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 +import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -68,36 +66,8 @@ class LocalActivityMarkerData(google.protobuf.message.Message): backoff: google.protobuf.duration_pb2.Duration | None = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "backoff", - b"backoff", - "complete_time", - b"complete_time", - "original_schedule_time", - b"original_schedule_time", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "attempt", - b"attempt", - "backoff", - b"backoff", - "complete_time", - b"complete_time", - "original_schedule_time", - b"original_schedule_time", - "seq", - b"seq", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "complete_time", b"complete_time", "original_schedule_time", b"original_schedule_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "backoff", b"backoff", "complete_time", b"complete_time", "original_schedule_time", b"original_schedule_time", "seq", b"seq"]) -> None: ... global___LocalActivityMarkerData = LocalActivityMarkerData @@ -116,9 +86,6 @@ class PatchedMarkerData(google.protobuf.message.Message): id: builtins.str = ..., deprecated: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"]) -> None: ... global___PatchedMarkerData = PatchedMarkerData diff --git a/temporalio/bridge/proto/health/v1/__init__.py b/temporalio/bridge/proto/health/v1/__init__.py index 56687c370..27f434f2e 100644 --- a/temporalio/bridge/proto/health/v1/__init__.py +++ b/temporalio/bridge/proto/health/v1/__init__.py @@ -1,4 +1,5 @@ -from .health_pb2 import HealthCheckRequest, HealthCheckResponse +from .health_pb2 import HealthCheckRequest +from .health_pb2 import HealthCheckResponse __all__ = [ "HealthCheckRequest", diff --git a/temporalio/bridge/proto/health/v1/health_pb2.py b/temporalio/bridge/proto/health/v1/health_pb2.py index 8e31dcecb..a2457cf35 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.py +++ b/temporalio/bridge/proto/health/v1/health_pb2.py @@ -2,60 +2,50 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: health/v1/health.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3' -) - - -_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name["HealthCheckRequest"] -_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name["HealthCheckResponse"] -_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name[ - "ServingStatus" -] -HealthCheckRequest = _reflection.GeneratedProtocolMessageType( - "HealthCheckRequest", - (_message.Message,), - { - "DESCRIPTOR": _HEALTHCHECKREQUEST, - "__module__": "health.v1.health_pb2", - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) - }, -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus\"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3') + + + +_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name['HealthCheckRequest'] +_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name['HealthCheckResponse'] +_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name['ServingStatus'] +HealthCheckRequest = _reflection.GeneratedProtocolMessageType('HealthCheckRequest', (_message.Message,), { + 'DESCRIPTOR' : _HEALTHCHECKREQUEST, + '__module__' : 'health.v1.health_pb2' + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) + }) _sym_db.RegisterMessage(HealthCheckRequest) -HealthCheckResponse = _reflection.GeneratedProtocolMessageType( - "HealthCheckResponse", - (_message.Message,), - { - "DESCRIPTOR": _HEALTHCHECKRESPONSE, - "__module__": "health.v1.health_pb2", - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) - }, -) +HealthCheckResponse = _reflection.GeneratedProtocolMessageType('HealthCheckResponse', (_message.Message,), { + 'DESCRIPTOR' : _HEALTHCHECKRESPONSE, + '__module__' : 'health.v1.health_pb2' + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) + }) _sym_db.RegisterMessage(HealthCheckResponse) -_HEALTH = DESCRIPTOR.services_by_name["Health"] +_HEALTH = DESCRIPTOR.services_by_name['Health'] if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" - _HEALTHCHECKREQUEST._serialized_start = 51 - _HEALTHCHECKREQUEST._serialized_end = 88 - _HEALTHCHECKRESPONSE._serialized_start = 91 - _HEALTHCHECKRESPONSE._serialized_end = 269 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start = 190 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end = 269 - _HEALTH._serialized_start = 272 - _HEALTH._serialized_end = 482 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1' + _HEALTHCHECKREQUEST._serialized_start=51 + _HEALTHCHECKREQUEST._serialized_end=88 + _HEALTHCHECKRESPONSE._serialized_start=91 + _HEALTHCHECKRESPONSE._serialized_end=269 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start=190 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end=269 + _HEALTH._serialized_start=272 + _HEALTH._serialized_end=482 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/health/v1/health_pb2.pyi b/temporalio/bridge/proto/health/v1/health_pb2.pyi index 2e1121e3c..a095bfab1 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.pyi +++ b/temporalio/bridge/proto/health/v1/health_pb2.pyi @@ -2,14 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file We have to alter this to prevent gRPC health clash""" - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message +import sys +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -28,9 +26,7 @@ class HealthCheckRequest(google.protobuf.message.Message): *, service: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["service", b"service"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["service", b"service"]) -> None: ... global___HealthCheckRequest = HealthCheckRequest @@ -41,12 +37,7 @@ class HealthCheckResponse(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _ServingStatusEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - HealthCheckResponse._ServingStatus.ValueType - ], - builtins.type, - ): # noqa: F821 + class _ServingStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HealthCheckResponse._ServingStatus.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HealthCheckResponse._ServingStatus.ValueType # 0 SERVING: HealthCheckResponse._ServingStatus.ValueType # 1 @@ -68,8 +59,6 @@ class HealthCheckResponse(google.protobuf.message.Message): *, status: global___HealthCheckResponse.ServingStatus.ValueType = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... global___HealthCheckResponse = HealthCheckResponse diff --git a/temporalio/bridge/proto/nexus/__init__.py b/temporalio/bridge/proto/nexus/__init__.py index f10ac3b53..f2b3334c5 100644 --- a/temporalio/bridge/proto/nexus/__init__.py +++ b/temporalio/bridge/proto/nexus/__init__.py @@ -1,11 +1,9 @@ -from .nexus_pb2 import ( - CancelNexusTask, - NexusOperationCancellationType, - NexusOperationResult, - NexusTask, - NexusTaskCancelReason, - NexusTaskCompletion, -) +from .nexus_pb2 import NexusTaskCancelReason +from .nexus_pb2 import NexusOperationCancellationType +from .nexus_pb2 import NexusOperationResult +from .nexus_pb2 import NexusTaskCompletion +from .nexus_pb2 import NexusTask +from .nexus_pb2 import CancelNexusTask __all__ = [ "CancelNexusTask", diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.py b/temporalio/bridge/proto/nexus/nexus_pb2.py index 4dc3bea86..2e628c2b5 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.py +++ b/temporalio/bridge/proto/nexus/nexus_pb2.py @@ -2,47 +2,30 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/nexus/nexus.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, -) -from temporalio.api.workflowservice.v1 import ( - request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 +from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xb5\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x34\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorH\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x42\x08\n\x06status"\x9a\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x42\t\n\x07variant"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto\"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xb5\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x34\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorH\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x42\x08\n\x06status\"\x9a\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x42\t\n\x07variant\"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3') -_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name["NexusTaskCancelReason"] +_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name['NexusTaskCancelReason'] NexusTaskCancelReason = enum_type_wrapper.EnumTypeWrapper(_NEXUSTASKCANCELREASON) -_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ - "NexusOperationCancellationType" -] -NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper( - _NEXUSOPERATIONCANCELLATIONTYPE -) +_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['NexusOperationCancellationType'] +NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper(_NEXUSOPERATIONCANCELLATIONTYPE) TIMED_OUT = 0 WORKER_SHUTDOWN = 1 WAIT_CANCELLATION_COMPLETED = 0 @@ -51,69 +34,52 @@ WAIT_CANCELLATION_REQUESTED = 3 -_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name["NexusOperationResult"] -_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name["NexusTaskCompletion"] -_NEXUSTASK = DESCRIPTOR.message_types_by_name["NexusTask"] -_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name["CancelNexusTask"] -NexusOperationResult = _reflection.GeneratedProtocolMessageType( - "NexusOperationResult", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONRESULT, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) - }, -) +_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name['NexusOperationResult'] +_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name['NexusTaskCompletion'] +_NEXUSTASK = DESCRIPTOR.message_types_by_name['NexusTask'] +_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name['CancelNexusTask'] +NexusOperationResult = _reflection.GeneratedProtocolMessageType('NexusOperationResult', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSOPERATIONRESULT, + '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) + }) _sym_db.RegisterMessage(NexusOperationResult) -NexusTaskCompletion = _reflection.GeneratedProtocolMessageType( - "NexusTaskCompletion", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSTASKCOMPLETION, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) - }, -) +NexusTaskCompletion = _reflection.GeneratedProtocolMessageType('NexusTaskCompletion', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSTASKCOMPLETION, + '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) + }) _sym_db.RegisterMessage(NexusTaskCompletion) -NexusTask = _reflection.GeneratedProtocolMessageType( - "NexusTask", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSTASK, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) - }, -) +NexusTask = _reflection.GeneratedProtocolMessageType('NexusTask', (_message.Message,), { + 'DESCRIPTOR' : _NEXUSTASK, + '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) + }) _sym_db.RegisterMessage(NexusTask) -CancelNexusTask = _reflection.GeneratedProtocolMessageType( - "CancelNexusTask", - (_message.Message,), - { - "DESCRIPTOR": _CANCELNEXUSTASK, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) - }, -) +CancelNexusTask = _reflection.GeneratedProtocolMessageType('CancelNexusTask', (_message.Message,), { + 'DESCRIPTOR' : _CANCELNEXUSTASK, + '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' + # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) + }) _sym_db.RegisterMessage(CancelNexusTask) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" - ) - _NEXUSTASKCANCELREASON._serialized_start = 948 - _NEXUSTASKCANCELREASON._serialized_end = 1007 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start = 1009 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end = 1136 - _NEXUSOPERATIONRESULT._serialized_start = 264 - _NEXUSOPERATIONRESULT._serialized_end = 512 - _NEXUSTASKCOMPLETION._serialized_start = 515 - _NEXUSTASKCOMPLETION._serialized_end = 696 - _NEXUSTASK._serialized_start = 699 - _NEXUSTASK._serialized_end = 853 - _CANCELNEXUSTASK._serialized_start = 855 - _CANCELNEXUSTASK._serialized_end = 946 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\002(Temporalio::Internal::Bridge::Api::Nexus' + _NEXUSTASKCANCELREASON._serialized_start=948 + _NEXUSTASKCANCELREASON._serialized_end=1007 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start=1009 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end=1136 + _NEXUSOPERATIONRESULT._serialized_start=264 + _NEXUSOPERATIONRESULT._serialized_end=512 + _NEXUSTASKCOMPLETION._serialized_start=515 + _NEXUSTASKCOMPLETION._serialized_end=696 + _NEXUSTASK._serialized_start=699 + _NEXUSTASK._serialized_end=853 + _CANCELNEXUSTASK._serialized_start=855 + _CANCELNEXUSTASK._serialized_end=946 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.pyi b/temporalio/bridge/proto/nexus/nexus_pb2.pyi index 8dfe261b7..a86910e87 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.pyi +++ b/temporalio/bridge/proto/nexus/nexus_pb2.pyi @@ -2,19 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins -import sys -import typing - import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.nexus.v1.message_pb2 import temporalio.api.workflowservice.v1.request_response_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -27,21 +24,14 @@ class _NexusTaskCancelReason: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusTaskCancelReasonEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _NexusTaskCancelReason.ValueType - ], - builtins.type, -): # noqa: F821 +class _NexusTaskCancelReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusTaskCancelReason.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMED_OUT: _NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" WORKER_SHUTDOWN: _NexusTaskCancelReason.ValueType # 1 """The worker is shutting down""" -class NexusTaskCancelReason( - _NexusTaskCancelReason, metaclass=_NexusTaskCancelReasonEnumTypeWrapper -): ... +class NexusTaskCancelReason(_NexusTaskCancelReason, metaclass=_NexusTaskCancelReasonEnumTypeWrapper): ... TIMED_OUT: NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" @@ -53,12 +43,7 @@ class _NexusOperationCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusOperationCancellationTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _NexusOperationCancellationType.ValueType - ], - builtins.type, -): # noqa: F821 +class _NexusOperationCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusOperationCancellationType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 0 """Wait for operation cancellation completion. Default.""" @@ -72,10 +57,7 @@ class _NexusOperationCancellationTypeEnumTypeWrapper( WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 3 """Request cancellation of the operation and wait for confirmation that the request was received.""" -class NexusOperationCancellationType( - _NexusOperationCancellationType, - metaclass=_NexusOperationCancellationTypeEnumTypeWrapper, -): +class NexusOperationCancellationType(_NexusOperationCancellationType, metaclass=_NexusOperationCancellationTypeEnumTypeWrapper): """Controls at which point to report back to lang when a nexus operation is cancelled""" WAIT_CANCELLATION_COMPLETED: NexusOperationCancellationType.ValueType # 0 @@ -116,42 +98,9 @@ class NexusOperationResult(google.protobuf.message.Message): cancelled: temporalio.api.failure.v1.message_pb2.Failure | None = ..., timed_out: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - "timed_out", - b"timed_out", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "completed", - b"completed", - "failed", - b"failed", - "status", - b"status", - "timed_out", - b"timed_out", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "timed_out", b"timed_out"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "timed_out", b"timed_out"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] | None: ... global___NexusOperationResult = NexusOperationResult @@ -188,37 +137,9 @@ class NexusTaskCompletion(google.protobuf.message.Message): error: temporalio.api.nexus.v1.message_pb2.HandlerError | None = ..., ack_cancel: builtins.bool = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "ack_cancel", - b"ack_cancel", - "completed", - b"completed", - "error", - b"error", - "status", - b"status", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ack_cancel", - b"ack_cancel", - "completed", - b"completed", - "error", - b"error", - "status", - b"status", - "task_token", - b"task_token", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["completed", "error", "ack_cancel"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["ack_cancel", b"ack_cancel", "completed", b"completed", "error", b"error", "status", b"status"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["ack_cancel", b"ack_cancel", "completed", b"completed", "error", b"error", "status", b"status", "task_token", b"task_token"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "error", "ack_cancel"] | None: ... global___NexusTaskCompletion = NexusTaskCompletion @@ -228,9 +149,7 @@ class NexusTask(google.protobuf.message.Message): TASK_FIELD_NUMBER: builtins.int CANCEL_TASK_FIELD_NUMBER: builtins.int @property - def task( - self, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: + def task(self) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: """A nexus task from server""" @property def cancel_task(self) -> global___CancelNexusTask: @@ -249,25 +168,12 @@ class NexusTask(google.protobuf.message.Message): def __init__( self, *, - task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse - | None = ..., + task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse | None = ..., cancel_task: global___CancelNexusTask | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel_task", b"cancel_task", "task", b"task", "variant", b"variant" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_task", b"cancel_task", "task", b"task", "variant", b"variant" - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["task", "cancel_task"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancel_task", b"cancel_task", "task", b"task", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_task", b"cancel_task", "task", b"task", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["task", "cancel_task"] | None: ... global___NexusTask = NexusTask @@ -286,11 +192,6 @@ class CancelNexusTask(google.protobuf.message.Message): task_token: builtins.bytes = ..., reason: global___NexusTaskCancelReason.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "reason", b"reason", "task_token", b"task_token" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "task_token", b"task_token"]) -> None: ... global___CancelNexusTask = CancelNexusTask diff --git a/temporalio/bridge/proto/workflow_activation/__init__.py b/temporalio/bridge/proto/workflow_activation/__init__.py index 5c178e218..6f1a164b8 100644 --- a/temporalio/bridge/proto/workflow_activation/__init__.py +++ b/temporalio/bridge/proto/workflow_activation/__init__.py @@ -1,26 +1,24 @@ -from .workflow_activation_pb2 import ( - CancelWorkflow, - DoUpdate, - FireTimer, - InitializeWorkflow, - NotifyHasPatch, - QueryWorkflow, - RemoveFromCache, - ResolveActivity, - ResolveChildWorkflowExecution, - ResolveChildWorkflowExecutionStart, - ResolveChildWorkflowExecutionStartCancelled, - ResolveChildWorkflowExecutionStartFailure, - ResolveChildWorkflowExecutionStartSuccess, - ResolveNexusOperation, - ResolveNexusOperationStart, - ResolveRequestCancelExternalWorkflow, - ResolveSignalExternalWorkflow, - SignalWorkflow, - UpdateRandomSeed, - WorkflowActivation, - WorkflowActivationJob, -) +from .workflow_activation_pb2 import WorkflowActivation +from .workflow_activation_pb2 import WorkflowActivationJob +from .workflow_activation_pb2 import InitializeWorkflow +from .workflow_activation_pb2 import FireTimer +from .workflow_activation_pb2 import ResolveActivity +from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStart +from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartSuccess +from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartFailure +from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartCancelled +from .workflow_activation_pb2 import ResolveChildWorkflowExecution +from .workflow_activation_pb2 import UpdateRandomSeed +from .workflow_activation_pb2 import QueryWorkflow +from .workflow_activation_pb2 import CancelWorkflow +from .workflow_activation_pb2 import SignalWorkflow +from .workflow_activation_pb2 import NotifyHasPatch +from .workflow_activation_pb2 import ResolveSignalExternalWorkflow +from .workflow_activation_pb2 import ResolveRequestCancelExternalWorkflow +from .workflow_activation_pb2 import DoUpdate +from .workflow_activation_pb2 import ResolveNexusOperationStart +from .workflow_activation_pb2 import ResolveNexusOperation +from .workflow_activation_pb2 import RemoveFromCache __all__ = [ "CancelWorkflow", diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py index cadb177da..7db2601b9 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py @@ -2,430 +2,300 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_activation/workflow_activation.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.bridge.proto.activity_result import activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2 +from temporalio.bridge.proto.child_workflow import child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 +from temporalio.bridge.proto.nexus import nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto\"\xfa\x02\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion\"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant\"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08\"\xd1\x02\n\"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status\";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause\"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult\"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04\"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\"\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t\"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult\"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason\"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3') + -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.update.v1 import ( - message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, -) -from temporalio.bridge.proto.activity_result import ( - activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2, -) -from temporalio.bridge.proto.child_workflow import ( - child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) -from temporalio.bridge.proto.nexus import ( - nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto"\xfa\x02\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08"\xd1\x02\n"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01""\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3' -) - - -_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name["WorkflowActivation"] -_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name["WorkflowActivationJob"] -_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name["InitializeWorkflow"] -_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name[ - "HeadersEntry" -] -_FIRETIMER = DESCRIPTOR.message_types_by_name["FireTimer"] -_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name["ResolveActivity"] -_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStart" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartSuccess" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartFailure" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartCancelled" -] -_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecution" -] -_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name["UpdateRandomSeed"] -_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name["QueryWorkflow"] -_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name["HeadersEntry"] -_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name["CancelWorkflow"] -_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["SignalWorkflow"] -_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name["HeadersEntry"] -_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name["NotifyHasPatch"] -_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ - "ResolveSignalExternalWorkflow" -] -_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ - "ResolveRequestCancelExternalWorkflow" -] -_DOUPDATE = DESCRIPTOR.message_types_by_name["DoUpdate"] -_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name["HeadersEntry"] -_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name[ - "ResolveNexusOperationStart" -] -_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ResolveNexusOperation"] -_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name["RemoveFromCache"] -_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name["EvictionReason"] -WorkflowActivation = _reflection.GeneratedProtocolMessageType( - "WorkflowActivation", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) - }, -) + +_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name['WorkflowActivation'] +_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name['WorkflowActivationJob'] +_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name['InitializeWorkflow'] +_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name['HeadersEntry'] +_FIRETIMER = DESCRIPTOR.message_types_by_name['FireTimer'] +_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name['ResolveActivity'] +_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStart'] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartSuccess'] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartFailure'] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartCancelled'] +_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecution'] +_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name['UpdateRandomSeed'] +_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name['QueryWorkflow'] +_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name['HeadersEntry'] +_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name['CancelWorkflow'] +_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name['SignalWorkflow'] +_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name['HeadersEntry'] +_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name['NotifyHasPatch'] +_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name['ResolveSignalExternalWorkflow'] +_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name['ResolveRequestCancelExternalWorkflow'] +_DOUPDATE = DESCRIPTOR.message_types_by_name['DoUpdate'] +_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name['HeadersEntry'] +_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name['ResolveNexusOperationStart'] +_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name['ResolveNexusOperation'] +_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name['RemoveFromCache'] +_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name['EvictionReason'] +WorkflowActivation = _reflection.GeneratedProtocolMessageType('WorkflowActivation', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWACTIVATION, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) + }) _sym_db.RegisterMessage(WorkflowActivation) -WorkflowActivationJob = _reflection.GeneratedProtocolMessageType( - "WorkflowActivationJob", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATIONJOB, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) - }, -) +WorkflowActivationJob = _reflection.GeneratedProtocolMessageType('WorkflowActivationJob', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWACTIVATIONJOB, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) + }) _sym_db.RegisterMessage(WorkflowActivationJob) -InitializeWorkflow = _reflection.GeneratedProtocolMessageType( - "InitializeWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _INITIALIZEWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _INITIALIZEWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) - }, -) +InitializeWorkflow = _reflection.GeneratedProtocolMessageType('InitializeWorkflow', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _INITIALIZEWORKFLOW_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) + }) + , + 'DESCRIPTOR' : _INITIALIZEWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) + }) _sym_db.RegisterMessage(InitializeWorkflow) _sym_db.RegisterMessage(InitializeWorkflow.HeadersEntry) -FireTimer = _reflection.GeneratedProtocolMessageType( - "FireTimer", - (_message.Message,), - { - "DESCRIPTOR": _FIRETIMER, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) - }, -) +FireTimer = _reflection.GeneratedProtocolMessageType('FireTimer', (_message.Message,), { + 'DESCRIPTOR' : _FIRETIMER, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) + }) _sym_db.RegisterMessage(FireTimer) -ResolveActivity = _reflection.GeneratedProtocolMessageType( - "ResolveActivity", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVEACTIVITY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) - }, -) +ResolveActivity = _reflection.GeneratedProtocolMessageType('ResolveActivity', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVEACTIVITY, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) + }) _sym_db.RegisterMessage(ResolveActivity) -ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStart", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTART, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) - }, -) +ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStart', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTART, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) + }) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStart) -ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartSuccess", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) - }, -) +ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartSuccess', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) + }) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartSuccess) -ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartFailure", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) - }, -) +ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartFailure', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) + }) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartFailure) -ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartCancelled", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) - }, -) +ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartCancelled', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) + }) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartCancelled) -ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) - }, -) +ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) + }) _sym_db.RegisterMessage(ResolveChildWorkflowExecution) -UpdateRandomSeed = _reflection.GeneratedProtocolMessageType( - "UpdateRandomSeed", - (_message.Message,), - { - "DESCRIPTOR": _UPDATERANDOMSEED, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) - }, -) +UpdateRandomSeed = _reflection.GeneratedProtocolMessageType('UpdateRandomSeed', (_message.Message,), { + 'DESCRIPTOR' : _UPDATERANDOMSEED, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) + }) _sym_db.RegisterMessage(UpdateRandomSeed) -QueryWorkflow = _reflection.GeneratedProtocolMessageType( - "QueryWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _QUERYWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) - }, -) +QueryWorkflow = _reflection.GeneratedProtocolMessageType('QueryWorkflow', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _QUERYWORKFLOW_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) + }) + , + 'DESCRIPTOR' : _QUERYWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) + }) _sym_db.RegisterMessage(QueryWorkflow) _sym_db.RegisterMessage(QueryWorkflow.HeadersEntry) -CancelWorkflow = _reflection.GeneratedProtocolMessageType( - "CancelWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) - }, -) +CancelWorkflow = _reflection.GeneratedProtocolMessageType('CancelWorkflow', (_message.Message,), { + 'DESCRIPTOR' : _CANCELWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) + }) _sym_db.RegisterMessage(CancelWorkflow) -SignalWorkflow = _reflection.GeneratedProtocolMessageType( - "SignalWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _SIGNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) - }, -) +SignalWorkflow = _reflection.GeneratedProtocolMessageType('SignalWorkflow', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWORKFLOW_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) + }) + , + 'DESCRIPTOR' : _SIGNALWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) + }) _sym_db.RegisterMessage(SignalWorkflow) _sym_db.RegisterMessage(SignalWorkflow.HeadersEntry) -NotifyHasPatch = _reflection.GeneratedProtocolMessageType( - "NotifyHasPatch", - (_message.Message,), - { - "DESCRIPTOR": _NOTIFYHASPATCH, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) - }, -) +NotifyHasPatch = _reflection.GeneratedProtocolMessageType('NotifyHasPatch', (_message.Message,), { + 'DESCRIPTOR' : _NOTIFYHASPATCH, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) + }) _sym_db.RegisterMessage(NotifyHasPatch) -ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType( - "ResolveSignalExternalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVESIGNALEXTERNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) - }, -) +ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType('ResolveSignalExternalWorkflow', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVESIGNALEXTERNALWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) + }) _sym_db.RegisterMessage(ResolveSignalExternalWorkflow) -ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType( - "ResolveRequestCancelExternalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) - }, -) +ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType('ResolveRequestCancelExternalWorkflow', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) + }) _sym_db.RegisterMessage(ResolveRequestCancelExternalWorkflow) -DoUpdate = _reflection.GeneratedProtocolMessageType( - "DoUpdate", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _DOUPDATE_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) - }, - ), - "DESCRIPTOR": _DOUPDATE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) - }, -) +DoUpdate = _reflection.GeneratedProtocolMessageType('DoUpdate', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _DOUPDATE_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) + }) + , + 'DESCRIPTOR' : _DOUPDATE, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) + }) _sym_db.RegisterMessage(DoUpdate) _sym_db.RegisterMessage(DoUpdate.HeadersEntry) -ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType( - "ResolveNexusOperationStart", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVENEXUSOPERATIONSTART, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) - }, -) +ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType('ResolveNexusOperationStart', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVENEXUSOPERATIONSTART, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) + }) _sym_db.RegisterMessage(ResolveNexusOperationStart) -ResolveNexusOperation = _reflection.GeneratedProtocolMessageType( - "ResolveNexusOperation", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVENEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) - }, -) +ResolveNexusOperation = _reflection.GeneratedProtocolMessageType('ResolveNexusOperation', (_message.Message,), { + 'DESCRIPTOR' : _RESOLVENEXUSOPERATION, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) + }) _sym_db.RegisterMessage(ResolveNexusOperation) -RemoveFromCache = _reflection.GeneratedProtocolMessageType( - "RemoveFromCache", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEFROMCACHE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) - }, -) +RemoveFromCache = _reflection.GeneratedProtocolMessageType('RemoveFromCache', (_message.Message,), { + 'DESCRIPTOR' : _REMOVEFROMCACHE, + '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) + }) _sym_db.RegisterMessage(RemoveFromCache) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation" - ) - _INITIALIZEWORKFLOW_HEADERSENTRY._options = None - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _QUERYWORKFLOW_HEADERSENTRY._options = None - _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _SIGNALWORKFLOW_HEADERSENTRY._options = None - _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _DOUPDATE_HEADERSENTRY._options = None - _DOUPDATE_HEADERSENTRY._serialized_options = b"8\001" - _WORKFLOWACTIVATION._serialized_start = 532 - _WORKFLOWACTIVATION._serialized_end = 910 - _WORKFLOWACTIVATIONJOB._serialized_start = 913 - _WORKFLOWACTIVATIONJOB._serialized_end = 2289 - _INITIALIZEWORKFLOW._serialized_start = 2292 - _INITIALIZEWORKFLOW._serialized_end = 3661 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start = 3582 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end = 3661 - _FIRETIMER._serialized_start = 3663 - _FIRETIMER._serialized_end = 3687 - _RESOLVEACTIVITY._serialized_start = 3689 - _RESOLVEACTIVITY._serialized_end = 3798 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start = 3801 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end = 4138 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start = 4140 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end = 4199 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start = 4202 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end = 4368 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start = 4370 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end = 4466 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_start = 4468 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_end = 4573 - _UPDATERANDOMSEED._serialized_start = 4575 - _UPDATERANDOMSEED._serialized_end = 4618 - _QUERYWORKFLOW._serialized_start = 4621 - _QUERYWORKFLOW._serialized_end = 4881 - _QUERYWORKFLOW_HEADERSENTRY._serialized_start = 3582 - _QUERYWORKFLOW_HEADERSENTRY._serialized_end = 3661 - _CANCELWORKFLOW._serialized_start = 4883 - _CANCELWORKFLOW._serialized_end = 4915 - _SIGNALWORKFLOW._serialized_start = 4918 - _SIGNALWORKFLOW._serialized_end = 5177 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_start = 3582 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_end = 3661 - _NOTIFYHASPATCH._serialized_start = 5179 - _NOTIFYHASPATCH._serialized_end = 5213 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start = 5215 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end = 5310 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start = 5312 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end = 5414 - _DOUPDATE._serialized_start = 5417 - _DOUPDATE._serialized_end = 5748 - _DOUPDATE_HEADERSENTRY._serialized_start = 3582 - _DOUPDATE_HEADERSENTRY._serialized_end = 3661 - _RESOLVENEXUSOPERATIONSTART._serialized_start = 5751 - _RESOLVENEXUSOPERATIONSTART._serialized_end = 5905 - _RESOLVENEXUSOPERATION._serialized_start = 5907 - _RESOLVENEXUSOPERATION._serialized_end = 5996 - _REMOVEFROMCACHE._serialized_start = 5999 - _REMOVEFROMCACHE._serialized_end = 6351 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_start = 6113 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_end = 6351 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation' + _INITIALIZEWORKFLOW_HEADERSENTRY._options = None + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' + _QUERYWORKFLOW_HEADERSENTRY._options = None + _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' + _SIGNALWORKFLOW_HEADERSENTRY._options = None + _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' + _DOUPDATE_HEADERSENTRY._options = None + _DOUPDATE_HEADERSENTRY._serialized_options = b'8\001' + _WORKFLOWACTIVATION._serialized_start=532 + _WORKFLOWACTIVATION._serialized_end=910 + _WORKFLOWACTIVATIONJOB._serialized_start=913 + _WORKFLOWACTIVATIONJOB._serialized_end=2289 + _INITIALIZEWORKFLOW._serialized_start=2292 + _INITIALIZEWORKFLOW._serialized_end=3661 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start=3582 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end=3661 + _FIRETIMER._serialized_start=3663 + _FIRETIMER._serialized_end=3687 + _RESOLVEACTIVITY._serialized_start=3689 + _RESOLVEACTIVITY._serialized_end=3798 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start=3801 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end=4138 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start=4140 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end=4199 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start=4202 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end=4368 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start=4370 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end=4466 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_start=4468 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_end=4573 + _UPDATERANDOMSEED._serialized_start=4575 + _UPDATERANDOMSEED._serialized_end=4618 + _QUERYWORKFLOW._serialized_start=4621 + _QUERYWORKFLOW._serialized_end=4881 + _QUERYWORKFLOW_HEADERSENTRY._serialized_start=3582 + _QUERYWORKFLOW_HEADERSENTRY._serialized_end=3661 + _CANCELWORKFLOW._serialized_start=4883 + _CANCELWORKFLOW._serialized_end=4915 + _SIGNALWORKFLOW._serialized_start=4918 + _SIGNALWORKFLOW._serialized_end=5177 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_start=3582 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_end=3661 + _NOTIFYHASPATCH._serialized_start=5179 + _NOTIFYHASPATCH._serialized_end=5213 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start=5215 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end=5310 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start=5312 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end=5414 + _DOUPDATE._serialized_start=5417 + _DOUPDATE._serialized_end=5748 + _DOUPDATE_HEADERSENTRY._serialized_start=3582 + _DOUPDATE_HEADERSENTRY._serialized_end=3661 + _RESOLVENEXUSOPERATIONSTART._serialized_start=5751 + _RESOLVENEXUSOPERATIONSTART._serialized_end=5905 + _RESOLVENEXUSOPERATION._serialized_start=5907 + _RESOLVENEXUSOPERATION._serialized_end=5996 + _REMOVEFROMCACHE._serialized_start=5999 + _REMOVEFROMCACHE._serialized_end=6351 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_start=6113 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_end=6351 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi index 497382b74..50d253871 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi @@ -5,19 +5,15 @@ isort:skip_file Definitions of the different workflow activation jobs returned from [crate::Core::poll_task]. The lang SDK applies these activation jobs to drive workflows. """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -26,6 +22,7 @@ import temporalio.bridge.proto.activity_result.activity_result_pb2 import temporalio.bridge.proto.child_workflow.child_workflow_pb2 import temporalio.bridge.proto.common.common_pb2 import temporalio.bridge.proto.nexus.nexus_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -106,16 +103,10 @@ class WorkflowActivation(google.protobuf.message.Message): This ensures that the number is always deterministic """ @property - def jobs( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowActivationJob - ]: + def jobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowActivationJob]: """The things to do upon activating the workflow""" @property - def available_internal_flags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def available_internal_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Internal flags which are available for use by lang. If `is_replaying` is false, all internal flags may be used. This is not a delta - all previously used flags always appear since this representation is cheap. @@ -125,9 +116,7 @@ class WorkflowActivation(google.protobuf.message.Message): continue_as_new_suggested: builtins.bool """Set true if the most recent WFT started event had this suggestion""" @property - def deployment_version_for_current_task( - self, - ) -> temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion: + def deployment_version_for_current_task(self) -> temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion: """Set to the deployment version of the worker that processed this task, which may be empty. During replay this version may not equal the version of the replaying worker. If not replaying and this worker has a defined @@ -147,41 +136,10 @@ class WorkflowActivation(google.protobuf.message.Message): available_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., history_size_bytes: builtins.int = ..., continue_as_new_suggested: builtins.bool = ..., - deployment_version_for_current_task: temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version_for_current_task", - b"deployment_version_for_current_task", - "timestamp", - b"timestamp", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "available_internal_flags", - b"available_internal_flags", - "continue_as_new_suggested", - b"continue_as_new_suggested", - "deployment_version_for_current_task", - b"deployment_version_for_current_task", - "history_length", - b"history_length", - "history_size_bytes", - b"history_size_bytes", - "is_replaying", - b"is_replaying", - "jobs", - b"jobs", - "run_id", - b"run_id", - "timestamp", - b"timestamp", - ], + deployment_version_for_current_task: temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["deployment_version_for_current_task", b"deployment_version_for_current_task", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["available_internal_flags", b"available_internal_flags", "continue_as_new_suggested", b"continue_as_new_suggested", "deployment_version_for_current_task", b"deployment_version_for_current_task", "history_length", b"history_length", "history_size_bytes", b"history_size_bytes", "is_replaying", b"is_replaying", "jobs", b"jobs", "run_id", b"run_id", "timestamp", b"timestamp"]) -> None: ... global___WorkflowActivation = WorkflowActivation @@ -234,24 +192,16 @@ class WorkflowActivationJob(google.protobuf.message.Message): command being sent first. """ @property - def resolve_child_workflow_execution_start( - self, - ) -> global___ResolveChildWorkflowExecutionStart: + def resolve_child_workflow_execution_start(self) -> global___ResolveChildWorkflowExecutionStart: """A child workflow execution has started or failed to start""" @property - def resolve_child_workflow_execution( - self, - ) -> global___ResolveChildWorkflowExecution: + def resolve_child_workflow_execution(self) -> global___ResolveChildWorkflowExecution: """A child workflow was resolved, result could be completed or failed""" @property - def resolve_signal_external_workflow( - self, - ) -> global___ResolveSignalExternalWorkflow: + def resolve_signal_external_workflow(self) -> global___ResolveSignalExternalWorkflow: """An attempt to signal an external workflow resolved""" @property - def resolve_request_cancel_external_workflow( - self, - ) -> global___ResolveRequestCancelExternalWorkflow: + def resolve_request_cancel_external_workflow(self) -> global___ResolveRequestCancelExternalWorkflow: """An attempt to cancel an external workflow resolved""" @property def do_update(self) -> global___DoUpdate: @@ -279,120 +229,18 @@ class WorkflowActivationJob(google.protobuf.message.Message): signal_workflow: global___SignalWorkflow | None = ..., resolve_activity: global___ResolveActivity | None = ..., notify_has_patch: global___NotifyHasPatch | None = ..., - resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart - | None = ..., - resolve_child_workflow_execution: global___ResolveChildWorkflowExecution - | None = ..., - resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow - | None = ..., - resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow - | None = ..., + resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart | None = ..., + resolve_child_workflow_execution: global___ResolveChildWorkflowExecution | None = ..., + resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow | None = ..., + resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow | None = ..., do_update: global___DoUpdate | None = ..., resolve_nexus_operation_start: global___ResolveNexusOperationStart | None = ..., resolve_nexus_operation: global___ResolveNexusOperation | None = ..., remove_from_cache: global___RemoveFromCache | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel_workflow", - b"cancel_workflow", - "do_update", - b"do_update", - "fire_timer", - b"fire_timer", - "initialize_workflow", - b"initialize_workflow", - "notify_has_patch", - b"notify_has_patch", - "query_workflow", - b"query_workflow", - "remove_from_cache", - b"remove_from_cache", - "resolve_activity", - b"resolve_activity", - "resolve_child_workflow_execution", - b"resolve_child_workflow_execution", - "resolve_child_workflow_execution_start", - b"resolve_child_workflow_execution_start", - "resolve_nexus_operation", - b"resolve_nexus_operation", - "resolve_nexus_operation_start", - b"resolve_nexus_operation_start", - "resolve_request_cancel_external_workflow", - b"resolve_request_cancel_external_workflow", - "resolve_signal_external_workflow", - b"resolve_signal_external_workflow", - "signal_workflow", - b"signal_workflow", - "update_random_seed", - b"update_random_seed", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_workflow", - b"cancel_workflow", - "do_update", - b"do_update", - "fire_timer", - b"fire_timer", - "initialize_workflow", - b"initialize_workflow", - "notify_has_patch", - b"notify_has_patch", - "query_workflow", - b"query_workflow", - "remove_from_cache", - b"remove_from_cache", - "resolve_activity", - b"resolve_activity", - "resolve_child_workflow_execution", - b"resolve_child_workflow_execution", - "resolve_child_workflow_execution_start", - b"resolve_child_workflow_execution_start", - "resolve_nexus_operation", - b"resolve_nexus_operation", - "resolve_nexus_operation_start", - b"resolve_nexus_operation_start", - "resolve_request_cancel_external_workflow", - b"resolve_request_cancel_external_workflow", - "resolve_signal_external_workflow", - b"resolve_signal_external_workflow", - "signal_workflow", - b"signal_workflow", - "update_random_seed", - b"update_random_seed", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> ( - typing_extensions.Literal[ - "initialize_workflow", - "fire_timer", - "update_random_seed", - "query_workflow", - "cancel_workflow", - "signal_workflow", - "resolve_activity", - "notify_has_patch", - "resolve_child_workflow_execution_start", - "resolve_child_workflow_execution", - "resolve_signal_external_workflow", - "resolve_request_cancel_external_workflow", - "do_update", - "resolve_nexus_operation_start", - "resolve_nexus_operation", - "remove_from_cache", - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["cancel_workflow", b"cancel_workflow", "do_update", b"do_update", "fire_timer", b"fire_timer", "initialize_workflow", b"initialize_workflow", "notify_has_patch", b"notify_has_patch", "query_workflow", b"query_workflow", "remove_from_cache", b"remove_from_cache", "resolve_activity", b"resolve_activity", "resolve_child_workflow_execution", b"resolve_child_workflow_execution", "resolve_child_workflow_execution_start", b"resolve_child_workflow_execution_start", "resolve_nexus_operation", b"resolve_nexus_operation", "resolve_nexus_operation_start", b"resolve_nexus_operation_start", "resolve_request_cancel_external_workflow", b"resolve_request_cancel_external_workflow", "resolve_signal_external_workflow", b"resolve_signal_external_workflow", "signal_workflow", b"signal_workflow", "update_random_seed", b"update_random_seed", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_workflow", b"cancel_workflow", "do_update", b"do_update", "fire_timer", b"fire_timer", "initialize_workflow", b"initialize_workflow", "notify_has_patch", b"notify_has_patch", "query_workflow", b"query_workflow", "remove_from_cache", b"remove_from_cache", "resolve_activity", b"resolve_activity", "resolve_child_workflow_execution", b"resolve_child_workflow_execution", "resolve_child_workflow_execution_start", b"resolve_child_workflow_execution_start", "resolve_nexus_operation", b"resolve_nexus_operation", "resolve_nexus_operation_start", b"resolve_nexus_operation_start", "resolve_request_cancel_external_workflow", b"resolve_request_cancel_external_workflow", "resolve_signal_external_workflow", b"resolve_signal_external_workflow", "signal_workflow", b"signal_workflow", "update_random_seed", b"update_random_seed", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["initialize_workflow", "fire_timer", "update_random_seed", "query_workflow", "cancel_workflow", "signal_workflow", "resolve_activity", "notify_has_patch", "resolve_child_workflow_execution_start", "resolve_child_workflow_execution", "resolve_signal_external_workflow", "resolve_request_cancel_external_workflow", "do_update", "resolve_nexus_operation_start", "resolve_nexus_operation", "remove_from_cache"] | None: ... global___WorkflowActivationJob = WorkflowActivationJob @@ -415,13 +263,8 @@ class InitializeWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int WORKFLOW_ID_FIELD_NUMBER: builtins.int @@ -453,29 +296,19 @@ class InitializeWorkflow(google.protobuf.message.Message): workflow_id: builtins.str """The workflow id used on the temporal server""" @property - def arguments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Inputs to the workflow code""" randomness_seed: builtins.int """The seed must be used to initialize the random generator used by SDK. RandomSeedUpdatedAttributes are used to deliver seed updates. """ @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.""" identity: builtins.str """Identity of the client who requested this execution""" @property - def parent_workflow_info( - self, - ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def parent_workflow_info(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """If this workflow is a child, information about the parent""" @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -490,9 +323,7 @@ class InitializeWorkflow(google.protobuf.message.Message): """Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow, if any. """ - continued_initiator: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - ) + continued_initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType """If this workflow was a continuation, indicates the type of continuation.""" @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: @@ -510,16 +341,12 @@ class InitializeWorkflow(google.protobuf.message.Message): cron_schedule: builtins.str """If this workflow runs on a cron schedule, it will appear here""" @property - def workflow_execution_expiration_time( - self, - ) -> google.protobuf.timestamp_pb2.Timestamp: + def workflow_execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ @property - def cron_schedule_to_schedule_interval( - self, - ) -> google.protobuf.duration_pb2.Duration: + def cron_schedule_to_schedule_interval(self) -> google.protobuf.duration_pb2.Duration: """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ @@ -527,9 +354,7 @@ class InitializeWorkflow(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """User-defined memo""" @property - def search_attributes( - self, - ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: + def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes created/updated when this workflow was started""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -555,130 +380,32 @@ class InitializeWorkflow(google.protobuf.message.Message): *, workflow_type: builtins.str = ..., workflow_id: builtins.str = ..., - arguments: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., randomness_seed: builtins.int = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., identity: builtins.str = ..., - parent_workflow_info: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution - | None = ..., + parent_workflow_info: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., continued_from_execution_run_id: builtins.str = ..., continued_initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads - | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., first_execution_run_id: builtins.str = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., attempt: builtins.int = ..., cron_schedule: builtins.str = ..., - workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp - | None = ..., - cron_schedule_to_schedule_interval: google.protobuf.duration_pb2.Duration - | None = ..., + workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + cron_schedule_to_schedule_interval: google.protobuf.duration_pb2.Duration | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes - | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - root_workflow: temporalio.api.common.v1.message_pb2.WorkflowExecution - | None = ..., + root_workflow: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "continued_failure", - b"continued_failure", - "cron_schedule_to_schedule_interval", - b"cron_schedule_to_schedule_interval", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "parent_workflow_info", - b"parent_workflow_info", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "root_workflow", - b"root_workflow", - "search_attributes", - b"search_attributes", - "start_time", - b"start_time", - "workflow_execution_expiration_time", - b"workflow_execution_expiration_time", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "arguments", - b"arguments", - "attempt", - b"attempt", - "continued_failure", - b"continued_failure", - "continued_from_execution_run_id", - b"continued_from_execution_run_id", - "continued_initiator", - b"continued_initiator", - "cron_schedule", - b"cron_schedule", - "cron_schedule_to_schedule_interval", - b"cron_schedule_to_schedule_interval", - "first_execution_run_id", - b"first_execution_run_id", - "headers", - b"headers", - "identity", - b"identity", - "last_completion_result", - b"last_completion_result", - "memo", - b"memo", - "parent_workflow_info", - b"parent_workflow_info", - "priority", - b"priority", - "randomness_seed", - b"randomness_seed", - "retry_policy", - b"retry_policy", - "root_workflow", - b"root_workflow", - "search_attributes", - b"search_attributes", - "start_time", - b"start_time", - "workflow_execution_expiration_time", - b"workflow_execution_expiration_time", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "cron_schedule_to_schedule_interval", b"cron_schedule_to_schedule_interval", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_info", b"parent_workflow_info", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow", b"root_workflow", "search_attributes", b"search_attributes", "start_time", b"start_time", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "attempt", b"attempt", "continued_failure", b"continued_failure", "continued_from_execution_run_id", b"continued_from_execution_run_id", "continued_initiator", b"continued_initiator", "cron_schedule", b"cron_schedule", "cron_schedule_to_schedule_interval", b"cron_schedule_to_schedule_interval", "first_execution_run_id", b"first_execution_run_id", "headers", b"headers", "identity", b"identity", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_info", b"parent_workflow_info", "priority", b"priority", "randomness_seed", b"randomness_seed", "retry_policy", b"retry_policy", "root_workflow", b"root_workflow", "search_attributes", b"search_attributes", "start_time", b"start_time", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... global___InitializeWorkflow = InitializeWorkflow @@ -695,9 +422,7 @@ class FireTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___FireTimer = FireTimer @@ -712,11 +437,7 @@ class ResolveActivity(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleActivity command""" @property - def result( - self, - ) -> ( - temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution - ): ... + def result(self) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution: ... is_local: builtins.bool """Set to true if the resolution is for a local activity. This is used internally by Core and lang does not need to care about it. @@ -725,19 +446,11 @@ class ResolveActivity(google.protobuf.message.Message): self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution - | None = ..., + result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution | None = ..., is_local: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "is_local", b"is_local", "result", b"result", "seq", b"seq" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["is_local", b"is_local", "result", b"result", "seq", b"seq"]) -> None: ... global___ResolveActivity = ResolveActivity @@ -768,37 +481,9 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): failed: global___ResolveChildWorkflowExecutionStartFailure | None = ..., cancelled: global___ResolveChildWorkflowExecutionStartCancelled | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "failed", - b"failed", - "status", - b"status", - "succeeded", - b"succeeded", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancelled", - b"cancelled", - "failed", - b"failed", - "seq", - b"seq", - "status", - b"status", - "succeeded", - b"succeeded", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "failed", b"failed", "status", b"status", "succeeded", b"succeeded"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "failed", b"failed", "seq", b"seq", "status", b"status", "succeeded", b"succeeded"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... global___ResolveChildWorkflowExecutionStart = ResolveChildWorkflowExecutionStart @@ -814,13 +499,9 @@ class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message) *, run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["run_id", b"run_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id"]) -> None: ... -global___ResolveChildWorkflowExecutionStartSuccess = ( - ResolveChildWorkflowExecutionStartSuccess -) +global___ResolveChildWorkflowExecutionStartSuccess = ResolveChildWorkflowExecutionStartSuccess class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message): """Provide lang the cause of failure""" @@ -843,21 +524,9 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) workflow_type: builtins.str = ..., cause: temporalio.bridge.proto.child_workflow.child_workflow_pb2.StartChildWorkflowExecutionFailedCause.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cause", - b"cause", - "workflow_id", - b"workflow_id", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "workflow_id", b"workflow_id", "workflow_type", b"workflow_type"]) -> None: ... -global___ResolveChildWorkflowExecutionStartFailure = ( - ResolveChildWorkflowExecutionStartFailure -) +global___ResolveChildWorkflowExecutionStartFailure = ResolveChildWorkflowExecutionStartFailure class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Message): """`failure` should be ChildWorkflowFailure with cause set to CancelledFailure. @@ -874,16 +543,10 @@ class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Messag *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... -global___ResolveChildWorkflowExecutionStartCancelled = ( - ResolveChildWorkflowExecutionStartCancelled -) +global___ResolveChildWorkflowExecutionStartCancelled = ResolveChildWorkflowExecutionStartCancelled class ResolveChildWorkflowExecution(google.protobuf.message.Message): """Notify a workflow that a child workflow execution has been resolved""" @@ -895,24 +558,15 @@ class ResolveChildWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command""" @property - def result( - self, - ) -> ( - temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult - ): ... + def result(self) -> temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult: ... def __init__( self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] + result: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"]) -> None: ... global___ResolveChildWorkflowExecution = ResolveChildWorkflowExecution @@ -928,10 +582,7 @@ class UpdateRandomSeed(google.protobuf.message.Message): *, randomness_seed: builtins.int = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"]) -> None: ... global___UpdateRandomSeed = UpdateRandomSeed @@ -954,13 +605,8 @@ class QueryWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... QUERY_ID_FIELD_NUMBER: builtins.int QUERY_TYPE_FIELD_NUMBER: builtins.int @@ -974,45 +620,19 @@ class QueryWorkflow(google.protobuf.message.Message): query_type: builtins.str """The query's function/method/etc name""" @property - def arguments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: ... + def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Headers attached to the query""" def __init__( self, *, query_id: builtins.str = ..., query_type: builtins.str = ..., - arguments: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "arguments", - b"arguments", - "headers", - b"headers", - "query_id", - b"query_id", - "query_type", - b"query_type", - ], + arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "headers", b"headers", "query_id", b"query_id", "query_type", b"query_type"]) -> None: ... global___QueryWorkflow = QueryWorkflow @@ -1029,9 +649,7 @@ class CancelWorkflow(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["reason", b"reason"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason"]) -> None: ... global___CancelWorkflow = CancelWorkflow @@ -1054,13 +672,8 @@ class SignalWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SIGNAL_NAME_FIELD_NUMBER: builtins.int INPUT_FIELD_NUMBER: builtins.int @@ -1068,45 +681,21 @@ class SignalWorkflow(google.protobuf.message.Message): HEADERS_FIELD_NUMBER: builtins.int signal_name: builtins.str @property - def input( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: ... + def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... identity: builtins.str """Identity of the sender of the signal""" @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Headers attached to the signal""" def __init__( self, *, signal_name: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., identity: builtins.str = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "headers", - b"headers", - "identity", - b"identity", - "input", - b"input", - "signal_name", - b"signal_name", - ], + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["headers", b"headers", "identity", b"identity", "input", b"input", "signal_name", b"signal_name"]) -> None: ... global___SignalWorkflow = SignalWorkflow @@ -1124,9 +713,7 @@ class NotifyHasPatch(google.protobuf.message.Message): *, patch_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["patch_id", b"patch_id"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["patch_id", b"patch_id"]) -> None: ... global___NotifyHasPatch = NotifyHasPatch @@ -1150,13 +737,8 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): seq: builtins.int = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"]) -> None: ... global___ResolveSignalExternalWorkflow = ResolveSignalExternalWorkflow @@ -1180,13 +762,8 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): seq: builtins.int = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"]) -> None: ... global___ResolveRequestCancelExternalWorkflow = ResolveRequestCancelExternalWorkflow @@ -1212,13 +789,8 @@ class DoUpdate(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... ID_FIELD_NUMBER: builtins.int PROTOCOL_INSTANCE_ID_FIELD_NUMBER: builtins.int @@ -1236,18 +808,10 @@ class DoUpdate(google.protobuf.message.Message): name: builtins.str """The name of the update handler""" @property - def input( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """The input to the update""" @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Headers attached to the update""" @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: @@ -1264,37 +828,13 @@ class DoUpdate(google.protobuf.message.Message): id: builtins.str = ..., protocol_instance_id: builtins.str = ..., name: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., meta: temporalio.api.update.v1.message_pb2.Meta | None = ..., run_validator: builtins.bool = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["meta", b"meta"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "headers", - b"headers", - "id", - b"id", - "input", - b"input", - "meta", - b"meta", - "name", - b"name", - "protocol_instance_id", - b"protocol_instance_id", - "run_validator", - b"run_validator", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["headers", b"headers", "id", b"id", "input", b"input", "meta", b"meta", "name", b"name", "protocol_instance_id", b"protocol_instance_id", "run_validator", b"run_validator"]) -> None: ... global___DoUpdate = DoUpdate @@ -1330,39 +870,9 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): started_sync: builtins.bool = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failed", - b"failed", - "operation_token", - b"operation_token", - "started_sync", - b"started_sync", - "status", - b"status", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failed", - b"failed", - "operation_token", - b"operation_token", - "seq", - b"seq", - "started_sync", - b"started_sync", - "status", - b"status", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["operation_token", "started_sync", "failed"] | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "operation_token", b"operation_token", "started_sync", b"started_sync", "status", b"status"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "operation_token", b"operation_token", "seq", b"seq", "started_sync", b"started_sync", "status", b"status"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["operation_token", "started_sync", "failed"] | None: ... global___ResolveNexusOperationStart = ResolveNexusOperationStart @@ -1374,22 +884,15 @@ class ResolveNexusOperation(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleNexusOperation command""" @property - def result( - self, - ) -> temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult: ... + def result(self) -> temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult: ... def __init__( self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult - | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] + result: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult | None = ..., ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"]) -> None: ... global___ResolveNexusOperation = ResolveNexusOperation @@ -1400,12 +903,7 @@ class RemoveFromCache(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _EvictionReasonEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - RemoveFromCache._EvictionReason.ValueType - ], - builtins.type, - ): # noqa: F821 + class _EvictionReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RemoveFromCache._EvictionReason.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: RemoveFromCache._EvictionReason.ValueType # 0 CACHE_FULL: RemoveFromCache._EvictionReason.ValueType # 1 @@ -1482,11 +980,6 @@ class RemoveFromCache(google.protobuf.message.Message): message: builtins.str = ..., reason: global___RemoveFromCache.EvictionReason.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "message", b"message", "reason", b"reason" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "reason", b"reason"]) -> None: ... global___RemoveFromCache = RemoveFromCache diff --git a/temporalio/bridge/proto/workflow_commands/__init__.py b/temporalio/bridge/proto/workflow_commands/__init__.py index f599917af..02dcb6712 100644 --- a/temporalio/bridge/proto/workflow_commands/__init__.py +++ b/temporalio/bridge/proto/workflow_commands/__init__.py @@ -1,30 +1,28 @@ -from .workflow_commands_pb2 import ( - ActivityCancellationType, - CancelChildWorkflowExecution, - CancelSignalWorkflow, - CancelTimer, - CancelWorkflowExecution, - CompleteWorkflowExecution, - ContinueAsNewWorkflowExecution, - FailWorkflowExecution, - ModifyWorkflowProperties, - QueryResult, - QuerySuccess, - RequestCancelActivity, - RequestCancelExternalWorkflowExecution, - RequestCancelLocalActivity, - RequestCancelNexusOperation, - ScheduleActivity, - ScheduleLocalActivity, - ScheduleNexusOperation, - SetPatchMarker, - SignalExternalWorkflowExecution, - StartChildWorkflowExecution, - StartTimer, - UpdateResponse, - UpsertWorkflowSearchAttributes, - WorkflowCommand, -) +from .workflow_commands_pb2 import ActivityCancellationType +from .workflow_commands_pb2 import WorkflowCommand +from .workflow_commands_pb2 import StartTimer +from .workflow_commands_pb2 import CancelTimer +from .workflow_commands_pb2 import ScheduleActivity +from .workflow_commands_pb2 import ScheduleLocalActivity +from .workflow_commands_pb2 import RequestCancelActivity +from .workflow_commands_pb2 import RequestCancelLocalActivity +from .workflow_commands_pb2 import QueryResult +from .workflow_commands_pb2 import QuerySuccess +from .workflow_commands_pb2 import CompleteWorkflowExecution +from .workflow_commands_pb2 import FailWorkflowExecution +from .workflow_commands_pb2 import ContinueAsNewWorkflowExecution +from .workflow_commands_pb2 import CancelWorkflowExecution +from .workflow_commands_pb2 import SetPatchMarker +from .workflow_commands_pb2 import StartChildWorkflowExecution +from .workflow_commands_pb2 import CancelChildWorkflowExecution +from .workflow_commands_pb2 import RequestCancelExternalWorkflowExecution +from .workflow_commands_pb2 import SignalExternalWorkflowExecution +from .workflow_commands_pb2 import CancelSignalWorkflow +from .workflow_commands_pb2 import UpsertWorkflowSearchAttributes +from .workflow_commands_pb2 import ModifyWorkflowProperties +from .workflow_commands_pb2 import UpdateResponse +from .workflow_commands_pb2 import ScheduleNexusOperation +from .workflow_commands_pb2 import RequestCancelNexusOperation __all__ = [ "ActivityCancellationType", diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py index 5181a3801..3969755ff 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py @@ -2,600 +2,425 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_commands/workflow_commands.proto """Generated protocol buffer code.""" - +from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 +from temporalio.bridge.proto.child_workflow import child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2 +from temporalio.bridge.proto.nexus import nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 + -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.bridge.proto.child_workflow import ( - child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) -from temporalio.bridge.proto.nexus import ( - nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xfb\x06\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12j\n\x11search_attributes\x18\x08 \x03(\x0b\x32O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x19\n\x17\x43\x61ncelWorkflowExecution"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08"\x94\n\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12g\n\x11search_attributes\x18\x11 \x03(\x0b\x32L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xe6\x01\n\x1eUpsertWorkflowSearchAttributes\x12j\n\x11search_attributes\x18\x01 \x03(\x0b\x32O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response"\xa1\x03\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3' -) - -_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name["ActivityCancellationType"] +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto\"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n\"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n\"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant\"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant\"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfb\x06\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12j\n\x11search_attributes\x18\x08 \x03(\x0b\x32O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x19\n\x17\x43\x61ncelWorkflowExecution\"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\"\x94\n\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12g\n\x11search_attributes\x18\x11 \x03(\x0b\x32L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target\"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\xe6\x01\n\x1eUpsertWorkflowSearchAttributes\x12j\n\x11search_attributes\x18\x01 \x03(\x0b\x32O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response\"\xa1\x03\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3') + +_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['ActivityCancellationType'] ActivityCancellationType = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELLATIONTYPE) TRY_CANCEL = 0 WAIT_CANCELLATION_COMPLETED = 1 ABANDON = 2 -_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name["WorkflowCommand"] -_STARTTIMER = DESCRIPTOR.message_types_by_name["StartTimer"] -_CANCELTIMER = DESCRIPTOR.message_types_by_name["CancelTimer"] -_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleActivity"] -_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name["HeadersEntry"] -_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleLocalActivity"] -_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name[ - "HeadersEntry" -] -_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name["RequestCancelActivity"] -_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name[ - "RequestCancelLocalActivity" -] -_QUERYRESULT = DESCRIPTOR.message_types_by_name["QueryResult"] -_QUERYSUCCESS = DESCRIPTOR.message_types_by_name["QuerySuccess"] -_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "CompleteWorkflowExecution" -] -_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["FailWorkflowExecution"] -_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "ContinueAsNewWorkflowExecution" -] -_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = ( - _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] -) -_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = ( - _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = ( - _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["SearchAttributesEntry"] -) -_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["CancelWorkflowExecution"] -_SETPATCHMARKER = DESCRIPTOR.message_types_by_name["SetPatchMarker"] -_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecution" -] -_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = ( - _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = ( - _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] -) -_STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = ( - _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["SearchAttributesEntry"] -) -_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "CancelChildWorkflowExecution" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecution" -] -_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecution" -] -_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = ( - _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["CancelSignalWorkflow"] -_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributes" -] -_UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY = ( - _UPSERTWORKFLOWSEARCHATTRIBUTES.nested_types_by_name["SearchAttributesEntry"] -) -_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name["ModifyWorkflowProperties"] -_UPDATERESPONSE = DESCRIPTOR.message_types_by_name["UpdateResponse"] -_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ScheduleNexusOperation"] -_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name[ - "NexusHeaderEntry" -] -_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperation" -] -WorkflowCommand = _reflection.GeneratedProtocolMessageType( - "WorkflowCommand", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWCOMMAND, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) - }, -) +_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name['WorkflowCommand'] +_STARTTIMER = DESCRIPTOR.message_types_by_name['StartTimer'] +_CANCELTIMER = DESCRIPTOR.message_types_by_name['CancelTimer'] +_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name['ScheduleActivity'] +_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name['HeadersEntry'] +_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name['ScheduleLocalActivity'] +_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name['HeadersEntry'] +_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name['RequestCancelActivity'] +_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name['RequestCancelLocalActivity'] +_QUERYRESULT = DESCRIPTOR.message_types_by_name['QueryResult'] +_QUERYSUCCESS = DESCRIPTOR.message_types_by_name['QuerySuccess'] +_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CompleteWorkflowExecution'] +_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['FailWorkflowExecution'] +_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['ContinueAsNewWorkflowExecution'] +_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['MemoEntry'] +_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] +_CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['SearchAttributesEntry'] +_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CancelWorkflowExecution'] +_SETPATCHMARKER = DESCRIPTOR.message_types_by_name['SetPatchMarker'] +_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecution'] +_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] +_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['MemoEntry'] +_STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['SearchAttributesEntry'] +_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CancelChildWorkflowExecution'] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecution'] +_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecution'] +_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] +_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name['CancelSignalWorkflow'] +_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributes'] +_UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY = _UPSERTWORKFLOWSEARCHATTRIBUTES.nested_types_by_name['SearchAttributesEntry'] +_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name['ModifyWorkflowProperties'] +_UPDATERESPONSE = DESCRIPTOR.message_types_by_name['UpdateResponse'] +_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name['ScheduleNexusOperation'] +_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name['NexusHeaderEntry'] +_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name['RequestCancelNexusOperation'] +WorkflowCommand = _reflection.GeneratedProtocolMessageType('WorkflowCommand', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWCOMMAND, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) + }) _sym_db.RegisterMessage(WorkflowCommand) -StartTimer = _reflection.GeneratedProtocolMessageType( - "StartTimer", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) - }, -) +StartTimer = _reflection.GeneratedProtocolMessageType('StartTimer', (_message.Message,), { + 'DESCRIPTOR' : _STARTTIMER, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) + }) _sym_db.RegisterMessage(StartTimer) -CancelTimer = _reflection.GeneratedProtocolMessageType( - "CancelTimer", - (_message.Message,), - { - "DESCRIPTOR": _CANCELTIMER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) - }, -) +CancelTimer = _reflection.GeneratedProtocolMessageType('CancelTimer', (_message.Message,), { + 'DESCRIPTOR' : _CANCELTIMER, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) + }) _sym_db.RegisterMessage(CancelTimer) -ScheduleActivity = _reflection.GeneratedProtocolMessageType( - "ScheduleActivity", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIVITY_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) - }, - ), - "DESCRIPTOR": _SCHEDULEACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) - }, -) +ScheduleActivity = _reflection.GeneratedProtocolMessageType('ScheduleActivity', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEACTIVITY_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) + }) + , + 'DESCRIPTOR' : _SCHEDULEACTIVITY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) + }) _sym_db.RegisterMessage(ScheduleActivity) _sym_db.RegisterMessage(ScheduleActivity.HeadersEntry) -ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType( - "ScheduleLocalActivity", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELOCALACTIVITY_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) - }, - ), - "DESCRIPTOR": _SCHEDULELOCALACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) - }, -) +ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType('ScheduleLocalActivity', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULELOCALACTIVITY_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) + }) + , + 'DESCRIPTOR' : _SCHEDULELOCALACTIVITY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) + }) _sym_db.RegisterMessage(ScheduleLocalActivity) _sym_db.RegisterMessage(ScheduleLocalActivity.HeadersEntry) -RequestCancelActivity = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivity", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) - }, -) +RequestCancelActivity = _reflection.GeneratedProtocolMessageType('RequestCancelActivity', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELACTIVITY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) + }) _sym_db.RegisterMessage(RequestCancelActivity) -RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType( - "RequestCancelLocalActivity", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELLOCALACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) - }, -) +RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType('RequestCancelLocalActivity', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELLOCALACTIVITY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) + }) _sym_db.RegisterMessage(RequestCancelLocalActivity) -QueryResult = _reflection.GeneratedProtocolMessageType( - "QueryResult", - (_message.Message,), - { - "DESCRIPTOR": _QUERYRESULT, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) - }, -) +QueryResult = _reflection.GeneratedProtocolMessageType('QueryResult', (_message.Message,), { + 'DESCRIPTOR' : _QUERYRESULT, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) + }) _sym_db.RegisterMessage(QueryResult) -QuerySuccess = _reflection.GeneratedProtocolMessageType( - "QuerySuccess", - (_message.Message,), - { - "DESCRIPTOR": _QUERYSUCCESS, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) - }, -) +QuerySuccess = _reflection.GeneratedProtocolMessageType('QuerySuccess', (_message.Message,), { + 'DESCRIPTOR' : _QUERYSUCCESS, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) + }) _sym_db.RegisterMessage(QuerySuccess) -CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CompleteWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) - }, -) +CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType('CompleteWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _COMPLETEWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) + }) _sym_db.RegisterMessage(CompleteWorkflowExecution) -FailWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "FailWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _FAILWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) - }, -) +FailWorkflowExecution = _reflection.GeneratedProtocolMessageType('FailWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _FAILWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) + }) _sym_db.RegisterMessage(FailWorkflowExecution) -ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "ContinueAsNewWorkflowExecution", - (_message.Message,), - { - "MemoEntry": _reflection.GeneratedProtocolMessageType( - "MemoEntry", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) - }, - ), - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) - }, - ), - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) - }, -) +ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType('ContinueAsNewWorkflowExecution', (_message.Message,), { + + 'MemoEntry' : _reflection.GeneratedProtocolMessageType('MemoEntry', (_message.Message,), { + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) + }) + , + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) + }) + , + + 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry) + }) + , + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) + }) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.MemoEntry) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.HeadersEntry) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.SearchAttributesEntry) -CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CancelWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) - }, -) +CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType('CancelWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _CANCELWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) + }) _sym_db.RegisterMessage(CancelWorkflowExecution) -SetPatchMarker = _reflection.GeneratedProtocolMessageType( - "SetPatchMarker", - (_message.Message,), - { - "DESCRIPTOR": _SETPATCHMARKER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) - }, -) +SetPatchMarker = _reflection.GeneratedProtocolMessageType('SetPatchMarker', (_message.Message,), { + 'DESCRIPTOR' : _SETPATCHMARKER, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) + }) _sym_db.RegisterMessage(SetPatchMarker) -StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecution", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) - }, - ), - "MemoEntry": _reflection.GeneratedProtocolMessageType( - "MemoEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) - }, - ), - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) - }, -) +StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecution', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) + }) + , + + 'MemoEntry' : _reflection.GeneratedProtocolMessageType('MemoEntry', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) + }) + , + + 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry) + }) + , + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) + }) _sym_db.RegisterMessage(StartChildWorkflowExecution) _sym_db.RegisterMessage(StartChildWorkflowExecution.HeadersEntry) _sym_db.RegisterMessage(StartChildWorkflowExecution.MemoEntry) _sym_db.RegisterMessage(StartChildWorkflowExecution.SearchAttributesEntry) -CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CancelChildWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _CANCELCHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) - }, -) +CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('CancelChildWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _CANCELCHILDWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) + }) _sym_db.RegisterMessage(CancelChildWorkflowExecution) -RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) - }, -) +RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) + }) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecution) -SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecution", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) - }, - ), - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) - }, -) +SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecution', (_message.Message,), { + + 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) + }) + , + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) + }) _sym_db.RegisterMessage(SignalExternalWorkflowExecution) _sym_db.RegisterMessage(SignalExternalWorkflowExecution.HeadersEntry) -CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType( - "CancelSignalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _CANCELSIGNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) - }, -) +CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType('CancelSignalWorkflow', (_message.Message,), { + 'DESCRIPTOR' : _CANCELSIGNALWORKFLOW, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) + }) _sym_db.RegisterMessage(CancelSignalWorkflow) -UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributes", - (_message.Message,), - { - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) - }, -) +UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributes', (_message.Message,), { + + 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry) + }) + , + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTES, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) + }) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributes) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributes.SearchAttributesEntry) -ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType( - "ModifyWorkflowProperties", - (_message.Message,), - { - "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIES, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) - }, -) +ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType('ModifyWorkflowProperties', (_message.Message,), { + 'DESCRIPTOR' : _MODIFYWORKFLOWPROPERTIES, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) + }) _sym_db.RegisterMessage(ModifyWorkflowProperties) -UpdateResponse = _reflection.GeneratedProtocolMessageType( - "UpdateResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATERESPONSE, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) - }, -) +UpdateResponse = _reflection.GeneratedProtocolMessageType('UpdateResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATERESPONSE, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) + }) _sym_db.RegisterMessage(UpdateResponse) -ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType( - "ScheduleNexusOperation", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _SCHEDULENEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) - }, -) +ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType('ScheduleNexusOperation', (_message.Message,), { + + 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) + }) + , + 'DESCRIPTOR' : _SCHEDULENEXUSOPERATION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) + }) _sym_db.RegisterMessage(ScheduleNexusOperation) _sym_db.RegisterMessage(ScheduleNexusOperation.NexusHeaderEntry) -RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperation", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) - }, -) +RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType('RequestCancelNexusOperation', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELNEXUSOPERATION, + '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) + }) _sym_db.RegisterMessage(RequestCancelNexusOperation) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands" - ) - _SCHEDULEACTIVITY_HEADERSENTRY._options = None - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b"8\001" - _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._options = None - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b"8\001" - _ACTIVITYCANCELLATIONTYPE._serialized_start = 8580 - _ACTIVITYCANCELLATIONTYPE._serialized_end = 8668 - _WORKFLOWCOMMAND._serialized_start = 472 - _WORKFLOWCOMMAND._serialized_end = 2493 - _STARTTIMER._serialized_start = 2495 - _STARTTIMER._serialized_end = 2578 - _CANCELTIMER._serialized_start = 2580 - _CANCELTIMER._serialized_end = 2606 - _SCHEDULEACTIVITY._serialized_start = 2609 - _SCHEDULEACTIVITY._serialized_end = 3433 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start = 3354 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end = 3433 - _SCHEDULELOCALACTIVITY._serialized_start = 3436 - _SCHEDULELOCALACTIVITY._serialized_end = 4186 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start = 3354 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end = 3433 - _REQUESTCANCELACTIVITY._serialized_start = 4188 - _REQUESTCANCELACTIVITY._serialized_end = 4224 - _REQUESTCANCELLOCALACTIVITY._serialized_start = 4226 - _REQUESTCANCELLOCALACTIVITY._serialized_end = 4267 - _QUERYRESULT._serialized_start = 4270 - _QUERYRESULT._serialized_end = 4426 - _QUERYSUCCESS._serialized_start = 4428 - _QUERYSUCCESS._serialized_end = 4493 - _COMPLETEWORKFLOWEXECUTION._serialized_start = 4495 - _COMPLETEWORKFLOWEXECUTION._serialized_end = 4571 - _FAILWORKFLOWEXECUTION._serialized_start = 4573 - _FAILWORKFLOWEXECUTION._serialized_end = 4647 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start = 4650 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end = 5541 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5294 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5370 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start = 5453 - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end = 5541 - _CANCELWORKFLOWEXECUTION._serialized_start = 5543 - _CANCELWORKFLOWEXECUTION._serialized_end = 5568 - _SETPATCHMARKER._serialized_start = 5570 - _SETPATCHMARKER._serialized_end = 5624 - _STARTCHILDWORKFLOWEXECUTION._serialized_start = 5627 - _STARTCHILDWORKFLOWEXECUTION._serialized_end = 6927 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5294 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5370 - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start = 5453 - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end = 5541 - _CANCELCHILDWORKFLOWEXECUTION._serialized_start = 6929 - _CANCELCHILDWORKFLOWEXECUTION._serialized_end = 7003 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start = 7006 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end = 7148 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start = 7151 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end = 7550 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _CANCELSIGNALWORKFLOW._serialized_start = 7552 - _CANCELSIGNALWORKFLOW._serialized_end = 7587 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start = 7590 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end = 7820 - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_start = 5453 - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_end = 5541 - _MODIFYWORKFLOWPROPERTIES._serialized_start = 7822 - _MODIFYWORKFLOWPROPERTIES._serialized_end = 7901 - _UPDATERESPONSE._serialized_start = 7904 - _UPDATERESPONSE._serialized_end = 8114 - _SCHEDULENEXUSOPERATION._serialized_start = 8117 - _SCHEDULENEXUSOPERATION._serialized_end = 8534 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start = 8484 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end = 8534 - _REQUESTCANCELNEXUSOPERATION._serialized_start = 8536 - _REQUESTCANCELNEXUSOPERATION._serialized_end = 8578 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands' + _SCHEDULEACTIVITY_HEADERSENTRY._options = None + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b'8\001' + _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b'8\001' + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b'8\001' + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b'8\001' + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._options = None + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b'8\001' + _ACTIVITYCANCELLATIONTYPE._serialized_start=8580 + _ACTIVITYCANCELLATIONTYPE._serialized_end=8668 + _WORKFLOWCOMMAND._serialized_start=472 + _WORKFLOWCOMMAND._serialized_end=2493 + _STARTTIMER._serialized_start=2495 + _STARTTIMER._serialized_end=2578 + _CANCELTIMER._serialized_start=2580 + _CANCELTIMER._serialized_end=2606 + _SCHEDULEACTIVITY._serialized_start=2609 + _SCHEDULEACTIVITY._serialized_end=3433 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start=3354 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end=3433 + _SCHEDULELOCALACTIVITY._serialized_start=3436 + _SCHEDULELOCALACTIVITY._serialized_end=4186 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start=3354 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end=3433 + _REQUESTCANCELACTIVITY._serialized_start=4188 + _REQUESTCANCELACTIVITY._serialized_end=4224 + _REQUESTCANCELLOCALACTIVITY._serialized_start=4226 + _REQUESTCANCELLOCALACTIVITY._serialized_end=4267 + _QUERYRESULT._serialized_start=4270 + _QUERYRESULT._serialized_end=4426 + _QUERYSUCCESS._serialized_start=4428 + _QUERYSUCCESS._serialized_end=4493 + _COMPLETEWORKFLOWEXECUTION._serialized_start=4495 + _COMPLETEWORKFLOWEXECUTION._serialized_end=4571 + _FAILWORKFLOWEXECUTION._serialized_start=4573 + _FAILWORKFLOWEXECUTION._serialized_end=4647 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start=4650 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end=5541 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start=5294 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end=5370 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start=5453 + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end=5541 + _CANCELWORKFLOWEXECUTION._serialized_start=5543 + _CANCELWORKFLOWEXECUTION._serialized_end=5568 + _SETPATCHMARKER._serialized_start=5570 + _SETPATCHMARKER._serialized_end=5624 + _STARTCHILDWORKFLOWEXECUTION._serialized_start=5627 + _STARTCHILDWORKFLOWEXECUTION._serialized_end=6927 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start=5294 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end=5370 + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start=5453 + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end=5541 + _CANCELCHILDWORKFLOWEXECUTION._serialized_start=6929 + _CANCELCHILDWORKFLOWEXECUTION._serialized_end=7003 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start=7006 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end=7148 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start=7151 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end=7550 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 + _CANCELSIGNALWORKFLOW._serialized_start=7552 + _CANCELSIGNALWORKFLOW._serialized_end=7587 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start=7590 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end=7820 + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_start=5453 + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_end=5541 + _MODIFYWORKFLOWPROPERTIES._serialized_start=7822 + _MODIFYWORKFLOWPROPERTIES._serialized_end=7901 + _UPDATERESPONSE._serialized_start=7904 + _UPDATERESPONSE._serialized_end=8114 + _SCHEDULENEXUSOPERATION._serialized_start=8117 + _SCHEDULENEXUSOPERATION._serialized_end=8534 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start=8484 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end=8534 + _REQUESTCANCELNEXUSOPERATION._serialized_start=8536 + _REQUESTCANCELNEXUSOPERATION._serialized_end=8578 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi index 2143d89a5..95ba860a0 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi @@ -6,12 +6,8 @@ Definitions for commands from a workflow in lang SDK to core. While a workflow p of activation jobs, it accumulates these commands to be sent back to core to conclude that activation. """ - import builtins import collections.abc -import sys -import typing - import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 @@ -19,7 +15,7 @@ import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 - +import sys import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -27,6 +23,7 @@ import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.bridge.proto.child_workflow.child_workflow_pb2 import temporalio.bridge.proto.common.common_pb2 import temporalio.bridge.proto.nexus.nexus_pb2 +import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -39,12 +36,7 @@ class _ActivityCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ActivityCancellationTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ - _ActivityCancellationType.ValueType - ], - builtins.type, -): # noqa: F821 +class _ActivityCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ActivityCancellationType.ValueType], builtins.type): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TRY_CANCEL: _ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -58,9 +50,7 @@ class _ActivityCancellationTypeEnumTypeWrapper( workflow """ -class ActivityCancellationType( - _ActivityCancellationType, metaclass=_ActivityCancellationTypeEnumTypeWrapper -): ... +class ActivityCancellationType(_ActivityCancellationType, metaclass=_ActivityCancellationTypeEnumTypeWrapper): ... TRY_CANCEL: ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -122,29 +112,19 @@ class WorkflowCommand(google.protobuf.message.Message): @property def fail_workflow_execution(self) -> global___FailWorkflowExecution: ... @property - def continue_as_new_workflow_execution( - self, - ) -> global___ContinueAsNewWorkflowExecution: ... + def continue_as_new_workflow_execution(self) -> global___ContinueAsNewWorkflowExecution: ... @property def cancel_workflow_execution(self) -> global___CancelWorkflowExecution: ... @property def set_patch_marker(self) -> global___SetPatchMarker: ... @property - def start_child_workflow_execution( - self, - ) -> global___StartChildWorkflowExecution: ... + def start_child_workflow_execution(self) -> global___StartChildWorkflowExecution: ... @property - def cancel_child_workflow_execution( - self, - ) -> global___CancelChildWorkflowExecution: ... + def cancel_child_workflow_execution(self) -> global___CancelChildWorkflowExecution: ... @property - def request_cancel_external_workflow_execution( - self, - ) -> global___RequestCancelExternalWorkflowExecution: ... + def request_cancel_external_workflow_execution(self) -> global___RequestCancelExternalWorkflowExecution: ... @property - def signal_external_workflow_execution( - self, - ) -> global___SignalExternalWorkflowExecution: ... + def signal_external_workflow_execution(self) -> global___SignalExternalWorkflowExecution: ... @property def cancel_signal_workflow(self) -> global___CancelSignalWorkflow: ... @property @@ -152,9 +132,7 @@ class WorkflowCommand(google.protobuf.message.Message): @property def request_cancel_local_activity(self) -> global___RequestCancelLocalActivity: ... @property - def upsert_workflow_search_attributes( - self, - ) -> global___UpsertWorkflowSearchAttributes: ... + def upsert_workflow_search_attributes(self) -> global___UpsertWorkflowSearchAttributes: ... @property def modify_workflow_properties(self) -> global___ModifyWorkflowProperties: ... @property @@ -162,14 +140,11 @@ class WorkflowCommand(google.protobuf.message.Message): @property def schedule_nexus_operation(self) -> global___ScheduleNexusOperation: ... @property - def request_cancel_nexus_operation( - self, - ) -> global___RequestCancelNexusOperation: ... + def request_cancel_nexus_operation(self) -> global___RequestCancelNexusOperation: ... def __init__( self, *, - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata - | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., start_timer: global___StartTimer | None = ..., schedule_activity: global___ScheduleActivity | None = ..., respond_to_query: global___QueryResult | None = ..., @@ -177,164 +152,25 @@ class WorkflowCommand(google.protobuf.message.Message): cancel_timer: global___CancelTimer | None = ..., complete_workflow_execution: global___CompleteWorkflowExecution | None = ..., fail_workflow_execution: global___FailWorkflowExecution | None = ..., - continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution - | None = ..., + continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution | None = ..., cancel_workflow_execution: global___CancelWorkflowExecution | None = ..., set_patch_marker: global___SetPatchMarker | None = ..., - start_child_workflow_execution: global___StartChildWorkflowExecution - | None = ..., - cancel_child_workflow_execution: global___CancelChildWorkflowExecution - | None = ..., - request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution - | None = ..., - signal_external_workflow_execution: global___SignalExternalWorkflowExecution - | None = ..., + start_child_workflow_execution: global___StartChildWorkflowExecution | None = ..., + cancel_child_workflow_execution: global___CancelChildWorkflowExecution | None = ..., + request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution | None = ..., + signal_external_workflow_execution: global___SignalExternalWorkflowExecution | None = ..., cancel_signal_workflow: global___CancelSignalWorkflow | None = ..., schedule_local_activity: global___ScheduleLocalActivity | None = ..., request_cancel_local_activity: global___RequestCancelLocalActivity | None = ..., - upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes - | None = ..., + upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes | None = ..., modify_workflow_properties: global___ModifyWorkflowProperties | None = ..., update_response: global___UpdateResponse | None = ..., schedule_nexus_operation: global___ScheduleNexusOperation | None = ..., - request_cancel_nexus_operation: global___RequestCancelNexusOperation - | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "cancel_child_workflow_execution", - b"cancel_child_workflow_execution", - "cancel_signal_workflow", - b"cancel_signal_workflow", - "cancel_timer", - b"cancel_timer", - "cancel_workflow_execution", - b"cancel_workflow_execution", - "complete_workflow_execution", - b"complete_workflow_execution", - "continue_as_new_workflow_execution", - b"continue_as_new_workflow_execution", - "fail_workflow_execution", - b"fail_workflow_execution", - "modify_workflow_properties", - b"modify_workflow_properties", - "request_cancel_activity", - b"request_cancel_activity", - "request_cancel_external_workflow_execution", - b"request_cancel_external_workflow_execution", - "request_cancel_local_activity", - b"request_cancel_local_activity", - "request_cancel_nexus_operation", - b"request_cancel_nexus_operation", - "respond_to_query", - b"respond_to_query", - "schedule_activity", - b"schedule_activity", - "schedule_local_activity", - b"schedule_local_activity", - "schedule_nexus_operation", - b"schedule_nexus_operation", - "set_patch_marker", - b"set_patch_marker", - "signal_external_workflow_execution", - b"signal_external_workflow_execution", - "start_child_workflow_execution", - b"start_child_workflow_execution", - "start_timer", - b"start_timer", - "update_response", - b"update_response", - "upsert_workflow_search_attributes", - b"upsert_workflow_search_attributes", - "user_metadata", - b"user_metadata", - "variant", - b"variant", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancel_child_workflow_execution", - b"cancel_child_workflow_execution", - "cancel_signal_workflow", - b"cancel_signal_workflow", - "cancel_timer", - b"cancel_timer", - "cancel_workflow_execution", - b"cancel_workflow_execution", - "complete_workflow_execution", - b"complete_workflow_execution", - "continue_as_new_workflow_execution", - b"continue_as_new_workflow_execution", - "fail_workflow_execution", - b"fail_workflow_execution", - "modify_workflow_properties", - b"modify_workflow_properties", - "request_cancel_activity", - b"request_cancel_activity", - "request_cancel_external_workflow_execution", - b"request_cancel_external_workflow_execution", - "request_cancel_local_activity", - b"request_cancel_local_activity", - "request_cancel_nexus_operation", - b"request_cancel_nexus_operation", - "respond_to_query", - b"respond_to_query", - "schedule_activity", - b"schedule_activity", - "schedule_local_activity", - b"schedule_local_activity", - "schedule_nexus_operation", - b"schedule_nexus_operation", - "set_patch_marker", - b"set_patch_marker", - "signal_external_workflow_execution", - b"signal_external_workflow_execution", - "start_child_workflow_execution", - b"start_child_workflow_execution", - "start_timer", - b"start_timer", - "update_response", - b"update_response", - "upsert_workflow_search_attributes", - b"upsert_workflow_search_attributes", - "user_metadata", - b"user_metadata", - "variant", - b"variant", - ], + request_cancel_nexus_operation: global___RequestCancelNexusOperation | None = ..., ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> ( - typing_extensions.Literal[ - "start_timer", - "schedule_activity", - "respond_to_query", - "request_cancel_activity", - "cancel_timer", - "complete_workflow_execution", - "fail_workflow_execution", - "continue_as_new_workflow_execution", - "cancel_workflow_execution", - "set_patch_marker", - "start_child_workflow_execution", - "cancel_child_workflow_execution", - "request_cancel_external_workflow_execution", - "signal_external_workflow_execution", - "cancel_signal_workflow", - "schedule_local_activity", - "request_cancel_local_activity", - "upsert_workflow_search_attributes", - "modify_workflow_properties", - "update_response", - "schedule_nexus_operation", - "request_cancel_nexus_operation", - ] - | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", b"cancel_signal_workflow", "cancel_timer", b"cancel_timer", "cancel_workflow_execution", b"cancel_workflow_execution", "complete_workflow_execution", b"complete_workflow_execution", "continue_as_new_workflow_execution", b"continue_as_new_workflow_execution", "fail_workflow_execution", b"fail_workflow_execution", "modify_workflow_properties", b"modify_workflow_properties", "request_cancel_activity", b"request_cancel_activity", "request_cancel_external_workflow_execution", b"request_cancel_external_workflow_execution", "request_cancel_local_activity", b"request_cancel_local_activity", "request_cancel_nexus_operation", b"request_cancel_nexus_operation", "respond_to_query", b"respond_to_query", "schedule_activity", b"schedule_activity", "schedule_local_activity", b"schedule_local_activity", "schedule_nexus_operation", b"schedule_nexus_operation", "set_patch_marker", b"set_patch_marker", "signal_external_workflow_execution", b"signal_external_workflow_execution", "start_child_workflow_execution", b"start_child_workflow_execution", "start_timer", b"start_timer", "update_response", b"update_response", "upsert_workflow_search_attributes", b"upsert_workflow_search_attributes", "user_metadata", b"user_metadata", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", b"cancel_signal_workflow", "cancel_timer", b"cancel_timer", "cancel_workflow_execution", b"cancel_workflow_execution", "complete_workflow_execution", b"complete_workflow_execution", "continue_as_new_workflow_execution", b"continue_as_new_workflow_execution", "fail_workflow_execution", b"fail_workflow_execution", "modify_workflow_properties", b"modify_workflow_properties", "request_cancel_activity", b"request_cancel_activity", "request_cancel_external_workflow_execution", b"request_cancel_external_workflow_execution", "request_cancel_local_activity", b"request_cancel_local_activity", "request_cancel_nexus_operation", b"request_cancel_nexus_operation", "respond_to_query", b"respond_to_query", "schedule_activity", b"schedule_activity", "schedule_local_activity", b"schedule_local_activity", "schedule_nexus_operation", b"schedule_nexus_operation", "set_patch_marker", b"set_patch_marker", "signal_external_workflow_execution", b"signal_external_workflow_execution", "start_child_workflow_execution", b"start_child_workflow_execution", "start_timer", b"start_timer", "update_response", b"update_response", "upsert_workflow_search_attributes", b"upsert_workflow_search_attributes", "user_metadata", b"user_metadata", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_timer", "schedule_activity", "respond_to_query", "request_cancel_activity", "cancel_timer", "complete_workflow_execution", "fail_workflow_execution", "continue_as_new_workflow_execution", "cancel_workflow_execution", "set_patch_marker", "start_child_workflow_execution", "cancel_child_workflow_execution", "request_cancel_external_workflow_execution", "signal_external_workflow_execution", "cancel_signal_workflow", "schedule_local_activity", "request_cancel_local_activity", "upsert_workflow_search_attributes", "modify_workflow_properties", "update_response", "schedule_nexus_operation", "request_cancel_nexus_operation"] | None: ... global___WorkflowCommand = WorkflowCommand @@ -353,18 +189,8 @@ class StartTimer(google.protobuf.message.Message): seq: builtins.int = ..., start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout"]) -> None: ... global___StartTimer = StartTimer @@ -379,9 +205,7 @@ class CancelTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___CancelTimer = CancelTimer @@ -402,13 +226,8 @@ class ScheduleActivity(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEQ_FIELD_NUMBER: builtins.int ACTIVITY_ID_FIELD_NUMBER: builtins.int @@ -432,17 +251,9 @@ class ScheduleActivity(google.protobuf.message.Message): task_queue: builtins.str """The name of the task queue to place this activity request in""" @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: ... + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... @property - def arguments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Arguments/input to the activity. Called "input" upstream.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -477,9 +288,7 @@ class ScheduleActivity(google.protobuf.message.Message): activity. When unset/default, workers will always attempt to do so if activity execution slots are available. """ - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) + versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType """Whether this activity should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -491,14 +300,8 @@ class ScheduleActivity(google.protobuf.message.Message): activity_id: builtins.str = ..., activity_type: builtins.str = ..., task_queue: builtins.str = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - arguments: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -509,58 +312,8 @@ class ScheduleActivity(google.protobuf.message.Message): versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "heartbeat_timeout", - b"heartbeat_timeout", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "arguments", - b"arguments", - "cancellation_type", - b"cancellation_type", - "do_not_eagerly_execute", - b"do_not_eagerly_execute", - "headers", - b"headers", - "heartbeat_timeout", - b"heartbeat_timeout", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "seq", - b"seq", - "start_to_close_timeout", - b"start_to_close_timeout", - "task_queue", - b"task_queue", - "versioning_intent", - b"versioning_intent", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "arguments", b"arguments", "cancellation_type", b"cancellation_type", "do_not_eagerly_execute", b"do_not_eagerly_execute", "headers", b"headers", "heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "seq", b"seq", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent"]) -> None: ... global___ScheduleActivity = ScheduleActivity @@ -581,13 +334,8 @@ class ScheduleLocalActivity(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEQ_FIELD_NUMBER: builtins.int ACTIVITY_ID_FIELD_NUMBER: builtins.int @@ -617,17 +365,9 @@ class ScheduleLocalActivity(google.protobuf.message.Message): scheduling time (as provided in `DoBackoff`) """ @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: ... + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... @property - def arguments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Arguments/input to the activity.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -674,14 +414,8 @@ class ScheduleLocalActivity(google.protobuf.message.Message): activity_type: builtins.str = ..., attempt: builtins.int = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - arguments: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -689,54 +423,8 @@ class ScheduleLocalActivity(google.protobuf.message.Message): local_retry_threshold: google.protobuf.duration_pb2.Duration | None = ..., cancellation_type: global___ActivityCancellationType.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "local_retry_threshold", - b"local_retry_threshold", - "original_schedule_time", - b"original_schedule_time", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "start_to_close_timeout", - b"start_to_close_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "activity_id", - b"activity_id", - "activity_type", - b"activity_type", - "arguments", - b"arguments", - "attempt", - b"attempt", - "cancellation_type", - b"cancellation_type", - "headers", - b"headers", - "local_retry_threshold", - b"local_retry_threshold", - "original_schedule_time", - b"original_schedule_time", - "retry_policy", - b"retry_policy", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "schedule_to_start_timeout", - b"schedule_to_start_timeout", - "seq", - b"seq", - "start_to_close_timeout", - b"start_to_close_timeout", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["local_retry_threshold", b"local_retry_threshold", "original_schedule_time", b"original_schedule_time", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "arguments", b"arguments", "attempt", b"attempt", "cancellation_type", b"cancellation_type", "headers", b"headers", "local_retry_threshold", b"local_retry_threshold", "original_schedule_time", b"original_schedule_time", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "seq", b"seq", "start_to_close_timeout", b"start_to_close_timeout"]) -> None: ... global___ScheduleLocalActivity = ScheduleLocalActivity @@ -751,9 +439,7 @@ class RequestCancelActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___RequestCancelActivity = RequestCancelActivity @@ -768,9 +454,7 @@ class RequestCancelLocalActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___RequestCancelLocalActivity = RequestCancelLocalActivity @@ -793,28 +477,9 @@ class QueryResult(google.protobuf.message.Message): succeeded: global___QuerySuccess | None = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failed", b"failed", "succeeded", b"succeeded", "variant", b"variant" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failed", - b"failed", - "query_id", - b"query_id", - "succeeded", - b"succeeded", - "variant", - b"variant", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["succeeded", "failed"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "succeeded", b"succeeded", "variant", b"variant"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "query_id", b"query_id", "succeeded", b"succeeded", "variant", b"variant"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["succeeded", "failed"] | None: ... global___QueryResult = QueryResult @@ -829,12 +494,8 @@ class QuerySuccess(google.protobuf.message.Message): *, response: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["response", b"response"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["response", b"response"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["response", b"response"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["response", b"response"]) -> None: ... global___QuerySuccess = QuerySuccess @@ -851,12 +512,8 @@ class CompleteWorkflowExecution(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... global___CompleteWorkflowExecution = CompleteWorkflowExecution @@ -873,12 +530,8 @@ class FailWorkflowExecution(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... global___FailWorkflowExecution = FailWorkflowExecution @@ -901,13 +554,8 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -923,13 +571,8 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -945,13 +588,8 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -968,11 +606,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): task_queue: builtins.str """Task queue for the new workflow execution""" @property - def arguments( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense. """ @@ -983,27 +617,15 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task. Will not re-use current workflow's value.""" @property - def memo( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def memo(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo""" @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """If set, the new workflow will have these headers. Will *not* re-use current workflow's headers otherwise. """ @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes. """ @@ -1012,72 +634,24 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy. """ - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) + versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType """Whether the continued workflow should run on a worker with a compatible build id or not.""" def __init__( self, *, workflow_type: builtins.str = ..., task_queue: builtins.str = ..., - arguments: collections.abc.Iterable[ - temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., - memo: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - search_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + memo: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "retry_policy", - b"retry_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "arguments", - b"arguments", - "headers", - b"headers", - "memo", - b"memo", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "task_queue", - b"task_queue", - "versioning_intent", - b"versioning_intent", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["retry_policy", b"retry_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "headers", b"headers", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... global___ContinueAsNewWorkflowExecution = ContinueAsNewWorkflowExecution @@ -1116,12 +690,7 @@ class SetPatchMarker(google.protobuf.message.Message): patch_id: builtins.str = ..., deprecated: builtins.bool = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "deprecated", b"deprecated", "patch_id", b"patch_id" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deprecated", b"deprecated", "patch_id", b"patch_id"]) -> None: ... global___SetPatchMarker = SetPatchMarker @@ -1144,13 +713,8 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1166,13 +730,8 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1188,13 +747,8 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEQ_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @@ -1222,11 +776,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_type: builtins.str task_queue: builtins.str @property - def input( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: ... + def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" @@ -1238,9 +788,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): """Timeout of a single workflow task.""" parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) + workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. """ @@ -1248,31 +796,17 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... cron_schedule: builtins.str @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Header fields""" @property - def memo( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def memo(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Memo fields""" @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Search attributes""" cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) + versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType """Whether this child should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -1285,8 +819,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., workflow_type: builtins.str = ..., task_queue: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -1294,80 +827,15 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - memo: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - search_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + memo: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancellation_type", - b"cancellation_type", - "cron_schedule", - b"cron_schedule", - "headers", - b"headers", - "input", - b"input", - "memo", - b"memo", - "namespace", - b"namespace", - "parent_close_policy", - b"parent_close_policy", - "priority", - b"priority", - "retry_policy", - b"retry_policy", - "search_attributes", - b"search_attributes", - "seq", - b"seq", - "task_queue", - b"task_queue", - "versioning_intent", - b"versioning_intent", - "workflow_execution_timeout", - b"workflow_execution_timeout", - "workflow_id", - b"workflow_id", - "workflow_id_reuse_policy", - b"workflow_id_reuse_policy", - "workflow_run_timeout", - b"workflow_run_timeout", - "workflow_task_timeout", - b"workflow_task_timeout", - "workflow_type", - b"workflow_type", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["priority", b"priority", "retry_policy", b"retry_policy", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancellation_type", b"cancellation_type", "cron_schedule", b"cron_schedule", "headers", b"headers", "input", b"input", "memo", b"memo", "namespace", b"namespace", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "seq", b"seq", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... global___StartChildWorkflowExecution = StartChildWorkflowExecution @@ -1388,12 +856,7 @@ class CancelChildWorkflowExecution(google.protobuf.message.Message): child_workflow_seq: builtins.int = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_seq", b"child_workflow_seq", "reason", b"reason" - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["child_workflow_seq", b"child_workflow_seq", "reason", b"reason"]) -> None: ... global___CancelChildWorkflowExecution = CancelChildWorkflowExecution @@ -1410,9 +873,7 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" @property - def workflow_execution( - self, - ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def workflow_execution(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """The workflow instance being targeted""" reason: builtins.str """A reason for the cancellation""" @@ -1420,27 +881,11 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): self, *, seq: builtins.int = ..., - workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution - | None = ..., + workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., reason: builtins.str = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "reason", - b"reason", - "seq", - b"seq", - "workflow_execution", - b"workflow_execution", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "seq", b"seq", "workflow_execution", b"workflow_execution"]) -> None: ... global___RequestCancelExternalWorkflowExecution = RequestCancelExternalWorkflowExecution @@ -1463,13 +908,8 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEQ_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int @@ -1480,78 +920,31 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" @property - def workflow_execution( - self, - ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def workflow_execution(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """A specific workflow instance""" child_workflow_id: builtins.str """The desired target must be a child of the issuing workflow, and this is its workflow id""" signal_name: builtins.str """Name of the signal handler""" @property - def args( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.common.v1.message_pb2.Payload - ]: + def args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: """Arguments for the handler""" @property - def headers( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """Headers to attach to the signal""" def __init__( self, *, seq: builtins.int = ..., - workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution - | None = ..., + workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., child_workflow_id: builtins.str = ..., signal_name: builtins.str = ..., - args: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] - | None = ..., - headers: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., + args: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "child_workflow_id", - b"child_workflow_id", - "target", - b"target", - "workflow_execution", - b"workflow_execution", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "args", - b"args", - "child_workflow_id", - b"child_workflow_id", - "headers", - b"headers", - "seq", - b"seq", - "signal_name", - b"signal_name", - "target", - b"target", - "workflow_execution", - b"workflow_execution", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["target", b"target"] - ) -> ( - typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None - ): ... + def HasField(self, field_name: typing_extensions.Literal["child_workflow_id", b"child_workflow_id", "target", b"target", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "child_workflow_id", b"child_workflow_id", "headers", b"headers", "seq", b"seq", "signal_name", b"signal_name", "target", b"target", "workflow_execution", b"workflow_execution"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["target", b"target"]) -> typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None: ... global___SignalExternalWorkflowExecution = SignalExternalWorkflowExecution @@ -1568,9 +961,7 @@ class CancelSignalWorkflow(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___CancelSignalWorkflow = CancelSignalWorkflow @@ -1591,38 +982,21 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int @property - def search_attributes( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ]: + def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: """SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value = value? """ def __init__( self, *, - search_attributes: collections.abc.Mapping[ - builtins.str, temporalio.api.common.v1.message_pb2.Payload - ] - | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> None: ... global___UpsertWorkflowSearchAttributes = UpsertWorkflowSearchAttributes @@ -1641,12 +1015,8 @@ class ModifyWorkflowProperties(google.protobuf.message.Message): *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] - ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> None: ... global___ModifyWorkflowProperties = ModifyWorkflowProperties @@ -1692,37 +1062,9 @@ class UpdateResponse(google.protobuf.message.Message): rejected: temporalio.api.failure.v1.message_pb2.Failure | None = ..., completed: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "accepted", - b"accepted", - "completed", - b"completed", - "rejected", - b"rejected", - "response", - b"response", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted", - b"accepted", - "completed", - b"completed", - "protocol_instance_id", - b"protocol_instance_id", - "rejected", - b"rejected", - "response", - b"response", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["accepted", b"accepted", "completed", b"completed", "rejected", b"rejected", "response", b"response"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["accepted", b"accepted", "completed", b"completed", "protocol_instance_id", b"protocol_instance_id", "rejected", b"rejected", "response", b"response"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... global___UpdateResponse = UpdateResponse @@ -1744,10 +1086,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... SEQ_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int @@ -1779,9 +1118,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): Calls are retried internally by the server. """ @property - def nexus_header( - self, - ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating @@ -1789,9 +1126,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - cancellation_type: ( - temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType - ) + cancellation_type: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" def __init__( self, @@ -1805,33 +1140,8 @@ class ScheduleNexusOperation(google.protobuf.message.Message): nexus_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., cancellation_type: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "cancellation_type", - b"cancellation_type", - "endpoint", - b"endpoint", - "input", - b"input", - "nexus_header", - b"nexus_header", - "operation", - b"operation", - "schedule_to_close_timeout", - b"schedule_to_close_timeout", - "seq", - b"seq", - "service", - b"service", - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cancellation_type", b"cancellation_type", "endpoint", b"endpoint", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "schedule_to_close_timeout", b"schedule_to_close_timeout", "seq", b"seq", "service", b"service"]) -> None: ... global___ScheduleNexusOperation = ScheduleNexusOperation @@ -1848,8 +1158,6 @@ class RequestCancelNexusOperation(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... global___RequestCancelNexusOperation = RequestCancelNexusOperation diff --git a/temporalio/bridge/proto/workflow_completion/__init__.py b/temporalio/bridge/proto/workflow_completion/__init__.py index b36657533..6d0011e38 100644 --- a/temporalio/bridge/proto/workflow_completion/__init__.py +++ b/temporalio/bridge/proto/workflow_completion/__init__.py @@ -1,4 +1,6 @@ -from .workflow_completion_pb2 import Failure, Success, WorkflowActivationCompletion +from .workflow_completion_pb2 import WorkflowActivationCompletion +from .workflow_completion_pb2 import Success +from .workflow_completion_pb2 import Failure __all__ = [ "Failure", diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py index ce26b220d..95cb65d49 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py @@ -2,86 +2,59 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_completion/workflow_completion.proto """Generated protocol buffer code.""" - from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.bridge.proto.common import ( - common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, -) -from temporalio.bridge.proto.workflow_commands import ( - workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2, -) +from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 +from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 +from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 +from temporalio.bridge.proto.workflow_commands import workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2 + -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status\"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3') -_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name[ - "WorkflowActivationCompletion" -] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType( - "WorkflowActivationCompletion", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATIONCOMPLETION, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) - }, -) + +_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name['WorkflowActivationCompletion'] +_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] +_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] +WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType('WorkflowActivationCompletion', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWACTIVATIONCOMPLETION, + '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) + }) _sym_db.RegisterMessage(WorkflowActivationCompletion) -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) - }, -) +Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { + 'DESCRIPTOR' : _SUCCESS, + '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) + }) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) - }, -) +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) + }) _sym_db.RegisterMessage(Failure) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion" - ) - _WORKFLOWACTIVATIONCOMPLETION._serialized_start = 316 - _WORKFLOWACTIVATIONCOMPLETION._serialized_end = 488 - _SUCCESS._serialized_start = 491 - _SUCCESS._serialized_end = 663 - _FAILURE._serialized_start = 666 - _FAILURE._serialized_end = 795 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion' + _WORKFLOWACTIVATIONCOMPLETION._serialized_start=316 + _WORKFLOWACTIVATIONCOMPLETION._serialized_end=488 + _SUCCESS._serialized_start=491 + _SUCCESS._serialized_end=663 + _FAILURE._serialized_start=666 + _FAILURE._serialized_end=795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi index 5b438f360..1ab1fe7d9 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi @@ -2,15 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - import builtins import collections.abc -import sys - import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message - +import sys import temporalio.api.enums.v1.failed_cause_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -44,28 +41,9 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): successful: global___Success | None = ..., failed: global___Failure | None = ..., ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "failed", b"failed", "status", b"status", "successful", b"successful" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failed", - b"failed", - "run_id", - b"run_id", - "status", - b"status", - "successful", - b"successful", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["successful", "failed"] | None: ... + def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "status", b"status", "successful", b"successful"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "run_id", b"run_id", "status", b"status", "successful", b"successful"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["successful", "failed"] | None: ... global___WorkflowActivationCompletion = WorkflowActivationCompletion @@ -78,42 +56,21 @@ class Success(google.protobuf.message.Message): USED_INTERNAL_FLAGS_FIELD_NUMBER: builtins.int VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int @property - def commands( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand - ]: + def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand]: """A list of commands to send back to the temporal server""" @property - def used_internal_flags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def used_internal_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Any internal flags which the lang SDK used in the processing of this activation""" - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) + versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType """The versioning behavior this workflow is currently using""" def __init__( self, *, - commands: collections.abc.Iterable[ - temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand - ] - | None = ..., + commands: collections.abc.Iterable[temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand] | None = ..., used_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "commands", - b"commands", - "used_internal_flags", - b"used_internal_flags", - "versioning_behavior", - b"versioning_behavior", - ], - ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commands", b"commands", "used_internal_flags", b"used_internal_flags", "versioning_behavior", b"versioning_behavior"]) -> None: ... global___Success = Success @@ -126,9 +83,7 @@ class Failure(google.protobuf.message.Message): FORCE_CAUSE_FIELD_NUMBER: builtins.int @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... - force_cause: ( - temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType - ) + force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType """Forces overriding the WFT failure cause""" def __init__( self, @@ -136,14 +91,7 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "force_cause", b"force_cause" - ], - ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "force_cause", b"force_cause"]) -> None: ... global___Failure = Failure From baea029e53516da9fefc4ae193b4cc505fd379b8 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 4 Sep 2025 13:14:18 -0700 Subject: [PATCH 11/12] Format protos --- temporalio/api/activity/v1/message_pb2.py | 46 +- temporalio/api/activity/v1/message_pb2.pyi | 41 +- temporalio/api/batch/v1/__init__.py | 24 +- temporalio/api/batch/v1/message_pb2.py | 288 +- temporalio/api/batch/v1/message_pb2.pyi | 273 +- temporalio/api/cloud/account/v1/__init__.py | 5 +- .../api/cloud/account/v1/message_pb2.py | 97 +- .../api/cloud/account/v1/message_pb2.pyi | 47 +- .../api/cloud/cloudservice/v1/__init__.py | 246 +- .../cloudservice/v1/request_response_pb2.py | 2516 +++++--- .../cloudservice/v1/request_response_pb2.pyi | 1669 ++++- .../v1/request_response_pb2_grpc.py | 2 +- .../api/cloud/cloudservice/v1/service_pb2.py | 416 +- .../api/cloud/cloudservice/v1/service_pb2.pyi | 1 + .../cloud/cloudservice/v1/service_pb2_grpc.py | 3417 ++++++----- .../cloudservice/v1/service_pb2_grpc.pyi | 19 +- .../api/cloud/connectivityrule/v1/__init__.py | 10 +- .../cloud/connectivityrule/v1/message_pb2.py | 96 +- .../cloud/connectivityrule/v1/message_pb2.pyi | 71 +- temporalio/api/cloud/identity/v1/__init__.py | 40 +- .../api/cloud/identity/v1/message_pb2.py | 453 +- .../api/cloud/identity/v1/message_pb2.pyi | 376 +- temporalio/api/cloud/namespace/v1/__init__.py | 32 +- .../api/cloud/namespace/v1/message_pb2.py | 516 +- .../api/cloud/namespace/v1/message_pb2.pyi | 427 +- temporalio/api/cloud/nexus/v1/__init__.py | 14 +- temporalio/api/cloud/nexus/v1/message_pb2.py | 148 +- temporalio/api/cloud/nexus/v1/message_pb2.pyi | 129 +- .../api/cloud/operation/v1/message_pb2.py | 49 +- .../api/cloud/operation/v1/message_pb2.pyi | 51 +- temporalio/api/cloud/region/v1/message_pb2.py | 46 +- .../api/cloud/region/v1/message_pb2.pyi | 29 +- .../api/cloud/resource/v1/message_pb2.py | 21 +- .../api/cloud/resource/v1/message_pb2.pyi | 13 +- temporalio/api/cloud/sink/v1/__init__.py | 3 +- temporalio/api/cloud/sink/v1/message_pb2.py | 54 +- temporalio/api/cloud/sink/v1/message_pb2.pyi | 34 +- temporalio/api/cloud/usage/v1/__init__.py | 16 +- temporalio/api/cloud/usage/v1/message_pb2.py | 112 +- temporalio/api/cloud/usage/v1/message_pb2.pyi | 78 +- temporalio/api/command/v1/__init__.py | 38 +- temporalio/api/command/v1/message_pb2.py | 538 +- temporalio/api/command/v1/message_pb2.pyi | 726 ++- temporalio/api/common/v1/__init__.py | 38 +- temporalio/api/common/v1/grpc_status_pb2.py | 35 +- temporalio/api/common/v1/grpc_status_pb2.pyi | 17 +- temporalio/api/common/v1/message_pb2.py | 664 +- temporalio/api/common/v1/message_pb2.pyi | 387 +- temporalio/api/deployment/v1/__init__.py | 24 +- temporalio/api/deployment/v1/message_pb2.py | 426 +- temporalio/api/deployment/v1/message_pb2.pyi | 442 +- temporalio/api/enums/v1/__init__.py | 103 +- .../api/enums/v1/batch_operation_pb2.py | 27 +- .../api/enums/v1/batch_operation_pb2.pyi | 28 +- temporalio/api/enums/v1/command_type_pb2.py | 21 +- temporalio/api/enums/v1/command_type_pb2.pyi | 11 +- temporalio/api/enums/v1/common_pb2.py | 81 +- temporalio/api/enums/v1/common_pb2.pyi | 154 +- temporalio/api/enums/v1/deployment_pb2.py | 45 +- temporalio/api/enums/v1/deployment_pb2.pyi | 83 +- temporalio/api/enums/v1/event_type_pb2.py | 21 +- temporalio/api/enums/v1/event_type_pb2.pyi | 23 +- temporalio/api/enums/v1/failed_cause_pb2.py | 73 +- temporalio/api/enums/v1/failed_cause_pb2.pyi | 419 +- temporalio/api/enums/v1/namespace_pb2.py | 33 +- temporalio/api/enums/v1/namespace_pb2.pyi | 31 +- temporalio/api/enums/v1/nexus_pb2.py | 27 +- temporalio/api/enums/v1/nexus_pb2.pyi | 42 +- temporalio/api/enums/v1/query_pb2.py | 27 +- temporalio/api/enums/v1/query_pb2.pyi | 24 +- temporalio/api/enums/v1/reset_pb2.py | 41 +- temporalio/api/enums/v1/reset_pb2.pyi | 29 +- temporalio/api/enums/v1/schedule_pb2.py | 21 +- temporalio/api/enums/v1/schedule_pb2.pyi | 17 +- temporalio/api/enums/v1/task_queue_pb2.py | 51 +- temporalio/api/enums/v1/task_queue_pb2.pyi | 60 +- temporalio/api/enums/v1/update_pb2.py | 39 +- temporalio/api/enums/v1/update_pb2.pyi | 61 +- temporalio/api/enums/v1/workflow_pb2.py | 81 +- temporalio/api/enums/v1/workflow_pb2.pyi | 129 +- temporalio/api/errordetails/v1/__init__.py | 36 +- temporalio/api/errordetails/v1/message_pb2.py | 418 +- .../api/errordetails/v1/message_pb2.pyi | 158 +- temporalio/api/export/v1/__init__.py | 3 +- temporalio/api/export/v1/message_pb2.py | 57 +- temporalio/api/export/v1/message_pb2.pyi | 25 +- temporalio/api/failure/v1/__init__.py | 26 +- temporalio/api/failure/v1/message_pb2.py | 286 +- temporalio/api/failure/v1/message_pb2.pyi | 273 +- temporalio/api/filter/v1/__init__.py | 10 +- temporalio/api/filter/v1/message_pb2.py | 96 +- temporalio/api/filter/v1/message_pb2.pyi | 34 +- temporalio/api/history/v1/__init__.py | 120 +- temporalio/api/history/v1/message_pb2.py | 1698 ++++-- temporalio/api/history/v1/message_pb2.pyi | 2703 ++++++-- temporalio/api/namespace/v1/__init__.py | 14 +- temporalio/api/namespace/v1/message_pb2.py | 270 +- temporalio/api/namespace/v1/message_pb2.pyi | 174 +- temporalio/api/nexus/v1/__init__.py | 28 +- temporalio/api/nexus/v1/message_pb2.py | 470 +- temporalio/api/nexus/v1/message_pb2.pyi | 326 +- temporalio/api/operatorservice/v1/__init__.py | 72 +- .../v1/request_response_pb2.py | 674 +- .../v1/request_response_pb2.pyi | 262 +- .../v1/request_response_pb2_grpc.py | 2 +- .../api/operatorservice/v1/service_pb2.py | 58 +- .../api/operatorservice/v1/service_pb2.pyi | 1 + .../operatorservice/v1/service_pb2_grpc.py | 727 ++- .../operatorservice/v1/service_pb2_grpc.pyi | 11 +- temporalio/api/protocol/v1/message_pb2.py | 37 +- temporalio/api/protocol/v1/message_pb2.pyi | 42 +- temporalio/api/query/v1/__init__.py | 4 +- temporalio/api/query/v1/message_pb2.py | 89 +- temporalio/api/query/v1/message_pb2.pyi | 49 +- temporalio/api/replication/v1/__init__.py | 8 +- temporalio/api/replication/v1/message_pb2.py | 78 +- temporalio/api/replication/v1/message_pb2.pyi | 41 +- temporalio/api/rules/v1/__init__.py | 4 +- temporalio/api/rules/v1/message_pb2.py | 121 +- temporalio/api/rules/v1/message_pb2.pyi | 87 +- temporalio/api/schedule/v1/__init__.py | 34 +- temporalio/api/schedule/v1/message_pb2.py | 368 +- temporalio/api/schedule/v1/message_pb2.pyi | 510 +- temporalio/api/sdk/v1/__init__.py | 22 +- .../api/sdk/v1/enhanced_stack_trace_pb2.py | 142 +- .../api/sdk/v1/enhanced_stack_trace_pb2.pyi | 82 +- .../api/sdk/v1/task_complete_metadata_pb2.py | 36 +- .../api/sdk/v1/task_complete_metadata_pb2.pyi | 26 +- temporalio/api/sdk/v1/user_metadata_pb2.py | 37 +- temporalio/api/sdk/v1/user_metadata_pb2.pyi | 19 +- temporalio/api/sdk/v1/worker_config_pb2.py | 82 +- temporalio/api/sdk/v1/worker_config_pb2.pyi | 63 +- .../api/sdk/v1/workflow_metadata_pb2.py | 76 +- .../api/sdk/v1/workflow_metadata_pb2.pyi | 69 +- temporalio/api/taskqueue/v1/__init__.py | 52 +- temporalio/api/taskqueue/v1/message_pb2.py | 590 +- temporalio/api/taskqueue/v1/message_pb2.pyi | 427 +- temporalio/api/testservice/v1/__init__.py | 34 +- .../testservice/v1/request_response_pb2.py | 181 +- .../testservice/v1/request_response_pb2.pyi | 28 +- .../v1/request_response_pb2_grpc.py | 2 +- temporalio/api/testservice/v1/service_pb2.py | 22 +- temporalio/api/testservice/v1/service_pb2.pyi | 1 + .../api/testservice/v1/service_pb2_grpc.py | 360 +- .../api/testservice/v1/service_pb2_grpc.pyi | 7 +- temporalio/api/update/v1/__init__.py | 20 +- temporalio/api/update/v1/message_pb2.py | 211 +- temporalio/api/update/v1/message_pb2.pyi | 124 +- temporalio/api/version/v1/__init__.py | 4 +- temporalio/api/version/v1/message_pb2.py | 76 +- temporalio/api/version/v1/message_pb2.pyi | 57 +- temporalio/api/worker/v1/__init__.py | 14 +- temporalio/api/worker/v1/message_pb2.py | 140 +- temporalio/api/worker/v1/message_pb2.pyi | 175 +- temporalio/api/workflow/v1/__init__.py | 42 +- temporalio/api/workflow/v1/message_pb2.py | 794 ++- temporalio/api/workflow/v1/message_pb2.pyi | 1025 +++- temporalio/api/workflowservice/v1/__init__.py | 390 +- .../v1/request_response_pb2.py | 5078 +++++++++------ .../v1/request_response_pb2.pyi | 5153 +++++++++++++--- .../v1/request_response_pb2_grpc.py | 2 +- .../api/workflowservice/v1/service_pb2.py | 466 +- .../api/workflowservice/v1/service_pb2.pyi | 1 + .../workflowservice/v1/service_pb2_grpc.py | 5433 ++++++++++------- .../workflowservice/v1/service_pb2_grpc.pyi | 45 +- temporalio/bridge/proto/__init__.py | 14 +- .../bridge/proto/activity_result/__init__.py | 16 +- .../activity_result/activity_result_pb2.py | 168 +- .../activity_result/activity_result_pb2.pyi | 130 +- .../bridge/proto/activity_task/__init__.py | 12 +- .../proto/activity_task/activity_task_pb2.py | 137 +- .../proto/activity_task/activity_task_pb2.pyi | 188 +- .../bridge/proto/child_workflow/__init__.py | 16 +- .../child_workflow/child_workflow_pb2.py | 138 +- .../child_workflow/child_workflow_pb2.pyi | 116 +- temporalio/bridge/proto/common/__init__.py | 8 +- temporalio/bridge/proto/common/common_pb2.py | 64 +- temporalio/bridge/proto/common/common_pb2.pyi | 32 +- temporalio/bridge/proto/core_interface_pb2.py | 166 +- .../bridge/proto/core_interface_pb2.pyi | 61 +- .../bridge/proto/external_data/__init__.py | 3 +- .../proto/external_data/external_data_pb2.py | 59 +- .../proto/external_data/external_data_pb2.pyi | 41 +- temporalio/bridge/proto/health/v1/__init__.py | 3 +- .../bridge/proto/health/v1/health_pb2.py | 72 +- .../bridge/proto/health/v1/health_pb2.pyi | 21 +- temporalio/bridge/proto/nexus/__init__.py | 14 +- temporalio/bridge/proto/nexus/nexus_pb2.py | 134 +- temporalio/bridge/proto/nexus/nexus_pb2.pyi | 135 +- .../proto/workflow_activation/__init__.py | 44 +- .../workflow_activation_pb2.py | 602 +- .../workflow_activation_pb2.pyi | 697 ++- .../proto/workflow_commands/__init__.py | 52 +- .../workflow_commands_pb2.py | 859 +-- .../workflow_commands_pb2.pyi | 936 ++- .../proto/workflow_completion/__init__.py | 4 +- .../workflow_completion_pb2.py | 97 +- .../workflow_completion_pb2.pyi | 76 +- 198 files changed, 38062 insertions(+), 16227 deletions(-) diff --git a/temporalio/api/activity/v1/message_pb2.py b/temporalio/api/activity/v1/message_pb2.py index cb99baef7..58f1d95cb 100644 --- a/temporalio/api/activity/v1/message_pb2.py +++ b/temporalio/api/activity/v1/message_pb2.py @@ -2,37 +2,47 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/activity/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a$temporal/api/common/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x02\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicyB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3') - - - -_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name['ActivityOptions'] -ActivityOptions = _reflection.GeneratedProtocolMessageType('ActivityOptions', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYOPTIONS, - '__module__' : 'temporal.api.activity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) - }) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a$temporal/api/common/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x02\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicyB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3" +) + + +_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name["ActivityOptions"] +ActivityOptions = _reflection.GeneratedProtocolMessageType( + "ActivityOptions", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYOPTIONS, + "__module__": "temporal.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) + }, +) _sym_db.RegisterMessage(ActivityOptions) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z\'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1' - _ACTIVITYOPTIONS._serialized_start=180 - _ACTIVITYOPTIONS._serialized_end=551 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" + _ACTIVITYOPTIONS._serialized_start = 180 + _ACTIVITYOPTIONS._serialized_end = 551 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/activity/v1/message_pb2.pyi b/temporalio/api/activity/v1/message_pb2.pyi index 0ef6d04ca..373c5f18f 100644 --- a/temporalio/api/activity/v1/message_pb2.pyi +++ b/temporalio/api/activity/v1/message_pb2.pyi @@ -2,11 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.taskqueue.v1.message_pb2 @@ -70,7 +73,39 @@ class ActivityOptions(google.protobuf.message.Message): heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "heartbeat_timeout", + b"heartbeat_timeout", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "heartbeat_timeout", + b"heartbeat_timeout", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> None: ... global___ActivityOptions = ActivityOptions diff --git a/temporalio/api/batch/v1/__init__.py b/temporalio/api/batch/v1/__init__.py index 515a5c498..5ec8ad63a 100644 --- a/temporalio/api/batch/v1/__init__.py +++ b/temporalio/api/batch/v1/__init__.py @@ -1,14 +1,16 @@ -from .message_pb2 import BatchOperationInfo -from .message_pb2 import BatchOperationTermination -from .message_pb2 import BatchOperationSignal -from .message_pb2 import BatchOperationCancellation -from .message_pb2 import BatchOperationDeletion -from .message_pb2 import BatchOperationReset -from .message_pb2 import BatchOperationUpdateWorkflowExecutionOptions -from .message_pb2 import BatchOperationUnpauseActivities -from .message_pb2 import BatchOperationTriggerWorkflowRule -from .message_pb2 import BatchOperationResetActivities -from .message_pb2 import BatchOperationUpdateActivityOptions +from .message_pb2 import ( + BatchOperationCancellation, + BatchOperationDeletion, + BatchOperationInfo, + BatchOperationReset, + BatchOperationResetActivities, + BatchOperationSignal, + BatchOperationTermination, + BatchOperationTriggerWorkflowRule, + BatchOperationUnpauseActivities, + BatchOperationUpdateActivityOptions, + BatchOperationUpdateWorkflowExecutionOptions, +) __all__ = [ "BatchOperationCancellation", diff --git a/temporalio/api/batch/v1/message_pb2.py b/temporalio/api/batch/v1/message_pb2.py index bda35f879..6e412e7bd 100644 --- a/temporalio/api/batch/v1/message_pb2.py +++ b/temporalio/api/batch/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/batch/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,134 +17,206 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2 -from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 -from temporalio.api.rules.v1 import message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2 -from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t\"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t\".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t\"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t\"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule\"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3') - - - -_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name['BatchOperationInfo'] -_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name['BatchOperationTermination'] -_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name['BatchOperationSignal'] -_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name['BatchOperationCancellation'] -_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name['BatchOperationDeletion'] -_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name['BatchOperationReset'] -_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name['BatchOperationUpdateWorkflowExecutionOptions'] -_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name['BatchOperationUnpauseActivities'] -_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name['BatchOperationTriggerWorkflowRule'] -_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name['BatchOperationResetActivities'] -_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name['BatchOperationUpdateActivityOptions'] -BatchOperationInfo = _reflection.GeneratedProtocolMessageType('BatchOperationInfo', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONINFO, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) - }) + +from temporalio.api.activity.v1 import ( + message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, +) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, +) +from temporalio.api.enums.v1 import ( + reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, +) +from temporalio.api.rules.v1 import ( + message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, +) +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3' +) + + +_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name["BatchOperationInfo"] +_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name[ + "BatchOperationTermination" +] +_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name["BatchOperationSignal"] +_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name[ + "BatchOperationCancellation" +] +_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name["BatchOperationDeletion"] +_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name["BatchOperationReset"] +_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name[ + "BatchOperationUpdateWorkflowExecutionOptions" +] +_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name[ + "BatchOperationUnpauseActivities" +] +_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name[ + "BatchOperationTriggerWorkflowRule" +] +_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name[ + "BatchOperationResetActivities" +] +_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name[ + "BatchOperationUpdateActivityOptions" +] +BatchOperationInfo = _reflection.GeneratedProtocolMessageType( + "BatchOperationInfo", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONINFO, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) + }, +) _sym_db.RegisterMessage(BatchOperationInfo) -BatchOperationTermination = _reflection.GeneratedProtocolMessageType('BatchOperationTermination', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONTERMINATION, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) - }) +BatchOperationTermination = _reflection.GeneratedProtocolMessageType( + "BatchOperationTermination", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONTERMINATION, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) + }, +) _sym_db.RegisterMessage(BatchOperationTermination) -BatchOperationSignal = _reflection.GeneratedProtocolMessageType('BatchOperationSignal', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONSIGNAL, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) - }) +BatchOperationSignal = _reflection.GeneratedProtocolMessageType( + "BatchOperationSignal", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONSIGNAL, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) + }, +) _sym_db.RegisterMessage(BatchOperationSignal) -BatchOperationCancellation = _reflection.GeneratedProtocolMessageType('BatchOperationCancellation', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONCANCELLATION, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) - }) +BatchOperationCancellation = _reflection.GeneratedProtocolMessageType( + "BatchOperationCancellation", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONCANCELLATION, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) + }, +) _sym_db.RegisterMessage(BatchOperationCancellation) -BatchOperationDeletion = _reflection.GeneratedProtocolMessageType('BatchOperationDeletion', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONDELETION, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) - }) +BatchOperationDeletion = _reflection.GeneratedProtocolMessageType( + "BatchOperationDeletion", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONDELETION, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) + }, +) _sym_db.RegisterMessage(BatchOperationDeletion) -BatchOperationReset = _reflection.GeneratedProtocolMessageType('BatchOperationReset', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONRESET, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) - }) +BatchOperationReset = _reflection.GeneratedProtocolMessageType( + "BatchOperationReset", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONRESET, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) + }, +) _sym_db.RegisterMessage(BatchOperationReset) -BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType('BatchOperationUpdateWorkflowExecutionOptions', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) - }) +BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( + "BatchOperationUpdateWorkflowExecutionOptions", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) + }, +) _sym_db.RegisterMessage(BatchOperationUpdateWorkflowExecutionOptions) -BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType('BatchOperationUnpauseActivities', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONUNPAUSEACTIVITIES, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) - }) +BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType( + "BatchOperationUnpauseActivities", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUNPAUSEACTIVITIES, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) + }, +) _sym_db.RegisterMessage(BatchOperationUnpauseActivities) -BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType('BatchOperationTriggerWorkflowRule', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONTRIGGERWORKFLOWRULE, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) - }) +BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType( + "BatchOperationTriggerWorkflowRule", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONTRIGGERWORKFLOWRULE, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) + }, +) _sym_db.RegisterMessage(BatchOperationTriggerWorkflowRule) -BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType('BatchOperationResetActivities', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONRESETACTIVITIES, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) - }) +BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType( + "BatchOperationResetActivities", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONRESETACTIVITIES, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) + }, +) _sym_db.RegisterMessage(BatchOperationResetActivities) -BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType('BatchOperationUpdateActivityOptions', (_message.Message,), { - 'DESCRIPTOR' : _BATCHOPERATIONUPDATEACTIVITYOPTIONS, - '__module__' : 'temporal.api.batch.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) - }) +BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType( + "BatchOperationUpdateActivityOptions", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUPDATEACTIVITYOPTIONS, + "__module__": "temporal.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) + }, +) _sym_db.RegisterMessage(BatchOperationUpdateActivityOptions) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1' - _BATCHOPERATIONRESET.fields_by_name['reset_type']._options = None - _BATCHOPERATIONRESET.fields_by_name['reset_type']._serialized_options = b'\030\001' - _BATCHOPERATIONRESET.fields_by_name['reset_reapply_type']._options = None - _BATCHOPERATIONRESET.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' - _BATCHOPERATIONINFO._serialized_start=397 - _BATCHOPERATIONINFO._serialized_end=588 - _BATCHOPERATIONTERMINATION._serialized_start=590 - _BATCHOPERATIONTERMINATION._serialized_end=686 - _BATCHOPERATIONSIGNAL._serialized_start=689 - _BATCHOPERATIONSIGNAL._serialized_end=842 - _BATCHOPERATIONCANCELLATION._serialized_start=844 - _BATCHOPERATIONCANCELLATION._serialized_end=890 - _BATCHOPERATIONDELETION._serialized_start=892 - _BATCHOPERATIONDELETION._serialized_end=934 - _BATCHOPERATIONRESET._serialized_start=937 - _BATCHOPERATIONRESET._serialized_end=1239 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start=1242 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end=1443 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start=1446 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end=1638 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start=1641 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end=1773 - _BATCHOPERATIONRESETACTIVITIES._serialized_start=1776 - _BATCHOPERATIONRESETACTIVITIES._serialized_end=2021 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start=2024 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end=2272 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" + _BATCHOPERATIONRESET.fields_by_name["reset_type"]._options = None + _BATCHOPERATIONRESET.fields_by_name["reset_type"]._serialized_options = b"\030\001" + _BATCHOPERATIONRESET.fields_by_name["reset_reapply_type"]._options = None + _BATCHOPERATIONRESET.fields_by_name[ + "reset_reapply_type" + ]._serialized_options = b"\030\001" + _BATCHOPERATIONINFO._serialized_start = 397 + _BATCHOPERATIONINFO._serialized_end = 588 + _BATCHOPERATIONTERMINATION._serialized_start = 590 + _BATCHOPERATIONTERMINATION._serialized_end = 686 + _BATCHOPERATIONSIGNAL._serialized_start = 689 + _BATCHOPERATIONSIGNAL._serialized_end = 842 + _BATCHOPERATIONCANCELLATION._serialized_start = 844 + _BATCHOPERATIONCANCELLATION._serialized_end = 890 + _BATCHOPERATIONDELETION._serialized_start = 892 + _BATCHOPERATIONDELETION._serialized_end = 934 + _BATCHOPERATIONRESET._serialized_start = 937 + _BATCHOPERATIONRESET._serialized_end = 1239 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start = 1242 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end = 1443 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start = 1446 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end = 1638 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start = 1641 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end = 1773 + _BATCHOPERATIONRESETACTIVITIES._serialized_start = 1776 + _BATCHOPERATIONRESETACTIVITIES._serialized_end = 2021 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start = 2024 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end = 2272 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/batch/v1/message_pb2.pyi b/temporalio/api/batch/v1/message_pb2.pyi index 84c3558aa..0f7e87da0 100644 --- a/temporalio/api/batch/v1/message_pb2.pyi +++ b/temporalio/api/batch/v1/message_pb2.pyi @@ -2,15 +2,18 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.field_mask_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.activity.v1.message_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.batch_operation_pb2 @@ -50,8 +53,25 @@ class BatchOperationInfo(google.protobuf.message.Message): start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., close_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "job_id", b"job_id", "start_time", b"start_time", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "close_time", b"close_time", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "close_time", + b"close_time", + "job_id", + b"job_id", + "start_time", + b"start_time", + "state", + b"state", + ], + ) -> None: ... global___BatchOperationInfo = BatchOperationInfo @@ -76,8 +96,15 @@ class BatchOperationTermination(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "identity", b"identity" + ], + ) -> None: ... global___BatchOperationTermination = BatchOperationTermination @@ -112,8 +139,23 @@ class BatchOperationSignal(google.protobuf.message.Message): header: temporalio.api.common.v1.message_pb2.Header | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "identity", b"identity", "input", b"input", "signal", b"signal"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["header", b"header", "input", b"input"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "identity", + b"identity", + "input", + b"input", + "signal", + b"signal", + ], + ) -> None: ... global___BatchOperationSignal = BatchOperationSignal @@ -133,7 +175,9 @@ class BatchOperationCancellation(google.protobuf.message.Message): *, identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["identity", b"identity"] + ) -> None: ... global___BatchOperationCancellation = BatchOperationCancellation @@ -152,7 +196,9 @@ class BatchOperationDeletion(google.protobuf.message.Message): *, identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["identity", b"identity"] + ) -> None: ... global___BatchOperationDeletion = BatchOperationDeletion @@ -178,7 +224,11 @@ class BatchOperationReset(google.protobuf.message.Message): reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType """Deprecated. Use `options`.""" @property - def post_reset_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PostResetOperation]: + def post_reset_operations( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.PostResetOperation + ]: """Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated @@ -190,10 +240,29 @@ class BatchOperationReset(google.protobuf.message.Message): options: temporalio.api.common.v1.message_pb2.ResetOptions | None = ..., reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., - post_reset_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PostResetOperation] | None = ..., + post_reset_operations: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.PostResetOperation + ] + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["options", b"options"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "options", + b"options", + "post_reset_operations", + b"post_reset_operations", + "reset_reapply_type", + b"reset_reapply_type", + "reset_type", + b"reset_type", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["options", b"options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "options", b"options", "post_reset_operations", b"post_reset_operations", "reset_reapply_type", b"reset_reapply_type", "reset_type", b"reset_type"]) -> None: ... global___BatchOperationReset = BatchOperationReset @@ -210,7 +279,9 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa identity: builtins.str """The identity of the worker/client.""" @property - def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -221,13 +292,34 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa self, *, identity: builtins.str = ..., - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions + | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "update_mask", + b"update_mask", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "update_mask", + b"update_mask", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> None: ... -global___BatchOperationUpdateWorkflowExecutionOptions = BatchOperationUpdateWorkflowExecutionOptions +global___BatchOperationUpdateWorkflowExecutionOptions = ( + BatchOperationUpdateWorkflowExecutionOptions +) class BatchOperationUnpauseActivities(google.protobuf.message.Message): """BatchOperationUnpauseActivities sends unpause requests to batch workflows.""" @@ -263,9 +355,41 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): reset_heartbeat: builtins.bool = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "identity", b"identity", "jitter", b"jitter", "match_all", b"match_all", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "jitter", + b"jitter", + "match_all", + b"match_all", + "type", + b"type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "identity", + b"identity", + "jitter", + b"jitter", + "match_all", + b"match_all", + "reset_attempts", + b"reset_attempts", + "reset_heartbeat", + b"reset_heartbeat", + "type", + b"type", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationUnpauseActivities = BatchOperationUnpauseActivities @@ -291,9 +415,21 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): id: builtins.str = ..., spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["id", b"id", "rule", b"rule", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["rule", b"rule"]) -> typing_extensions.Literal["id", "spec"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "id", b"id", "rule", b"rule", "spec", b"spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["rule", b"rule"] + ) -> typing_extensions.Literal["id", "spec"] | None: ... global___BatchOperationTriggerWorkflowRule = BatchOperationTriggerWorkflowRule @@ -344,9 +480,45 @@ class BatchOperationResetActivities(google.protobuf.message.Message): jitter: google.protobuf.duration_pb2.Duration | None = ..., restore_original_options: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "identity", b"identity", "jitter", b"jitter", "keep_paused", b"keep_paused", "match_all", b"match_all", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "restore_original_options", b"restore_original_options", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "jitter", + b"jitter", + "match_all", + b"match_all", + "type", + b"type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "identity", + b"identity", + "jitter", + b"jitter", + "keep_paused", + b"keep_paused", + "match_all", + b"match_all", + "reset_attempts", + b"reset_attempts", + "reset_heartbeat", + b"reset_heartbeat", + "restore_original_options", + b"restore_original_options", + "type", + b"type", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationResetActivities = BatchOperationResetActivities @@ -368,7 +540,9 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): type: builtins.str match_all: builtins.bool @property - def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Update Activity options. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -386,12 +560,47 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): identity: builtins.str = ..., type: builtins.str = ..., match_all: builtins.bool = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions + | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., restore_original: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "match_all", b"match_all", "type", b"type", "update_mask", b"update_mask"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "identity", b"identity", "match_all", b"match_all", "restore_original", b"restore_original", "type", b"type", "update_mask", b"update_mask"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["type", "match_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "activity_options", + b"activity_options", + "match_all", + b"match_all", + "type", + b"type", + "update_mask", + b"update_mask", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "activity_options", + b"activity_options", + "identity", + b"identity", + "match_all", + b"match_all", + "restore_original", + b"restore_original", + "type", + b"type", + "update_mask", + b"update_mask", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... global___BatchOperationUpdateActivityOptions = BatchOperationUpdateActivityOptions diff --git a/temporalio/api/cloud/account/v1/__init__.py b/temporalio/api/cloud/account/v1/__init__.py index f6dac5c67..fef9ff367 100644 --- a/temporalio/api/cloud/account/v1/__init__.py +++ b/temporalio/api/cloud/account/v1/__init__.py @@ -1,7 +1,4 @@ -from .message_pb2 import MetricsSpec -from .message_pb2 import AccountSpec -from .message_pb2 import Metrics -from .message_pb2 import Account +from .message_pb2 import Account, AccountSpec, Metrics, MetricsSpec __all__ = [ "Account", diff --git a/temporalio/api/cloud/account/v1/message_pb2.py b/temporalio/api/cloud/account/v1/message_pb2.py index 0493e8be3..b212d7592 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.py +++ b/temporalio/api/cloud/account/v1/message_pb2.py @@ -2,65 +2,84 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/account/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 - +from temporalio.api.cloud.resource.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c\"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec\"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.MetricsB\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.MetricsB\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3' +) - -_METRICSSPEC = DESCRIPTOR.message_types_by_name['MetricsSpec'] -_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name['AccountSpec'] -_METRICS = DESCRIPTOR.message_types_by_name['Metrics'] -_ACCOUNT = DESCRIPTOR.message_types_by_name['Account'] -MetricsSpec = _reflection.GeneratedProtocolMessageType('MetricsSpec', (_message.Message,), { - 'DESCRIPTOR' : _METRICSSPEC, - '__module__' : 'temporal.api.cloud.account.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) - }) +_METRICSSPEC = DESCRIPTOR.message_types_by_name["MetricsSpec"] +_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name["AccountSpec"] +_METRICS = DESCRIPTOR.message_types_by_name["Metrics"] +_ACCOUNT = DESCRIPTOR.message_types_by_name["Account"] +MetricsSpec = _reflection.GeneratedProtocolMessageType( + "MetricsSpec", + (_message.Message,), + { + "DESCRIPTOR": _METRICSSPEC, + "__module__": "temporal.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) + }, +) _sym_db.RegisterMessage(MetricsSpec) -AccountSpec = _reflection.GeneratedProtocolMessageType('AccountSpec', (_message.Message,), { - 'DESCRIPTOR' : _ACCOUNTSPEC, - '__module__' : 'temporal.api.cloud.account.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) - }) +AccountSpec = _reflection.GeneratedProtocolMessageType( + "AccountSpec", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNTSPEC, + "__module__": "temporal.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) + }, +) _sym_db.RegisterMessage(AccountSpec) -Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), { - 'DESCRIPTOR' : _METRICS, - '__module__' : 'temporal.api.cloud.account.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) - }) +Metrics = _reflection.GeneratedProtocolMessageType( + "Metrics", + (_message.Message,), + { + "DESCRIPTOR": _METRICS, + "__module__": "temporal.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) + }, +) _sym_db.RegisterMessage(Metrics) -Account = _reflection.GeneratedProtocolMessageType('Account', (_message.Message,), { - 'DESCRIPTOR' : _ACCOUNT, - '__module__' : 'temporal.api.cloud.account.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) - }) +Account = _reflection.GeneratedProtocolMessageType( + "Account", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNT, + "__module__": "temporal.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) + }, +) _sym_db.RegisterMessage(Account) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1' - _METRICSSPEC._serialized_start=124 - _METRICSSPEC._serialized_end=165 - _ACCOUNTSPEC._serialized_start=167 - _ACCOUNTSPEC._serialized_end=241 - _METRICS._serialized_start=243 - _METRICS._serialized_end=265 - _ACCOUNT._serialized_start=268 - _ACCOUNT._serialized_end=520 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" + _METRICSSPEC._serialized_start = 124 + _METRICSSPEC._serialized_end = 165 + _ACCOUNTSPEC._serialized_start = 167 + _ACCOUNTSPEC._serialized_end = 241 + _METRICS._serialized_start = 243 + _METRICS._serialized_end = 265 + _ACCOUNT._serialized_start = 268 + _ACCOUNT._serialized_end = 520 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/account/v1/message_pb2.pyi b/temporalio/api/cloud/account/v1/message_pb2.pyi index 6b3bd60f5..34775c232 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.pyi +++ b/temporalio/api/cloud/account/v1/message_pb2.pyi @@ -2,10 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys + import temporalio.api.cloud.resource.v1.message_pb2 if sys.version_info >= (3, 8): @@ -28,7 +31,12 @@ class MetricsSpec(google.protobuf.message.Message): *, accepted_client_ca: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted_client_ca", b"accepted_client_ca"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted_client_ca", b"accepted_client_ca" + ], + ) -> None: ... global___MetricsSpec = MetricsSpec @@ -46,8 +54,12 @@ class AccountSpec(google.protobuf.message.Message): *, metrics: global___MetricsSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["metrics", b"metrics"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["metrics", b"metrics"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["metrics", b"metrics"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["metrics", b"metrics"] + ) -> None: ... global___AccountSpec = AccountSpec @@ -64,7 +76,9 @@ class Metrics(google.protobuf.message.Message): *, uri: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["uri", b"uri"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["uri", b"uri"] + ) -> None: ... global___Metrics = Metrics @@ -103,7 +117,26 @@ class Account(google.protobuf.message.Message): async_operation_id: builtins.str = ..., metrics: global___Metrics | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "id", b"id", "metrics", b"metrics", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "id", + b"id", + "metrics", + b"metrics", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + ], + ) -> None: ... global___Account = Account diff --git a/temporalio/api/cloud/cloudservice/v1/__init__.py b/temporalio/api/cloud/cloudservice/v1/__init__.py index 90e2d64db..53f3cb0e6 100644 --- a/temporalio/api/cloud/cloudservice/v1/__init__.py +++ b/temporalio/api/cloud/cloudservice/v1/__init__.py @@ -1,115 +1,117 @@ -from .request_response_pb2 import GetUsersRequest -from .request_response_pb2 import GetUsersResponse -from .request_response_pb2 import GetUserRequest -from .request_response_pb2 import GetUserResponse -from .request_response_pb2 import CreateUserRequest -from .request_response_pb2 import CreateUserResponse -from .request_response_pb2 import UpdateUserRequest -from .request_response_pb2 import UpdateUserResponse -from .request_response_pb2 import DeleteUserRequest -from .request_response_pb2 import DeleteUserResponse -from .request_response_pb2 import SetUserNamespaceAccessRequest -from .request_response_pb2 import SetUserNamespaceAccessResponse -from .request_response_pb2 import GetAsyncOperationRequest -from .request_response_pb2 import GetAsyncOperationResponse -from .request_response_pb2 import CreateNamespaceRequest -from .request_response_pb2 import CreateNamespaceResponse -from .request_response_pb2 import GetNamespacesRequest -from .request_response_pb2 import GetNamespacesResponse -from .request_response_pb2 import GetNamespaceRequest -from .request_response_pb2 import GetNamespaceResponse -from .request_response_pb2 import UpdateNamespaceRequest -from .request_response_pb2 import UpdateNamespaceResponse -from .request_response_pb2 import RenameCustomSearchAttributeRequest -from .request_response_pb2 import RenameCustomSearchAttributeResponse -from .request_response_pb2 import DeleteNamespaceRequest -from .request_response_pb2 import DeleteNamespaceResponse -from .request_response_pb2 import FailoverNamespaceRegionRequest -from .request_response_pb2 import FailoverNamespaceRegionResponse -from .request_response_pb2 import AddNamespaceRegionRequest -from .request_response_pb2 import AddNamespaceRegionResponse -from .request_response_pb2 import DeleteNamespaceRegionRequest -from .request_response_pb2 import DeleteNamespaceRegionResponse -from .request_response_pb2 import GetRegionsRequest -from .request_response_pb2 import GetRegionsResponse -from .request_response_pb2 import GetRegionRequest -from .request_response_pb2 import GetRegionResponse -from .request_response_pb2 import GetApiKeysRequest -from .request_response_pb2 import GetApiKeysResponse -from .request_response_pb2 import GetApiKeyRequest -from .request_response_pb2 import GetApiKeyResponse -from .request_response_pb2 import CreateApiKeyRequest -from .request_response_pb2 import CreateApiKeyResponse -from .request_response_pb2 import UpdateApiKeyRequest -from .request_response_pb2 import UpdateApiKeyResponse -from .request_response_pb2 import DeleteApiKeyRequest -from .request_response_pb2 import DeleteApiKeyResponse -from .request_response_pb2 import GetNexusEndpointsRequest -from .request_response_pb2 import GetNexusEndpointsResponse -from .request_response_pb2 import GetNexusEndpointRequest -from .request_response_pb2 import GetNexusEndpointResponse -from .request_response_pb2 import CreateNexusEndpointRequest -from .request_response_pb2 import CreateNexusEndpointResponse -from .request_response_pb2 import UpdateNexusEndpointRequest -from .request_response_pb2 import UpdateNexusEndpointResponse -from .request_response_pb2 import DeleteNexusEndpointRequest -from .request_response_pb2 import DeleteNexusEndpointResponse -from .request_response_pb2 import GetUserGroupsRequest -from .request_response_pb2 import GetUserGroupsResponse -from .request_response_pb2 import GetUserGroupRequest -from .request_response_pb2 import GetUserGroupResponse -from .request_response_pb2 import CreateUserGroupRequest -from .request_response_pb2 import CreateUserGroupResponse -from .request_response_pb2 import UpdateUserGroupRequest -from .request_response_pb2 import UpdateUserGroupResponse -from .request_response_pb2 import DeleteUserGroupRequest -from .request_response_pb2 import DeleteUserGroupResponse -from .request_response_pb2 import SetUserGroupNamespaceAccessRequest -from .request_response_pb2 import SetUserGroupNamespaceAccessResponse -from .request_response_pb2 import AddUserGroupMemberRequest -from .request_response_pb2 import AddUserGroupMemberResponse -from .request_response_pb2 import RemoveUserGroupMemberRequest -from .request_response_pb2 import RemoveUserGroupMemberResponse -from .request_response_pb2 import GetUserGroupMembersRequest -from .request_response_pb2 import GetUserGroupMembersResponse -from .request_response_pb2 import CreateServiceAccountRequest -from .request_response_pb2 import CreateServiceAccountResponse -from .request_response_pb2 import GetServiceAccountRequest -from .request_response_pb2 import GetServiceAccountResponse -from .request_response_pb2 import GetServiceAccountsRequest -from .request_response_pb2 import GetServiceAccountsResponse -from .request_response_pb2 import UpdateServiceAccountRequest -from .request_response_pb2 import UpdateServiceAccountResponse -from .request_response_pb2 import DeleteServiceAccountRequest -from .request_response_pb2 import DeleteServiceAccountResponse -from .request_response_pb2 import GetUsageRequest -from .request_response_pb2 import GetUsageResponse -from .request_response_pb2 import GetAccountRequest -from .request_response_pb2 import GetAccountResponse -from .request_response_pb2 import UpdateAccountRequest -from .request_response_pb2 import UpdateAccountResponse -from .request_response_pb2 import CreateNamespaceExportSinkRequest -from .request_response_pb2 import CreateNamespaceExportSinkResponse -from .request_response_pb2 import GetNamespaceExportSinkRequest -from .request_response_pb2 import GetNamespaceExportSinkResponse -from .request_response_pb2 import GetNamespaceExportSinksRequest -from .request_response_pb2 import GetNamespaceExportSinksResponse -from .request_response_pb2 import UpdateNamespaceExportSinkRequest -from .request_response_pb2 import UpdateNamespaceExportSinkResponse -from .request_response_pb2 import DeleteNamespaceExportSinkRequest -from .request_response_pb2 import DeleteNamespaceExportSinkResponse -from .request_response_pb2 import ValidateNamespaceExportSinkRequest -from .request_response_pb2 import ValidateNamespaceExportSinkResponse -from .request_response_pb2 import UpdateNamespaceTagsRequest -from .request_response_pb2 import UpdateNamespaceTagsResponse -from .request_response_pb2 import CreateConnectivityRuleRequest -from .request_response_pb2 import CreateConnectivityRuleResponse -from .request_response_pb2 import GetConnectivityRuleRequest -from .request_response_pb2 import GetConnectivityRuleResponse -from .request_response_pb2 import GetConnectivityRulesRequest -from .request_response_pb2 import GetConnectivityRulesResponse -from .request_response_pb2 import DeleteConnectivityRuleRequest -from .request_response_pb2 import DeleteConnectivityRuleResponse +from .request_response_pb2 import ( + AddNamespaceRegionRequest, + AddNamespaceRegionResponse, + AddUserGroupMemberRequest, + AddUserGroupMemberResponse, + CreateApiKeyRequest, + CreateApiKeyResponse, + CreateConnectivityRuleRequest, + CreateConnectivityRuleResponse, + CreateNamespaceExportSinkRequest, + CreateNamespaceExportSinkResponse, + CreateNamespaceRequest, + CreateNamespaceResponse, + CreateNexusEndpointRequest, + CreateNexusEndpointResponse, + CreateServiceAccountRequest, + CreateServiceAccountResponse, + CreateUserGroupRequest, + CreateUserGroupResponse, + CreateUserRequest, + CreateUserResponse, + DeleteApiKeyRequest, + DeleteApiKeyResponse, + DeleteConnectivityRuleRequest, + DeleteConnectivityRuleResponse, + DeleteNamespaceExportSinkRequest, + DeleteNamespaceExportSinkResponse, + DeleteNamespaceRegionRequest, + DeleteNamespaceRegionResponse, + DeleteNamespaceRequest, + DeleteNamespaceResponse, + DeleteNexusEndpointRequest, + DeleteNexusEndpointResponse, + DeleteServiceAccountRequest, + DeleteServiceAccountResponse, + DeleteUserGroupRequest, + DeleteUserGroupResponse, + DeleteUserRequest, + DeleteUserResponse, + FailoverNamespaceRegionRequest, + FailoverNamespaceRegionResponse, + GetAccountRequest, + GetAccountResponse, + GetApiKeyRequest, + GetApiKeyResponse, + GetApiKeysRequest, + GetApiKeysResponse, + GetAsyncOperationRequest, + GetAsyncOperationResponse, + GetConnectivityRuleRequest, + GetConnectivityRuleResponse, + GetConnectivityRulesRequest, + GetConnectivityRulesResponse, + GetNamespaceExportSinkRequest, + GetNamespaceExportSinkResponse, + GetNamespaceExportSinksRequest, + GetNamespaceExportSinksResponse, + GetNamespaceRequest, + GetNamespaceResponse, + GetNamespacesRequest, + GetNamespacesResponse, + GetNexusEndpointRequest, + GetNexusEndpointResponse, + GetNexusEndpointsRequest, + GetNexusEndpointsResponse, + GetRegionRequest, + GetRegionResponse, + GetRegionsRequest, + GetRegionsResponse, + GetServiceAccountRequest, + GetServiceAccountResponse, + GetServiceAccountsRequest, + GetServiceAccountsResponse, + GetUsageRequest, + GetUsageResponse, + GetUserGroupMembersRequest, + GetUserGroupMembersResponse, + GetUserGroupRequest, + GetUserGroupResponse, + GetUserGroupsRequest, + GetUserGroupsResponse, + GetUserRequest, + GetUserResponse, + GetUsersRequest, + GetUsersResponse, + RemoveUserGroupMemberRequest, + RemoveUserGroupMemberResponse, + RenameCustomSearchAttributeRequest, + RenameCustomSearchAttributeResponse, + SetUserGroupNamespaceAccessRequest, + SetUserGroupNamespaceAccessResponse, + SetUserNamespaceAccessRequest, + SetUserNamespaceAccessResponse, + UpdateAccountRequest, + UpdateAccountResponse, + UpdateApiKeyRequest, + UpdateApiKeyResponse, + UpdateNamespaceExportSinkRequest, + UpdateNamespaceExportSinkResponse, + UpdateNamespaceRequest, + UpdateNamespaceResponse, + UpdateNamespaceTagsRequest, + UpdateNamespaceTagsResponse, + UpdateNexusEndpointRequest, + UpdateNexusEndpointResponse, + UpdateServiceAccountRequest, + UpdateServiceAccountResponse, + UpdateUserGroupRequest, + UpdateUserGroupResponse, + UpdateUserRequest, + UpdateUserResponse, + ValidateNamespaceExportSinkRequest, + ValidateNamespaceExportSinkResponse, +) __all__ = [ "AddNamespaceRegionRequest", @@ -229,9 +231,19 @@ # gRPC is optional try: import grpc - from .service_pb2_grpc import add_CloudServiceServicer_to_server - from .service_pb2_grpc import CloudServiceStub - from .service_pb2_grpc import CloudServiceServicer - __all__.extend(["CloudServiceServicer", "CloudServiceStub", "add_CloudServiceServicer_to_server"]) + + from .service_pb2_grpc import ( + CloudServiceServicer, + CloudServiceStub, + add_CloudServiceServicer_to_server, + ) + + __all__.extend( + [ + "CloudServiceServicer", + "CloudServiceStub", + "add_CloudServiceServicer_to_server", + ] + ) except ImportError: - pass \ No newline at end of file + pass diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py index 99071d95b..718a075bb 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py @@ -2,1203 +2,1801 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/cloudservice/v1/request_response.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.cloud.operation.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_operation_dot_v1_dot_message__pb2 -from temporalio.api.cloud.identity.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_identity_dot_v1_dot_message__pb2 -from temporalio.api.cloud.namespace.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_namespace_dot_v1_dot_message__pb2 -from temporalio.api.cloud.nexus.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_nexus_dot_v1_dot_message__pb2 -from temporalio.api.cloud.region.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_region_dot_v1_dot_message__pb2 -from temporalio.api.cloud.account.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_account_dot_v1_dot_message__pb2 -from temporalio.api.cloud.usage.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_usage_dot_v1_dot_message__pb2 -from temporalio.api.cloud.connectivityrule.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User\"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t\"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc6\x01\n\"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x13\n\x11GetRegionsRequest\"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\"\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t\"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\"\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc0\x01\n\"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t\"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x13\n\x11GetAccountRequest\"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account\"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"v\n\"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\"%\n#ValidateNamespaceExportSinkResponse\"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperationB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3') - - - -_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name['GetUsersRequest'] -_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name['GetUsersResponse'] -_GETUSERREQUEST = DESCRIPTOR.message_types_by_name['GetUserRequest'] -_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name['GetUserResponse'] -_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name['CreateUserRequest'] -_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name['CreateUserResponse'] -_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name['UpdateUserRequest'] -_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name['UpdateUserResponse'] -_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name['DeleteUserRequest'] -_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name['DeleteUserResponse'] -_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name['SetUserNamespaceAccessRequest'] -_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name['SetUserNamespaceAccessResponse'] -_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['GetAsyncOperationRequest'] -_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetAsyncOperationResponse'] -_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['CreateNamespaceRequest'] -_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name['TagsEntry'] -_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['CreateNamespaceResponse'] -_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['GetNamespacesRequest'] -_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespacesResponse'] -_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceRequest'] -_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceResponse'] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceRequest'] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceResponse'] -_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name['RenameCustomSearchAttributeRequest'] -_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name['RenameCustomSearchAttributeResponse'] -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRequest'] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceResponse'] -_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['FailoverNamespaceRegionRequest'] -_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['FailoverNamespaceRegionResponse'] -_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['AddNamespaceRegionRequest'] -_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['AddNamespaceRegionResponse'] -_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRegionRequest'] -_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceRegionResponse'] -_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name['GetRegionsRequest'] -_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name['GetRegionsResponse'] -_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name['GetRegionRequest'] -_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name['GetRegionResponse'] -_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name['GetApiKeysRequest'] -_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name['GetApiKeysResponse'] -_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['GetApiKeyRequest'] -_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['GetApiKeyResponse'] -_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['CreateApiKeyRequest'] -_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['CreateApiKeyResponse'] -_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['UpdateApiKeyRequest'] -_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['UpdateApiKeyResponse'] -_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name['DeleteApiKeyRequest'] -_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name['DeleteApiKeyResponse'] -_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointsRequest'] -_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointsResponse'] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointRequest'] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointResponse'] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['CreateNexusEndpointRequest'] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['CreateNexusEndpointResponse'] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointRequest'] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointResponse'] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointRequest'] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointResponse'] -_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupsRequest'] -_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name['GoogleGroupFilter'] -_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name['SCIMGroupFilter'] -_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupsResponse'] -_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupRequest'] -_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupResponse'] -_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['CreateUserGroupRequest'] -_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['CreateUserGroupResponse'] -_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['UpdateUserGroupRequest'] -_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['UpdateUserGroupResponse'] -_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name['DeleteUserGroupRequest'] -_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name['DeleteUserGroupResponse'] -_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name['SetUserGroupNamespaceAccessRequest'] -_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name['SetUserGroupNamespaceAccessResponse'] -_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name['AddUserGroupMemberRequest'] -_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name['AddUserGroupMemberResponse'] -_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name['RemoveUserGroupMemberRequest'] -_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name['RemoveUserGroupMemberResponse'] -_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name['GetUserGroupMembersRequest'] -_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name['GetUserGroupMembersResponse'] -_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['CreateServiceAccountRequest'] -_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['CreateServiceAccountResponse'] -_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['GetServiceAccountRequest'] -_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['GetServiceAccountResponse'] -_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name['GetServiceAccountsRequest'] -_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name['GetServiceAccountsResponse'] -_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['UpdateServiceAccountRequest'] -_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateServiceAccountResponse'] -_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['DeleteServiceAccountRequest'] -_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteServiceAccountResponse'] -_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name['GetUsageRequest'] -_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name['GetUsageResponse'] -_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['GetAccountRequest'] -_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['GetAccountResponse'] -_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name['UpdateAccountRequest'] -_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateAccountResponse'] -_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['CreateNamespaceExportSinkRequest'] -_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['CreateNamespaceExportSinkResponse'] -_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinkRequest'] -_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinkResponse'] -_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinksRequest'] -_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name['GetNamespaceExportSinksResponse'] -_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceExportSinkRequest'] -_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceExportSinkResponse'] -_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceExportSinkRequest'] -_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceExportSinkResponse'] -_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name['ValidateNamespaceExportSinkRequest'] -_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name['ValidateNamespaceExportSinkResponse'] -_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceTagsRequest'] -_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = _UPDATENAMESPACETAGSREQUEST.nested_types_by_name['TagsToUpsertEntry'] -_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceTagsResponse'] -_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['CreateConnectivityRuleRequest'] -_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['CreateConnectivityRuleResponse'] -_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['GetConnectivityRuleRequest'] -_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['GetConnectivityRuleResponse'] -_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name['GetConnectivityRulesRequest'] -_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name['GetConnectivityRulesResponse'] -_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteConnectivityRuleRequest'] -_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteConnectivityRuleResponse'] -GetUsersRequest = _reflection.GeneratedProtocolMessageType('GetUsersRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) - }) + +from temporalio.api.cloud.account.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_account_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.connectivityrule.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.identity.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_identity_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.namespace.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_namespace_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_nexus_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.operation.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_operation_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.region.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_region_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.usage.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_usage_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc6\x01\n"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x13\n\x11GetRegionsRequest"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region""\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc0\x01\n"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x13\n\x11GetAccountRequest"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"v\n"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec"%\n#ValidateNamespaceExportSinkResponse"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperationB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' +) + + +_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name["GetUsersRequest"] +_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name["GetUsersResponse"] +_GETUSERREQUEST = DESCRIPTOR.message_types_by_name["GetUserRequest"] +_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name["GetUserResponse"] +_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name["CreateUserRequest"] +_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserResponse"] +_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserRequest"] +_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserResponse"] +_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserRequest"] +_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserResponse"] +_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ + "SetUserNamespaceAccessRequest" +] +_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetUserNamespaceAccessResponse" +] +_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["GetAsyncOperationRequest"] +_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetAsyncOperationResponse" +] +_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["CreateNamespaceRequest"] +_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name[ + "TagsEntry" +] +_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["CreateNamespaceResponse"] +_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["GetNamespacesRequest"] +_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["GetNamespacesResponse"] +_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["GetNamespaceRequest"] +_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["GetNamespaceResponse"] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] +_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name[ + "RenameCustomSearchAttributeRequest" +] +_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name[ + "RenameCustomSearchAttributeResponse" +] +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] +_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "FailoverNamespaceRegionRequest" +] +_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "FailoverNamespaceRegionResponse" +] +_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "AddNamespaceRegionRequest" +] +_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddNamespaceRegionResponse" +] +_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceRegionRequest" +] +_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceRegionResponse" +] +_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name["GetRegionsRequest"] +_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionsResponse"] +_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name["GetRegionRequest"] +_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionResponse"] +_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeysRequest"] +_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeysResponse"] +_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeyRequest"] +_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeyResponse"] +_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["CreateApiKeyRequest"] +_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["CreateApiKeyResponse"] +_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["UpdateApiKeyRequest"] +_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["UpdateApiKeyResponse"] +_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["DeleteApiKeyRequest"] +_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["DeleteApiKeyResponse"] +_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointsRequest"] +_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNexusEndpointsResponse" +] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointRequest" +] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointResponse" +] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointRequest" +] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointResponse" +] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointRequest" +] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointResponse" +] +_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupsRequest"] +_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ + "GoogleGroupFilter" +] +_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ + "SCIMGroupFilter" +] +_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupsResponse"] +_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupRequest"] +_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupResponse"] +_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["CreateUserGroupRequest"] +_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserGroupResponse"] +_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserGroupRequest"] +_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserGroupResponse"] +_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserGroupRequest"] +_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserGroupResponse"] +_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ + "SetUserGroupNamespaceAccessRequest" +] +_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetUserGroupNamespaceAccessResponse" +] +_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ + "AddUserGroupMemberRequest" +] +_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddUserGroupMemberResponse" +] +_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveUserGroupMemberRequest" +] +_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveUserGroupMemberResponse" +] +_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetUserGroupMembersRequest" +] +_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetUserGroupMembersResponse" +] +_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateServiceAccountRequest" +] +_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateServiceAccountResponse" +] +_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetServiceAccountRequest"] +_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountResponse" +] +_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountsRequest" +] +_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountsResponse" +] +_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateServiceAccountRequest" +] +_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateServiceAccountResponse" +] +_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteServiceAccountRequest" +] +_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteServiceAccountResponse" +] +_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name["GetUsageRequest"] +_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name["GetUsageResponse"] +_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetAccountRequest"] +_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["GetAccountResponse"] +_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["UpdateAccountRequest"] +_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["UpdateAccountResponse"] +_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNamespaceExportSinkRequest" +] +_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNamespaceExportSinkResponse" +] +_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinkRequest" +] +_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinkResponse" +] +_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinksRequest" +] +_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinksResponse" +] +_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceExportSinkRequest" +] +_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceExportSinkResponse" +] +_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceExportSinkRequest" +] +_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceExportSinkResponse" +] +_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "ValidateNamespaceExportSinkRequest" +] +_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "ValidateNamespaceExportSinkResponse" +] +_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceTagsRequest" +] +_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = ( + _UPDATENAMESPACETAGSREQUEST.nested_types_by_name["TagsToUpsertEntry"] +) +_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceTagsResponse" +] +_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateConnectivityRuleRequest" +] +_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateConnectivityRuleResponse" +] +_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRuleRequest" +] +_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRuleResponse" +] +_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRulesRequest" +] +_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRulesResponse" +] +_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteConnectivityRuleRequest" +] +_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteConnectivityRuleResponse" +] +GetUsersRequest = _reflection.GeneratedProtocolMessageType( + "GetUsersRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) + }, +) _sym_db.RegisterMessage(GetUsersRequest) -GetUsersResponse = _reflection.GeneratedProtocolMessageType('GetUsersResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) - }) +GetUsersResponse = _reflection.GeneratedProtocolMessageType( + "GetUsersResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) + }, +) _sym_db.RegisterMessage(GetUsersResponse) -GetUserRequest = _reflection.GeneratedProtocolMessageType('GetUserRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) - }) +GetUserRequest = _reflection.GeneratedProtocolMessageType( + "GetUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) + }, +) _sym_db.RegisterMessage(GetUserRequest) -GetUserResponse = _reflection.GeneratedProtocolMessageType('GetUserResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) - }) +GetUserResponse = _reflection.GeneratedProtocolMessageType( + "GetUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) + }, +) _sym_db.RegisterMessage(GetUserResponse) -CreateUserRequest = _reflection.GeneratedProtocolMessageType('CreateUserRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEUSERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) - }) +CreateUserRequest = _reflection.GeneratedProtocolMessageType( + "CreateUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) + }, +) _sym_db.RegisterMessage(CreateUserRequest) -CreateUserResponse = _reflection.GeneratedProtocolMessageType('CreateUserResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATEUSERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) - }) +CreateUserResponse = _reflection.GeneratedProtocolMessageType( + "CreateUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) + }, +) _sym_db.RegisterMessage(CreateUserResponse) -UpdateUserRequest = _reflection.GeneratedProtocolMessageType('UpdateUserRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEUSERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) - }) +UpdateUserRequest = _reflection.GeneratedProtocolMessageType( + "UpdateUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) + }, +) _sym_db.RegisterMessage(UpdateUserRequest) -UpdateUserResponse = _reflection.GeneratedProtocolMessageType('UpdateUserResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEUSERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) - }) +UpdateUserResponse = _reflection.GeneratedProtocolMessageType( + "UpdateUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) + }, +) _sym_db.RegisterMessage(UpdateUserResponse) -DeleteUserRequest = _reflection.GeneratedProtocolMessageType('DeleteUserRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEUSERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) - }) +DeleteUserRequest = _reflection.GeneratedProtocolMessageType( + "DeleteUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) + }, +) _sym_db.RegisterMessage(DeleteUserRequest) -DeleteUserResponse = _reflection.GeneratedProtocolMessageType('DeleteUserResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEUSERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) - }) +DeleteUserResponse = _reflection.GeneratedProtocolMessageType( + "DeleteUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) + }, +) _sym_db.RegisterMessage(DeleteUserResponse) -SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType('SetUserNamespaceAccessRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETUSERNAMESPACEACCESSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) - }) +SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( + "SetUserNamespaceAccessRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERNAMESPACEACCESSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) + }, +) _sym_db.RegisterMessage(SetUserNamespaceAccessRequest) -SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType('SetUserNamespaceAccessResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETUSERNAMESPACEACCESSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) - }) +SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( + "SetUserNamespaceAccessResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERNAMESPACEACCESSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) + }, +) _sym_db.RegisterMessage(SetUserNamespaceAccessResponse) -GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType('GetAsyncOperationRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETASYNCOPERATIONREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) - }) +GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType( + "GetAsyncOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETASYNCOPERATIONREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) + }, +) _sym_db.RegisterMessage(GetAsyncOperationRequest) -GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType('GetAsyncOperationResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETASYNCOPERATIONRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) - }) +GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType( + "GetAsyncOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETASYNCOPERATIONRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) + }, +) _sym_db.RegisterMessage(GetAsyncOperationResponse) -CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType('CreateNamespaceRequest', (_message.Message,), { - - 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { - 'DESCRIPTOR' : _CREATENAMESPACEREQUEST_TAGSENTRY, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) - }) - , - 'DESCRIPTOR' : _CREATENAMESPACEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) - }) +CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceRequest", + (_message.Message,), + { + "TagsEntry": _reflection.GeneratedProtocolMessageType( + "TagsEntry", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEREQUEST_TAGSENTRY, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) + }, + ), + "DESCRIPTOR": _CREATENAMESPACEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) + }, +) _sym_db.RegisterMessage(CreateNamespaceRequest) _sym_db.RegisterMessage(CreateNamespaceRequest.TagsEntry) -CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType('CreateNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATENAMESPACERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) - }) +CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) + }, +) _sym_db.RegisterMessage(CreateNamespaceResponse) -GetNamespacesRequest = _reflection.GeneratedProtocolMessageType('GetNamespacesRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACESREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) - }) +GetNamespacesRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespacesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACESREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) + }, +) _sym_db.RegisterMessage(GetNamespacesRequest) -GetNamespacesResponse = _reflection.GeneratedProtocolMessageType('GetNamespacesResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACESRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) - }) +GetNamespacesResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespacesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACESRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) + }, +) _sym_db.RegisterMessage(GetNamespacesResponse) -GetNamespaceRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) - }) +GetNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) + }, +) _sym_db.RegisterMessage(GetNamespaceRequest) -GetNamespaceResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) - }) +GetNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) + }, +) _sym_db.RegisterMessage(GetNamespaceResponse) -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) - }) +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) + }, +) _sym_db.RegisterMessage(UpdateNamespaceRequest) -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) - }) +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) + }, +) _sym_db.RegisterMessage(UpdateNamespaceResponse) -RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType('RenameCustomSearchAttributeRequest', (_message.Message,), { - 'DESCRIPTOR' : _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) - }) +RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType( + "RenameCustomSearchAttributeRequest", + (_message.Message,), + { + "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) + }, +) _sym_db.RegisterMessage(RenameCustomSearchAttributeRequest) -RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType('RenameCustomSearchAttributeResponse', (_message.Message,), { - 'DESCRIPTOR' : _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) - }) +RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType( + "RenameCustomSearchAttributeResponse", + (_message.Message,), + { + "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) + }, +) _sym_db.RegisterMessage(RenameCustomSearchAttributeResponse) -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) - }) +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) + }, +) _sym_db.RegisterMessage(DeleteNamespaceRequest) -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) - }) +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) + }, +) _sym_db.RegisterMessage(DeleteNamespaceResponse) -FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('FailoverNamespaceRegionRequest', (_message.Message,), { - 'DESCRIPTOR' : _FAILOVERNAMESPACEREGIONREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) - }) +FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "FailoverNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERNAMESPACEREGIONREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) + }, +) _sym_db.RegisterMessage(FailoverNamespaceRegionRequest) -FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('FailoverNamespaceRegionResponse', (_message.Message,), { - 'DESCRIPTOR' : _FAILOVERNAMESPACEREGIONRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) - }) +FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "FailoverNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERNAMESPACEREGIONRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) + }, +) _sym_db.RegisterMessage(FailoverNamespaceRegionResponse) -AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('AddNamespaceRegionRequest', (_message.Message,), { - 'DESCRIPTOR' : _ADDNAMESPACEREGIONREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) - }) +AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "AddNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDNAMESPACEREGIONREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) + }, +) _sym_db.RegisterMessage(AddNamespaceRegionRequest) -AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('AddNamespaceRegionResponse', (_message.Message,), { - 'DESCRIPTOR' : _ADDNAMESPACEREGIONRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) - }) +AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "AddNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDNAMESPACEREGIONRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) + }, +) _sym_db.RegisterMessage(AddNamespaceRegionResponse) -DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRegionRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEREGIONREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) - }) +DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREGIONREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) + }, +) _sym_db.RegisterMessage(DeleteNamespaceRegionRequest) -DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRegionResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEREGIONRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) - }) +DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREGIONRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) + }, +) _sym_db.RegisterMessage(DeleteNamespaceRegionResponse) -GetRegionsRequest = _reflection.GeneratedProtocolMessageType('GetRegionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETREGIONSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) - }) +GetRegionsRequest = _reflection.GeneratedProtocolMessageType( + "GetRegionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) + }, +) _sym_db.RegisterMessage(GetRegionsRequest) -GetRegionsResponse = _reflection.GeneratedProtocolMessageType('GetRegionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETREGIONSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) - }) +GetRegionsResponse = _reflection.GeneratedProtocolMessageType( + "GetRegionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) + }, +) _sym_db.RegisterMessage(GetRegionsResponse) -GetRegionRequest = _reflection.GeneratedProtocolMessageType('GetRegionRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETREGIONREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) - }) +GetRegionRequest = _reflection.GeneratedProtocolMessageType( + "GetRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) + }, +) _sym_db.RegisterMessage(GetRegionRequest) -GetRegionResponse = _reflection.GeneratedProtocolMessageType('GetRegionResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETREGIONRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) - }) +GetRegionResponse = _reflection.GeneratedProtocolMessageType( + "GetRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) + }, +) _sym_db.RegisterMessage(GetRegionResponse) -GetApiKeysRequest = _reflection.GeneratedProtocolMessageType('GetApiKeysRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETAPIKEYSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) - }) +GetApiKeysRequest = _reflection.GeneratedProtocolMessageType( + "GetApiKeysRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) + }, +) _sym_db.RegisterMessage(GetApiKeysRequest) -GetApiKeysResponse = _reflection.GeneratedProtocolMessageType('GetApiKeysResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETAPIKEYSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) - }) +GetApiKeysResponse = _reflection.GeneratedProtocolMessageType( + "GetApiKeysResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) + }, +) _sym_db.RegisterMessage(GetApiKeysResponse) -GetApiKeyRequest = _reflection.GeneratedProtocolMessageType('GetApiKeyRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETAPIKEYREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) - }) +GetApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "GetApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) + }, +) _sym_db.RegisterMessage(GetApiKeyRequest) -GetApiKeyResponse = _reflection.GeneratedProtocolMessageType('GetApiKeyResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETAPIKEYRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) - }) +GetApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "GetApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) + }, +) _sym_db.RegisterMessage(GetApiKeyResponse) -CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType('CreateApiKeyRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEAPIKEYREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) - }) +CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "CreateApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEAPIKEYREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) + }, +) _sym_db.RegisterMessage(CreateApiKeyRequest) -CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType('CreateApiKeyResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATEAPIKEYRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) - }) +CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "CreateApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEAPIKEYRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) + }, +) _sym_db.RegisterMessage(CreateApiKeyResponse) -UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType('UpdateApiKeyRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEAPIKEYREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) - }) +UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "UpdateApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEAPIKEYREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) + }, +) _sym_db.RegisterMessage(UpdateApiKeyRequest) -UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType('UpdateApiKeyResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEAPIKEYRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) - }) +UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "UpdateApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEAPIKEYRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) + }, +) _sym_db.RegisterMessage(UpdateApiKeyResponse) -DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType('DeleteApiKeyRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEAPIKEYREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) - }) +DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "DeleteApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEAPIKEYREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) + }, +) _sym_db.RegisterMessage(DeleteApiKeyRequest) -DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType('DeleteApiKeyResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEAPIKEYRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) - }) +DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "DeleteApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEAPIKEYRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) + }, +) _sym_db.RegisterMessage(DeleteApiKeyResponse) -GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointsRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) - }) +GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) + }, +) _sym_db.RegisterMessage(GetNexusEndpointsRequest) -GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointsResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) - }) +GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) + }, +) _sym_db.RegisterMessage(GetNexusEndpointsResponse) -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) - }) +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(GetNexusEndpointRequest) -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) - }) +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(GetNexusEndpointResponse) -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) - }) +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(CreateNexusEndpointRequest) -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) - }) +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(CreateNexusEndpointResponse) -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) - }) +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(UpdateNexusEndpointRequest) -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) - }) +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(UpdateNexusEndpointResponse) -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) - }) +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(DeleteNexusEndpointRequest) -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) - }) +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(DeleteNexusEndpointResponse) -GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupsRequest', (_message.Message,), { - - 'GoogleGroupFilter' : _reflection.GeneratedProtocolMessageType('GoogleGroupFilter', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) - }) - , - - 'SCIMGroupFilter' : _reflection.GeneratedProtocolMessageType('SCIMGroupFilter', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) - }) - , - 'DESCRIPTOR' : _GETUSERGROUPSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) - }) +GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupsRequest", + (_message.Message,), + { + "GoogleGroupFilter": _reflection.GeneratedProtocolMessageType( + "GoogleGroupFilter", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) + }, + ), + "SCIMGroupFilter": _reflection.GeneratedProtocolMessageType( + "SCIMGroupFilter", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) + }, + ), + "DESCRIPTOR": _GETUSERGROUPSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) + }, +) _sym_db.RegisterMessage(GetUserGroupsRequest) _sym_db.RegisterMessage(GetUserGroupsRequest.GoogleGroupFilter) _sym_db.RegisterMessage(GetUserGroupsRequest.SCIMGroupFilter) -GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupsResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) - }) +GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) + }, +) _sym_db.RegisterMessage(GetUserGroupsResponse) -GetUserGroupRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) - }) +GetUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) + }, +) _sym_db.RegisterMessage(GetUserGroupRequest) -GetUserGroupResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) - }) +GetUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) + }, +) _sym_db.RegisterMessage(GetUserGroupResponse) -CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType('CreateUserGroupRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEUSERGROUPREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) - }) +CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "CreateUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERGROUPREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) + }, +) _sym_db.RegisterMessage(CreateUserGroupRequest) -CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType('CreateUserGroupResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATEUSERGROUPRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) - }) +CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "CreateUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERGROUPRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) + }, +) _sym_db.RegisterMessage(CreateUserGroupResponse) -UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType('UpdateUserGroupRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEUSERGROUPREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) - }) +UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "UpdateUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERGROUPREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) + }, +) _sym_db.RegisterMessage(UpdateUserGroupRequest) -UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType('UpdateUserGroupResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEUSERGROUPRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) - }) +UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "UpdateUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERGROUPRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) + }, +) _sym_db.RegisterMessage(UpdateUserGroupResponse) -DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType('DeleteUserGroupRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEUSERGROUPREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) - }) +DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "DeleteUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERGROUPREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) + }, +) _sym_db.RegisterMessage(DeleteUserGroupRequest) -DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType('DeleteUserGroupResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEUSERGROUPRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) - }) +DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "DeleteUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERGROUPRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) + }, +) _sym_db.RegisterMessage(DeleteUserGroupResponse) -SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType('SetUserGroupNamespaceAccessRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETUSERGROUPNAMESPACEACCESSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) - }) +SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( + "SetUserGroupNamespaceAccessRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) + }, +) _sym_db.RegisterMessage(SetUserGroupNamespaceAccessRequest) -SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType('SetUserGroupNamespaceAccessResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETUSERGROUPNAMESPACEACCESSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) - }) +SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( + "SetUserGroupNamespaceAccessResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) + }, +) _sym_db.RegisterMessage(SetUserGroupNamespaceAccessResponse) -AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType('AddUserGroupMemberRequest', (_message.Message,), { - 'DESCRIPTOR' : _ADDUSERGROUPMEMBERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) - }) +AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( + "AddUserGroupMemberRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDUSERGROUPMEMBERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) + }, +) _sym_db.RegisterMessage(AddUserGroupMemberRequest) -AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType('AddUserGroupMemberResponse', (_message.Message,), { - 'DESCRIPTOR' : _ADDUSERGROUPMEMBERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) - }) +AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( + "AddUserGroupMemberResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDUSERGROUPMEMBERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) + }, +) _sym_db.RegisterMessage(AddUserGroupMemberResponse) -RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType('RemoveUserGroupMemberRequest', (_message.Message,), { - 'DESCRIPTOR' : _REMOVEUSERGROUPMEMBERREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) - }) +RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( + "RemoveUserGroupMemberRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEUSERGROUPMEMBERREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) + }, +) _sym_db.RegisterMessage(RemoveUserGroupMemberRequest) -RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType('RemoveUserGroupMemberResponse', (_message.Message,), { - 'DESCRIPTOR' : _REMOVEUSERGROUPMEMBERRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) - }) +RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( + "RemoveUserGroupMemberResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEUSERGROUPMEMBERRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) + }, +) _sym_db.RegisterMessage(RemoveUserGroupMemberResponse) -GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType('GetUserGroupMembersRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPMEMBERSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) - }) +GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupMembersRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPMEMBERSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) + }, +) _sym_db.RegisterMessage(GetUserGroupMembersRequest) -GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType('GetUserGroupMembersResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSERGROUPMEMBERSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) - }) +GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupMembersResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPMEMBERSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) + }, +) _sym_db.RegisterMessage(GetUserGroupMembersResponse) -CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType('CreateServiceAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATESERVICEACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) - }) +CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "CreateServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATESERVICEACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) + }, +) _sym_db.RegisterMessage(CreateServiceAccountRequest) -CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType('CreateServiceAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATESERVICEACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) - }) +CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "CreateServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATESERVICEACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) + }, +) _sym_db.RegisterMessage(CreateServiceAccountResponse) -GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType('GetServiceAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETSERVICEACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) - }) +GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) + }, +) _sym_db.RegisterMessage(GetServiceAccountRequest) -GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType('GetServiceAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETSERVICEACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) - }) +GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) + }, +) _sym_db.RegisterMessage(GetServiceAccountResponse) -GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType('GetServiceAccountsRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETSERVICEACCOUNTSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) - }) +GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) + }, +) _sym_db.RegisterMessage(GetServiceAccountsRequest) -GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType('GetServiceAccountsResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETSERVICEACCOUNTSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) - }) +GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) + }, +) _sym_db.RegisterMessage(GetServiceAccountsResponse) -UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType('UpdateServiceAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATESERVICEACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) - }) +UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "UpdateServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESERVICEACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) + }, +) _sym_db.RegisterMessage(UpdateServiceAccountRequest) -UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType('UpdateServiceAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATESERVICEACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) - }) +UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "UpdateServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESERVICEACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) + }, +) _sym_db.RegisterMessage(UpdateServiceAccountResponse) -DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType('DeleteServiceAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETESERVICEACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) - }) +DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "DeleteServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETESERVICEACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) + }, +) _sym_db.RegisterMessage(DeleteServiceAccountRequest) -DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType('DeleteServiceAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETESERVICEACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) - }) +DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "DeleteServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETESERVICEACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) + }, +) _sym_db.RegisterMessage(DeleteServiceAccountResponse) -GetUsageRequest = _reflection.GeneratedProtocolMessageType('GetUsageRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETUSAGEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) - }) +GetUsageRequest = _reflection.GeneratedProtocolMessageType( + "GetUsageRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSAGEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) + }, +) _sym_db.RegisterMessage(GetUsageRequest) -GetUsageResponse = _reflection.GeneratedProtocolMessageType('GetUsageResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETUSAGERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) - }) +GetUsageResponse = _reflection.GeneratedProtocolMessageType( + "GetUsageResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSAGERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) + }, +) _sym_db.RegisterMessage(GetUsageResponse) -GetAccountRequest = _reflection.GeneratedProtocolMessageType('GetAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) - }) +GetAccountRequest = _reflection.GeneratedProtocolMessageType( + "GetAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) + }, +) _sym_db.RegisterMessage(GetAccountRequest) -GetAccountResponse = _reflection.GeneratedProtocolMessageType('GetAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) - }) +GetAccountResponse = _reflection.GeneratedProtocolMessageType( + "GetAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) + }, +) _sym_db.RegisterMessage(GetAccountResponse) -UpdateAccountRequest = _reflection.GeneratedProtocolMessageType('UpdateAccountRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEACCOUNTREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) - }) +UpdateAccountRequest = _reflection.GeneratedProtocolMessageType( + "UpdateAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) + }, +) _sym_db.RegisterMessage(UpdateAccountRequest) -UpdateAccountResponse = _reflection.GeneratedProtocolMessageType('UpdateAccountResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEACCOUNTRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) - }) +UpdateAccountResponse = _reflection.GeneratedProtocolMessageType( + "UpdateAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) + }, +) _sym_db.RegisterMessage(UpdateAccountResponse) -CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('CreateNamespaceExportSinkRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATENAMESPACEEXPORTSINKREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) - }) +CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) + }, +) _sym_db.RegisterMessage(CreateNamespaceExportSinkRequest) -CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('CreateNamespaceExportSinkResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATENAMESPACEEXPORTSINKRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) - }) +CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) + }, +) _sym_db.RegisterMessage(CreateNamespaceExportSinkResponse) -GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinkRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) - }) +GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) + }, +) _sym_db.RegisterMessage(GetNamespaceExportSinkRequest) -GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinkResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) - }) +GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) + }, +) _sym_db.RegisterMessage(GetNamespaceExportSinkResponse) -GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinksRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) - }) +GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinksRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) + }, +) _sym_db.RegisterMessage(GetNamespaceExportSinksRequest) -GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType('GetNamespaceExportSinksResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNAMESPACEEXPORTSINKSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) - }) +GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinksResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) + }, +) _sym_db.RegisterMessage(GetNamespaceExportSinksResponse) -UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceExportSinkRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACEEXPORTSINKREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) - }) +UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) + }, +) _sym_db.RegisterMessage(UpdateNamespaceExportSinkRequest) -UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceExportSinkResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACEEXPORTSINKRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) - }) +UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) + }, +) _sym_db.RegisterMessage(UpdateNamespaceExportSinkResponse) -DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceExportSinkRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEEXPORTSINKREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) - }) +DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) + }, +) _sym_db.RegisterMessage(DeleteNamespaceExportSinkRequest) -DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceExportSinkResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEEXPORTSINKRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) - }) +DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) + }, +) _sym_db.RegisterMessage(DeleteNamespaceExportSinkResponse) -ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType('ValidateNamespaceExportSinkRequest', (_message.Message,), { - 'DESCRIPTOR' : _VALIDATENAMESPACEEXPORTSINKREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) - }) +ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "ValidateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) + }, +) _sym_db.RegisterMessage(ValidateNamespaceExportSinkRequest) -ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType('ValidateNamespaceExportSinkResponse', (_message.Message,), { - 'DESCRIPTOR' : _VALIDATENAMESPACEEXPORTSINKRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) - }) +ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "ValidateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) + }, +) _sym_db.RegisterMessage(ValidateNamespaceExportSinkResponse) -UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceTagsRequest', (_message.Message,), { - - 'TagsToUpsertEntry' : _reflection.GeneratedProtocolMessageType('TagsToUpsertEntry', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) - }) - , - 'DESCRIPTOR' : _UPDATENAMESPACETAGSREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) - }) +UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceTagsRequest", + (_message.Message,), + { + "TagsToUpsertEntry": _reflection.GeneratedProtocolMessageType( + "TagsToUpsertEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) + }, + ), + "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) + }, +) _sym_db.RegisterMessage(UpdateNamespaceTagsRequest) _sym_db.RegisterMessage(UpdateNamespaceTagsRequest.TagsToUpsertEntry) -UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceTagsResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACETAGSRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) - }) +UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceTagsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACETAGSRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) + }, +) _sym_db.RegisterMessage(UpdateNamespaceTagsResponse) -CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('CreateConnectivityRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATECONNECTIVITYRULEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) - }) +CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "CreateConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATECONNECTIVITYRULEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) + }, +) _sym_db.RegisterMessage(CreateConnectivityRuleRequest) -CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('CreateConnectivityRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATECONNECTIVITYRULERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) - }) +CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "CreateConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATECONNECTIVITYRULERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) + }, +) _sym_db.RegisterMessage(CreateConnectivityRuleResponse) -GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('GetConnectivityRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETCONNECTIVITYRULEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) - }) +GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) + }, +) _sym_db.RegisterMessage(GetConnectivityRuleRequest) -GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('GetConnectivityRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETCONNECTIVITYRULERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) - }) +GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) + }, +) _sym_db.RegisterMessage(GetConnectivityRuleResponse) -GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType('GetConnectivityRulesRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETCONNECTIVITYRULESREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) - }) +GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULESREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) + }, +) _sym_db.RegisterMessage(GetConnectivityRulesRequest) -GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType('GetConnectivityRulesResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETCONNECTIVITYRULESRESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) - }) +GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULESRESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) + }, +) _sym_db.RegisterMessage(GetConnectivityRulesResponse) -DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType('DeleteConnectivityRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETECONNECTIVITYRULEREQUEST, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) - }) +DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETECONNECTIVITYRULEREQUEST, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) + }, +) _sym_db.RegisterMessage(DeleteConnectivityRuleRequest) -DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType('DeleteConnectivityRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETECONNECTIVITYRULERESPONSE, - '__module__' : 'temporal.api.cloud.cloudservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) - }) +DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETECONNECTIVITYRULERESPONSE, + "__module__": "temporal.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) + }, +) _sym_db.RegisterMessage(DeleteConnectivityRuleResponse) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1' - _CREATENAMESPACEREQUEST_TAGSENTRY._options = None - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b'8\001' - _GETAPIKEYSREQUEST.fields_by_name['owner_type_deprecated']._options = None - _GETAPIKEYSREQUEST.fields_by_name['owner_type_deprecated']._serialized_options = b'\030\001' - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b'8\001' - _GETUSERSREQUEST._serialized_start=499 - _GETUSERSREQUEST._serialized_end=589 - _GETUSERSRESPONSE._serialized_start=591 - _GETUSERSRESPONSE._serialized_end=687 - _GETUSERREQUEST._serialized_start=689 - _GETUSERREQUEST._serialized_end=722 - _GETUSERRESPONSE._serialized_start=724 - _GETUSERRESPONSE._serialized_end=793 - _CREATEUSERREQUEST._serialized_start=795 - _CREATEUSERREQUEST._serialized_end=898 - _CREATEUSERRESPONSE._serialized_start=900 - _CREATEUSERRESPONSE._serialized_end=1011 - _UPDATEUSERREQUEST._serialized_start=1014 - _UPDATEUSERREQUEST._serialized_end=1160 - _UPDATEUSERRESPONSE._serialized_start=1162 - _UPDATEUSERRESPONSE._serialized_end=1256 - _DELETEUSERREQUEST._serialized_start=1258 - _DELETEUSERREQUEST._serialized_end=1348 - _DELETEUSERRESPONSE._serialized_start=1350 - _DELETEUSERRESPONSE._serialized_end=1444 - _SETUSERNAMESPACEACCESSREQUEST._serialized_start=1447 - _SETUSERNAMESPACEACCESSREQUEST._serialized_end=1633 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_start=1635 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_end=1741 - _GETASYNCOPERATIONREQUEST._serialized_start=1743 - _GETASYNCOPERATIONREQUEST._serialized_end=1797 - _GETASYNCOPERATIONRESPONSE._serialized_start=1799 - _GETASYNCOPERATIONRESPONSE._serialized_end=1900 - _CREATENAMESPACEREQUEST._serialized_start=1903 - _CREATENAMESPACEREQUEST._serialized_end=2146 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start=2103 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end=2146 - _CREATENAMESPACERESPONSE._serialized_start=2148 - _CREATENAMESPACERESPONSE._serialized_end=2266 - _GETNAMESPACESREQUEST._serialized_start=2268 - _GETNAMESPACESREQUEST._serialized_end=2343 - _GETNAMESPACESRESPONSE._serialized_start=2345 - _GETNAMESPACESRESPONSE._serialized_end=2457 - _GETNAMESPACEREQUEST._serialized_start=2459 - _GETNAMESPACEREQUEST._serialized_end=2499 - _GETNAMESPACERESPONSE._serialized_start=2501 - _GETNAMESPACERESPONSE._serialized_end=2586 - _UPDATENAMESPACEREQUEST._serialized_start=2589 - _UPDATENAMESPACEREQUEST._serialized_end=2748 - _UPDATENAMESPACERESPONSE._serialized_start=2750 - _UPDATENAMESPACERESPONSE._serialized_end=2849 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start=2852 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end=3050 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start=3052 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end=3163 - _DELETENAMESPACEREQUEST._serialized_start=3165 - _DELETENAMESPACEREQUEST._serialized_end=3262 - _DELETENAMESPACERESPONSE._serialized_start=3264 - _DELETENAMESPACERESPONSE._serialized_end=3363 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_start=3365 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_end=3460 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start=3462 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end=3569 - _ADDNAMESPACEREGIONREQUEST._serialized_start=3571 - _ADDNAMESPACEREGIONREQUEST._serialized_end=3687 - _ADDNAMESPACEREGIONRESPONSE._serialized_start=3689 - _ADDNAMESPACEREGIONRESPONSE._serialized_end=3791 - _DELETENAMESPACEREGIONREQUEST._serialized_start=3793 - _DELETENAMESPACEREGIONREQUEST._serialized_end=3912 - _DELETENAMESPACEREGIONRESPONSE._serialized_start=3914 - _DELETENAMESPACEREGIONRESPONSE._serialized_end=4019 - _GETREGIONSREQUEST._serialized_start=4021 - _GETREGIONSREQUEST._serialized_end=4040 - _GETREGIONSRESPONSE._serialized_start=4042 - _GETREGIONSRESPONSE._serialized_end=4117 - _GETREGIONREQUEST._serialized_start=4119 - _GETREGIONREQUEST._serialized_end=4153 - _GETREGIONRESPONSE._serialized_start=4155 - _GETREGIONRESPONSE._serialized_end=4228 - _GETAPIKEYSREQUEST._serialized_start=4231 - _GETAPIKEYSREQUEST._serialized_end=4405 - _GETAPIKEYSRESPONSE._serialized_start=4407 - _GETAPIKEYSRESPONSE._serialized_end=4510 - _GETAPIKEYREQUEST._serialized_start=4512 - _GETAPIKEYREQUEST._serialized_end=4546 - _GETAPIKEYRESPONSE._serialized_start=4548 - _GETAPIKEYRESPONSE._serialized_end=4624 - _CREATEAPIKEYREQUEST._serialized_start=4626 - _CREATEAPIKEYREQUEST._serialized_end=4733 - _CREATEAPIKEYRESPONSE._serialized_start=4735 - _CREATEAPIKEYRESPONSE._serialized_end=4862 - _UPDATEAPIKEYREQUEST._serialized_start=4865 - _UPDATEAPIKEYREQUEST._serialized_end=5014 - _UPDATEAPIKEYRESPONSE._serialized_start=5016 - _UPDATEAPIKEYRESPONSE._serialized_end=5112 - _DELETEAPIKEYREQUEST._serialized_start=5114 - _DELETEAPIKEYREQUEST._serialized_end=5205 - _DELETEAPIKEYRESPONSE._serialized_start=5207 - _DELETEAPIKEYRESPONSE._serialized_end=5303 - _GETNEXUSENDPOINTSREQUEST._serialized_start=5306 - _GETNEXUSENDPOINTSREQUEST._serialized_end=5441 - _GETNEXUSENDPOINTSRESPONSE._serialized_start=5443 - _GETNEXUSENDPOINTSRESPONSE._serialized_end=5553 - _GETNEXUSENDPOINTREQUEST._serialized_start=5555 - _GETNEXUSENDPOINTREQUEST._serialized_end=5601 - _GETNEXUSENDPOINTRESPONSE._serialized_start=5603 - _GETNEXUSENDPOINTRESPONSE._serialized_end=5686 - _CREATENEXUSENDPOINTREQUEST._serialized_start=5688 - _CREATENEXUSENDPOINTREQUEST._serialized_end=5801 - _CREATENEXUSENDPOINTRESPONSE._serialized_start=5803 - _CREATENEXUSENDPOINTRESPONSE._serialized_end=5927 - _UPDATENEXUSENDPOINTREQUEST._serialized_start=5930 - _UPDATENEXUSENDPOINTREQUEST._serialized_end=6090 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start=6092 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end=6195 - _DELETENEXUSENDPOINTREQUEST._serialized_start=6197 - _DELETENEXUSENDPOINTREQUEST._serialized_end=6300 - _DELETENEXUSENDPOINTRESPONSE._serialized_start=6302 - _DELETENEXUSENDPOINTRESPONSE._serialized_end=6405 - _GETUSERGROUPSREQUEST._serialized_start=6408 - _GETUSERGROUPSREQUEST._serialized_end=6781 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start=6704 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end=6746 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start=6748 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end=6781 - _GETUSERGROUPSRESPONSE._serialized_start=6783 - _GETUSERGROUPSRESPONSE._serialized_end=6890 - _GETUSERGROUPREQUEST._serialized_start=6892 - _GETUSERGROUPREQUEST._serialized_end=6931 - _GETUSERGROUPRESPONSE._serialized_start=6933 - _GETUSERGROUPRESPONSE._serialized_end=7013 - _CREATEUSERGROUPREQUEST._serialized_start=7015 - _CREATEUSERGROUPREQUEST._serialized_end=7128 - _CREATEUSERGROUPRESPONSE._serialized_start=7130 - _CREATEUSERGROUPRESPONSE._serialized_end=7247 - _UPDATEUSERGROUPREQUEST._serialized_start=7250 - _UPDATEUSERGROUPREQUEST._serialized_end=7407 - _UPDATEUSERGROUPRESPONSE._serialized_start=7409 - _UPDATEUSERGROUPRESPONSE._serialized_end=7508 - _DELETEUSERGROUPREQUEST._serialized_start=7510 - _DELETEUSERGROUPREQUEST._serialized_end=7606 - _DELETEUSERGROUPRESPONSE._serialized_start=7608 - _DELETEUSERGROUPRESPONSE._serialized_end=7707 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start=7710 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end=7902 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start=7904 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end=8015 - _ADDUSERGROUPMEMBERREQUEST._serialized_start=8018 - _ADDUSERGROUPMEMBERREQUEST._serialized_end=8161 - _ADDUSERGROUPMEMBERRESPONSE._serialized_start=8163 - _ADDUSERGROUPMEMBERRESPONSE._serialized_end=8265 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_start=8268 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_end=8414 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start=8416 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end=8521 - _GETUSERGROUPMEMBERSREQUEST._serialized_start=8523 - _GETUSERGROUPMEMBERSREQUEST._serialized_end=8608 - _GETUSERGROUPMEMBERSRESPONSE._serialized_start=8610 - _GETUSERGROUPMEMBERSRESPONSE._serialized_end=8730 - _CREATESERVICEACCOUNTREQUEST._serialized_start=8732 - _CREATESERVICEACCOUNTREQUEST._serialized_end=8855 - _CREATESERVICEACCOUNTRESPONSE._serialized_start=8858 - _CREATESERVICEACCOUNTRESPONSE._serialized_end=8990 - _GETSERVICEACCOUNTREQUEST._serialized_start=8992 - _GETSERVICEACCOUNTREQUEST._serialized_end=9046 - _GETSERVICEACCOUNTRESPONSE._serialized_start=9048 - _GETSERVICEACCOUNTRESPONSE._serialized_end=9148 - _GETSERVICEACCOUNTSREQUEST._serialized_start=9150 - _GETSERVICEACCOUNTSREQUEST._serialized_end=9216 - _GETSERVICEACCOUNTSRESPONSE._serialized_start=9218 - _GETSERVICEACCOUNTSRESPONSE._serialized_end=9344 - _UPDATESERVICEACCOUNTREQUEST._serialized_start=9347 - _UPDATESERVICEACCOUNTREQUEST._serialized_end=9524 - _UPDATESERVICEACCOUNTRESPONSE._serialized_start=9526 - _UPDATESERVICEACCOUNTRESPONSE._serialized_end=9630 - _DELETESERVICEACCOUNTREQUEST._serialized_start=9632 - _DELETESERVICEACCOUNTREQUEST._serialized_end=9743 - _DELETESERVICEACCOUNTRESPONSE._serialized_start=9745 - _DELETESERVICEACCOUNTRESPONSE._serialized_end=9849 - _GETUSAGEREQUEST._serialized_start=9852 - _GETUSAGEREQUEST._serialized_end=10022 - _GETUSAGERESPONSE._serialized_start=10024 - _GETUSAGERESPONSE._serialized_end=10124 - _GETACCOUNTREQUEST._serialized_start=10126 - _GETACCOUNTREQUEST._serialized_end=10145 - _GETACCOUNTRESPONSE._serialized_start=10147 - _GETACCOUNTRESPONSE._serialized_end=10224 - _UPDATEACCOUNTREQUEST._serialized_start=10227 - _UPDATEACCOUNTREQUEST._serialized_end=10361 - _UPDATEACCOUNTRESPONSE._serialized_start=10363 - _UPDATEACCOUNTRESPONSE._serialized_end=10460 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start=10463 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end=10607 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start=10609 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end=10718 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_start=10720 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_end=10784 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start=10786 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end=10877 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start=10879 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end=10969 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start=10971 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end=11089 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start=11092 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end=11262 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start=11264 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end=11373 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start=11375 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end=11496 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start=11498 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end=11607 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start=11609 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end=11727 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start=11729 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end=11766 - _UPDATENAMESPACETAGSREQUEST._serialized_start=11769 - _UPDATENAMESPACETAGSREQUEST._serialized_end=12027 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start=11976 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end=12027 - _UPDATENAMESPACETAGSRESPONSE._serialized_start=12029 - _UPDATENAMESPACETAGSRESPONSE._serialized_end=12132 - _CREATECONNECTIVITYRULEREQUEST._serialized_start=12135 - _CREATECONNECTIVITYRULEREQUEST._serialized_end=12270 - _CREATECONNECTIVITYRULERESPONSE._serialized_start=12273 - _CREATECONNECTIVITYRULERESPONSE._serialized_end=12409 - _GETCONNECTIVITYRULEREQUEST._serialized_start=12411 - _GETCONNECTIVITYRULEREQUEST._serialized_end=12469 - _GETCONNECTIVITYRULERESPONSE._serialized_start=12471 - _GETCONNECTIVITYRULERESPONSE._serialized_end=12585 - _GETCONNECTIVITYRULESREQUEST._serialized_start=12587 - _GETCONNECTIVITYRULESREQUEST._serialized_end=12674 - _GETCONNECTIVITYRULESRESPONSE._serialized_start=12677 - _GETCONNECTIVITYRULESRESPONSE._serialized_end=12818 - _DELETECONNECTIVITYRULEREQUEST._serialized_start=12820 - _DELETECONNECTIVITYRULEREQUEST._serialized_end=12935 - _DELETECONNECTIVITYRULERESPONSE._serialized_start=12937 - _DELETECONNECTIVITYRULERESPONSE._serialized_end=13043 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" + _CREATENAMESPACEREQUEST_TAGSENTRY._options = None + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b"8\001" + _GETAPIKEYSREQUEST.fields_by_name["owner_type_deprecated"]._options = None + _GETAPIKEYSREQUEST.fields_by_name[ + "owner_type_deprecated" + ]._serialized_options = b"\030\001" + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b"8\001" + _GETUSERSREQUEST._serialized_start = 499 + _GETUSERSREQUEST._serialized_end = 589 + _GETUSERSRESPONSE._serialized_start = 591 + _GETUSERSRESPONSE._serialized_end = 687 + _GETUSERREQUEST._serialized_start = 689 + _GETUSERREQUEST._serialized_end = 722 + _GETUSERRESPONSE._serialized_start = 724 + _GETUSERRESPONSE._serialized_end = 793 + _CREATEUSERREQUEST._serialized_start = 795 + _CREATEUSERREQUEST._serialized_end = 898 + _CREATEUSERRESPONSE._serialized_start = 900 + _CREATEUSERRESPONSE._serialized_end = 1011 + _UPDATEUSERREQUEST._serialized_start = 1014 + _UPDATEUSERREQUEST._serialized_end = 1160 + _UPDATEUSERRESPONSE._serialized_start = 1162 + _UPDATEUSERRESPONSE._serialized_end = 1256 + _DELETEUSERREQUEST._serialized_start = 1258 + _DELETEUSERREQUEST._serialized_end = 1348 + _DELETEUSERRESPONSE._serialized_start = 1350 + _DELETEUSERRESPONSE._serialized_end = 1444 + _SETUSERNAMESPACEACCESSREQUEST._serialized_start = 1447 + _SETUSERNAMESPACEACCESSREQUEST._serialized_end = 1633 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_start = 1635 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_end = 1741 + _GETASYNCOPERATIONREQUEST._serialized_start = 1743 + _GETASYNCOPERATIONREQUEST._serialized_end = 1797 + _GETASYNCOPERATIONRESPONSE._serialized_start = 1799 + _GETASYNCOPERATIONRESPONSE._serialized_end = 1900 + _CREATENAMESPACEREQUEST._serialized_start = 1903 + _CREATENAMESPACEREQUEST._serialized_end = 2146 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start = 2103 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end = 2146 + _CREATENAMESPACERESPONSE._serialized_start = 2148 + _CREATENAMESPACERESPONSE._serialized_end = 2266 + _GETNAMESPACESREQUEST._serialized_start = 2268 + _GETNAMESPACESREQUEST._serialized_end = 2343 + _GETNAMESPACESRESPONSE._serialized_start = 2345 + _GETNAMESPACESRESPONSE._serialized_end = 2457 + _GETNAMESPACEREQUEST._serialized_start = 2459 + _GETNAMESPACEREQUEST._serialized_end = 2499 + _GETNAMESPACERESPONSE._serialized_start = 2501 + _GETNAMESPACERESPONSE._serialized_end = 2586 + _UPDATENAMESPACEREQUEST._serialized_start = 2589 + _UPDATENAMESPACEREQUEST._serialized_end = 2748 + _UPDATENAMESPACERESPONSE._serialized_start = 2750 + _UPDATENAMESPACERESPONSE._serialized_end = 2849 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start = 2852 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end = 3050 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start = 3052 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end = 3163 + _DELETENAMESPACEREQUEST._serialized_start = 3165 + _DELETENAMESPACEREQUEST._serialized_end = 3262 + _DELETENAMESPACERESPONSE._serialized_start = 3264 + _DELETENAMESPACERESPONSE._serialized_end = 3363 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_start = 3365 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_end = 3460 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start = 3462 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end = 3569 + _ADDNAMESPACEREGIONREQUEST._serialized_start = 3571 + _ADDNAMESPACEREGIONREQUEST._serialized_end = 3687 + _ADDNAMESPACEREGIONRESPONSE._serialized_start = 3689 + _ADDNAMESPACEREGIONRESPONSE._serialized_end = 3791 + _DELETENAMESPACEREGIONREQUEST._serialized_start = 3793 + _DELETENAMESPACEREGIONREQUEST._serialized_end = 3912 + _DELETENAMESPACEREGIONRESPONSE._serialized_start = 3914 + _DELETENAMESPACEREGIONRESPONSE._serialized_end = 4019 + _GETREGIONSREQUEST._serialized_start = 4021 + _GETREGIONSREQUEST._serialized_end = 4040 + _GETREGIONSRESPONSE._serialized_start = 4042 + _GETREGIONSRESPONSE._serialized_end = 4117 + _GETREGIONREQUEST._serialized_start = 4119 + _GETREGIONREQUEST._serialized_end = 4153 + _GETREGIONRESPONSE._serialized_start = 4155 + _GETREGIONRESPONSE._serialized_end = 4228 + _GETAPIKEYSREQUEST._serialized_start = 4231 + _GETAPIKEYSREQUEST._serialized_end = 4405 + _GETAPIKEYSRESPONSE._serialized_start = 4407 + _GETAPIKEYSRESPONSE._serialized_end = 4510 + _GETAPIKEYREQUEST._serialized_start = 4512 + _GETAPIKEYREQUEST._serialized_end = 4546 + _GETAPIKEYRESPONSE._serialized_start = 4548 + _GETAPIKEYRESPONSE._serialized_end = 4624 + _CREATEAPIKEYREQUEST._serialized_start = 4626 + _CREATEAPIKEYREQUEST._serialized_end = 4733 + _CREATEAPIKEYRESPONSE._serialized_start = 4735 + _CREATEAPIKEYRESPONSE._serialized_end = 4862 + _UPDATEAPIKEYREQUEST._serialized_start = 4865 + _UPDATEAPIKEYREQUEST._serialized_end = 5014 + _UPDATEAPIKEYRESPONSE._serialized_start = 5016 + _UPDATEAPIKEYRESPONSE._serialized_end = 5112 + _DELETEAPIKEYREQUEST._serialized_start = 5114 + _DELETEAPIKEYREQUEST._serialized_end = 5205 + _DELETEAPIKEYRESPONSE._serialized_start = 5207 + _DELETEAPIKEYRESPONSE._serialized_end = 5303 + _GETNEXUSENDPOINTSREQUEST._serialized_start = 5306 + _GETNEXUSENDPOINTSREQUEST._serialized_end = 5441 + _GETNEXUSENDPOINTSRESPONSE._serialized_start = 5443 + _GETNEXUSENDPOINTSRESPONSE._serialized_end = 5553 + _GETNEXUSENDPOINTREQUEST._serialized_start = 5555 + _GETNEXUSENDPOINTREQUEST._serialized_end = 5601 + _GETNEXUSENDPOINTRESPONSE._serialized_start = 5603 + _GETNEXUSENDPOINTRESPONSE._serialized_end = 5686 + _CREATENEXUSENDPOINTREQUEST._serialized_start = 5688 + _CREATENEXUSENDPOINTREQUEST._serialized_end = 5801 + _CREATENEXUSENDPOINTRESPONSE._serialized_start = 5803 + _CREATENEXUSENDPOINTRESPONSE._serialized_end = 5927 + _UPDATENEXUSENDPOINTREQUEST._serialized_start = 5930 + _UPDATENEXUSENDPOINTREQUEST._serialized_end = 6090 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 6092 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 6195 + _DELETENEXUSENDPOINTREQUEST._serialized_start = 6197 + _DELETENEXUSENDPOINTREQUEST._serialized_end = 6300 + _DELETENEXUSENDPOINTRESPONSE._serialized_start = 6302 + _DELETENEXUSENDPOINTRESPONSE._serialized_end = 6405 + _GETUSERGROUPSREQUEST._serialized_start = 6408 + _GETUSERGROUPSREQUEST._serialized_end = 6781 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start = 6704 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end = 6746 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start = 6748 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end = 6781 + _GETUSERGROUPSRESPONSE._serialized_start = 6783 + _GETUSERGROUPSRESPONSE._serialized_end = 6890 + _GETUSERGROUPREQUEST._serialized_start = 6892 + _GETUSERGROUPREQUEST._serialized_end = 6931 + _GETUSERGROUPRESPONSE._serialized_start = 6933 + _GETUSERGROUPRESPONSE._serialized_end = 7013 + _CREATEUSERGROUPREQUEST._serialized_start = 7015 + _CREATEUSERGROUPREQUEST._serialized_end = 7128 + _CREATEUSERGROUPRESPONSE._serialized_start = 7130 + _CREATEUSERGROUPRESPONSE._serialized_end = 7247 + _UPDATEUSERGROUPREQUEST._serialized_start = 7250 + _UPDATEUSERGROUPREQUEST._serialized_end = 7407 + _UPDATEUSERGROUPRESPONSE._serialized_start = 7409 + _UPDATEUSERGROUPRESPONSE._serialized_end = 7508 + _DELETEUSERGROUPREQUEST._serialized_start = 7510 + _DELETEUSERGROUPREQUEST._serialized_end = 7606 + _DELETEUSERGROUPRESPONSE._serialized_start = 7608 + _DELETEUSERGROUPRESPONSE._serialized_end = 7707 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start = 7710 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end = 7902 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start = 7904 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end = 8015 + _ADDUSERGROUPMEMBERREQUEST._serialized_start = 8018 + _ADDUSERGROUPMEMBERREQUEST._serialized_end = 8161 + _ADDUSERGROUPMEMBERRESPONSE._serialized_start = 8163 + _ADDUSERGROUPMEMBERRESPONSE._serialized_end = 8265 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_start = 8268 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_end = 8414 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start = 8416 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end = 8521 + _GETUSERGROUPMEMBERSREQUEST._serialized_start = 8523 + _GETUSERGROUPMEMBERSREQUEST._serialized_end = 8608 + _GETUSERGROUPMEMBERSRESPONSE._serialized_start = 8610 + _GETUSERGROUPMEMBERSRESPONSE._serialized_end = 8730 + _CREATESERVICEACCOUNTREQUEST._serialized_start = 8732 + _CREATESERVICEACCOUNTREQUEST._serialized_end = 8855 + _CREATESERVICEACCOUNTRESPONSE._serialized_start = 8858 + _CREATESERVICEACCOUNTRESPONSE._serialized_end = 8990 + _GETSERVICEACCOUNTREQUEST._serialized_start = 8992 + _GETSERVICEACCOUNTREQUEST._serialized_end = 9046 + _GETSERVICEACCOUNTRESPONSE._serialized_start = 9048 + _GETSERVICEACCOUNTRESPONSE._serialized_end = 9148 + _GETSERVICEACCOUNTSREQUEST._serialized_start = 9150 + _GETSERVICEACCOUNTSREQUEST._serialized_end = 9216 + _GETSERVICEACCOUNTSRESPONSE._serialized_start = 9218 + _GETSERVICEACCOUNTSRESPONSE._serialized_end = 9344 + _UPDATESERVICEACCOUNTREQUEST._serialized_start = 9347 + _UPDATESERVICEACCOUNTREQUEST._serialized_end = 9524 + _UPDATESERVICEACCOUNTRESPONSE._serialized_start = 9526 + _UPDATESERVICEACCOUNTRESPONSE._serialized_end = 9630 + _DELETESERVICEACCOUNTREQUEST._serialized_start = 9632 + _DELETESERVICEACCOUNTREQUEST._serialized_end = 9743 + _DELETESERVICEACCOUNTRESPONSE._serialized_start = 9745 + _DELETESERVICEACCOUNTRESPONSE._serialized_end = 9849 + _GETUSAGEREQUEST._serialized_start = 9852 + _GETUSAGEREQUEST._serialized_end = 10022 + _GETUSAGERESPONSE._serialized_start = 10024 + _GETUSAGERESPONSE._serialized_end = 10124 + _GETACCOUNTREQUEST._serialized_start = 10126 + _GETACCOUNTREQUEST._serialized_end = 10145 + _GETACCOUNTRESPONSE._serialized_start = 10147 + _GETACCOUNTRESPONSE._serialized_end = 10224 + _UPDATEACCOUNTREQUEST._serialized_start = 10227 + _UPDATEACCOUNTREQUEST._serialized_end = 10361 + _UPDATEACCOUNTRESPONSE._serialized_start = 10363 + _UPDATEACCOUNTRESPONSE._serialized_end = 10460 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start = 10463 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end = 10607 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 10609 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 10718 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_start = 10720 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_end = 10784 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start = 10786 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end = 10877 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start = 10879 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end = 10969 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start = 10971 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end = 11089 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11092 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11262 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11264 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11373 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start = 11375 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end = 11496 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11498 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11607 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11609 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11727 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11729 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11766 + _UPDATENAMESPACETAGSREQUEST._serialized_start = 11769 + _UPDATENAMESPACETAGSREQUEST._serialized_end = 12027 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start = 11976 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end = 12027 + _UPDATENAMESPACETAGSRESPONSE._serialized_start = 12029 + _UPDATENAMESPACETAGSRESPONSE._serialized_end = 12132 + _CREATECONNECTIVITYRULEREQUEST._serialized_start = 12135 + _CREATECONNECTIVITYRULEREQUEST._serialized_end = 12270 + _CREATECONNECTIVITYRULERESPONSE._serialized_start = 12273 + _CREATECONNECTIVITYRULERESPONSE._serialized_end = 12409 + _GETCONNECTIVITYRULEREQUEST._serialized_start = 12411 + _GETCONNECTIVITYRULEREQUEST._serialized_end = 12469 + _GETCONNECTIVITYRULERESPONSE._serialized_start = 12471 + _GETCONNECTIVITYRULERESPONSE._serialized_end = 12585 + _GETCONNECTIVITYRULESREQUEST._serialized_start = 12587 + _GETCONNECTIVITYRULESREQUEST._serialized_end = 12674 + _GETCONNECTIVITYRULESRESPONSE._serialized_start = 12677 + _GETCONNECTIVITYRULESRESPONSE._serialized_end = 12818 + _DELETECONNECTIVITYRULEREQUEST._serialized_start = 12820 + _DELETECONNECTIVITYRULEREQUEST._serialized_end = 12935 + _DELETECONNECTIVITYRULERESPONSE._serialized_start = 12937 + _DELETECONNECTIVITYRULERESPONSE._serialized_end = 13043 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi index e97c3bf84..9202f86bb 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.cloud.account.v1.message_pb2 import temporalio.api.cloud.connectivityrule.v1.message_pb2 import temporalio.api.cloud.identity.v1.message_pb2 @@ -50,7 +53,19 @@ class GetUsersRequest(google.protobuf.message.Message): email: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["email", b"email", "namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "email", + b"email", + "namespace", + b"namespace", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... global___GetUsersRequest = GetUsersRequest @@ -60,17 +75,29 @@ class GetUsersResponse(google.protobuf.message.Message): USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def users(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.User]: + def users( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.identity.v1.message_pb2.User + ]: """The list of users in ascending ids order""" next_page_token: builtins.str """The next page's token""" def __init__( self, *, - users: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.User] | None = ..., + users: collections.abc.Iterable[ + temporalio.api.cloud.identity.v1.message_pb2.User + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "users", b"users"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "users", b"users" + ], + ) -> None: ... global___GetUsersResponse = GetUsersResponse @@ -85,7 +112,9 @@ class GetUserRequest(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["user_id", b"user_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["user_id", b"user_id"] + ) -> None: ... global___GetUserRequest = GetUserRequest @@ -101,8 +130,12 @@ class GetUserResponse(google.protobuf.message.Message): *, user: temporalio.api.cloud.identity.v1.message_pb2.User | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["user", b"user"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["user", b"user"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["user", b"user"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["user", b"user"] + ) -> None: ... global___GetUserResponse = GetUserResponse @@ -122,8 +155,15 @@ class CreateUserRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.UserSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateUserRequest = CreateUserRequest @@ -135,16 +175,27 @@ class CreateUserResponse(google.protobuf.message.Message): user_id: builtins.str """The id of the user that was invited""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, user_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", b"async_operation", "user_id", b"user_id" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "user_id", b"user_id"]) -> None: ... global___CreateUserResponse = CreateUserResponse @@ -174,8 +225,22 @@ class UpdateUserRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "spec", b"spec", "user_id", b"user_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "resource_version", + b"resource_version", + "spec", + b"spec", + "user_id", + b"user_id", + ], + ) -> None: ... global___UpdateUserRequest = UpdateUserRequest @@ -184,15 +249,24 @@ class UpdateUserResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateUserResponse = UpdateUserResponse @@ -217,7 +291,17 @@ class DeleteUserRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "user_id", b"user_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "resource_version", + b"resource_version", + "user_id", + b"user_id", + ], + ) -> None: ... global___DeleteUserRequest = DeleteUserRequest @@ -226,15 +310,24 @@ class DeleteUserResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteUserResponse = DeleteUserResponse @@ -264,12 +357,29 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., user_id: builtins.str = ..., - access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess | None = ..., + access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess + | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "user_id", b"user_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["access", b"access"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "access", + b"access", + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + "user_id", + b"user_id", + ], + ) -> None: ... global___SetUserNamespaceAccessRequest = SetUserNamespaceAccessRequest @@ -278,15 +388,24 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___SetUserNamespaceAccessResponse = SetUserNamespaceAccessResponse @@ -301,7 +420,12 @@ class GetAsyncOperationRequest(google.protobuf.message.Message): *, async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id" + ], + ) -> None: ... global___GetAsyncOperationRequest = GetAsyncOperationRequest @@ -310,15 +434,24 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___GetAsyncOperationResponse = GetAsyncOperationResponse @@ -338,7 +471,10 @@ class CreateNamespaceRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int @@ -351,7 +487,9 @@ class CreateNamespaceRequest(google.protobuf.message.Message): Optional, if not provided a random id will be generated. """ @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def tags( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags to add to the namespace. Note: This field can be set by global admins or account owners only. """ @@ -362,8 +500,20 @@ class CreateNamespaceRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec", "tags", b"tags"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "spec", + b"spec", + "tags", + b"tags", + ], + ) -> None: ... global___CreateNamespaceRequest = CreateNamespaceRequest @@ -375,16 +525,27 @@ class CreateNamespaceResponse(google.protobuf.message.Message): namespace: builtins.str """The namespace that was created.""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, namespace: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", b"async_operation", "namespace", b"namespace" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "namespace", b"namespace"]) -> None: ... global___CreateNamespaceResponse = CreateNamespaceResponse @@ -414,7 +575,12 @@ class GetNamespacesRequest(google.protobuf.message.Message): page_token: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "name", b"name", "page_size", b"page_size", "page_token", b"page_token" + ], + ) -> None: ... global___GetNamespacesRequest = GetNamespacesRequest @@ -424,17 +590,29 @@ class GetNamespacesResponse(google.protobuf.message.Message): NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def namespaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.namespace.v1.message_pb2.Namespace]: + def namespaces( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.namespace.v1.message_pb2.Namespace + ]: """The list of namespaces in ascending name order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - namespaces: collections.abc.Iterable[temporalio.api.cloud.namespace.v1.message_pb2.Namespace] | None = ..., + namespaces: collections.abc.Iterable[ + temporalio.api.cloud.namespace.v1.message_pb2.Namespace + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespaces", b"namespaces", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___GetNamespacesResponse = GetNamespacesResponse @@ -449,7 +627,9 @@ class GetNamespaceRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> None: ... global___GetNamespaceRequest = GetNamespaceRequest @@ -465,8 +645,12 @@ class GetNamespaceResponse(google.protobuf.message.Message): *, namespace: temporalio.api.cloud.namespace.v1.message_pb2.Namespace | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> None: ... global___GetNamespaceResponse = GetNamespaceResponse @@ -498,8 +682,22 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateNamespaceRequest = UpdateNamespaceRequest @@ -508,15 +706,24 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceResponse = UpdateNamespaceResponse @@ -551,7 +758,21 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "existing_custom_search_attribute_name", b"existing_custom_search_attribute_name", "namespace", b"namespace", "new_custom_search_attribute_name", b"new_custom_search_attribute_name", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "existing_custom_search_attribute_name", + b"existing_custom_search_attribute_name", + "namespace", + b"namespace", + "new_custom_search_attribute_name", + b"new_custom_search_attribute_name", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___RenameCustomSearchAttributeRequest = RenameCustomSearchAttributeRequest @@ -560,15 +781,24 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___RenameCustomSearchAttributeResponse = RenameCustomSearchAttributeResponse @@ -595,7 +825,17 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteNamespaceRequest = DeleteNamespaceRequest @@ -604,15 +844,24 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceResponse = DeleteNamespaceResponse @@ -637,7 +886,17 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): region: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "region", + b"region", + ], + ) -> None: ... global___FailoverNamespaceRegionRequest = FailoverNamespaceRegionRequest @@ -646,15 +905,24 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___FailoverNamespaceRegionResponse = FailoverNamespaceRegionResponse @@ -686,7 +954,19 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "region", + b"region", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___AddNamespaceRegionRequest = AddNamespaceRegionRequest @@ -695,15 +975,24 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___AddNamespaceRegionResponse = AddNamespaceRegionResponse @@ -735,7 +1024,19 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "region", b"region", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "region", + b"region", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteNamespaceRegionRequest = DeleteNamespaceRegionRequest @@ -744,15 +1045,24 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceRegionResponse = DeleteNamespaceRegionResponse @@ -770,14 +1080,23 @@ class GetRegionsResponse(google.protobuf.message.Message): REGIONS_FIELD_NUMBER: builtins.int @property - def regions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.region.v1.message_pb2.Region]: + def regions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.region.v1.message_pb2.Region + ]: """The temporal cloud regions.""" def __init__( self, *, - regions: collections.abc.Iterable[temporalio.api.cloud.region.v1.message_pb2.Region] | None = ..., + regions: collections.abc.Iterable[ + temporalio.api.cloud.region.v1.message_pb2.Region + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["regions", b"regions"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["regions", b"regions"]) -> None: ... global___GetRegionsResponse = GetRegionsResponse @@ -792,7 +1111,9 @@ class GetRegionRequest(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["region", b"region"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> None: ... global___GetRegionRequest = GetRegionRequest @@ -808,8 +1129,12 @@ class GetRegionResponse(google.protobuf.message.Message): *, region: temporalio.api.cloud.region.v1.message_pb2.Region | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["region", b"region"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["region", b"region"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> None: ... global___GetRegionResponse = GetRegionResponse @@ -846,7 +1171,21 @@ class GetApiKeysRequest(google.protobuf.message.Message): owner_type_deprecated: builtins.str = ..., owner_type: temporalio.api.cloud.identity.v1.message_pb2.OwnerType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["owner_id", b"owner_id", "owner_type", b"owner_type", "owner_type_deprecated", b"owner_type_deprecated", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "owner_id", + b"owner_id", + "owner_type", + b"owner_type", + "owner_type_deprecated", + b"owner_type_deprecated", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... global___GetApiKeysRequest = GetApiKeysRequest @@ -856,17 +1195,29 @@ class GetApiKeysResponse(google.protobuf.message.Message): API_KEYS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def api_keys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.ApiKey]: + def api_keys( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.identity.v1.message_pb2.ApiKey + ]: """The list of api keys in ascending id order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - api_keys: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.ApiKey] | None = ..., + api_keys: collections.abc.Iterable[ + temporalio.api.cloud.identity.v1.message_pb2.ApiKey + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["api_keys", b"api_keys", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "api_keys", b"api_keys", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___GetApiKeysResponse = GetApiKeysResponse @@ -881,7 +1232,9 @@ class GetApiKeyRequest(google.protobuf.message.Message): *, key_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key_id", b"key_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["key_id", b"key_id"] + ) -> None: ... global___GetApiKeyRequest = GetApiKeyRequest @@ -897,8 +1250,12 @@ class GetApiKeyResponse(google.protobuf.message.Message): *, api_key: temporalio.api.cloud.identity.v1.message_pb2.ApiKey | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["api_key", b"api_key"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["api_key", b"api_key"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["api_key", b"api_key"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["api_key", b"api_key"] + ) -> None: ... global___GetApiKeyResponse = GetApiKeyResponse @@ -920,8 +1277,15 @@ class CreateApiKeyRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateApiKeyRequest = CreateApiKeyRequest @@ -939,17 +1303,33 @@ class CreateApiKeyResponse(google.protobuf.message.Message): It will not be retrievable after this response. """ @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, key_id: builtins.str = ..., token: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", + b"async_operation", + "key_id", + b"key_id", + "token", + b"token", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "key_id", b"key_id", "token", b"token"]) -> None: ... global___CreateApiKeyResponse = CreateApiKeyResponse @@ -979,8 +1359,22 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "key_id", b"key_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "key_id", + b"key_id", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateApiKeyRequest = UpdateApiKeyRequest @@ -989,15 +1383,24 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateApiKeyResponse = UpdateApiKeyResponse @@ -1022,7 +1425,17 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "key_id", b"key_id", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "key_id", + b"key_id", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteApiKeyRequest = DeleteApiKeyRequest @@ -1031,15 +1444,24 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteApiKeyResponse = DeleteApiKeyResponse @@ -1072,7 +1494,21 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): target_task_queue: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "page_size", b"page_size", "page_token", b"page_token", "target_namespace_id", b"target_namespace_id", "target_task_queue", b"target_task_queue"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "name", + b"name", + "page_size", + b"page_size", + "page_token", + b"page_token", + "target_namespace_id", + b"target_namespace_id", + "target_task_queue", + b"target_task_queue", + ], + ) -> None: ... global___GetNexusEndpointsRequest = GetNexusEndpointsRequest @@ -1082,17 +1518,29 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): ENDPOINTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.nexus.v1.message_pb2.Endpoint]: + def endpoints( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.nexus.v1.message_pb2.Endpoint + ]: """The list of endpoints in ascending id order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - endpoints: collections.abc.Iterable[temporalio.api.cloud.nexus.v1.message_pb2.Endpoint] | None = ..., + endpoints: collections.abc.Iterable[ + temporalio.api.cloud.nexus.v1.message_pb2.Endpoint + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoints", b"endpoints", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "endpoints", b"endpoints", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___GetNexusEndpointsResponse = GetNexusEndpointsResponse @@ -1107,7 +1555,9 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, endpoint_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"] + ) -> None: ... global___GetNexusEndpointRequest = GetNexusEndpointRequest @@ -1123,8 +1573,12 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.cloud.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> None: ... global___GetNexusEndpointResponse = GetNexusEndpointResponse @@ -1144,8 +1598,15 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateNexusEndpointRequest = CreateNexusEndpointRequest @@ -1157,16 +1618,27 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): endpoint_id: builtins.str """The id of the endpoint that was created.""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, endpoint_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", b"async_operation", "endpoint_id", b"endpoint_id" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "endpoint_id", b"endpoint_id"]) -> None: ... global___CreateNexusEndpointResponse = CreateNexusEndpointResponse @@ -1196,8 +1668,22 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "endpoint_id", b"endpoint_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "endpoint_id", + b"endpoint_id", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest @@ -1206,15 +1692,24 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse @@ -1239,7 +1734,17 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "endpoint_id", b"endpoint_id", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "endpoint_id", + b"endpoint_id", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest @@ -1248,15 +1753,24 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse @@ -1274,7 +1788,10 @@ class GetUserGroupsRequest(google.protobuf.message.Message): *, email_address: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["email_address", b"email_address"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["email_address", b"email_address"], + ) -> None: ... class SCIMGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1287,7 +1804,9 @@ class GetUserGroupsRequest(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["idp_id", b"idp_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] + ) -> None: ... PAGE_SIZE_FIELD_NUMBER: builtins.int PAGE_TOKEN_FIELD_NUMBER: builtins.int @@ -1321,8 +1840,29 @@ class GetUserGroupsRequest(google.protobuf.message.Message): google_group: global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., scim_group: global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["google_group", b"google_group", "scim_group", b"scim_group"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["display_name", b"display_name", "google_group", b"google_group", "namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token", "scim_group", b"scim_group"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "google_group", b"google_group", "scim_group", b"scim_group" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "display_name", + b"display_name", + "google_group", + b"google_group", + "namespace", + b"namespace", + "page_size", + b"page_size", + "page_token", + b"page_token", + "scim_group", + b"scim_group", + ], + ) -> None: ... global___GetUserGroupsRequest = GetUserGroupsRequest @@ -1332,17 +1872,29 @@ class GetUserGroupsResponse(google.protobuf.message.Message): GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.UserGroup]: + def groups( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.identity.v1.message_pb2.UserGroup + ]: """The list of groups in ascending name order.""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - groups: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.UserGroup] | None = ..., + groups: collections.abc.Iterable[ + temporalio.api.cloud.identity.v1.message_pb2.UserGroup + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "groups", b"groups", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___GetUserGroupsResponse = GetUserGroupsResponse @@ -1357,7 +1909,9 @@ class GetUserGroupRequest(google.protobuf.message.Message): *, group_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["group_id", b"group_id"] + ) -> None: ... global___GetUserGroupRequest = GetUserGroupRequest @@ -1373,8 +1927,12 @@ class GetUserGroupResponse(google.protobuf.message.Message): *, group: temporalio.api.cloud.identity.v1.message_pb2.UserGroup | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["group", b"group"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["group", b"group"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["group", b"group"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["group", b"group"] + ) -> None: ... global___GetUserGroupResponse = GetUserGroupResponse @@ -1396,8 +1954,15 @@ class CreateUserGroupRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateUserGroupRequest = CreateUserGroupRequest @@ -1409,16 +1974,27 @@ class CreateUserGroupResponse(google.protobuf.message.Message): group_id: builtins.str """The id of the group that was created.""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, group_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", b"async_operation", "group_id", b"group_id" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "group_id", b"group_id"]) -> None: ... global___CreateUserGroupResponse = CreateUserGroupResponse @@ -1450,8 +2026,22 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "group_id", + b"group_id", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateUserGroupRequest = UpdateUserGroupRequest @@ -1460,15 +2050,24 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateUserGroupResponse = UpdateUserGroupResponse @@ -1495,7 +2094,17 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "group_id", + b"group_id", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteUserGroupRequest = DeleteUserGroupRequest @@ -1504,15 +2113,24 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteUserGroupResponse = DeleteUserGroupResponse @@ -1542,12 +2160,29 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., group_id: builtins.str = ..., - access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess | None = ..., + access: temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess + | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "async_operation_id", b"async_operation_id", "group_id", b"group_id", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["access", b"access"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "access", + b"access", + "async_operation_id", + b"async_operation_id", + "group_id", + b"group_id", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___SetUserGroupNamespaceAccessRequest = SetUserGroupNamespaceAccessRequest @@ -1556,15 +2191,24 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___SetUserGroupNamespaceAccessResponse = SetUserGroupNamespaceAccessResponse @@ -1577,7 +2221,9 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): group_id: builtins.str """The id of the group to add the member for.""" @property - def member_id(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: + def member_id( + self, + ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -1587,11 +2233,24 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): self, *, group_id: builtins.str = ..., - member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId | None = ..., + member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId + | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["member_id", b"member_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "member_id", b"member_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["member_id", b"member_id"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "group_id", + b"group_id", + "member_id", + b"member_id", + ], + ) -> None: ... global___AddUserGroupMemberRequest = AddUserGroupMemberRequest @@ -1600,15 +2259,24 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___AddUserGroupMemberResponse = AddUserGroupMemberResponse @@ -1621,7 +2289,9 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): group_id: builtins.str """The id of the group to add the member for.""" @property - def member_id(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: + def member_id( + self, + ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -1631,11 +2301,24 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): self, *, group_id: builtins.str = ..., - member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId | None = ..., + member_id: temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId + | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["member_id", b"member_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "group_id", b"group_id", "member_id", b"member_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["member_id", b"member_id"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "group_id", + b"group_id", + "member_id", + b"member_id", + ], + ) -> None: ... global___RemoveUserGroupMemberRequest = RemoveUserGroupMemberRequest @@ -1644,15 +2327,24 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___RemoveUserGroupMemberResponse = RemoveUserGroupMemberResponse @@ -1677,7 +2369,17 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): page_token: builtins.str = ..., group_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["group_id", b"group_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "group_id", + b"group_id", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... global___GetUserGroupMembersRequest = GetUserGroupMembersRequest @@ -1687,17 +2389,29 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): MEMBERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember]: + def members( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember + ]: """The list of group members""" next_page_token: builtins.str """The next page's token.""" def __init__( self, *, - members: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember] | None = ..., + members: collections.abc.Iterable[ + temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["members", b"members", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "members", b"members", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___GetUserGroupMembersResponse = GetUserGroupMembersResponse @@ -1714,11 +2428,19 @@ class CreateServiceAccountRequest(google.protobuf.message.Message): def __init__( self, *, - spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec | None = ..., + spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec + | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateServiceAccountRequest = CreateServiceAccountRequest @@ -1730,16 +2452,30 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): service_account_id: builtins.str """The ID of the created service account.""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, service_account_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", + b"async_operation", + "service_account_id", + b"service_account_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "service_account_id", b"service_account_id"]) -> None: ... global___CreateServiceAccountResponse = CreateServiceAccountResponse @@ -1754,7 +2490,12 @@ class GetServiceAccountRequest(google.protobuf.message.Message): *, service_account_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["service_account_id", b"service_account_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "service_account_id", b"service_account_id" + ], + ) -> None: ... global___GetServiceAccountRequest = GetServiceAccountRequest @@ -1763,15 +2504,24 @@ class GetServiceAccountResponse(google.protobuf.message.Message): SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int @property - def service_account(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: + def service_account( + self, + ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The service account retrieved.""" def __init__( self, *, - service_account: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount | None = ..., + service_account: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["service_account", b"service_account"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["service_account", b"service_account"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["service_account", b"service_account"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["service_account", b"service_account"]) -> None: ... global___GetServiceAccountResponse = GetServiceAccountResponse @@ -1792,7 +2542,12 @@ class GetServiceAccountsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "page_size", b"page_size", "page_token", b"page_token" + ], + ) -> None: ... global___GetServiceAccountsRequest = GetServiceAccountsRequest @@ -1802,17 +2557,29 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def service_account(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount]: + def service_account( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount + ]: """The list of service accounts in ascending ID order.""" next_page_token: builtins.str """The next page token, set if there is another page.""" def __init__( self, *, - service_account: collections.abc.Iterable[temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount] | None = ..., + service_account: collections.abc.Iterable[ + temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "service_account", b"service_account"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "service_account", b"service_account" + ], + ) -> None: ... global___GetServiceAccountsResponse = GetServiceAccountsResponse @@ -1838,12 +2605,27 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): self, *, service_account_id: builtins.str = ..., - spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec | None = ..., + spec: temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec + | None = ..., resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "service_account_id", b"service_account_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "resource_version", + b"resource_version", + "service_account_id", + b"service_account_id", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateServiceAccountRequest = UpdateServiceAccountRequest @@ -1852,15 +2634,24 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateServiceAccountResponse = UpdateServiceAccountResponse @@ -1885,7 +2676,17 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "service_account_id", b"service_account_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "resource_version", + b"resource_version", + "service_account_id", + b"service_account_id", + ], + ) -> None: ... global___DeleteServiceAccountRequest = DeleteServiceAccountRequest @@ -1894,15 +2695,24 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteServiceAccountResponse = DeleteServiceAccountResponse @@ -1942,8 +2752,28 @@ class GetUsageRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", b"start_time_inclusive"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["end_time_exclusive", b"end_time_exclusive", "page_size", b"page_size", "page_token", b"page_token", "start_time_inclusive", b"start_time_inclusive"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "end_time_exclusive", + b"end_time_exclusive", + "start_time_inclusive", + b"start_time_inclusive", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end_time_exclusive", + b"end_time_exclusive", + "page_size", + b"page_size", + "page_token", + b"page_token", + "start_time_inclusive", + b"start_time_inclusive", + ], + ) -> None: ... global___GetUsageRequest = GetUsageRequest @@ -1953,7 +2783,11 @@ class GetUsageResponse(google.protobuf.message.Message): SUMMARIES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def summaries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.usage.v1.message_pb2.Summary]: + def summaries( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.usage.v1.message_pb2.Summary + ]: """The list of data based on granularity (per Day for now) Ordered by: time range in ascending order """ @@ -1962,10 +2796,18 @@ class GetUsageResponse(google.protobuf.message.Message): def __init__( self, *, - summaries: collections.abc.Iterable[temporalio.api.cloud.usage.v1.message_pb2.Summary] | None = ..., + summaries: collections.abc.Iterable[ + temporalio.api.cloud.usage.v1.message_pb2.Summary + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "summaries", b"summaries"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "summaries", b"summaries" + ], + ) -> None: ... global___GetUsageResponse = GetUsageResponse @@ -1990,8 +2832,12 @@ class GetAccountResponse(google.protobuf.message.Message): *, account: temporalio.api.cloud.account.v1.message_pb2.Account | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["account", b"account"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["account", b"account"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["account", b"account"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["account", b"account"] + ) -> None: ... global___GetAccountResponse = GetAccountResponse @@ -2019,8 +2865,20 @@ class UpdateAccountRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateAccountRequest = UpdateAccountRequest @@ -2029,15 +2887,24 @@ class UpdateAccountResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateAccountResponse = UpdateAccountResponse @@ -2061,8 +2928,20 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "spec", + b"spec", + ], + ) -> None: ... global___CreateNamespaceExportSinkRequest = CreateNamespaceExportSinkRequest @@ -2071,15 +2950,24 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___CreateNamespaceExportSinkResponse = CreateNamespaceExportSinkResponse @@ -2098,7 +2986,12 @@ class GetNamespaceExportSinkRequest(google.protobuf.message.Message): namespace: builtins.str = ..., name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "name", b"name", "namespace", b"namespace" + ], + ) -> None: ... global___GetNamespaceExportSinkRequest = GetNamespaceExportSinkRequest @@ -2114,8 +3007,12 @@ class GetNamespaceExportSinkResponse(google.protobuf.message.Message): *, sink: temporalio.api.cloud.namespace.v1.message_pb2.ExportSink | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["sink", b"sink"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["sink", b"sink"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["sink", b"sink"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["sink", b"sink"] + ) -> None: ... global___GetNamespaceExportSinkResponse = GetNamespaceExportSinkResponse @@ -2140,7 +3037,17 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): page_size: builtins.int = ..., page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... global___GetNamespaceExportSinksRequest = GetNamespaceExportSinksRequest @@ -2150,17 +3057,29 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def sinks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.namespace.v1.message_pb2.ExportSink]: + def sinks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.namespace.v1.message_pb2.ExportSink + ]: """The list of export sinks retrieved.""" next_page_token: builtins.str """The next page token, set if there is another page.""" def __init__( self, *, - sinks: collections.abc.Iterable[temporalio.api.cloud.namespace.v1.message_pb2.ExportSink] | None = ..., + sinks: collections.abc.Iterable[ + temporalio.api.cloud.namespace.v1.message_pb2.ExportSink + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "sinks", b"sinks"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "sinks", b"sinks" + ], + ) -> None: ... global___GetNamespaceExportSinksResponse = GetNamespaceExportSinksResponse @@ -2190,8 +3109,22 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "resource_version", b"resource_version", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + "spec", + b"spec", + ], + ) -> None: ... global___UpdateNamespaceExportSinkRequest = UpdateNamespaceExportSinkRequest @@ -2200,15 +3133,24 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceExportSinkResponse = UpdateNamespaceExportSinkResponse @@ -2237,7 +3179,19 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "name", b"name", "namespace", b"namespace", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "name", + b"name", + "namespace", + b"namespace", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteNamespaceExportSinkRequest = DeleteNamespaceExportSinkRequest @@ -2246,15 +3200,24 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteNamespaceExportSinkResponse = DeleteNamespaceExportSinkResponse @@ -2274,8 +3237,15 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): namespace: builtins.str = ..., spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "spec", b"spec" + ], + ) -> None: ... global___ValidateNamespaceExportSinkRequest = ValidateNamespaceExportSinkRequest @@ -2304,7 +3274,10 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TAGS_TO_UPSERT_FIELD_NUMBER: builtins.int @@ -2313,14 +3286,18 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace to set tags for.""" @property - def tags_to_upsert(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """A list of tags to add or update. - If a key of an existing tag is added, the tag's value is updated. + def tags_to_upsert( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + """A list of tags to add or update. + If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified. """ @property - def tags_to_remove(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """A list of tag keys to remove. + def tags_to_remove( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified. """ @@ -2330,11 +3307,24 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - tags_to_upsert: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + tags_to_upsert: collections.abc.Mapping[builtins.str, builtins.str] + | None = ..., tags_to_remove: collections.abc.Iterable[builtins.str] | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "namespace", b"namespace", "tags_to_remove", b"tags_to_remove", "tags_to_upsert", b"tags_to_upsert"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "namespace", + b"namespace", + "tags_to_remove", + b"tags_to_remove", + "tags_to_upsert", + b"tags_to_upsert", + ], + ) -> None: ... global___UpdateNamespaceTagsRequest = UpdateNamespaceTagsRequest @@ -2343,15 +3333,24 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___UpdateNamespaceTagsResponse = UpdateNamespaceTagsResponse @@ -2361,7 +3360,9 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int @property - def spec(self) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: + def spec( + self, + ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: """The connectivity rule specification.""" async_operation_id: builtins.str """The id to use for this async operation. @@ -2370,11 +3371,19 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): def __init__( self, *, - spec: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec | None = ..., + spec: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec + | None = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id", "spec", b"spec" + ], + ) -> None: ... global___CreateConnectivityRuleRequest = CreateConnectivityRuleRequest @@ -2386,16 +3395,30 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): connectivity_rule_id: builtins.str """The id of the connectivity rule that was created.""" @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, connectivity_rule_id: builtins.str = ..., - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation", + b"async_operation", + "connectivity_rule_id", + b"connectivity_rule_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation", "connectivity_rule_id", b"connectivity_rule_id"]) -> None: ... global___CreateConnectivityRuleResponse = CreateConnectivityRuleResponse @@ -2410,7 +3433,12 @@ class GetConnectivityRuleRequest(google.protobuf.message.Message): *, connectivity_rule_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["connectivity_rule_id", b"connectivity_rule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "connectivity_rule_id", b"connectivity_rule_id" + ], + ) -> None: ... global___GetConnectivityRuleRequest = GetConnectivityRuleRequest @@ -2419,14 +3447,27 @@ class GetConnectivityRuleResponse(google.protobuf.message.Message): CONNECTIVITY_RULE_FIELD_NUMBER: builtins.int @property - def connectivity_rule(self) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule: ... + def connectivity_rule( + self, + ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule: ... def __init__( self, *, - connectivity_rule: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule | None = ..., + connectivity_rule: temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "connectivity_rule", b"connectivity_rule" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "connectivity_rule", b"connectivity_rule" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["connectivity_rule", b"connectivity_rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["connectivity_rule", b"connectivity_rule"]) -> None: ... global___GetConnectivityRuleResponse = GetConnectivityRuleResponse @@ -2453,7 +3494,17 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): page_token: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... global___GetConnectivityRulesRequest = GetConnectivityRulesRequest @@ -2463,17 +3514,32 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): CONNECTIVITY_RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def connectivity_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule]: + def connectivity_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule + ]: """connectivity_rules returned""" next_page_token: builtins.str """The next page token""" def __init__( self, *, - connectivity_rules: collections.abc.Iterable[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule] | None = ..., + connectivity_rules: collections.abc.Iterable[ + temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule + ] + | None = ..., next_page_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["connectivity_rules", b"connectivity_rules", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "connectivity_rules", + b"connectivity_rules", + "next_page_token", + b"next_page_token", + ], + ) -> None: ... global___GetConnectivityRulesResponse = GetConnectivityRulesResponse @@ -2500,7 +3566,17 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): resource_version: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "connectivity_rule_id", b"connectivity_rule_id", "resource_version", b"resource_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "connectivity_rule_id", + b"connectivity_rule_id", + "resource_version", + b"resource_version", + ], + ) -> None: ... global___DeleteConnectivityRuleRequest = DeleteConnectivityRuleRequest @@ -2509,14 +3585,23 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): ASYNC_OPERATION_FIELD_NUMBER: builtins.int @property - def async_operation(self) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: + def async_operation( + self, + ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" def __init__( self, *, - async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation | None = ..., + async_operation: temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation", b"async_operation"]) -> None: ... global___DeleteConnectivityRuleResponse = DeleteConnectivityRuleResponse diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py index 2daafffeb..bf947056a 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +import grpc diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2.py b/temporalio/api/cloud/cloudservice/v1/service_pb2.py index 9f2ee2ae4..7ff284911 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2.py @@ -2,141 +2,315 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/cloudservice/v1/service.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.cloudservice.v1 import request_response_pb2 as temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from temporalio.api.cloud.cloudservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xf2R\n\x0c\x43loudService\x12\x8b\x01\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x92\x01\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\x94\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/cloud/users:\x01*\x12\x9e\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/users/{user_id}:\x01*\x12\x9b\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xe0\x01\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xc0\x01\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse\".\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xa8\x01\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/cloud/namespaces:\x01*\x12\x9f\x01\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xa8\x01\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xb4\x01\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/namespaces/{namespace}:\x01*\x12\xf7\x01\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse\"G\x82\xd3\xe4\x93\x02\x41\".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse\"3\x82\xd3\xe4\x93\x02-\"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\xd4\x01\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse\"6\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\x93\x01\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\x99\x01\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\x94\x01\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\x9a\x01\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\x9d\x01\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/cloud/api-keys:\x01*\x12\xa6\x01\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa3\x01\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xb0\x01\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xbb\x01\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x12\xb9\x01\n\x13\x43reateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/nexus/endpoints:\x01*\x12\xc7\x01\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse\"/\x82\xd3\xe4\x93\x02)\"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xc4\x01\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xa0\x01\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xa8\x01\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xa9\x01\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/cloud/user-groups:\x01*\x12\xb4\x01\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/user-groups/{group_id}:\x01*\x12\xb1\x01\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xf6\x01\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse\"F\x82\xd3\xe4\x93\x02@\";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xc5\x01\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse\"0\x82\xd3\xe4\x93\x02*\"%/cloud/user-groups/{group_id}/members:\x01*\x12\xd4\x01\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xc5\x01\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xbd\x01\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/cloud/service-accounts:\x01*\x12\xc6\x01\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xb4\x01\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\xd2\x01\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse\"7\x82\xd3\xe4\x93\x02\x31\",/cloud/service-accounts/{service_account_id}:\x01*\x12\xcf\x01\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\x8b\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\x93\x01\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\x9f\x01\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/cloud/account:\x01*\x12\xdf\x01\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse\"5\x82\xd3\xe4\x93\x02/\"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\xda\x01\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xd6\x01\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\xeb\x01\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse\"A\x82\xd3\xe4\x93\x02;\"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\xe3\x01\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xee\x01\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse\">\x82\xd3\xe4\x93\x02\x38\"3/cloud/namespaces/{namespace}/export-sinks/validate:\x01*\x12\xcc\x01\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse\"4\x82\xd3\xe4\x93\x02.\")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xc5\x01\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cloud/connectivity-rules:\x01*\x12\xd0\x01\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xbc\x01\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\xd9\x01\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}B\xc0\x01\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xf2R\n\x0c\x43loudService\x12\x8b\x01\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x92\x01\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\x94\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"\x17\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x12\x9e\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x12\x9b\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xe0\x01\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"?\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xc0\x01\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse".\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xa8\x01\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x12\x9f\x01\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xa8\x01\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xb4\x01\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"(\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x12\xf7\x01\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"G\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"3\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\xd4\x01\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"6\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\x93\x01\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\x99\x01\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\x94\x01\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\x9a\x01\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\x9d\x01\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\x1a\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x12\xa6\x01\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa3\x01\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse" \x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xb0\x01\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xbb\x01\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse",\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x12\xb9\x01\n\x13\x43reateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x12\xc7\x01\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"/\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xc4\x01\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse",\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xa0\x01\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xa8\x01\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xa9\x01\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\x1d\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x12\xb4\x01\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"(\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x12\xb1\x01\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"%\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xf6\x01\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"F\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xc5\x01\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"0\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x12\xd4\x01\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"6\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xc5\x01\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xbd\x01\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse""\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x12\xc6\x01\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"4\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xb4\x01\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\xd2\x01\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"7\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x12\xcf\x01\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"4\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\x8b\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\x93\x01\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\x9f\x01\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\x19\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x12\xdf\x01\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"5\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\xda\x01\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xd6\x01\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"2\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\xeb\x01\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"A\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\xe3\x01\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"9\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xee\x01\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse">\x82\xd3\xe4\x93\x02\x38"3/cloud/namespaces/{namespace}/export-sinks/validate:\x01*\x12\xcc\x01\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"4\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xc5\x01\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x12\xd0\x01\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xbc\x01\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\xd9\x01\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"8\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}B\xc0\x01\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' +) - -_CLOUDSERVICE = DESCRIPTOR.services_by_name['CloudService'] +_CLOUDSERVICE = DESCRIPTOR.services_by_name["CloudService"] if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1' - _CLOUDSERVICE.methods_by_name['GetUsers']._options = None - _CLOUDSERVICE.methods_by_name['GetUsers']._serialized_options = b'\202\323\344\223\002\016\022\014/cloud/users' - _CLOUDSERVICE.methods_by_name['GetUser']._options = None - _CLOUDSERVICE.methods_by_name['GetUser']._serialized_options = b'\202\323\344\223\002\030\022\026/cloud/users/{user_id}' - _CLOUDSERVICE.methods_by_name['CreateUser']._options = None - _CLOUDSERVICE.methods_by_name['CreateUser']._serialized_options = b'\202\323\344\223\002\021\"\014/cloud/users:\001*' - _CLOUDSERVICE.methods_by_name['UpdateUser']._options = None - _CLOUDSERVICE.methods_by_name['UpdateUser']._serialized_options = b'\202\323\344\223\002\033\"\026/cloud/users/{user_id}:\001*' - _CLOUDSERVICE.methods_by_name['DeleteUser']._options = None - _CLOUDSERVICE.methods_by_name['DeleteUser']._serialized_options = b'\202\323\344\223\002\030*\026/cloud/users/{user_id}' - _CLOUDSERVICE.methods_by_name['SetUserNamespaceAccess']._options = None - _CLOUDSERVICE.methods_by_name['SetUserNamespaceAccess']._serialized_options = b'\202\323\344\223\0029\"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*' - _CLOUDSERVICE.methods_by_name['GetAsyncOperation']._options = None - _CLOUDSERVICE.methods_by_name['GetAsyncOperation']._serialized_options = b'\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}' - _CLOUDSERVICE.methods_by_name['CreateNamespace']._options = None - _CLOUDSERVICE.methods_by_name['CreateNamespace']._serialized_options = b'\202\323\344\223\002\026\"\021/cloud/namespaces:\001*' - _CLOUDSERVICE.methods_by_name['GetNamespaces']._options = None - _CLOUDSERVICE.methods_by_name['GetNamespaces']._serialized_options = b'\202\323\344\223\002\023\022\021/cloud/namespaces' - _CLOUDSERVICE.methods_by_name['GetNamespace']._options = None - _CLOUDSERVICE.methods_by_name['GetNamespace']._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}' - _CLOUDSERVICE.methods_by_name['UpdateNamespace']._options = None - _CLOUDSERVICE.methods_by_name['UpdateNamespace']._serialized_options = b'\202\323\344\223\002\"\"\035/cloud/namespaces/{namespace}:\001*' - _CLOUDSERVICE.methods_by_name['RenameCustomSearchAttribute']._options = None - _CLOUDSERVICE.methods_by_name['RenameCustomSearchAttribute']._serialized_options = b'\202\323\344\223\002A\" temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse: + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse + ): """Get all namespaces""" @abc.abstractmethod def GetNamespace( @@ -502,7 +507,9 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse: + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse + ): """Get all user groups""" @abc.abstractmethod def GetUserGroup( @@ -615,7 +622,9 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse: + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse + ): """Update account information.""" @abc.abstractmethod def CreateNamespaceExportSink( @@ -697,4 +706,6 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse: """Deletes a connectivity rule by id""" -def add_CloudServiceServicer_to_server(servicer: CloudServiceServicer, server: grpc.Server) -> None: ... +def add_CloudServiceServicer_to_server( + servicer: CloudServiceServicer, server: grpc.Server +) -> None: ... diff --git a/temporalio/api/cloud/connectivityrule/v1/__init__.py b/temporalio/api/cloud/connectivityrule/v1/__init__.py index c940e6a75..233e98118 100644 --- a/temporalio/api/cloud/connectivityrule/v1/__init__.py +++ b/temporalio/api/cloud/connectivityrule/v1/__init__.py @@ -1,7 +1,9 @@ -from .message_pb2 import ConnectivityRule -from .message_pb2 import ConnectivityRuleSpec -from .message_pb2 import PublicConnectivityRule -from .message_pb2 import PrivateConnectivityRule +from .message_pb2 import ( + ConnectivityRule, + ConnectivityRuleSpec, + PrivateConnectivityRule, + PublicConnectivityRule, +) __all__ = [ "ConnectivityRule", diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py index eda2057fc..86820b3bc 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py @@ -2,66 +2,86 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/connectivityrule/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.cloud.resource.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04\"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type\"\x18\n\x16PublicConnectivityRule\"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type"\x18\n\x16PublicConnectivityRule"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3' +) - -_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['ConnectivityRule'] -_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name['ConnectivityRuleSpec'] -_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['PublicConnectivityRule'] -_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name['PrivateConnectivityRule'] -ConnectivityRule = _reflection.GeneratedProtocolMessageType('ConnectivityRule', (_message.Message,), { - 'DESCRIPTOR' : _CONNECTIVITYRULE, - '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) - }) +_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["ConnectivityRule"] +_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name["ConnectivityRuleSpec"] +_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PublicConnectivityRule"] +_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PrivateConnectivityRule"] +ConnectivityRule = _reflection.GeneratedProtocolMessageType( + "ConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _CONNECTIVITYRULE, + "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) + }, +) _sym_db.RegisterMessage(ConnectivityRule) -ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType('ConnectivityRuleSpec', (_message.Message,), { - 'DESCRIPTOR' : _CONNECTIVITYRULESPEC, - '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) - }) +ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType( + "ConnectivityRuleSpec", + (_message.Message,), + { + "DESCRIPTOR": _CONNECTIVITYRULESPEC, + "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) + }, +) _sym_db.RegisterMessage(ConnectivityRuleSpec) -PublicConnectivityRule = _reflection.GeneratedProtocolMessageType('PublicConnectivityRule', (_message.Message,), { - 'DESCRIPTOR' : _PUBLICCONNECTIVITYRULE, - '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) - }) +PublicConnectivityRule = _reflection.GeneratedProtocolMessageType( + "PublicConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _PUBLICCONNECTIVITYRULE, + "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) + }, +) _sym_db.RegisterMessage(PublicConnectivityRule) -PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType('PrivateConnectivityRule', (_message.Message,), { - 'DESCRIPTOR' : _PRIVATECONNECTIVITYRULE, - '__module__' : 'temporal.api.cloud.connectivityrule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) - }) +PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType( + "PrivateConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _PRIVATECONNECTIVITYRULE, + "__module__": "temporal.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) + }, +) _sym_db.RegisterMessage(PrivateConnectivityRule) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1' - _CONNECTIVITYRULE._serialized_start=176 - _CONNECTIVITYRULE._serialized_end=454 - _CONNECTIVITYRULESPEC._serialized_start=457 - _CONNECTIVITYRULESPEC._serialized_end=674 - _PUBLICCONNECTIVITYRULE._serialized_start=676 - _PUBLICCONNECTIVITYRULE._serialized_end=700 - _PRIVATECONNECTIVITYRULE._serialized_start=702 - _PRIVATECONNECTIVITYRULE._serialized_end=796 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" + _CONNECTIVITYRULE._serialized_start = 176 + _CONNECTIVITYRULE._serialized_end = 454 + _CONNECTIVITYRULESPEC._serialized_start = 457 + _CONNECTIVITYRULESPEC._serialized_end = 674 + _PUBLICCONNECTIVITYRULE._serialized_start = 676 + _PUBLICCONNECTIVITYRULE._serialized_end = 700 + _PRIVATECONNECTIVITYRULE._serialized_start = 702 + _PRIVATECONNECTIVITYRULE._serialized_end = 796 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi index e91582606..06d8850d4 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi @@ -2,11 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.cloud.resource.v1.message_pb2 if sys.version_info >= (3, 8): @@ -50,8 +53,29 @@ class ConnectivityRule(google.protobuf.message.Message): async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "spec", b"spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + ], + ) -> None: ... global___ConnectivityRule = ConnectivityRule @@ -74,9 +98,32 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): public_rule: global___PublicConnectivityRule | None = ..., private_rule: global___PrivateConnectivityRule | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["connection_type", b"connection_type", "private_rule", b"private_rule", "public_rule", b"public_rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["connection_type", b"connection_type", "private_rule", b"private_rule", "public_rule", b"public_rule"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["connection_type", b"connection_type"]) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "connection_type", + b"connection_type", + "private_rule", + b"private_rule", + "public_rule", + b"public_rule", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "connection_type", + b"connection_type", + "private_rule", + b"private_rule", + "public_rule", + b"public_rule", + ], + ) -> None: ... + def WhichOneof( + self, + oneof_group: typing_extensions.Literal["connection_type", b"connection_type"], + ) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... global___ConnectivityRuleSpec = ConnectivityRuleSpec @@ -116,6 +163,16 @@ class PrivateConnectivityRule(google.protobuf.message.Message): gcp_project_id: builtins.str = ..., region: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["connection_id", b"connection_id", "gcp_project_id", b"gcp_project_id", "region", b"region"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "connection_id", + b"connection_id", + "gcp_project_id", + b"gcp_project_id", + "region", + b"region", + ], + ) -> None: ... global___PrivateConnectivityRule = PrivateConnectivityRule diff --git a/temporalio/api/cloud/identity/v1/__init__.py b/temporalio/api/cloud/identity/v1/__init__.py index b6730fa75..6b477fbef 100644 --- a/temporalio/api/cloud/identity/v1/__init__.py +++ b/temporalio/api/cloud/identity/v1/__init__.py @@ -1,22 +1,24 @@ -from .message_pb2 import OwnerType -from .message_pb2 import AccountAccess -from .message_pb2 import NamespaceAccess -from .message_pb2 import Access -from .message_pb2 import NamespaceScopedAccess -from .message_pb2 import UserSpec -from .message_pb2 import Invitation -from .message_pb2 import User -from .message_pb2 import GoogleGroupSpec -from .message_pb2 import SCIMGroupSpec -from .message_pb2 import CloudGroupSpec -from .message_pb2 import UserGroupSpec -from .message_pb2 import UserGroup -from .message_pb2 import UserGroupMemberId -from .message_pb2 import UserGroupMember -from .message_pb2 import ServiceAccount -from .message_pb2 import ServiceAccountSpec -from .message_pb2 import ApiKey -from .message_pb2 import ApiKeySpec +from .message_pb2 import ( + Access, + AccountAccess, + ApiKey, + ApiKeySpec, + CloudGroupSpec, + GoogleGroupSpec, + Invitation, + NamespaceAccess, + NamespaceScopedAccess, + OwnerType, + SCIMGroupSpec, + ServiceAccount, + ServiceAccountSpec, + User, + UserGroup, + UserGroupMember, + UserGroupMemberId, + UserGroupSpec, + UserSpec, +) __all__ = [ "Access", diff --git a/temporalio/api/cloud/identity/v1/message_pb2.py b/temporalio/api/cloud/identity/v1/message_pb2.py index 8afb7e4f2..cd834be03 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.py +++ b/temporalio/api/cloud/identity/v1/message_pb2.py @@ -2,247 +2,330 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/identity/v1/message.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.cloud.resource.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x01\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role\"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06\"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission\"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03\"\x95\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01\"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t\"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"\x10\n\x0e\x43loudGroupSpec\"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type\"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type\"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xff\x01\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03"\x95\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"\x10\n\x0e\x43loudGroupSpec"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3' +) -_OWNERTYPE = DESCRIPTOR.enum_types_by_name['OwnerType'] +_OWNERTYPE = DESCRIPTOR.enum_types_by_name["OwnerType"] OwnerType = enum_type_wrapper.EnumTypeWrapper(_OWNERTYPE) OWNER_TYPE_UNSPECIFIED = 0 OWNER_TYPE_USER = 1 OWNER_TYPE_SERVICE_ACCOUNT = 2 -_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name['AccountAccess'] -_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name['NamespaceAccess'] -_ACCESS = DESCRIPTOR.message_types_by_name['Access'] -_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name['NamespaceAccessesEntry'] -_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name['NamespaceScopedAccess'] -_USERSPEC = DESCRIPTOR.message_types_by_name['UserSpec'] -_INVITATION = DESCRIPTOR.message_types_by_name['Invitation'] -_USER = DESCRIPTOR.message_types_by_name['User'] -_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name['GoogleGroupSpec'] -_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name['SCIMGroupSpec'] -_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name['CloudGroupSpec'] -_USERGROUPSPEC = DESCRIPTOR.message_types_by_name['UserGroupSpec'] -_USERGROUP = DESCRIPTOR.message_types_by_name['UserGroup'] -_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name['UserGroupMemberId'] -_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name['UserGroupMember'] -_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name['ServiceAccount'] -_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name['ServiceAccountSpec'] -_APIKEY = DESCRIPTOR.message_types_by_name['ApiKey'] -_APIKEYSPEC = DESCRIPTOR.message_types_by_name['ApiKeySpec'] -_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name['Role'] -_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name['Permission'] -AccountAccess = _reflection.GeneratedProtocolMessageType('AccountAccess', (_message.Message,), { - 'DESCRIPTOR' : _ACCOUNTACCESS, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) - }) +_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name["AccountAccess"] +_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name["NamespaceAccess"] +_ACCESS = DESCRIPTOR.message_types_by_name["Access"] +_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name["NamespaceAccessesEntry"] +_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name["NamespaceScopedAccess"] +_USERSPEC = DESCRIPTOR.message_types_by_name["UserSpec"] +_INVITATION = DESCRIPTOR.message_types_by_name["Invitation"] +_USER = DESCRIPTOR.message_types_by_name["User"] +_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name["GoogleGroupSpec"] +_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name["SCIMGroupSpec"] +_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name["CloudGroupSpec"] +_USERGROUPSPEC = DESCRIPTOR.message_types_by_name["UserGroupSpec"] +_USERGROUP = DESCRIPTOR.message_types_by_name["UserGroup"] +_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name["UserGroupMemberId"] +_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name["UserGroupMember"] +_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name["ServiceAccount"] +_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name["ServiceAccountSpec"] +_APIKEY = DESCRIPTOR.message_types_by_name["ApiKey"] +_APIKEYSPEC = DESCRIPTOR.message_types_by_name["ApiKeySpec"] +_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name["Role"] +_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name["Permission"] +AccountAccess = _reflection.GeneratedProtocolMessageType( + "AccountAccess", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNTACCESS, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) + }, +) _sym_db.RegisterMessage(AccountAccess) -NamespaceAccess = _reflection.GeneratedProtocolMessageType('NamespaceAccess', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEACCESS, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) - }) +NamespaceAccess = _reflection.GeneratedProtocolMessageType( + "NamespaceAccess", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEACCESS, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) + }, +) _sym_db.RegisterMessage(NamespaceAccess) -Access = _reflection.GeneratedProtocolMessageType('Access', (_message.Message,), { - - 'NamespaceAccessesEntry' : _reflection.GeneratedProtocolMessageType('NamespaceAccessesEntry', (_message.Message,), { - 'DESCRIPTOR' : _ACCESS_NAMESPACEACCESSESENTRY, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) - }) - , - 'DESCRIPTOR' : _ACCESS, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) - }) +Access = _reflection.GeneratedProtocolMessageType( + "Access", + (_message.Message,), + { + "NamespaceAccessesEntry": _reflection.GeneratedProtocolMessageType( + "NamespaceAccessesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ACCESS_NAMESPACEACCESSESENTRY, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) + }, + ), + "DESCRIPTOR": _ACCESS, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) + }, +) _sym_db.RegisterMessage(Access) _sym_db.RegisterMessage(Access.NamespaceAccessesEntry) -NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType('NamespaceScopedAccess', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACESCOPEDACCESS, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) - }) +NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType( + "NamespaceScopedAccess", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESCOPEDACCESS, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) + }, +) _sym_db.RegisterMessage(NamespaceScopedAccess) -UserSpec = _reflection.GeneratedProtocolMessageType('UserSpec', (_message.Message,), { - 'DESCRIPTOR' : _USERSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) - }) +UserSpec = _reflection.GeneratedProtocolMessageType( + "UserSpec", + (_message.Message,), + { + "DESCRIPTOR": _USERSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) + }, +) _sym_db.RegisterMessage(UserSpec) -Invitation = _reflection.GeneratedProtocolMessageType('Invitation', (_message.Message,), { - 'DESCRIPTOR' : _INVITATION, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) - }) +Invitation = _reflection.GeneratedProtocolMessageType( + "Invitation", + (_message.Message,), + { + "DESCRIPTOR": _INVITATION, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) + }, +) _sym_db.RegisterMessage(Invitation) -User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), { - 'DESCRIPTOR' : _USER, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) - }) +User = _reflection.GeneratedProtocolMessageType( + "User", + (_message.Message,), + { + "DESCRIPTOR": _USER, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) + }, +) _sym_db.RegisterMessage(User) -GoogleGroupSpec = _reflection.GeneratedProtocolMessageType('GoogleGroupSpec', (_message.Message,), { - 'DESCRIPTOR' : _GOOGLEGROUPSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) - }) +GoogleGroupSpec = _reflection.GeneratedProtocolMessageType( + "GoogleGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _GOOGLEGROUPSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) + }, +) _sym_db.RegisterMessage(GoogleGroupSpec) -SCIMGroupSpec = _reflection.GeneratedProtocolMessageType('SCIMGroupSpec', (_message.Message,), { - 'DESCRIPTOR' : _SCIMGROUPSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) - }) +SCIMGroupSpec = _reflection.GeneratedProtocolMessageType( + "SCIMGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _SCIMGROUPSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) + }, +) _sym_db.RegisterMessage(SCIMGroupSpec) -CloudGroupSpec = _reflection.GeneratedProtocolMessageType('CloudGroupSpec', (_message.Message,), { - 'DESCRIPTOR' : _CLOUDGROUPSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) - }) +CloudGroupSpec = _reflection.GeneratedProtocolMessageType( + "CloudGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _CLOUDGROUPSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) + }, +) _sym_db.RegisterMessage(CloudGroupSpec) -UserGroupSpec = _reflection.GeneratedProtocolMessageType('UserGroupSpec', (_message.Message,), { - 'DESCRIPTOR' : _USERGROUPSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) - }) +UserGroupSpec = _reflection.GeneratedProtocolMessageType( + "UserGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) + }, +) _sym_db.RegisterMessage(UserGroupSpec) -UserGroup = _reflection.GeneratedProtocolMessageType('UserGroup', (_message.Message,), { - 'DESCRIPTOR' : _USERGROUP, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) - }) +UserGroup = _reflection.GeneratedProtocolMessageType( + "UserGroup", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUP, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) + }, +) _sym_db.RegisterMessage(UserGroup) -UserGroupMemberId = _reflection.GeneratedProtocolMessageType('UserGroupMemberId', (_message.Message,), { - 'DESCRIPTOR' : _USERGROUPMEMBERID, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) - }) +UserGroupMemberId = _reflection.GeneratedProtocolMessageType( + "UserGroupMemberId", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPMEMBERID, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) + }, +) _sym_db.RegisterMessage(UserGroupMemberId) -UserGroupMember = _reflection.GeneratedProtocolMessageType('UserGroupMember', (_message.Message,), { - 'DESCRIPTOR' : _USERGROUPMEMBER, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) - }) +UserGroupMember = _reflection.GeneratedProtocolMessageType( + "UserGroupMember", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPMEMBER, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) + }, +) _sym_db.RegisterMessage(UserGroupMember) -ServiceAccount = _reflection.GeneratedProtocolMessageType('ServiceAccount', (_message.Message,), { - 'DESCRIPTOR' : _SERVICEACCOUNT, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) - }) +ServiceAccount = _reflection.GeneratedProtocolMessageType( + "ServiceAccount", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEACCOUNT, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) + }, +) _sym_db.RegisterMessage(ServiceAccount) -ServiceAccountSpec = _reflection.GeneratedProtocolMessageType('ServiceAccountSpec', (_message.Message,), { - 'DESCRIPTOR' : _SERVICEACCOUNTSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) - }) +ServiceAccountSpec = _reflection.GeneratedProtocolMessageType( + "ServiceAccountSpec", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEACCOUNTSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) + }, +) _sym_db.RegisterMessage(ServiceAccountSpec) -ApiKey = _reflection.GeneratedProtocolMessageType('ApiKey', (_message.Message,), { - 'DESCRIPTOR' : _APIKEY, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) - }) +ApiKey = _reflection.GeneratedProtocolMessageType( + "ApiKey", + (_message.Message,), + { + "DESCRIPTOR": _APIKEY, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) + }, +) _sym_db.RegisterMessage(ApiKey) -ApiKeySpec = _reflection.GeneratedProtocolMessageType('ApiKeySpec', (_message.Message,), { - 'DESCRIPTOR' : _APIKEYSPEC, - '__module__' : 'temporal.api.cloud.identity.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) - }) +ApiKeySpec = _reflection.GeneratedProtocolMessageType( + "ApiKeySpec", + (_message.Message,), + { + "DESCRIPTOR": _APIKEYSPEC, + "__module__": "temporal.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) + }, +) _sym_db.RegisterMessage(ApiKeySpec) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1' - _ACCOUNTACCESS.fields_by_name['role_deprecated']._options = None - _ACCOUNTACCESS.fields_by_name['role_deprecated']._serialized_options = b'\030\001' - _NAMESPACEACCESS.fields_by_name['permission_deprecated']._options = None - _NAMESPACEACCESS.fields_by_name['permission_deprecated']._serialized_options = b'\030\001' - _ACCESS_NAMESPACEACCESSESENTRY._options = None - _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b'8\001' - _USER.fields_by_name['state_deprecated']._options = None - _USER.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _USERGROUP.fields_by_name['state_deprecated']._options = None - _USERGROUP.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _SERVICEACCOUNT.fields_by_name['state_deprecated']._options = None - _SERVICEACCOUNT.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _APIKEY.fields_by_name['state_deprecated']._options = None - _APIKEY.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _APIKEYSPEC.fields_by_name['owner_type_deprecated']._options = None - _APIKEYSPEC.fields_by_name['owner_type_deprecated']._serialized_options = b'\030\001' - _OWNERTYPE._serialized_start=3713 - _OWNERTYPE._serialized_end=3805 - _ACCOUNTACCESS._serialized_start=160 - _ACCOUNTACCESS._serialized_end=415 - _ACCOUNTACCESS_ROLE._serialized_start=273 - _ACCOUNTACCESS_ROLE._serialized_end=415 - _NAMESPACEACCESS._serialized_start=418 - _NAMESPACEACCESS._serialized_end=657 - _NAMESPACEACCESS_PERMISSION._serialized_start=552 - _NAMESPACEACCESS_PERMISSION._serialized_end=657 - _ACCESS._serialized_start=660 - _ACCESS._serialized_end=937 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_start=832 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_end=937 - _NAMESPACESCOPEDACCESS._serialized_start=939 - _NAMESPACESCOPEDACCESS._serialized_end=1046 - _USERSPEC._serialized_start=1048 - _USERSPEC._serialized_end=1129 - _INVITATION._serialized_start=1131 - _INVITATION._serialized_end=1243 - _USER._serialized_start=1246 - _USER._serialized_end=1636 - _GOOGLEGROUPSPEC._serialized_start=1638 - _GOOGLEGROUPSPEC._serialized_end=1678 - _SCIMGROUPSPEC._serialized_start=1680 - _SCIMGROUPSPEC._serialized_end=1711 - _CLOUDGROUPSPEC._serialized_start=1713 - _CLOUDGROUPSPEC._serialized_end=1729 - _USERGROUPSPEC._serialized_start=1732 - _USERGROUPSPEC._serialized_end=2052 - _USERGROUP._serialized_start=2055 - _USERGROUP._serialized_end=2391 - _USERGROUPMEMBERID._serialized_start=2393 - _USERGROUPMEMBERID._serialized_end=2446 - _USERGROUPMEMBER._serialized_start=2449 - _USERGROUPMEMBER._serialized_end=2586 - _SERVICEACCOUNT._serialized_start=2589 - _SERVICEACCOUNT._serialized_end=2935 - _SERVICEACCOUNTSPEC._serialized_start=2938 - _SERVICEACCOUNTSPEC._serialized_end=3137 - _APIKEY._serialized_start=3140 - _APIKEY._serialized_end=3470 - _APIKEYSPEC._serialized_start=3473 - _APIKEYSPEC._serialized_end=3711 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" + _ACCOUNTACCESS.fields_by_name["role_deprecated"]._options = None + _ACCOUNTACCESS.fields_by_name["role_deprecated"]._serialized_options = b"\030\001" + _NAMESPACEACCESS.fields_by_name["permission_deprecated"]._options = None + _NAMESPACEACCESS.fields_by_name[ + "permission_deprecated" + ]._serialized_options = b"\030\001" + _ACCESS_NAMESPACEACCESSESENTRY._options = None + _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b"8\001" + _USER.fields_by_name["state_deprecated"]._options = None + _USER.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _USERGROUP.fields_by_name["state_deprecated"]._options = None + _USERGROUP.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _SERVICEACCOUNT.fields_by_name["state_deprecated"]._options = None + _SERVICEACCOUNT.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _APIKEY.fields_by_name["state_deprecated"]._options = None + _APIKEY.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _APIKEYSPEC.fields_by_name["owner_type_deprecated"]._options = None + _APIKEYSPEC.fields_by_name[ + "owner_type_deprecated" + ]._serialized_options = b"\030\001" + _OWNERTYPE._serialized_start = 3713 + _OWNERTYPE._serialized_end = 3805 + _ACCOUNTACCESS._serialized_start = 160 + _ACCOUNTACCESS._serialized_end = 415 + _ACCOUNTACCESS_ROLE._serialized_start = 273 + _ACCOUNTACCESS_ROLE._serialized_end = 415 + _NAMESPACEACCESS._serialized_start = 418 + _NAMESPACEACCESS._serialized_end = 657 + _NAMESPACEACCESS_PERMISSION._serialized_start = 552 + _NAMESPACEACCESS_PERMISSION._serialized_end = 657 + _ACCESS._serialized_start = 660 + _ACCESS._serialized_end = 937 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_start = 832 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_end = 937 + _NAMESPACESCOPEDACCESS._serialized_start = 939 + _NAMESPACESCOPEDACCESS._serialized_end = 1046 + _USERSPEC._serialized_start = 1048 + _USERSPEC._serialized_end = 1129 + _INVITATION._serialized_start = 1131 + _INVITATION._serialized_end = 1243 + _USER._serialized_start = 1246 + _USER._serialized_end = 1636 + _GOOGLEGROUPSPEC._serialized_start = 1638 + _GOOGLEGROUPSPEC._serialized_end = 1678 + _SCIMGROUPSPEC._serialized_start = 1680 + _SCIMGROUPSPEC._serialized_end = 1711 + _CLOUDGROUPSPEC._serialized_start = 1713 + _CLOUDGROUPSPEC._serialized_end = 1729 + _USERGROUPSPEC._serialized_start = 1732 + _USERGROUPSPEC._serialized_end = 2052 + _USERGROUP._serialized_start = 2055 + _USERGROUP._serialized_end = 2391 + _USERGROUPMEMBERID._serialized_start = 2393 + _USERGROUPMEMBERID._serialized_end = 2446 + _USERGROUPMEMBER._serialized_start = 2449 + _USERGROUPMEMBER._serialized_end = 2586 + _SERVICEACCOUNT._serialized_start = 2589 + _SERVICEACCOUNT._serialized_end = 2935 + _SERVICEACCOUNTSPEC._serialized_start = 2938 + _SERVICEACCOUNTSPEC._serialized_end = 3137 + _APIKEY._serialized_start = 3140 + _APIKEY._serialized_end = 3470 + _APIKEYSPEC._serialized_start = 3473 + _APIKEYSPEC._serialized_end = 3711 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/identity/v1/message_pb2.pyi b/temporalio/api/cloud/identity/v1/message_pb2.pyi index e12b5907e..ced77ff78 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.pyi +++ b/temporalio/api/cloud/identity/v1/message_pb2.pyi @@ -2,16 +2,19 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.cloud.resource.v1.message_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -24,7 +27,10 @@ class _OwnerType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _OwnerTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], builtins.type): # noqa: F821 +class _OwnerTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor OWNER_TYPE_UNSPECIFIED: _OwnerType.ValueType # 0 OWNER_TYPE_USER: _OwnerType.ValueType # 1 @@ -48,7 +54,12 @@ class AccountAccess(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AccountAccess._Role.ValueType], builtins.type): # noqa: F821 + class _RoleEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + AccountAccess._Role.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ROLE_UNSPECIFIED: AccountAccess._Role.ValueType # 0 ROLE_OWNER: AccountAccess._Role.ValueType # 1 @@ -103,7 +114,12 @@ class AccountAccess(google.protobuf.message.Message): role_deprecated: builtins.str = ..., role: global___AccountAccess.Role.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["role", b"role", "role_deprecated", b"role_deprecated"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "role", b"role", "role_deprecated", b"role_deprecated" + ], + ) -> None: ... global___AccountAccess = AccountAccess @@ -114,7 +130,12 @@ class NamespaceAccess(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _PermissionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceAccess._Permission.ValueType], builtins.type): # noqa: F821 + class _PermissionEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + NamespaceAccess._Permission.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PERMISSION_UNSPECIFIED: NamespaceAccess._Permission.ValueType # 0 PERMISSION_ADMIN: NamespaceAccess._Permission.ValueType # 1 @@ -154,7 +175,15 @@ class NamespaceAccess(google.protobuf.message.Message): permission_deprecated: builtins.str = ..., permission: global___NamespaceAccess.Permission.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["permission", b"permission", "permission_deprecated", b"permission_deprecated"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "permission", + b"permission", + "permission_deprecated", + b"permission_deprecated", + ], + ) -> None: ... global___NamespaceAccess = NamespaceAccess @@ -175,8 +204,13 @@ class Access(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceAccess | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... ACCOUNT_ACCESS_FIELD_NUMBER: builtins.int NAMESPACE_ACCESSES_FIELD_NUMBER: builtins.int @@ -184,7 +218,11 @@ class Access(google.protobuf.message.Message): def account_access(self) -> global___AccountAccess: """The account access""" @property - def namespace_accesses(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NamespaceAccess]: + def namespace_accesses( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___NamespaceAccess + ]: """The map of namespace accesses The key is the namespace name and the value is the access to the namespace """ @@ -192,10 +230,23 @@ class Access(google.protobuf.message.Message): self, *, account_access: global___AccountAccess | None = ..., - namespace_accesses: collections.abc.Mapping[builtins.str, global___NamespaceAccess] | None = ..., + namespace_accesses: collections.abc.Mapping[ + builtins.str, global___NamespaceAccess + ] + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["account_access", b"account_access"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "account_access", + b"account_access", + "namespace_accesses", + b"namespace_accesses", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["account_access", b"account_access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["account_access", b"account_access", "namespace_accesses", b"namespace_accesses"]) -> None: ... global___Access = Access @@ -215,8 +266,15 @@ class NamespaceScopedAccess(google.protobuf.message.Message): namespace: builtins.str = ..., access: global___NamespaceAccess | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["access", b"access"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "access", b"access", "namespace", b"namespace" + ], + ) -> None: ... global___NamespaceScopedAccess = NamespaceScopedAccess @@ -236,8 +294,13 @@ class UserSpec(google.protobuf.message.Message): email: builtins.str = ..., access: global___Access | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "email", b"email"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["access", b"access"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["access", b"access", "email", b"email"], + ) -> None: ... global___UserSpec = UserSpec @@ -258,8 +321,18 @@ class Invitation(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., expired_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "expired_time", b"expired_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "expired_time", b"expired_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "expired_time", b"expired_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "expired_time", b"expired_time" + ], + ) -> None: ... global___Invitation = Invitation @@ -321,8 +394,42 @@ class User(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "invitation", b"invitation", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "invitation", b"invitation", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "invitation", + b"invitation", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "invitation", + b"invitation", + "last_modified_time", + b"last_modified_time", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___User = User @@ -339,7 +446,9 @@ class GoogleGroupSpec(google.protobuf.message.Message): *, email_address: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["email_address", b"email_address"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["email_address", b"email_address"] + ) -> None: ... global___GoogleGroupSpec = GoogleGroupSpec @@ -354,7 +463,9 @@ class SCIMGroupSpec(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["idp_id", b"idp_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] + ) -> None: ... global___SCIMGroupSpec = SCIMGroupSpec @@ -402,9 +513,43 @@ class UserGroupSpec(google.protobuf.message.Message): scim_group: global___SCIMGroupSpec | None = ..., cloud_group: global___CloudGroupSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access", "cloud_group", b"cloud_group", "google_group", b"google_group", "group_type", b"group_type", "scim_group", b"scim_group"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "cloud_group", b"cloud_group", "display_name", b"display_name", "google_group", b"google_group", "group_type", b"group_type", "scim_group", b"scim_group"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["group_type", b"group_type"]) -> typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "access", + b"access", + "cloud_group", + b"cloud_group", + "google_group", + b"google_group", + "group_type", + b"group_type", + "scim_group", + b"scim_group", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "access", + b"access", + "cloud_group", + b"cloud_group", + "display_name", + b"display_name", + "google_group", + b"google_group", + "group_type", + b"group_type", + "scim_group", + b"scim_group", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["group_type", b"group_type"] + ) -> ( + typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None + ): ... global___UserGroupSpec = UserGroupSpec @@ -461,8 +606,38 @@ class UserGroup(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "last_modified_time", + b"last_modified_time", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___UserGroup = UserGroup @@ -476,9 +651,21 @@ class UserGroupMemberId(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["member_type", b"member_type", "user_id", b"user_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["member_type", b"member_type", "user_id", b"user_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["member_type", b"member_type"]) -> typing_extensions.Literal["user_id"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "member_type", b"member_type", "user_id", b"user_id" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "member_type", b"member_type", "user_id", b"user_id" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["member_type", b"member_type"] + ) -> typing_extensions.Literal["user_id"] | None: ... global___UserGroupMemberId = UserGroupMemberId @@ -497,8 +684,18 @@ class UserGroupMember(google.protobuf.message.Message): member_id: global___UserGroupMemberId | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "member_id", b"member_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "member_id", b"member_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "member_id", b"member_id" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "member_id", b"member_id" + ], + ) -> None: ... global___UserGroupMember = UserGroupMember @@ -557,8 +754,38 @@ class ServiceAccount(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "last_modified_time", + b"last_modified_time", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___ServiceAccount = ServiceAccount @@ -599,8 +826,25 @@ class ServiceAccountSpec(google.protobuf.message.Message): namespace_scoped_access: global___NamespaceScopedAccess | None = ..., description: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["access", b"access", "namespace_scoped_access", b"namespace_scoped_access"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access", b"access", "description", b"description", "name", b"name", "namespace_scoped_access", b"namespace_scoped_access"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "access", b"access", "namespace_scoped_access", b"namespace_scoped_access" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "access", + b"access", + "description", + b"description", + "name", + b"name", + "namespace_scoped_access", + b"namespace_scoped_access", + ], + ) -> None: ... global___ServiceAccountSpec = ServiceAccountSpec @@ -658,8 +902,38 @@ class ApiKey(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "last_modified_time", + b"last_modified_time", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___ApiKey = ApiKey @@ -711,7 +985,27 @@ class ApiKeySpec(google.protobuf.message.Message): expiry_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., disabled: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "disabled", b"disabled", "display_name", b"display_name", "expiry_time", b"expiry_time", "owner_id", b"owner_id", "owner_type", b"owner_type", "owner_type_deprecated", b"owner_type_deprecated"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "description", + b"description", + "disabled", + b"disabled", + "display_name", + b"display_name", + "expiry_time", + b"expiry_time", + "owner_id", + b"owner_id", + "owner_type", + b"owner_type", + "owner_type_deprecated", + b"owner_type_deprecated", + ], + ) -> None: ... global___ApiKeySpec = ApiKeySpec diff --git a/temporalio/api/cloud/namespace/v1/__init__.py b/temporalio/api/cloud/namespace/v1/__init__.py index 64e82f794..ed81cf865 100644 --- a/temporalio/api/cloud/namespace/v1/__init__.py +++ b/temporalio/api/cloud/namespace/v1/__init__.py @@ -1,18 +1,20 @@ -from .message_pb2 import CertificateFilterSpec -from .message_pb2 import MtlsAuthSpec -from .message_pb2 import ApiKeyAuthSpec -from .message_pb2 import CodecServerSpec -from .message_pb2 import LifecycleSpec -from .message_pb2 import HighAvailabilitySpec -from .message_pb2 import NamespaceSpec -from .message_pb2 import Endpoints -from .message_pb2 import Limits -from .message_pb2 import AWSPrivateLinkInfo -from .message_pb2 import PrivateConnectivity -from .message_pb2 import Namespace -from .message_pb2 import NamespaceRegionStatus -from .message_pb2 import ExportSinkSpec -from .message_pb2 import ExportSink +from .message_pb2 import ( + ApiKeyAuthSpec, + AWSPrivateLinkInfo, + CertificateFilterSpec, + CodecServerSpec, + Endpoints, + ExportSink, + ExportSinkSpec, + HighAvailabilitySpec, + LifecycleSpec, + Limits, + MtlsAuthSpec, + Namespace, + NamespaceRegionStatus, + NamespaceSpec, + PrivateConnectivity, +) __all__ = [ "AWSPrivateLinkInfo", diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.py b/temporalio/api/cloud/namespace/v1/message_pb2.py index 9dc6a9cb8..827ad10f4 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.py +++ b/temporalio/api/cloud/namespace/v1/message_pb2.py @@ -2,267 +2,361 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/namespace/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.cloud.sink.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_sink_dot_v1_dot_message__pb2 -from temporalio.api.cloud.connectivityrule.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t\"\xb7\x01\n\x0cMtlsAuthSpec\x12%\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08\"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\"\x89\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01\"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12\"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n\"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07\"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t\"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05\"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12\"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t\"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo\"\xc6\x07\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05\"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32\".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec\"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xb1\x01\n\"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3') +from temporalio.api.cloud.connectivityrule.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_connectivityrule_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.resource.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, +) +from temporalio.api.cloud.sink.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_sink_dot_v1_dot_message__pb2, +) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t"\xb7\x01\n\x0cMtlsAuthSpec\x12%\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08"\x89\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo"\xc6\x07\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xb1\x01\n"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3' +) -_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name['CertificateFilterSpec'] -_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name['MtlsAuthSpec'] -_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name['ApiKeyAuthSpec'] -_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name['CodecServerSpec'] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name['CustomErrorMessage'] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name['ErrorMessage'] -_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name['LifecycleSpec'] -_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name['HighAvailabilitySpec'] -_NAMESPACESPEC = DESCRIPTOR.message_types_by_name['NamespaceSpec'] -_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name['CustomSearchAttributesEntry'] -_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name['SearchAttributesEntry'] -_ENDPOINTS = DESCRIPTOR.message_types_by_name['Endpoints'] -_LIMITS = DESCRIPTOR.message_types_by_name['Limits'] -_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name['AWSPrivateLinkInfo'] -_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name['PrivateConnectivity'] -_NAMESPACE = DESCRIPTOR.message_types_by_name['Namespace'] -_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name['RegionStatusEntry'] -_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name['TagsEntry'] -_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name['NamespaceRegionStatus'] -_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name['ExportSinkSpec'] -_EXPORTSINK = DESCRIPTOR.message_types_by_name['ExportSink'] -_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name['SearchAttributeType'] -_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name['State'] -_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name['Health'] -CertificateFilterSpec = _reflection.GeneratedProtocolMessageType('CertificateFilterSpec', (_message.Message,), { - 'DESCRIPTOR' : _CERTIFICATEFILTERSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) - }) +_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name["CertificateFilterSpec"] +_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name["MtlsAuthSpec"] +_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name["ApiKeyAuthSpec"] +_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name["CodecServerSpec"] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name[ + "CustomErrorMessage" +] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = ( + _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name["ErrorMessage"] +) +_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name["LifecycleSpec"] +_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name["HighAvailabilitySpec"] +_NAMESPACESPEC = DESCRIPTOR.message_types_by_name["NamespaceSpec"] +_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ + "CustomSearchAttributesEntry" +] +_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ + "SearchAttributesEntry" +] +_ENDPOINTS = DESCRIPTOR.message_types_by_name["Endpoints"] +_LIMITS = DESCRIPTOR.message_types_by_name["Limits"] +_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name["AWSPrivateLinkInfo"] +_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name["PrivateConnectivity"] +_NAMESPACE = DESCRIPTOR.message_types_by_name["Namespace"] +_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name["RegionStatusEntry"] +_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name["TagsEntry"] +_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name["NamespaceRegionStatus"] +_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name["ExportSinkSpec"] +_EXPORTSINK = DESCRIPTOR.message_types_by_name["ExportSink"] +_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name[ + "SearchAttributeType" +] +_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name["State"] +_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name["Health"] +CertificateFilterSpec = _reflection.GeneratedProtocolMessageType( + "CertificateFilterSpec", + (_message.Message,), + { + "DESCRIPTOR": _CERTIFICATEFILTERSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) + }, +) _sym_db.RegisterMessage(CertificateFilterSpec) -MtlsAuthSpec = _reflection.GeneratedProtocolMessageType('MtlsAuthSpec', (_message.Message,), { - 'DESCRIPTOR' : _MTLSAUTHSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) - }) +MtlsAuthSpec = _reflection.GeneratedProtocolMessageType( + "MtlsAuthSpec", + (_message.Message,), + { + "DESCRIPTOR": _MTLSAUTHSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) + }, +) _sym_db.RegisterMessage(MtlsAuthSpec) -ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType('ApiKeyAuthSpec', (_message.Message,), { - 'DESCRIPTOR' : _APIKEYAUTHSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) - }) +ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType( + "ApiKeyAuthSpec", + (_message.Message,), + { + "DESCRIPTOR": _APIKEYAUTHSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) + }, +) _sym_db.RegisterMessage(ApiKeyAuthSpec) -CodecServerSpec = _reflection.GeneratedProtocolMessageType('CodecServerSpec', (_message.Message,), { - - 'CustomErrorMessage' : _reflection.GeneratedProtocolMessageType('CustomErrorMessage', (_message.Message,), { - - 'ErrorMessage' : _reflection.GeneratedProtocolMessageType('ErrorMessage', (_message.Message,), { - 'DESCRIPTOR' : _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) - }) - , - 'DESCRIPTOR' : _CODECSERVERSPEC_CUSTOMERRORMESSAGE, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) - }) - , - 'DESCRIPTOR' : _CODECSERVERSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) - }) +CodecServerSpec = _reflection.GeneratedProtocolMessageType( + "CodecServerSpec", + (_message.Message,), + { + "CustomErrorMessage": _reflection.GeneratedProtocolMessageType( + "CustomErrorMessage", + (_message.Message,), + { + "ErrorMessage": _reflection.GeneratedProtocolMessageType( + "ErrorMessage", + (_message.Message,), + { + "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) + }, + ), + "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) + }, + ), + "DESCRIPTOR": _CODECSERVERSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) + }, +) _sym_db.RegisterMessage(CodecServerSpec) _sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage) _sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage.ErrorMessage) -LifecycleSpec = _reflection.GeneratedProtocolMessageType('LifecycleSpec', (_message.Message,), { - 'DESCRIPTOR' : _LIFECYCLESPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) - }) +LifecycleSpec = _reflection.GeneratedProtocolMessageType( + "LifecycleSpec", + (_message.Message,), + { + "DESCRIPTOR": _LIFECYCLESPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) + }, +) _sym_db.RegisterMessage(LifecycleSpec) -HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType('HighAvailabilitySpec', (_message.Message,), { - 'DESCRIPTOR' : _HIGHAVAILABILITYSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) - }) +HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType( + "HighAvailabilitySpec", + (_message.Message,), + { + "DESCRIPTOR": _HIGHAVAILABILITYSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) + }, +) _sym_db.RegisterMessage(HighAvailabilitySpec) -NamespaceSpec = _reflection.GeneratedProtocolMessageType('NamespaceSpec', (_message.Message,), { - - 'CustomSearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('CustomSearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) - }) - , - - 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) - }) - , - 'DESCRIPTOR' : _NAMESPACESPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) - }) +NamespaceSpec = _reflection.GeneratedProtocolMessageType( + "NamespaceSpec", + (_message.Message,), + { + "CustomSearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "CustomSearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) + }, + ), + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _NAMESPACESPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) + }, +) _sym_db.RegisterMessage(NamespaceSpec) _sym_db.RegisterMessage(NamespaceSpec.CustomSearchAttributesEntry) _sym_db.RegisterMessage(NamespaceSpec.SearchAttributesEntry) -Endpoints = _reflection.GeneratedProtocolMessageType('Endpoints', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTS, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) - }) +Endpoints = _reflection.GeneratedProtocolMessageType( + "Endpoints", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTS, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) + }, +) _sym_db.RegisterMessage(Endpoints) -Limits = _reflection.GeneratedProtocolMessageType('Limits', (_message.Message,), { - 'DESCRIPTOR' : _LIMITS, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) - }) +Limits = _reflection.GeneratedProtocolMessageType( + "Limits", + (_message.Message,), + { + "DESCRIPTOR": _LIMITS, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) + }, +) _sym_db.RegisterMessage(Limits) -AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType('AWSPrivateLinkInfo', (_message.Message,), { - 'DESCRIPTOR' : _AWSPRIVATELINKINFO, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) - }) +AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType( + "AWSPrivateLinkInfo", + (_message.Message,), + { + "DESCRIPTOR": _AWSPRIVATELINKINFO, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) + }, +) _sym_db.RegisterMessage(AWSPrivateLinkInfo) -PrivateConnectivity = _reflection.GeneratedProtocolMessageType('PrivateConnectivity', (_message.Message,), { - 'DESCRIPTOR' : _PRIVATECONNECTIVITY, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) - }) +PrivateConnectivity = _reflection.GeneratedProtocolMessageType( + "PrivateConnectivity", + (_message.Message,), + { + "DESCRIPTOR": _PRIVATECONNECTIVITY, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) + }, +) _sym_db.RegisterMessage(PrivateConnectivity) -Namespace = _reflection.GeneratedProtocolMessageType('Namespace', (_message.Message,), { - - 'RegionStatusEntry' : _reflection.GeneratedProtocolMessageType('RegionStatusEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACE_REGIONSTATUSENTRY, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) - }) - , - - 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACE_TAGSENTRY, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) - }) - , - 'DESCRIPTOR' : _NAMESPACE, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) - }) +Namespace = _reflection.GeneratedProtocolMessageType( + "Namespace", + (_message.Message,), + { + "RegionStatusEntry": _reflection.GeneratedProtocolMessageType( + "RegionStatusEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACE_REGIONSTATUSENTRY, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) + }, + ), + "TagsEntry": _reflection.GeneratedProtocolMessageType( + "TagsEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACE_TAGSENTRY, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) + }, + ), + "DESCRIPTOR": _NAMESPACE, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) + }, +) _sym_db.RegisterMessage(Namespace) _sym_db.RegisterMessage(Namespace.RegionStatusEntry) _sym_db.RegisterMessage(Namespace.TagsEntry) -NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType('NamespaceRegionStatus', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEREGIONSTATUS, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) - }) +NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType( + "NamespaceRegionStatus", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEREGIONSTATUS, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) + }, +) _sym_db.RegisterMessage(NamespaceRegionStatus) -ExportSinkSpec = _reflection.GeneratedProtocolMessageType('ExportSinkSpec', (_message.Message,), { - 'DESCRIPTOR' : _EXPORTSINKSPEC, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) - }) +ExportSinkSpec = _reflection.GeneratedProtocolMessageType( + "ExportSinkSpec", + (_message.Message,), + { + "DESCRIPTOR": _EXPORTSINKSPEC, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) + }, +) _sym_db.RegisterMessage(ExportSinkSpec) -ExportSink = _reflection.GeneratedProtocolMessageType('ExportSink', (_message.Message,), { - 'DESCRIPTOR' : _EXPORTSINK, - '__module__' : 'temporal.api.cloud.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) - }) +ExportSink = _reflection.GeneratedProtocolMessageType( + "ExportSink", + (_message.Message,), + { + "DESCRIPTOR": _EXPORTSINK, + "__module__": "temporal.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) + }, +) _sym_db.RegisterMessage(ExportSink) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _NAMESPACESPEC.fields_by_name['custom_search_attributes']._options = None - _NAMESPACESPEC.fields_by_name['custom_search_attributes']._serialized_options = b'\030\001' - _NAMESPACE_REGIONSTATUSENTRY._options = None - _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b'8\001' - _NAMESPACE_TAGSENTRY._options = None - _NAMESPACE_TAGSENTRY._serialized_options = b'8\001' - _NAMESPACE.fields_by_name['state_deprecated']._options = None - _NAMESPACE.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _NAMESPACEREGIONSTATUS.fields_by_name['state_deprecated']._options = None - _NAMESPACEREGIONSTATUS.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _CERTIFICATEFILTERSPEC._serialized_start=258 - _CERTIFICATEFILTERSPEC._serialized_end=387 - _MTLSAUTHSPEC._serialized_start=390 - _MTLSAUTHSPEC._serialized_end=573 - _APIKEYAUTHSPEC._serialized_start=575 - _APIKEYAUTHSPEC._serialized_end=608 - _CODECSERVERSPEC._serialized_start=611 - _CODECSERVERSPEC._serialized_end=983 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start=817 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end=983 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start=938 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end=983 - _LIFECYCLESPEC._serialized_start=985 - _LIFECYCLESPEC._serialized_end=1034 - _HIGHAVAILABILITYSPEC._serialized_start=1036 - _HIGHAVAILABILITYSPEC._serialized_end=1092 - _NAMESPACESPEC._serialized_start=1095 - _NAMESPACESPEC._serialized_end=2256 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start=1767 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end=1828 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start=1830 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end=1953 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start=1956 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end=2256 - _ENDPOINTS._serialized_start=2258 - _ENDPOINTS._serialized_end=2339 - _LIMITS._serialized_start=2341 - _LIMITS._serialized_end=2383 - _AWSPRIVATELINKINFO._serialized_start=2385 - _AWSPRIVATELINKINFO._serialized_end=2473 - _PRIVATECONNECTIVITY._serialized_start=2475 - _PRIVATECONNECTIVITY._serialized_end=2591 - _NAMESPACE._serialized_start=2594 - _NAMESPACE._serialized_end=3560 - _NAMESPACE_REGIONSTATUSENTRY._serialized_start=3408 - _NAMESPACE_REGIONSTATUSENTRY._serialized_end=3515 - _NAMESPACE_TAGSENTRY._serialized_start=3517 - _NAMESPACE_TAGSENTRY._serialized_end=3560 - _NAMESPACEREGIONSTATUS._serialized_start=3563 - _NAMESPACEREGIONSTATUS._serialized_end=3846 - _NAMESPACEREGIONSTATUS_STATE._serialized_start=3723 - _NAMESPACEREGIONSTATUS_STATE._serialized_end=3846 - _EXPORTSINKSPEC._serialized_start=3849 - _EXPORTSINKSPEC._serialized_end=3994 - _EXPORTSINK._serialized_start=3997 - _EXPORTSINK._serialized_end=4499 - _EXPORTSINK_HEALTH._serialized_start=4388 - _EXPORTSINK_HEALTH._serialized_end=4499 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _NAMESPACESPEC.fields_by_name["custom_search_attributes"]._options = None + _NAMESPACESPEC.fields_by_name[ + "custom_search_attributes" + ]._serialized_options = b"\030\001" + _NAMESPACE_REGIONSTATUSENTRY._options = None + _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b"8\001" + _NAMESPACE_TAGSENTRY._options = None + _NAMESPACE_TAGSENTRY._serialized_options = b"8\001" + _NAMESPACE.fields_by_name["state_deprecated"]._options = None + _NAMESPACE.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _NAMESPACEREGIONSTATUS.fields_by_name["state_deprecated"]._options = None + _NAMESPACEREGIONSTATUS.fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _CERTIFICATEFILTERSPEC._serialized_start = 258 + _CERTIFICATEFILTERSPEC._serialized_end = 387 + _MTLSAUTHSPEC._serialized_start = 390 + _MTLSAUTHSPEC._serialized_end = 573 + _APIKEYAUTHSPEC._serialized_start = 575 + _APIKEYAUTHSPEC._serialized_end = 608 + _CODECSERVERSPEC._serialized_start = 611 + _CODECSERVERSPEC._serialized_end = 983 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start = 817 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end = 983 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start = 938 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end = 983 + _LIFECYCLESPEC._serialized_start = 985 + _LIFECYCLESPEC._serialized_end = 1034 + _HIGHAVAILABILITYSPEC._serialized_start = 1036 + _HIGHAVAILABILITYSPEC._serialized_end = 1092 + _NAMESPACESPEC._serialized_start = 1095 + _NAMESPACESPEC._serialized_end = 2256 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start = 1767 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end = 1828 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start = 1830 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end = 1953 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start = 1956 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end = 2256 + _ENDPOINTS._serialized_start = 2258 + _ENDPOINTS._serialized_end = 2339 + _LIMITS._serialized_start = 2341 + _LIMITS._serialized_end = 2383 + _AWSPRIVATELINKINFO._serialized_start = 2385 + _AWSPRIVATELINKINFO._serialized_end = 2473 + _PRIVATECONNECTIVITY._serialized_start = 2475 + _PRIVATECONNECTIVITY._serialized_end = 2591 + _NAMESPACE._serialized_start = 2594 + _NAMESPACE._serialized_end = 3560 + _NAMESPACE_REGIONSTATUSENTRY._serialized_start = 3408 + _NAMESPACE_REGIONSTATUSENTRY._serialized_end = 3515 + _NAMESPACE_TAGSENTRY._serialized_start = 3517 + _NAMESPACE_TAGSENTRY._serialized_end = 3560 + _NAMESPACEREGIONSTATUS._serialized_start = 3563 + _NAMESPACEREGIONSTATUS._serialized_end = 3846 + _NAMESPACEREGIONSTATUS_STATE._serialized_start = 3723 + _NAMESPACEREGIONSTATUS_STATE._serialized_end = 3846 + _EXPORTSINKSPEC._serialized_start = 3849 + _EXPORTSINKSPEC._serialized_end = 3994 + _EXPORTSINK._serialized_start = 3997 + _EXPORTSINK._serialized_end = 4499 + _EXPORTSINK_HEALTH._serialized_start = 4388 + _EXPORTSINK_HEALTH._serialized_end = 4499 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.pyi b/temporalio/api/cloud/namespace/v1/message_pb2.pyi index 1751b41cc..ef666d6e5 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.pyi +++ b/temporalio/api/cloud/namespace/v1/message_pb2.pyi @@ -2,18 +2,21 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.cloud.connectivityrule.v1.message_pb2 import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.cloud.sink.v1.message_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -53,7 +56,19 @@ class CertificateFilterSpec(google.protobuf.message.Message): organizational_unit: builtins.str = ..., subject_alternative_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["common_name", b"common_name", "organization", b"organization", "organizational_unit", b"organizational_unit", "subject_alternative_name", b"subject_alternative_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "common_name", + b"common_name", + "organization", + b"organization", + "organizational_unit", + b"organizational_unit", + "subject_alternative_name", + b"subject_alternative_name", + ], + ) -> None: ... global___CertificateFilterSpec = CertificateFilterSpec @@ -78,7 +93,11 @@ class MtlsAuthSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.2.0 """ @property - def certificate_filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CertificateFilterSpec]: + def certificate_filters( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___CertificateFilterSpec + ]: """Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty. @@ -93,10 +112,23 @@ class MtlsAuthSpec(google.protobuf.message.Message): *, accepted_client_ca_deprecated: builtins.str = ..., accepted_client_ca: builtins.bytes = ..., - certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] | None = ..., + certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] + | None = ..., enabled: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted_client_ca", b"accepted_client_ca", "accepted_client_ca_deprecated", b"accepted_client_ca_deprecated", "certificate_filters", b"certificate_filters", "enabled", b"enabled"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted_client_ca", + b"accepted_client_ca", + "accepted_client_ca_deprecated", + b"accepted_client_ca_deprecated", + "certificate_filters", + b"certificate_filters", + "enabled", + b"enabled", + ], + ) -> None: ... global___MtlsAuthSpec = MtlsAuthSpec @@ -113,7 +145,9 @@ class ApiKeyAuthSpec(google.protobuf.message.Message): *, enabled: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["enabled", b"enabled"] + ) -> None: ... global___ApiKeyAuthSpec = ApiKeyAuthSpec @@ -138,7 +172,12 @@ class CodecServerSpec(google.protobuf.message.Message): message: builtins.str = ..., link: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["link", b"link", "message", b"message"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "link", b"link", "message", b"message" + ], + ) -> None: ... DEFAULT_FIELD_NUMBER: builtins.int @property @@ -147,10 +186,15 @@ class CodecServerSpec(google.protobuf.message.Message): def __init__( self, *, - default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage | None = ..., + default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["default", b"default"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["default", b"default"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["default", b"default"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["default", b"default"]) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int PASS_ACCESS_TOKEN_FIELD_NUMBER: builtins.int @@ -175,8 +219,25 @@ class CodecServerSpec(google.protobuf.message.Message): include_cross_origin_credentials: builtins.bool = ..., custom_error_message: global___CodecServerSpec.CustomErrorMessage | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["custom_error_message", b"custom_error_message"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["custom_error_message", b"custom_error_message", "endpoint", b"endpoint", "include_cross_origin_credentials", b"include_cross_origin_credentials", "pass_access_token", b"pass_access_token"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "custom_error_message", b"custom_error_message" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "custom_error_message", + b"custom_error_message", + "endpoint", + b"endpoint", + "include_cross_origin_credentials", + b"include_cross_origin_credentials", + "pass_access_token", + b"pass_access_token", + ], + ) -> None: ... global___CodecServerSpec = CodecServerSpec @@ -191,7 +252,12 @@ class LifecycleSpec(google.protobuf.message.Message): *, enable_delete_protection: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["enable_delete_protection", b"enable_delete_protection"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "enable_delete_protection", b"enable_delete_protection" + ], + ) -> None: ... global___LifecycleSpec = LifecycleSpec @@ -206,7 +272,12 @@ class HighAvailabilitySpec(google.protobuf.message.Message): *, disable_managed_failover: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["disable_managed_failover", b"disable_managed_failover"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "disable_managed_failover", b"disable_managed_failover" + ], + ) -> None: ... global___HighAvailabilitySpec = HighAvailabilitySpec @@ -217,18 +288,31 @@ class NamespaceSpec(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _SearchAttributeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceSpec._SearchAttributeType.ValueType], builtins.type): # noqa: F821 + class _SearchAttributeTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + NamespaceSpec._SearchAttributeType.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: NamespaceSpec._SearchAttributeType.ValueType # 0 + SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: ( + NamespaceSpec._SearchAttributeType.ValueType + ) # 0 SEARCH_ATTRIBUTE_TYPE_TEXT: NamespaceSpec._SearchAttributeType.ValueType # 1 SEARCH_ATTRIBUTE_TYPE_KEYWORD: NamespaceSpec._SearchAttributeType.ValueType # 2 SEARCH_ATTRIBUTE_TYPE_INT: NamespaceSpec._SearchAttributeType.ValueType # 3 SEARCH_ATTRIBUTE_TYPE_DOUBLE: NamespaceSpec._SearchAttributeType.ValueType # 4 SEARCH_ATTRIBUTE_TYPE_BOOL: NamespaceSpec._SearchAttributeType.ValueType # 5 - SEARCH_ATTRIBUTE_TYPE_DATETIME: NamespaceSpec._SearchAttributeType.ValueType # 6 - SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: NamespaceSpec._SearchAttributeType.ValueType # 7 - - class SearchAttributeType(_SearchAttributeType, metaclass=_SearchAttributeTypeEnumTypeWrapper): ... + SEARCH_ATTRIBUTE_TYPE_DATETIME: ( + NamespaceSpec._SearchAttributeType.ValueType + ) # 6 + SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: ( + NamespaceSpec._SearchAttributeType.ValueType + ) # 7 + + class SearchAttributeType( + _SearchAttributeType, metaclass=_SearchAttributeTypeEnumTypeWrapper + ): ... SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: NamespaceSpec.SearchAttributeType.ValueType # 0 SEARCH_ATTRIBUTE_TYPE_TEXT: NamespaceSpec.SearchAttributeType.ValueType # 1 SEARCH_ATTRIBUTE_TYPE_KEYWORD: NamespaceSpec.SearchAttributeType.ValueType # 2 @@ -251,7 +335,10 @@ class NamespaceSpec(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -266,7 +353,10 @@ class NamespaceSpec(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceSpec.SearchAttributeType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... NAME_FIELD_NUMBER: builtins.int REGIONS_FIELD_NUMBER: builtins.int @@ -285,7 +375,9 @@ class NamespaceSpec(google.protobuf.message.Message): The name is immutable. Once set, it cannot be changed. """ @property - def regions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def regions( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. @@ -312,7 +404,9 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.2.0 """ @property - def custom_search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def custom_search_attributes( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. @@ -322,7 +416,11 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:max_version=v0.3.0 """ @property - def search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType + ]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. @@ -346,7 +444,9 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.4.0 """ @property - def connectivity_rule_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def connectivity_rule_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0 @@ -359,15 +459,59 @@ class NamespaceSpec(google.protobuf.message.Message): retention_days: builtins.int = ..., mtls_auth: global___MtlsAuthSpec | None = ..., api_key_auth: global___ApiKeyAuthSpec | None = ..., - custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - search_attributes: collections.abc.Mapping[builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType] | None = ..., + custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] + | None = ..., + search_attributes: collections.abc.Mapping[ + builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType + ] + | None = ..., codec_server: global___CodecServerSpec | None = ..., lifecycle: global___LifecycleSpec | None = ..., high_availability: global___HighAvailabilitySpec | None = ..., connectivity_rule_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["api_key_auth", b"api_key_auth", "codec_server", b"codec_server", "high_availability", b"high_availability", "lifecycle", b"lifecycle", "mtls_auth", b"mtls_auth"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["api_key_auth", b"api_key_auth", "codec_server", b"codec_server", "connectivity_rule_ids", b"connectivity_rule_ids", "custom_search_attributes", b"custom_search_attributes", "high_availability", b"high_availability", "lifecycle", b"lifecycle", "mtls_auth", b"mtls_auth", "name", b"name", "regions", b"regions", "retention_days", b"retention_days", "search_attributes", b"search_attributes"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "api_key_auth", + b"api_key_auth", + "codec_server", + b"codec_server", + "high_availability", + b"high_availability", + "lifecycle", + b"lifecycle", + "mtls_auth", + b"mtls_auth", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "api_key_auth", + b"api_key_auth", + "codec_server", + b"codec_server", + "connectivity_rule_ids", + b"connectivity_rule_ids", + "custom_search_attributes", + b"custom_search_attributes", + "high_availability", + b"high_availability", + "lifecycle", + b"lifecycle", + "mtls_auth", + b"mtls_auth", + "name", + b"name", + "regions", + b"regions", + "retention_days", + b"retention_days", + "search_attributes", + b"search_attributes", + ], + ) -> None: ... global___NamespaceSpec = NamespaceSpec @@ -390,7 +534,17 @@ class Endpoints(google.protobuf.message.Message): mtls_grpc_address: builtins.str = ..., grpc_address: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["grpc_address", b"grpc_address", "mtls_grpc_address", b"mtls_grpc_address", "web_address", b"web_address"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "grpc_address", + b"grpc_address", + "mtls_grpc_address", + b"mtls_grpc_address", + "web_address", + b"web_address", + ], + ) -> None: ... global___Endpoints = Endpoints @@ -407,7 +561,12 @@ class Limits(google.protobuf.message.Message): *, actions_per_second_limit: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["actions_per_second_limit", b"actions_per_second_limit"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "actions_per_second_limit", b"actions_per_second_limit" + ], + ) -> None: ... global___Limits = Limits @@ -417,10 +576,14 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ALLOWED_PRINCIPAL_ARNS_FIELD_NUMBER: builtins.int VPC_ENDPOINT_SERVICE_NAMES_FIELD_NUMBER: builtins.int @property - def allowed_principal_arns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def allowed_principal_arns( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of principal arns that are allowed to access the namespace on the private link.""" @property - def vpc_endpoint_service_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def vpc_endpoint_service_names( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of vpc endpoint service names that are associated with the namespace.""" def __init__( self, @@ -428,7 +591,15 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): allowed_principal_arns: collections.abc.Iterable[builtins.str] | None = ..., vpc_endpoint_service_names: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allowed_principal_arns", b"allowed_principal_arns", "vpc_endpoint_service_names", b"vpc_endpoint_service_names"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "allowed_principal_arns", + b"allowed_principal_arns", + "vpc_endpoint_service_names", + b"vpc_endpoint_service_names", + ], + ) -> None: ... global___AWSPrivateLinkInfo = AWSPrivateLinkInfo @@ -450,8 +621,16 @@ class PrivateConnectivity(google.protobuf.message.Message): region: builtins.str = ..., aws_private_link: global___AWSPrivateLinkInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link", "region", b"region"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "aws_private_link", b"aws_private_link", "region", b"region" + ], + ) -> None: ... global___PrivateConnectivity = PrivateConnectivity @@ -472,8 +651,13 @@ class Namespace(google.protobuf.message.Message): key: builtins.str = ..., value: global___NamespaceRegionStatus | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -488,7 +672,10 @@ class Namespace(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int @@ -536,7 +723,11 @@ class Namespace(google.protobuf.message.Message): def limits(self) -> global___Limits: """The limits set on the namespace currently.""" @property - def private_connectivities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PrivateConnectivity]: + def private_connectivities( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___PrivateConnectivity + ]: """The private connectivities for the namespace, if any.""" @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -547,15 +738,25 @@ class Namespace(google.protobuf.message.Message): Will not be set if the namespace has never been modified. """ @property - def region_status(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NamespaceRegionStatus]: + def region_status( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___NamespaceRegionStatus + ]: """The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map. """ @property - def connectivity_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule]: + def connectivity_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule + ]: """The connectivity rules that are set on this namespace.""" @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def tags( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags for the namespace.""" def __init__( self, @@ -569,15 +770,70 @@ class Namespace(google.protobuf.message.Message): endpoints: global___Endpoints | None = ..., active_region: builtins.str = ..., limits: global___Limits | None = ..., - private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] | None = ..., + private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] + | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - region_status: collections.abc.Mapping[builtins.str, global___NamespaceRegionStatus] | None = ..., - connectivity_rules: collections.abc.Iterable[temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule] | None = ..., + region_status: collections.abc.Mapping[ + builtins.str, global___NamespaceRegionStatus + ] + | None = ..., + connectivity_rules: collections.abc.Iterable[ + temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule + ] + | None = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "endpoints", b"endpoints", "last_modified_time", b"last_modified_time", "limits", b"limits", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["active_region", b"active_region", "async_operation_id", b"async_operation_id", "connectivity_rules", b"connectivity_rules", "created_time", b"created_time", "endpoints", b"endpoints", "last_modified_time", b"last_modified_time", "limits", b"limits", "namespace", b"namespace", "private_connectivities", b"private_connectivities", "region_status", b"region_status", "resource_version", b"resource_version", "spec", b"spec", "state", b"state", "state_deprecated", b"state_deprecated", "tags", b"tags"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "endpoints", + b"endpoints", + "last_modified_time", + b"last_modified_time", + "limits", + b"limits", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "active_region", + b"active_region", + "async_operation_id", + b"async_operation_id", + "connectivity_rules", + b"connectivity_rules", + "created_time", + b"created_time", + "endpoints", + b"endpoints", + "last_modified_time", + b"last_modified_time", + "limits", + b"limits", + "namespace", + b"namespace", + "private_connectivities", + b"private_connectivities", + "region_status", + b"region_status", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + "tags", + b"tags", + ], + ) -> None: ... global___Namespace = Namespace @@ -588,7 +844,12 @@ class NamespaceRegionStatus(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NamespaceRegionStatus._State.ValueType], builtins.type): # noqa: F821 + class _StateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + NamespaceRegionStatus._State.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: NamespaceRegionStatus._State.ValueType # 0 STATE_ADDING: NamespaceRegionStatus._State.ValueType # 1 @@ -639,7 +900,17 @@ class NamespaceRegionStatus(google.protobuf.message.Message): state: global___NamespaceRegionStatus.State.ValueType = ..., async_operation_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___NamespaceRegionStatus = NamespaceRegionStatus @@ -668,8 +939,15 @@ class ExportSinkSpec(google.protobuf.message.Message): s3: temporalio.api.cloud.sink.v1.message_pb2.S3Spec | None = ..., gcs: temporalio.api.cloud.sink.v1.message_pb2.GCSSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3" + ], + ) -> None: ... global___ExportSinkSpec = ExportSinkSpec @@ -680,7 +958,12 @@ class ExportSink(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ExportSink._Health.ValueType], builtins.type): # noqa: F821 + class _HealthEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + ExportSink._Health.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: ExportSink._Health.ValueType # 0 HEALTH_OK: ExportSink._Health.ValueType # 1 @@ -732,7 +1015,37 @@ class ExportSink(google.protobuf.message.Message): latest_data_export_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_health_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_health_check_time", b"last_health_check_time", "latest_data_export_time", b"latest_data_export_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["error_message", b"error_message", "health", b"health", "last_health_check_time", b"last_health_check_time", "latest_data_export_time", b"latest_data_export_time", "name", b"name", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_health_check_time", + b"last_health_check_time", + "latest_data_export_time", + b"latest_data_export_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "error_message", + b"error_message", + "health", + b"health", + "last_health_check_time", + b"last_health_check_time", + "latest_data_export_time", + b"latest_data_export_time", + "name", + b"name", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + ], + ) -> None: ... global___ExportSink = ExportSink diff --git a/temporalio/api/cloud/nexus/v1/__init__.py b/temporalio/api/cloud/nexus/v1/__init__.py index fe5500d93..a982975d8 100644 --- a/temporalio/api/cloud/nexus/v1/__init__.py +++ b/temporalio/api/cloud/nexus/v1/__init__.py @@ -1,9 +1,11 @@ -from .message_pb2 import EndpointSpec -from .message_pb2 import EndpointTargetSpec -from .message_pb2 import WorkerTargetSpec -from .message_pb2 import EndpointPolicySpec -from .message_pb2 import AllowedCloudNamespacePolicySpec -from .message_pb2 import Endpoint +from .message_pb2 import ( + AllowedCloudNamespacePolicySpec, + Endpoint, + EndpointPolicySpec, + EndpointSpec, + EndpointTargetSpec, + WorkerTargetSpec, +) __all__ = [ "AllowedCloudNamespacePolicySpec", diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.py b/temporalio/api/cloud/nexus/v1/message_pb2.py index 8e534c55e..e7c3f6ea5 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.py +++ b/temporalio/api/cloud/nexus/v1/message_pb2.py @@ -2,89 +2,123 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/nexus/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.cloud.resource.v1 import message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from temporalio.api.cloud.resource.v1 import ( + message_pb2 as temporal_dot_api_dot_cloud_dot_resource_dot_v1_dot_message__pb2, +) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12\"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant\"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant\"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3' +) - -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name['EndpointSpec'] -_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name['EndpointTargetSpec'] -_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name['WorkerTargetSpec'] -_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name['EndpointPolicySpec'] -_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name['AllowedCloudNamespacePolicySpec'] -_ENDPOINT = DESCRIPTOR.message_types_by_name['Endpoint'] -EndpointSpec = _reflection.GeneratedProtocolMessageType('EndpointSpec', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTSPEC, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) - }) +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] +_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name["EndpointTargetSpec"] +_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name["WorkerTargetSpec"] +_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name["EndpointPolicySpec"] +_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name[ + "AllowedCloudNamespacePolicySpec" +] +_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] +EndpointSpec = _reflection.GeneratedProtocolMessageType( + "EndpointSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTSPEC, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) + }, +) _sym_db.RegisterMessage(EndpointSpec) -EndpointTargetSpec = _reflection.GeneratedProtocolMessageType('EndpointTargetSpec', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTTARGETSPEC, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) - }) +EndpointTargetSpec = _reflection.GeneratedProtocolMessageType( + "EndpointTargetSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGETSPEC, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) + }, +) _sym_db.RegisterMessage(EndpointTargetSpec) -WorkerTargetSpec = _reflection.GeneratedProtocolMessageType('WorkerTargetSpec', (_message.Message,), { - 'DESCRIPTOR' : _WORKERTARGETSPEC, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) - }) +WorkerTargetSpec = _reflection.GeneratedProtocolMessageType( + "WorkerTargetSpec", + (_message.Message,), + { + "DESCRIPTOR": _WORKERTARGETSPEC, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) + }, +) _sym_db.RegisterMessage(WorkerTargetSpec) -EndpointPolicySpec = _reflection.GeneratedProtocolMessageType('EndpointPolicySpec', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTPOLICYSPEC, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) - }) +EndpointPolicySpec = _reflection.GeneratedProtocolMessageType( + "EndpointPolicySpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTPOLICYSPEC, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) + }, +) _sym_db.RegisterMessage(EndpointPolicySpec) -AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType('AllowedCloudNamespacePolicySpec', (_message.Message,), { - 'DESCRIPTOR' : _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) - }) +AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType( + "AllowedCloudNamespacePolicySpec", + (_message.Message,), + { + "DESCRIPTOR": _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) + }, +) _sym_db.RegisterMessage(AllowedCloudNamespacePolicySpec) -Endpoint = _reflection.GeneratedProtocolMessageType('Endpoint', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINT, - '__module__' : 'temporal.api.cloud.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) - }) +Endpoint = _reflection.GeneratedProtocolMessageType( + "Endpoint", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINT, + "__module__": "temporal.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) + }, +) _sym_db.RegisterMessage(Endpoint) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z\'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1' - _ENDPOINTSPEC.fields_by_name['description_deprecated']._options = None - _ENDPOINTSPEC.fields_by_name['description_deprecated']._serialized_options = b'\030\001' - _ENDPOINTSPEC._serialized_start=192 - _ENDPOINTSPEC._serialized_end=451 - _ENDPOINTTARGETSPEC._serialized_start=453 - _ENDPOINTTARGETSPEC._serialized_end=561 - _WORKERTARGETSPEC._serialized_start=563 - _WORKERTARGETSPEC._serialized_end=623 - _ENDPOINTPOLICYSPEC._serialized_start=626 - _ENDPOINTPOLICYSPEC._serialized_end=766 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start=768 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end=823 - _ENDPOINT._serialized_start=826 - _ENDPOINT._serialized_end=1127 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" + _ENDPOINTSPEC.fields_by_name["description_deprecated"]._options = None + _ENDPOINTSPEC.fields_by_name[ + "description_deprecated" + ]._serialized_options = b"\030\001" + _ENDPOINTSPEC._serialized_start = 192 + _ENDPOINTSPEC._serialized_end = 451 + _ENDPOINTTARGETSPEC._serialized_start = 453 + _ENDPOINTTARGETSPEC._serialized_end = 561 + _WORKERTARGETSPEC._serialized_start = 563 + _WORKERTARGETSPEC._serialized_end = 623 + _ENDPOINTPOLICYSPEC._serialized_start = 626 + _ENDPOINTPOLICYSPEC._serialized_end = 766 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start = 768 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end = 823 + _ENDPOINT._serialized_start = 826 + _ENDPOINT._serialized_end = 1127 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.pyi b/temporalio/api/cloud/nexus/v1/message_pb2.pyi index b04eeae87..5ec14c3ac 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.pyi +++ b/temporalio/api/cloud/nexus/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.common.v1.message_pb2 @@ -36,7 +39,11 @@ class EndpointSpec(google.protobuf.message.Message): def target_spec(self) -> global___EndpointTargetSpec: """Indicates where the endpoint should forward received nexus requests to.""" @property - def policy_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EndpointPolicySpec]: + def policy_specs( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___EndpointPolicySpec + ]: """The set of policies (e.g. authorization) for the endpoint. Each request's caller must match with at least one of the specs to be accepted by the endpoint. This field is mutable. @@ -55,12 +62,32 @@ class EndpointSpec(google.protobuf.message.Message): *, name: builtins.str = ..., target_spec: global___EndpointTargetSpec | None = ..., - policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] | None = ..., + policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] + | None = ..., description_deprecated: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["description", b"description", "target_spec", b"target_spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "description_deprecated", b"description_deprecated", "name", b"name", "policy_specs", b"policy_specs", "target_spec", b"target_spec"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "description", b"description", "target_spec", b"target_spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "description", + b"description", + "description_deprecated", + b"description_deprecated", + "name", + b"name", + "policy_specs", + b"policy_specs", + "target_spec", + b"target_spec", + ], + ) -> None: ... global___EndpointSpec = EndpointSpec @@ -76,9 +103,21 @@ class EndpointTargetSpec(google.protobuf.message.Message): *, worker_target_spec: global___WorkerTargetSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["variant", b"variant", "worker_target_spec", b"worker_target_spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["variant", b"variant", "worker_target_spec", b"worker_target_spec"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["worker_target_spec"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "variant", b"variant", "worker_target_spec", b"worker_target_spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "variant", b"variant", "worker_target_spec", b"worker_target_spec" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["worker_target_spec"] | None: ... global___EndpointTargetSpec = EndpointTargetSpec @@ -97,7 +136,12 @@ class WorkerTargetSpec(google.protobuf.message.Message): namespace_id: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id", "task_queue", b"task_queue"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace_id", b"namespace_id", "task_queue", b"task_queue" + ], + ) -> None: ... global___WorkerTargetSpec = WorkerTargetSpec @@ -106,16 +150,37 @@ class EndpointPolicySpec(google.protobuf.message.Message): ALLOWED_CLOUD_NAMESPACE_POLICY_SPEC_FIELD_NUMBER: builtins.int @property - def allowed_cloud_namespace_policy_spec(self) -> global___AllowedCloudNamespacePolicySpec: + def allowed_cloud_namespace_policy_spec( + self, + ) -> global___AllowedCloudNamespacePolicySpec: """A policy spec that allows one caller namespace to access the endpoint.""" def __init__( self, *, - allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec | None = ..., + allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec + | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "allowed_cloud_namespace_policy_spec", + b"allowed_cloud_namespace_policy_spec", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "allowed_cloud_namespace_policy_spec", + b"allowed_cloud_namespace_policy_spec", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... global___EndpointPolicySpec = EndpointPolicySpec @@ -130,7 +195,9 @@ class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): *, namespace_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"] + ) -> None: ... global___AllowedCloudNamespacePolicySpec = AllowedCloudNamespacePolicySpec @@ -178,7 +245,35 @@ class Endpoint(google.protobuf.message.Message): created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_operation_id", b"async_operation_id", "created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "resource_version", b"resource_version", "spec", b"spec", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_operation_id", + b"async_operation_id", + "created_time", + b"created_time", + "id", + b"id", + "last_modified_time", + b"last_modified_time", + "resource_version", + b"resource_version", + "spec", + b"spec", + "state", + b"state", + ], + ) -> None: ... global___Endpoint = Endpoint diff --git a/temporalio/api/cloud/operation/v1/message_pb2.py b/temporalio/api/cloud/operation/v1/message_pb2.py index 7496777ea..230e00583 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.py +++ b/temporalio/api/cloud/operation/v1/message_pb2.py @@ -2,42 +2,47 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/operation/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n\"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3') - - - -_ASYNCOPERATION = DESCRIPTOR.message_types_by_name['AsyncOperation'] -_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name['State'] -AsyncOperation = _reflection.GeneratedProtocolMessageType('AsyncOperation', (_message.Message,), { - 'DESCRIPTOR' : _ASYNCOPERATION, - '__module__' : 'temporal.api.cloud.operation.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3' +) + + +_ASYNCOPERATION = DESCRIPTOR.message_types_by_name["AsyncOperation"] +_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name["State"] +AsyncOperation = _reflection.GeneratedProtocolMessageType( + "AsyncOperation", + (_message.Message,), + { + "DESCRIPTOR": _ASYNCOPERATION, + "__module__": "temporal.api.cloud.operation.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) + }, +) _sym_db.RegisterMessage(AsyncOperation) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' - _ASYNCOPERATION.fields_by_name['state_deprecated']._options = None - _ASYNCOPERATION.fields_by_name['state_deprecated']._serialized_options = b'\030\001' - _ASYNCOPERATION._serialized_start=175 - _ASYNCOPERATION._serialized_end=705 - _ASYNCOPERATION_STATE._serialized_start=553 - _ASYNCOPERATION_STATE._serialized_end=705 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' + _ASYNCOPERATION.fields_by_name["state_deprecated"]._options = None + _ASYNCOPERATION.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _ASYNCOPERATION._serialized_start = 175 + _ASYNCOPERATION._serialized_end = 705 + _ASYNCOPERATION_STATE._serialized_start = 553 + _ASYNCOPERATION_STATE._serialized_end = 705 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/operation/v1/message_pb2.pyi b/temporalio/api/cloud/operation/v1/message_pb2.pyi index 4c5b39e1c..4e9346d96 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.pyi +++ b/temporalio/api/cloud/operation/v1/message_pb2.pyi @@ -2,15 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys +import typing + import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -26,7 +28,12 @@ class AsyncOperation(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AsyncOperation._State.ValueType], builtins.type): # noqa: F821 + class _StateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + AsyncOperation._State.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: AsyncOperation._State.ValueType # 0 STATE_PENDING: AsyncOperation._State.ValueType # 1 @@ -111,7 +118,41 @@ class AsyncOperation(google.protobuf.message.Message): started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., finished_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["check_duration", b"check_duration", "finished_time", b"finished_time", "operation_input", b"operation_input", "started_time", b"started_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["check_duration", b"check_duration", "failure_reason", b"failure_reason", "finished_time", b"finished_time", "id", b"id", "operation_input", b"operation_input", "operation_type", b"operation_type", "started_time", b"started_time", "state", b"state", "state_deprecated", b"state_deprecated"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "check_duration", + b"check_duration", + "finished_time", + b"finished_time", + "operation_input", + b"operation_input", + "started_time", + b"started_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "check_duration", + b"check_duration", + "failure_reason", + b"failure_reason", + "finished_time", + b"finished_time", + "id", + b"id", + "operation_input", + b"operation_input", + "operation_type", + b"operation_type", + "started_time", + b"started_time", + "state", + b"state", + "state_deprecated", + b"state_deprecated", + ], + ) -> None: ... global___AsyncOperation = AsyncOperation diff --git a/temporalio/api/cloud/region/v1/message_pb2.py b/temporalio/api/cloud/region/v1/message_pb2.py index cdc9b3395..edcb844b9 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.py +++ b/temporalio/api/cloud/region/v1/message_pb2.py @@ -2,39 +2,45 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/region/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02"Temporalio::Api::Cloud::Region::V1b\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1\"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t\"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02\"Temporalio::Api::Cloud::Region::V1b\x06proto3') - - - -_REGION = DESCRIPTOR.message_types_by_name['Region'] -_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name['CloudProvider'] -Region = _reflection.GeneratedProtocolMessageType('Region', (_message.Message,), { - 'DESCRIPTOR' : _REGION, - '__module__' : 'temporal.api.cloud.region.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) - }) +_REGION = DESCRIPTOR.message_types_by_name["Region"] +_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name["CloudProvider"] +Region = _reflection.GeneratedProtocolMessageType( + "Region", + (_message.Message,), + { + "DESCRIPTOR": _REGION, + "__module__": "temporal.api.cloud.region.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) + }, +) _sym_db.RegisterMessage(Region) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002\"Temporalio::Api::Cloud::Region::V1' - _REGION.fields_by_name['cloud_provider_deprecated']._options = None - _REGION.fields_by_name['cloud_provider_deprecated']._serialized_options = b'\030\001' - _REGION._serialized_start=77 - _REGION._serialized_end=358 - _REGION_CLOUDPROVIDER._serialized_start=263 - _REGION_CLOUDPROVIDER._serialized_end=358 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' + _REGION.fields_by_name["cloud_provider_deprecated"]._options = None + _REGION.fields_by_name[ + "cloud_provider_deprecated" + ]._serialized_options = b"\030\001" + _REGION._serialized_start = 77 + _REGION._serialized_end = 358 + _REGION_CLOUDPROVIDER._serialized_start = 263 + _REGION_CLOUDPROVIDER._serialized_end = 358 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/region/v1/message_pb2.pyi b/temporalio/api/cloud/region/v1/message_pb2.pyi index 443e4bab4..69718ad18 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.pyi +++ b/temporalio/api/cloud/region/v1/message_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message -import sys -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -23,7 +25,12 @@ class Region(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _CloudProviderEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Region._CloudProvider.ValueType], builtins.type): # noqa: F821 + class _CloudProviderEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + Region._CloudProvider.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CLOUD_PROVIDER_UNSPECIFIED: Region._CloudProvider.ValueType # 0 CLOUD_PROVIDER_AWS: Region._CloudProvider.ValueType # 1 @@ -67,6 +74,20 @@ class Region(google.protobuf.message.Message): cloud_provider_region: builtins.str = ..., location: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["cloud_provider", b"cloud_provider", "cloud_provider_deprecated", b"cloud_provider_deprecated", "cloud_provider_region", b"cloud_provider_region", "id", b"id", "location", b"location"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cloud_provider", + b"cloud_provider", + "cloud_provider_deprecated", + b"cloud_provider_deprecated", + "cloud_provider_region", + b"cloud_provider_region", + "id", + b"id", + "location", + b"location", + ], + ) -> None: ... global___Region = Region diff --git a/temporalio/api/cloud/resource/v1/message_pb2.py b/temporalio/api/cloud/resource/v1/message_pb2.py index c691c5b8d..88e7a7daa 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.py +++ b/temporalio/api/cloud/resource/v1/message_pb2.py @@ -2,22 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/resource/v1/message.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3') - -_RESOURCESTATE = DESCRIPTOR.enum_types_by_name['ResourceState'] +_RESOURCESTATE = DESCRIPTOR.enum_types_by_name["ResourceState"] ResourceState = enum_type_wrapper.EnumTypeWrapper(_RESOURCESTATE) RESOURCE_STATE_UNSPECIFIED = 0 RESOURCE_STATE_ACTIVATING = 1 @@ -33,9 +35,8 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1' - _RESOURCESTATE._serialized_start=81 - _RESOURCESTATE._serialized_end=436 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" + _RESOURCESTATE._serialized_start = 81 + _RESOURCESTATE._serialized_end = 436 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/resource/v1/message_pb2.pyi b/temporalio/api/cloud/resource/v1/message_pb2.pyi index e77663b6b..28f76e202 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.pyi +++ b/temporalio/api/cloud/resource/v1/message_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _ResourceState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceState.ValueType], builtins.type): # noqa: F821 +class _ResourceStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ResourceState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_STATE_UNSPECIFIED: _ResourceState.ValueType # 0 RESOURCE_STATE_ACTIVATING: _ResourceState.ValueType # 1 diff --git a/temporalio/api/cloud/sink/v1/__init__.py b/temporalio/api/cloud/sink/v1/__init__.py index 7f2ecdcb4..659be6d28 100644 --- a/temporalio/api/cloud/sink/v1/__init__.py +++ b/temporalio/api/cloud/sink/v1/__init__.py @@ -1,5 +1,4 @@ -from .message_pb2 import S3Spec -from .message_pb2 import GCSSpec +from .message_pb2 import GCSSpec, S3Spec __all__ = [ "GCSSpec", diff --git a/temporalio/api/cloud/sink/v1/message_pb2.py b/temporalio/api/cloud/sink/v1/message_pb2.py index 3db90ce10..d50bf6bee 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.py +++ b/temporalio/api/cloud/sink/v1/message_pb2.py @@ -2,44 +2,52 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/sink/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1\"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t\"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3') - - - -_S3SPEC = DESCRIPTOR.message_types_by_name['S3Spec'] -_GCSSPEC = DESCRIPTOR.message_types_by_name['GCSSpec'] -S3Spec = _reflection.GeneratedProtocolMessageType('S3Spec', (_message.Message,), { - 'DESCRIPTOR' : _S3SPEC, - '__module__' : 'temporal.api.cloud.sink.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) - }) +_S3SPEC = DESCRIPTOR.message_types_by_name["S3Spec"] +_GCSSPEC = DESCRIPTOR.message_types_by_name["GCSSpec"] +S3Spec = _reflection.GeneratedProtocolMessageType( + "S3Spec", + (_message.Message,), + { + "DESCRIPTOR": _S3SPEC, + "__module__": "temporal.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) + }, +) _sym_db.RegisterMessage(S3Spec) -GCSSpec = _reflection.GeneratedProtocolMessageType('GCSSpec', (_message.Message,), { - 'DESCRIPTOR' : _GCSSPEC, - '__module__' : 'temporal.api.cloud.sink.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) - }) +GCSSpec = _reflection.GeneratedProtocolMessageType( + "GCSSpec", + (_message.Message,), + { + "DESCRIPTOR": _GCSSPEC, + "__module__": "temporal.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) + }, +) _sym_db.RegisterMessage(GCSSpec) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1' - _S3SPEC._serialized_start=72 - _S3SPEC._serialized_end=177 - _GCSSPEC._serialized_start=179 - _GCSSPEC._serialized_end=264 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" + _S3SPEC._serialized_start = 72 + _S3SPEC._serialized_end = 177 + _GCSSPEC._serialized_start = 179 + _GCSSPEC._serialized_end = 264 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/sink/v1/message_pb2.pyi b/temporalio/api/cloud/sink/v1/message_pb2.pyi index 4c2554ce4..d93987af1 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.pyi +++ b/temporalio/api/cloud/sink/v1/message_pb2.pyi @@ -2,10 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -41,7 +43,21 @@ class S3Spec(google.protobuf.message.Message): kms_arn: builtins.str = ..., aws_account_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["aws_account_id", b"aws_account_id", "bucket_name", b"bucket_name", "kms_arn", b"kms_arn", "region", b"region", "role_name", b"role_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "aws_account_id", + b"aws_account_id", + "bucket_name", + b"bucket_name", + "kms_arn", + b"kms_arn", + "region", + b"region", + "role_name", + b"role_name", + ], + ) -> None: ... global___S3Spec = S3Spec @@ -68,6 +84,18 @@ class GCSSpec(google.protobuf.message.Message): gcp_project_id: builtins.str = ..., region: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["bucket_name", b"bucket_name", "gcp_project_id", b"gcp_project_id", "region", b"region", "sa_id", b"sa_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "bucket_name", + b"bucket_name", + "gcp_project_id", + b"gcp_project_id", + "region", + b"region", + "sa_id", + b"sa_id", + ], + ) -> None: ... global___GCSSpec = GCSSpec diff --git a/temporalio/api/cloud/usage/v1/__init__.py b/temporalio/api/cloud/usage/v1/__init__.py index 1de63634d..220b1b971 100644 --- a/temporalio/api/cloud/usage/v1/__init__.py +++ b/temporalio/api/cloud/usage/v1/__init__.py @@ -1,10 +1,12 @@ -from .message_pb2 import RecordType -from .message_pb2 import RecordUnit -from .message_pb2 import GroupByKey -from .message_pb2 import Summary -from .message_pb2 import RecordGroup -from .message_pb2 import GroupBy -from .message_pb2 import Record +from .message_pb2 import ( + GroupBy, + GroupByKey, + Record, + RecordGroup, + RecordType, + RecordUnit, + Summary, +) __all__ = [ "GroupBy", diff --git a/temporalio/api/cloud/usage/v1/message_pb2.py b/temporalio/api/cloud/usage/v1/message_pb2.py index e87803a05..2cb309c32 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.py +++ b/temporalio/api/cloud/usage/v1/message_pb2.py @@ -2,12 +2,14 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/cloud/usage/v1/message.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,14 +17,15 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3" +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32\'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3') - -_RECORDTYPE = DESCRIPTOR.enum_types_by_name['RecordType'] +_RECORDTYPE = DESCRIPTOR.enum_types_by_name["RecordType"] RecordType = enum_type_wrapper.EnumTypeWrapper(_RECORDTYPE) -_RECORDUNIT = DESCRIPTOR.enum_types_by_name['RecordUnit'] +_RECORDUNIT = DESCRIPTOR.enum_types_by_name["RecordUnit"] RecordUnit = enum_type_wrapper.EnumTypeWrapper(_RECORDUNIT) -_GROUPBYKEY = DESCRIPTOR.enum_types_by_name['GroupByKey'] +_GROUPBYKEY = DESCRIPTOR.enum_types_by_name["GroupByKey"] GroupByKey = enum_type_wrapper.EnumTypeWrapper(_GROUPBYKEY) RECORD_TYPE_UNSPECIFIED = 0 RECORD_TYPE_ACTIONS = 1 @@ -35,54 +38,69 @@ GROUP_BY_KEY_NAMESPACE = 1 -_SUMMARY = DESCRIPTOR.message_types_by_name['Summary'] -_RECORDGROUP = DESCRIPTOR.message_types_by_name['RecordGroup'] -_GROUPBY = DESCRIPTOR.message_types_by_name['GroupBy'] -_RECORD = DESCRIPTOR.message_types_by_name['Record'] -Summary = _reflection.GeneratedProtocolMessageType('Summary', (_message.Message,), { - 'DESCRIPTOR' : _SUMMARY, - '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) - }) +_SUMMARY = DESCRIPTOR.message_types_by_name["Summary"] +_RECORDGROUP = DESCRIPTOR.message_types_by_name["RecordGroup"] +_GROUPBY = DESCRIPTOR.message_types_by_name["GroupBy"] +_RECORD = DESCRIPTOR.message_types_by_name["Record"] +Summary = _reflection.GeneratedProtocolMessageType( + "Summary", + (_message.Message,), + { + "DESCRIPTOR": _SUMMARY, + "__module__": "temporal.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) + }, +) _sym_db.RegisterMessage(Summary) -RecordGroup = _reflection.GeneratedProtocolMessageType('RecordGroup', (_message.Message,), { - 'DESCRIPTOR' : _RECORDGROUP, - '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) - }) +RecordGroup = _reflection.GeneratedProtocolMessageType( + "RecordGroup", + (_message.Message,), + { + "DESCRIPTOR": _RECORDGROUP, + "__module__": "temporal.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) + }, +) _sym_db.RegisterMessage(RecordGroup) -GroupBy = _reflection.GeneratedProtocolMessageType('GroupBy', (_message.Message,), { - 'DESCRIPTOR' : _GROUPBY, - '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) - }) +GroupBy = _reflection.GeneratedProtocolMessageType( + "GroupBy", + (_message.Message,), + { + "DESCRIPTOR": _GROUPBY, + "__module__": "temporal.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) + }, +) _sym_db.RegisterMessage(GroupBy) -Record = _reflection.GeneratedProtocolMessageType('Record', (_message.Message,), { - 'DESCRIPTOR' : _RECORD, - '__module__' : 'temporal.api.cloud.usage.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) - }) +Record = _reflection.GeneratedProtocolMessageType( + "Record", + (_message.Message,), + { + "DESCRIPTOR": _RECORD, + "__module__": "temporal.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) + }, +) _sym_db.RegisterMessage(Record) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z\'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1' - _RECORDTYPE._serialized_start=641 - _RECORDTYPE._serialized_end=773 - _RECORDUNIT._serialized_start=775 - _RECORDUNIT._serialized_end=870 - _GROUPBYKEY._serialized_start=872 - _GROUPBYKEY._serialized_end=942 - _SUMMARY._serialized_start=108 - _SUMMARY._serialized_end=296 - _RECORDGROUP._serialized_start=298 - _RECORDGROUP._serialized_end=422 - _GROUPBY._serialized_start=424 - _GROUPBY._serialized_end=502 - _RECORD._serialized_start=505 - _RECORD._serialized_end=638 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" + _RECORDTYPE._serialized_start = 641 + _RECORDTYPE._serialized_end = 773 + _RECORDUNIT._serialized_start = 775 + _RECORDUNIT._serialized_end = 870 + _GROUPBYKEY._serialized_start = 872 + _GROUPBYKEY._serialized_end = 942 + _SUMMARY._serialized_start = 108 + _SUMMARY._serialized_end = 296 + _RECORDGROUP._serialized_start = 298 + _RECORDGROUP._serialized_end = 422 + _GROUPBY._serialized_start = 424 + _GROUPBY._serialized_end = 502 + _RECORD._serialized_start = 505 + _RECORD._serialized_end = 638 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/usage/v1/message_pb2.pyi b/temporalio/api/cloud/usage/v1/message_pb2.pyi index 05038db21..8ffdc1189 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.pyi +++ b/temporalio/api/cloud/usage/v1/message_pb2.pyi @@ -2,15 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -23,7 +25,10 @@ class _RecordType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RecordTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], builtins.type): # noqa: F821 +class _RecordTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_TYPE_UNSPECIFIED: _RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: _RecordType.ValueType # 1 @@ -42,7 +47,10 @@ class _RecordUnit: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RecordUnitEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], builtins.type): # noqa: F821 +class _RecordUnitEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_UNIT_UNSPECIFIED: _RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: _RecordUnit.ValueType # 1 @@ -59,7 +67,10 @@ class _GroupByKey: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _GroupByKeyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], builtins.type): # noqa: F821 +class _GroupByKeyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor GROUP_BY_KEY_UNSPECIFIED: _GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: _GroupByKey.ValueType # 1 @@ -84,7 +95,11 @@ class Summary(google.protobuf.message.Message): def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """End of UTC day for now (exclusive)""" @property - def record_groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RecordGroup]: + def record_groups( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___RecordGroup + ]: """Records grouped by namespace""" incomplete: builtins.bool """True if data for given time window is not fully available yet (e.g. delays) @@ -98,8 +113,25 @@ class Summary(google.protobuf.message.Message): record_groups: collections.abc.Iterable[global___RecordGroup] | None = ..., incomplete: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "incomplete", b"incomplete", "record_groups", b"record_groups", "start_time", b"start_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "end_time", b"end_time", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end_time", + b"end_time", + "incomplete", + b"incomplete", + "record_groups", + b"record_groups", + "start_time", + b"start_time", + ], + ) -> None: ... global___Summary = Summary @@ -109,17 +141,30 @@ class RecordGroup(google.protobuf.message.Message): GROUP_BYS_FIELD_NUMBER: builtins.int RECORDS_FIELD_NUMBER: builtins.int @property - def group_bys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GroupBy]: + def group_bys( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___GroupBy + ]: """GroupBy keys and their values for this record group. Multiple fields are combined with logical AND.""" @property - def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Record]: ... + def records( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Record + ]: ... def __init__( self, *, group_bys: collections.abc.Iterable[global___GroupBy] | None = ..., records: collections.abc.Iterable[global___Record] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["group_bys", b"group_bys", "records", b"records"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "group_bys", b"group_bys", "records", b"records" + ], + ) -> None: ... global___RecordGroup = RecordGroup @@ -136,7 +181,9 @@ class GroupBy(google.protobuf.message.Message): key: global___GroupByKey.ValueType = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"] + ) -> None: ... global___GroupBy = GroupBy @@ -156,6 +203,11 @@ class Record(google.protobuf.message.Message): unit: global___RecordUnit.ValueType = ..., value: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["type", b"type", "unit", b"unit", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "type", b"type", "unit", b"unit", "value", b"value" + ], + ) -> None: ... global___Record = Record diff --git a/temporalio/api/command/v1/__init__.py b/temporalio/api/command/v1/__init__.py index b32d18ed9..e0ce8f712 100644 --- a/temporalio/api/command/v1/__init__.py +++ b/temporalio/api/command/v1/__init__.py @@ -1,21 +1,23 @@ -from .message_pb2 import ScheduleActivityTaskCommandAttributes -from .message_pb2 import RequestCancelActivityTaskCommandAttributes -from .message_pb2 import StartTimerCommandAttributes -from .message_pb2 import CompleteWorkflowExecutionCommandAttributes -from .message_pb2 import FailWorkflowExecutionCommandAttributes -from .message_pb2 import CancelTimerCommandAttributes -from .message_pb2 import CancelWorkflowExecutionCommandAttributes -from .message_pb2 import RequestCancelExternalWorkflowExecutionCommandAttributes -from .message_pb2 import SignalExternalWorkflowExecutionCommandAttributes -from .message_pb2 import UpsertWorkflowSearchAttributesCommandAttributes -from .message_pb2 import ModifyWorkflowPropertiesCommandAttributes -from .message_pb2 import RecordMarkerCommandAttributes -from .message_pb2 import ContinueAsNewWorkflowExecutionCommandAttributes -from .message_pb2 import StartChildWorkflowExecutionCommandAttributes -from .message_pb2 import ProtocolMessageCommandAttributes -from .message_pb2 import ScheduleNexusOperationCommandAttributes -from .message_pb2 import RequestCancelNexusOperationCommandAttributes -from .message_pb2 import Command +from .message_pb2 import ( + CancelTimerCommandAttributes, + CancelWorkflowExecutionCommandAttributes, + Command, + CompleteWorkflowExecutionCommandAttributes, + ContinueAsNewWorkflowExecutionCommandAttributes, + FailWorkflowExecutionCommandAttributes, + ModifyWorkflowPropertiesCommandAttributes, + ProtocolMessageCommandAttributes, + RecordMarkerCommandAttributes, + RequestCancelActivityTaskCommandAttributes, + RequestCancelExternalWorkflowExecutionCommandAttributes, + RequestCancelNexusOperationCommandAttributes, + ScheduleActivityTaskCommandAttributes, + ScheduleNexusOperationCommandAttributes, + SignalExternalWorkflowExecutionCommandAttributes, + StartChildWorkflowExecutionCommandAttributes, + StartTimerCommandAttributes, + UpsertWorkflowSearchAttributesCommandAttributes, +) __all__ = [ "CancelTimerCommandAttributes", diff --git a/temporalio/api/command/v1/message_pb2.py b/temporalio/api/command/v1/message_pb2.py index b5f1b8e9a..a5435dd2e 100644 --- a/temporalio/api/command/v1/message_pb2.py +++ b/temporalio/api/command/v1/message_pb2.py @@ -2,245 +2,401 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/command/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.enums.v1 import command_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_command__type__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xb3\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xab\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xcf\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\"\x9d\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"\xea\x02\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3') - - - -_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ScheduleActivityTaskCommandAttributes'] -_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelActivityTaskCommandAttributes'] -_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['StartTimerCommandAttributes'] -_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CompleteWorkflowExecutionCommandAttributes'] -_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['FailWorkflowExecutionCommandAttributes'] -_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CancelTimerCommandAttributes'] -_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['CancelWorkflowExecutionCommandAttributes'] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionCommandAttributes'] -_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionCommandAttributes'] -_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesCommandAttributes'] -_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ModifyWorkflowPropertiesCommandAttributes'] -_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RecordMarkerCommandAttributes'] -_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name['DetailsEntry'] -_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ContinueAsNewWorkflowExecutionCommandAttributes'] -_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionCommandAttributes'] -_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ProtocolMessageCommandAttributes'] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['ScheduleNexusOperationCommandAttributes'] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name['NexusHeaderEntry'] -_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelNexusOperationCommandAttributes'] -_COMMAND = DESCRIPTOR.message_types_by_name['Command'] -ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType('ScheduleActivityTaskCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + command_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_command__type__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xb3\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xab\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xcf\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01"\x9d\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t"\xea\x02\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3' +) + + +_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ScheduleActivityTaskCommandAttributes" +] +_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RequestCancelActivityTaskCommandAttributes" +] +_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartTimerCommandAttributes" +] +_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CompleteWorkflowExecutionCommandAttributes" +] +_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "FailWorkflowExecutionCommandAttributes" +] +_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CancelTimerCommandAttributes" +] +_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CancelWorkflowExecutionCommandAttributes" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionCommandAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionCommandAttributes" +] +_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributesCommandAttributes" +] +_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ModifyWorkflowPropertiesCommandAttributes" +] +_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RecordMarkerCommandAttributes" +] +_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = ( + _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name["DetailsEntry"] +) +_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ContinueAsNewWorkflowExecutionCommandAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionCommandAttributes" +] +_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ProtocolMessageCommandAttributes" +] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ScheduleNexusOperationCommandAttributes" +] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = ( + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] +) +_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperationCommandAttributes" +] +_COMMAND = DESCRIPTOR.message_types_by_name["Command"] +ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ScheduleActivityTaskCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) + }, +) _sym_db.RegisterMessage(ScheduleActivityTaskCommandAttributes) -RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelActivityTaskCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) - }) +RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivityTaskCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) + }, +) _sym_db.RegisterMessage(RequestCancelActivityTaskCommandAttributes) -StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType('StartTimerCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _STARTTIMERCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) - }) +StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "StartTimerCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMERCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) + }, +) _sym_db.RegisterMessage(StartTimerCommandAttributes) -CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('CompleteWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) - }) +CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CompleteWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) + }, +) _sym_db.RegisterMessage(CompleteWorkflowExecutionCommandAttributes) -FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('FailWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) - }) +FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "FailWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) + }, +) _sym_db.RegisterMessage(FailWorkflowExecutionCommandAttributes) -CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType('CancelTimerCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CANCELTIMERCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) - }) +CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CancelTimerCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CANCELTIMERCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) + }, +) _sym_db.RegisterMessage(CancelTimerCommandAttributes) -CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('CancelWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) - }) +CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CancelWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) + }, +) _sym_db.RegisterMessage(CancelWorkflowExecutionCommandAttributes) -RequestCancelExternalWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) - }) +RequestCancelExternalWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) + }, + ) +) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionCommandAttributes) -SignalExternalWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) - }) +SignalExternalWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) + }, + ) +) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionCommandAttributes) -UpsertWorkflowSearchAttributesCommandAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) - }) +UpsertWorkflowSearchAttributesCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributesCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) + }, + ) +) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributesCommandAttributes) -ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType('ModifyWorkflowPropertiesCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) - }) +ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ModifyWorkflowPropertiesCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) + }, +) _sym_db.RegisterMessage(ModifyWorkflowPropertiesCommandAttributes) -RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType('RecordMarkerCommandAttributes', (_message.Message,), { - - 'DetailsEntry' : _reflection.GeneratedProtocolMessageType('DetailsEntry', (_message.Message,), { - 'DESCRIPTOR' : _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) - }) - , - 'DESCRIPTOR' : _RECORDMARKERCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) - }) +RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RecordMarkerCommandAttributes", + (_message.Message,), + { + "DetailsEntry": _reflection.GeneratedProtocolMessageType( + "DetailsEntry", + (_message.Message,), + { + "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) + }, + ), + "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) + }, +) _sym_db.RegisterMessage(RecordMarkerCommandAttributes) _sym_db.RegisterMessage(RecordMarkerCommandAttributes.DetailsEntry) -ContinueAsNewWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('ContinueAsNewWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) - }) +ContinueAsNewWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ContinueAsNewWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) + }, + ) +) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecutionCommandAttributes) -StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) - }) +StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) + }, +) _sym_db.RegisterMessage(StartChildWorkflowExecutionCommandAttributes) -ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType('ProtocolMessageCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOCOLMESSAGECOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) - }) +ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ProtocolMessageCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _PROTOCOLMESSAGECOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) + }, +) _sym_db.RegisterMessage(ProtocolMessageCommandAttributes) -ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType('ScheduleNexusOperationCommandAttributes', (_message.Message,), { - - 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) - }) - , - 'DESCRIPTOR' : _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) - }) +ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ScheduleNexusOperationCommandAttributes", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) + }, +) _sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes) _sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) -RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelNexusOperationCommandAttributes', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) - }) +RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperationCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) + }, +) _sym_db.RegisterMessage(RequestCancelNexusOperationCommandAttributes) -Command = _reflection.GeneratedProtocolMessageType('Command', (_message.Message,), { - 'DESCRIPTOR' : _COMMAND, - '__module__' : 'temporal.api.command.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) - }) +Command = _reflection.GeneratedProtocolMessageType( + "Command", + (_message.Message,), + { + "DESCRIPTOR": _COMMAND, + "__module__": "temporal.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) + }, +) _sym_db.RegisterMessage(Command) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1' - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b'8\001' - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._options = None - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._options = None - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = b'8\001' - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start=338 - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end=1032 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start=1034 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end=1106 - _STARTTIMERCOMMANDATTRIBUTES._serialized_start=1108 - _STARTTIMERCOMMANDATTRIBUTES._serialized_end=1213 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1215 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1309 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1311 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1402 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_start=1404 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_end=1452 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1454 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1547 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1550 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=1729 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=1732 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=2031 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start=2033 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end=2151 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start=2153 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end=2249 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_start=2252 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_end=2571 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start=2491 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end=2571 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=2574 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=3421 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start=3424 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end=4349 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start=4351 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end=4405 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start=4408 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end=4770 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start=4720 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end=4770 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start=4772 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end=4846 - _COMMAND._serialized_start=4849 - _COMMAND._serialized_end=7091 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._options = None + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._serialized_options = b"\030\001" + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._serialized_options = b"\030\001" + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( + b"8\001" + ) + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 338 + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1032 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 1034 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1106 + _STARTTIMERCOMMANDATTRIBUTES._serialized_start = 1108 + _STARTTIMERCOMMANDATTRIBUTES._serialized_end = 1213 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1215 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1309 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1311 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1402 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_start = 1404 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_end = 1452 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1454 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1547 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1550 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1729 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1732 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 2031 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start = 2033 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end = 2151 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start = 2153 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end = 2249 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_start = 2252 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_end = 2571 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start = 2491 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end = 2571 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 2574 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 3421 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 3424 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 4349 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start = 4351 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end = 4405 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4408 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 4770 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 4720 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 4770 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4772 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 4846 + _COMMAND._serialized_start = 4849 + _COMMAND._serialized_end = 7091 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/command/v1/message_pb2.pyi b/temporalio/api/command/v1/message_pb2.pyi index 656ac706c..5a60e3aa1 100644 --- a/temporalio/api/command/v1/message_pb2.pyi +++ b/temporalio/api/command/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.command_type_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -118,8 +121,62 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): use_workflow_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "request_eager_execution", b"request_eager_execution", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "use_workflow_build_id", b"use_workflow_build_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_type", + b"activity_type", + "header", + b"header", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "header", + b"header", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "priority", + b"priority", + "request_eager_execution", + b"request_eager_execution", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + "use_workflow_build_id", + b"use_workflow_build_id", + ], + ) -> None: ... global___ScheduleActivityTaskCommandAttributes = ScheduleActivityTaskCommandAttributes @@ -134,9 +191,16 @@ class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message *, scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", b"scheduled_event_id" + ], + ) -> None: ... -global___RequestCancelActivityTaskCommandAttributes = RequestCancelActivityTaskCommandAttributes +global___RequestCancelActivityTaskCommandAttributes = ( + RequestCancelActivityTaskCommandAttributes +) class StartTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -160,8 +224,18 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id" + ], + ) -> None: ... global___StartTimerCommandAttributes = StartTimerCommandAttributes @@ -176,10 +250,16 @@ class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message *, result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... -global___CompleteWorkflowExecutionCommandAttributes = CompleteWorkflowExecutionCommandAttributes +global___CompleteWorkflowExecutionCommandAttributes = ( + CompleteWorkflowExecutionCommandAttributes +) class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -192,8 +272,12 @@ class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___FailWorkflowExecutionCommandAttributes = FailWorkflowExecutionCommandAttributes @@ -208,7 +292,9 @@ class CancelTimerCommandAttributes(google.protobuf.message.Message): *, timer_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["timer_id", b"timer_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["timer_id", b"timer_id"] + ) -> None: ... global___CancelTimerCommandAttributes = CancelTimerCommandAttributes @@ -223,12 +309,20 @@ class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): *, details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> None: ... -global___CancelWorkflowExecutionCommandAttributes = CancelWorkflowExecutionCommandAttributes +global___CancelWorkflowExecutionCommandAttributes = ( + CancelWorkflowExecutionCommandAttributes +) -class RequestCancelExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): +class RequestCancelExternalWorkflowExecutionCommandAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACE_FIELD_NUMBER: builtins.int @@ -259,9 +353,27 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes(google.protobuf.me child_workflow_only: builtins.bool = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "namespace", b"namespace", "reason", b"reason", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_only", + b"child_workflow_only", + "control", + b"control", + "namespace", + b"namespace", + "reason", + b"reason", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], + ) -> None: ... -global___RequestCancelExternalWorkflowExecutionCommandAttributes = RequestCancelExternalWorkflowExecutionCommandAttributes +global___RequestCancelExternalWorkflowExecutionCommandAttributes = ( + RequestCancelExternalWorkflowExecutionCommandAttributes +) class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -290,7 +402,7 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M """ @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: - """Headers that are passed by the workflow that is sending a signal to the external + """Headers that are passed by the workflow that is sending a signal to the external workflow that is receiving this signal. """ def __init__( @@ -304,26 +416,66 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M child_workflow_only: builtins.bool = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "header", b"header", "input", b"input"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "execution", b"execution", "header", b"header", "input", b"input", "namespace", b"namespace", "signal_name", b"signal_name"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "header", b"header", "input", b"input" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_only", + b"child_workflow_only", + "control", + b"control", + "execution", + b"execution", + "header", + b"header", + "input", + b"input", + "namespace", + b"namespace", + "signal_name", + b"signal_name", + ], + ) -> None: ... -global___SignalExternalWorkflowExecutionCommandAttributes = SignalExternalWorkflowExecutionCommandAttributes +global___SignalExternalWorkflowExecutionCommandAttributes = ( + SignalExternalWorkflowExecutionCommandAttributes +) class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> None: ... -global___UpsertWorkflowSearchAttributesCommandAttributes = UpsertWorkflowSearchAttributesCommandAttributes +global___UpsertWorkflowSearchAttributesCommandAttributes = ( + UpsertWorkflowSearchAttributesCommandAttributes +) class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -340,10 +492,16 @@ class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message) *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + ) -> None: ... -global___ModifyWorkflowPropertiesCommandAttributes = ModifyWorkflowPropertiesCommandAttributes +global___ModifyWorkflowPropertiesCommandAttributes = ( + ModifyWorkflowPropertiesCommandAttributes +) class RecordMarkerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -362,8 +520,13 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int @@ -371,7 +534,11 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int marker_name: builtins.str @property - def details(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payloads]: ... + def details( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payloads + ]: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -380,12 +547,32 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): self, *, marker_name: builtins.str = ..., - details: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payloads] | None = ..., + details: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payloads + ] + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "header", b"header"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "failure", b"failure", "header", b"header", "marker_name", b"marker_name"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "header", b"header" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "failure", + b"failure", + "header", + b"header", + "marker_name", + b"marker_name", + ], + ) -> None: ... global___RecordMarkerCommandAttributes = RecordMarkerCommandAttributes @@ -439,7 +626,9 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. @@ -457,17 +646,83 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., inherit_build_id: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "cron_schedule", b"cron_schedule", "failure", b"failure", "header", b"header", "inherit_build_id", b"inherit_build_id", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "backoff_start_interval", + b"backoff_start_interval", + "failure", + b"failure", + "header", + b"header", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "backoff_start_interval", + b"backoff_start_interval", + "cron_schedule", + b"cron_schedule", + "failure", + b"failure", + "header", + b"header", + "inherit_build_id", + b"inherit_build_id", + "initiator", + b"initiator", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ContinueAsNewWorkflowExecutionCommandAttributes = ContinueAsNewWorkflowExecutionCommandAttributes +global___ContinueAsNewWorkflowExecutionCommandAttributes = ( + ContinueAsNewWorkflowExecutionCommandAttributes +) class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -507,10 +762,14 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) """Default: PARENT_CLOSE_POLICY_TERMINATE.""" control: builtins.str - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... @@ -521,7 +780,9 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child's Task Queue will be used to independently assign a Build ID to it. @@ -550,14 +811,83 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., inherit_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "inherit_build_id", b"inherit_build_id", "input", b"input", "memo", b"memo", "namespace", b"namespace", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "memo", + b"memo", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "control", + b"control", + "cron_schedule", + b"cron_schedule", + "header", + b"header", + "inherit_build_id", + b"inherit_build_id", + "input", + b"input", + "memo", + b"memo", + "namespace", + b"namespace", + "parent_close_policy", + b"parent_close_policy", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___StartChildWorkflowExecutionCommandAttributes = StartChildWorkflowExecutionCommandAttributes +global___StartChildWorkflowExecutionCommandAttributes = ( + StartChildWorkflowExecutionCommandAttributes +) class ProtocolMessageCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -570,7 +900,9 @@ class ProtocolMessageCommandAttributes(google.protobuf.message.Message): *, message_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["message_id", b"message_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["message_id", b"message_id"] + ) -> None: ... global___ProtocolMessageCommandAttributes = ProtocolMessageCommandAttributes @@ -590,7 +922,10 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int SERVICE_FIELD_NUMBER: builtins.int @@ -619,7 +954,9 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) """ @property - def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. @@ -637,10 +974,33 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., nexus_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "schedule_to_close_timeout", b"schedule_to_close_timeout", "service", b"service"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "endpoint", + b"endpoint", + "input", + b"input", + "nexus_header", + b"nexus_header", + "operation", + b"operation", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "service", + b"service", + ], + ) -> None: ... -global___ScheduleNexusOperationCommandAttributes = ScheduleNexusOperationCommandAttributes +global___ScheduleNexusOperationCommandAttributes = ( + ScheduleNexusOperationCommandAttributes +) class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -655,9 +1015,16 @@ class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Messa *, scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", b"scheduled_event_id" + ], + ) -> None: ... -global___RequestCancelNexusOperationCommandAttributes = RequestCancelNexusOperationCommandAttributes +global___RequestCancelNexusOperationCommandAttributes = ( + RequestCancelNexusOperationCommandAttributes +) class Command(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -671,7 +1038,9 @@ class Command(google.protobuf.message.Message): REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CANCEL_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int - REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: ( + builtins.int + ) RECORD_MARKER_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -696,65 +1065,226 @@ class Command(google.protobuf.message.Message): started where the summary is used to identify the timer. """ @property - def schedule_activity_task_command_attributes(self) -> global___ScheduleActivityTaskCommandAttributes: ... + def schedule_activity_task_command_attributes( + self, + ) -> global___ScheduleActivityTaskCommandAttributes: ... @property - def start_timer_command_attributes(self) -> global___StartTimerCommandAttributes: ... + def start_timer_command_attributes( + self, + ) -> global___StartTimerCommandAttributes: ... @property - def complete_workflow_execution_command_attributes(self) -> global___CompleteWorkflowExecutionCommandAttributes: ... + def complete_workflow_execution_command_attributes( + self, + ) -> global___CompleteWorkflowExecutionCommandAttributes: ... @property - def fail_workflow_execution_command_attributes(self) -> global___FailWorkflowExecutionCommandAttributes: ... + def fail_workflow_execution_command_attributes( + self, + ) -> global___FailWorkflowExecutionCommandAttributes: ... @property - def request_cancel_activity_task_command_attributes(self) -> global___RequestCancelActivityTaskCommandAttributes: ... + def request_cancel_activity_task_command_attributes( + self, + ) -> global___RequestCancelActivityTaskCommandAttributes: ... @property - def cancel_timer_command_attributes(self) -> global___CancelTimerCommandAttributes: ... + def cancel_timer_command_attributes( + self, + ) -> global___CancelTimerCommandAttributes: ... @property - def cancel_workflow_execution_command_attributes(self) -> global___CancelWorkflowExecutionCommandAttributes: ... + def cancel_workflow_execution_command_attributes( + self, + ) -> global___CancelWorkflowExecutionCommandAttributes: ... @property - def request_cancel_external_workflow_execution_command_attributes(self) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... + def request_cancel_external_workflow_execution_command_attributes( + self, + ) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... @property - def record_marker_command_attributes(self) -> global___RecordMarkerCommandAttributes: ... + def record_marker_command_attributes( + self, + ) -> global___RecordMarkerCommandAttributes: ... @property - def continue_as_new_workflow_execution_command_attributes(self) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... + def continue_as_new_workflow_execution_command_attributes( + self, + ) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... @property - def start_child_workflow_execution_command_attributes(self) -> global___StartChildWorkflowExecutionCommandAttributes: ... + def start_child_workflow_execution_command_attributes( + self, + ) -> global___StartChildWorkflowExecutionCommandAttributes: ... @property - def signal_external_workflow_execution_command_attributes(self) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... + def signal_external_workflow_execution_command_attributes( + self, + ) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... @property - def upsert_workflow_search_attributes_command_attributes(self) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... + def upsert_workflow_search_attributes_command_attributes( + self, + ) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... @property - def protocol_message_command_attributes(self) -> global___ProtocolMessageCommandAttributes: ... + def protocol_message_command_attributes( + self, + ) -> global___ProtocolMessageCommandAttributes: ... @property - def modify_workflow_properties_command_attributes(self) -> global___ModifyWorkflowPropertiesCommandAttributes: + def modify_workflow_properties_command_attributes( + self, + ) -> global___ModifyWorkflowPropertiesCommandAttributes: """16 is available for use - it was used as part of a prototype that never made it into a release""" @property - def schedule_nexus_operation_command_attributes(self) -> global___ScheduleNexusOperationCommandAttributes: ... + def schedule_nexus_operation_command_attributes( + self, + ) -> global___ScheduleNexusOperationCommandAttributes: ... @property - def request_cancel_nexus_operation_command_attributes(self) -> global___RequestCancelNexusOperationCommandAttributes: ... + def request_cancel_nexus_operation_command_attributes( + self, + ) -> global___RequestCancelNexusOperationCommandAttributes: ... def __init__( self, *, command_type: temporalio.api.enums.v1.command_type_pb2.CommandType.ValueType = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes | None = ..., - start_timer_command_attributes: global___StartTimerCommandAttributes | None = ..., - complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes | None = ..., - fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes | None = ..., - request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes | None = ..., - cancel_timer_command_attributes: global___CancelTimerCommandAttributes | None = ..., - cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes | None = ..., - request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes | None = ..., - record_marker_command_attributes: global___RecordMarkerCommandAttributes | None = ..., - continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes | None = ..., - start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes | None = ..., - signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes | None = ..., - upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes | None = ..., - protocol_message_command_attributes: global___ProtocolMessageCommandAttributes | None = ..., - modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes | None = ..., - schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes | None = ..., - request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["attributes", b"attributes", "cancel_timer_command_attributes", b"cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", b"cancel_workflow_execution_command_attributes", "complete_workflow_execution_command_attributes", b"complete_workflow_execution_command_attributes", "continue_as_new_workflow_execution_command_attributes", b"continue_as_new_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", b"fail_workflow_execution_command_attributes", "modify_workflow_properties_command_attributes", b"modify_workflow_properties_command_attributes", "protocol_message_command_attributes", b"protocol_message_command_attributes", "record_marker_command_attributes", b"record_marker_command_attributes", "request_cancel_activity_task_command_attributes", b"request_cancel_activity_task_command_attributes", "request_cancel_external_workflow_execution_command_attributes", b"request_cancel_external_workflow_execution_command_attributes", "request_cancel_nexus_operation_command_attributes", b"request_cancel_nexus_operation_command_attributes", "schedule_activity_task_command_attributes", b"schedule_activity_task_command_attributes", "schedule_nexus_operation_command_attributes", b"schedule_nexus_operation_command_attributes", "signal_external_workflow_execution_command_attributes", b"signal_external_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", b"start_child_workflow_execution_command_attributes", "start_timer_command_attributes", b"start_timer_command_attributes", "upsert_workflow_search_attributes_command_attributes", b"upsert_workflow_search_attributes_command_attributes", "user_metadata", b"user_metadata"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attributes", b"attributes", "cancel_timer_command_attributes", b"cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", b"cancel_workflow_execution_command_attributes", "command_type", b"command_type", "complete_workflow_execution_command_attributes", b"complete_workflow_execution_command_attributes", "continue_as_new_workflow_execution_command_attributes", b"continue_as_new_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", b"fail_workflow_execution_command_attributes", "modify_workflow_properties_command_attributes", b"modify_workflow_properties_command_attributes", "protocol_message_command_attributes", b"protocol_message_command_attributes", "record_marker_command_attributes", b"record_marker_command_attributes", "request_cancel_activity_task_command_attributes", b"request_cancel_activity_task_command_attributes", "request_cancel_external_workflow_execution_command_attributes", b"request_cancel_external_workflow_execution_command_attributes", "request_cancel_nexus_operation_command_attributes", b"request_cancel_nexus_operation_command_attributes", "schedule_activity_task_command_attributes", b"schedule_activity_task_command_attributes", "schedule_nexus_operation_command_attributes", b"schedule_nexus_operation_command_attributes", "signal_external_workflow_execution_command_attributes", b"signal_external_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", b"start_child_workflow_execution_command_attributes", "start_timer_command_attributes", b"start_timer_command_attributes", "upsert_workflow_search_attributes_command_attributes", b"upsert_workflow_search_attributes_command_attributes", "user_metadata", b"user_metadata"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["attributes", b"attributes"]) -> typing_extensions.Literal["schedule_activity_task_command_attributes", "start_timer_command_attributes", "complete_workflow_execution_command_attributes", "fail_workflow_execution_command_attributes", "request_cancel_activity_task_command_attributes", "cancel_timer_command_attributes", "cancel_workflow_execution_command_attributes", "request_cancel_external_workflow_execution_command_attributes", "record_marker_command_attributes", "continue_as_new_workflow_execution_command_attributes", "start_child_workflow_execution_command_attributes", "signal_external_workflow_execution_command_attributes", "upsert_workflow_search_attributes_command_attributes", "protocol_message_command_attributes", "modify_workflow_properties_command_attributes", "schedule_nexus_operation_command_attributes", "request_cancel_nexus_operation_command_attributes"] | None: ... + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., + schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes + | None = ..., + start_timer_command_attributes: global___StartTimerCommandAttributes + | None = ..., + complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes + | None = ..., + fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes + | None = ..., + request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes + | None = ..., + cancel_timer_command_attributes: global___CancelTimerCommandAttributes + | None = ..., + cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes + | None = ..., + request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes + | None = ..., + record_marker_command_attributes: global___RecordMarkerCommandAttributes + | None = ..., + continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes + | None = ..., + start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes + | None = ..., + signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes + | None = ..., + upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes + | None = ..., + protocol_message_command_attributes: global___ProtocolMessageCommandAttributes + | None = ..., + modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes + | None = ..., + schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes + | None = ..., + request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "attributes", + b"attributes", + "cancel_timer_command_attributes", + b"cancel_timer_command_attributes", + "cancel_workflow_execution_command_attributes", + b"cancel_workflow_execution_command_attributes", + "complete_workflow_execution_command_attributes", + b"complete_workflow_execution_command_attributes", + "continue_as_new_workflow_execution_command_attributes", + b"continue_as_new_workflow_execution_command_attributes", + "fail_workflow_execution_command_attributes", + b"fail_workflow_execution_command_attributes", + "modify_workflow_properties_command_attributes", + b"modify_workflow_properties_command_attributes", + "protocol_message_command_attributes", + b"protocol_message_command_attributes", + "record_marker_command_attributes", + b"record_marker_command_attributes", + "request_cancel_activity_task_command_attributes", + b"request_cancel_activity_task_command_attributes", + "request_cancel_external_workflow_execution_command_attributes", + b"request_cancel_external_workflow_execution_command_attributes", + "request_cancel_nexus_operation_command_attributes", + b"request_cancel_nexus_operation_command_attributes", + "schedule_activity_task_command_attributes", + b"schedule_activity_task_command_attributes", + "schedule_nexus_operation_command_attributes", + b"schedule_nexus_operation_command_attributes", + "signal_external_workflow_execution_command_attributes", + b"signal_external_workflow_execution_command_attributes", + "start_child_workflow_execution_command_attributes", + b"start_child_workflow_execution_command_attributes", + "start_timer_command_attributes", + b"start_timer_command_attributes", + "upsert_workflow_search_attributes_command_attributes", + b"upsert_workflow_search_attributes_command_attributes", + "user_metadata", + b"user_metadata", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attributes", + b"attributes", + "cancel_timer_command_attributes", + b"cancel_timer_command_attributes", + "cancel_workflow_execution_command_attributes", + b"cancel_workflow_execution_command_attributes", + "command_type", + b"command_type", + "complete_workflow_execution_command_attributes", + b"complete_workflow_execution_command_attributes", + "continue_as_new_workflow_execution_command_attributes", + b"continue_as_new_workflow_execution_command_attributes", + "fail_workflow_execution_command_attributes", + b"fail_workflow_execution_command_attributes", + "modify_workflow_properties_command_attributes", + b"modify_workflow_properties_command_attributes", + "protocol_message_command_attributes", + b"protocol_message_command_attributes", + "record_marker_command_attributes", + b"record_marker_command_attributes", + "request_cancel_activity_task_command_attributes", + b"request_cancel_activity_task_command_attributes", + "request_cancel_external_workflow_execution_command_attributes", + b"request_cancel_external_workflow_execution_command_attributes", + "request_cancel_nexus_operation_command_attributes", + b"request_cancel_nexus_operation_command_attributes", + "schedule_activity_task_command_attributes", + b"schedule_activity_task_command_attributes", + "schedule_nexus_operation_command_attributes", + b"schedule_nexus_operation_command_attributes", + "signal_external_workflow_execution_command_attributes", + b"signal_external_workflow_execution_command_attributes", + "start_child_workflow_execution_command_attributes", + b"start_child_workflow_execution_command_attributes", + "start_timer_command_attributes", + b"start_timer_command_attributes", + "upsert_workflow_search_attributes_command_attributes", + b"upsert_workflow_search_attributes_command_attributes", + "user_metadata", + b"user_metadata", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] + ) -> ( + typing_extensions.Literal[ + "schedule_activity_task_command_attributes", + "start_timer_command_attributes", + "complete_workflow_execution_command_attributes", + "fail_workflow_execution_command_attributes", + "request_cancel_activity_task_command_attributes", + "cancel_timer_command_attributes", + "cancel_workflow_execution_command_attributes", + "request_cancel_external_workflow_execution_command_attributes", + "record_marker_command_attributes", + "continue_as_new_workflow_execution_command_attributes", + "start_child_workflow_execution_command_attributes", + "signal_external_workflow_execution_command_attributes", + "upsert_workflow_search_attributes_command_attributes", + "protocol_message_command_attributes", + "modify_workflow_properties_command_attributes", + "schedule_nexus_operation_command_attributes", + "request_cancel_nexus_operation_command_attributes", + ] + | None + ): ... global___Command = Command diff --git a/temporalio/api/common/v1/__init__.py b/temporalio/api/common/v1/__init__.py index 5722ca393..b3d074f41 100644 --- a/temporalio/api/common/v1/__init__.py +++ b/temporalio/api/common/v1/__init__.py @@ -1,22 +1,24 @@ from .grpc_status_pb2 import GrpcStatus -from .message_pb2 import DataBlob -from .message_pb2 import Payloads -from .message_pb2 import Payload -from .message_pb2 import SearchAttributes -from .message_pb2 import Memo -from .message_pb2 import Header -from .message_pb2 import WorkflowExecution -from .message_pb2 import WorkflowType -from .message_pb2 import ActivityType -from .message_pb2 import RetryPolicy -from .message_pb2 import MeteringMetadata -from .message_pb2 import WorkerVersionStamp -from .message_pb2 import WorkerVersionCapabilities -from .message_pb2 import ResetOptions -from .message_pb2 import Callback -from .message_pb2 import Link -from .message_pb2 import Priority -from .message_pb2 import WorkerSelector +from .message_pb2 import ( + ActivityType, + Callback, + DataBlob, + Header, + Link, + Memo, + MeteringMetadata, + Payload, + Payloads, + Priority, + ResetOptions, + RetryPolicy, + SearchAttributes, + WorkerSelector, + WorkerVersionCapabilities, + WorkerVersionStamp, + WorkflowExecution, + WorkflowType, +) __all__ = [ "ActivityType", diff --git a/temporalio/api/common/v1/grpc_status_pb2.py b/temporalio/api/common/v1/grpc_status_pb2.py index b0f93b3e2..fd75d79be 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.py +++ b/temporalio/api/common/v1/grpc_status_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/common/v1/grpc_status.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,22 +16,25 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto\"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3') - - - -_GRPCSTATUS = DESCRIPTOR.message_types_by_name['GrpcStatus'] -GrpcStatus = _reflection.GeneratedProtocolMessageType('GrpcStatus', (_message.Message,), { - 'DESCRIPTOR' : _GRPCSTATUS, - '__module__' : 'temporal.api.common.v1.grpc_status_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3' +) + + +_GRPCSTATUS = DESCRIPTOR.message_types_by_name["GrpcStatus"] +GrpcStatus = _reflection.GeneratedProtocolMessageType( + "GrpcStatus", + (_message.Message,), + { + "DESCRIPTOR": _GRPCSTATUS, + "__module__": "temporal.api.common.v1.grpc_status_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) + }, +) _sym_db.RegisterMessage(GrpcStatus) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _GRPCSTATUS._serialized_start=95 - _GRPCSTATUS._serialized_end=177 + DESCRIPTOR._options = None + _GRPCSTATUS._serialized_start = 95 + _GRPCSTATUS._serialized_end = 177 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/grpc_status_pb2.pyi b/temporalio/api/common/v1/grpc_status_pb2.pyi index e60a8be1f..749a003af 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.pyi +++ b/temporalio/api/common/v1/grpc_status_pb2.pyi @@ -2,13 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -30,7 +32,11 @@ class GrpcStatus(google.protobuf.message.Message): code: builtins.int message: builtins.str @property - def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... + def details( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + google.protobuf.any_pb2.Any + ]: ... def __init__( self, *, @@ -38,6 +44,11 @@ class GrpcStatus(google.protobuf.message.Message): message: builtins.str = ..., details: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "details", b"details", "message", b"message"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "code", b"code", "details", b"details", "message", b"message" + ], + ) -> None: ... global___GrpcStatus = GrpcStatus diff --git a/temporalio/api/common/v1/message_pb2.py b/temporalio/api/common/v1/message_pb2.py index ccbd90a84..a30edcac2 100644 --- a/temporalio/api/common/v1/message_pb2.py +++ b/temporalio/api/common/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/common/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,330 +16,438 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 -from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto\"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t\"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r\">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08\"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t\"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target\"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02\"\xe9\x04\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant\"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02\";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3') - - -_DATABLOB = DESCRIPTOR.message_types_by_name['DataBlob'] -_PAYLOADS = DESCRIPTOR.message_types_by_name['Payloads'] -_PAYLOAD = DESCRIPTOR.message_types_by_name['Payload'] -_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name['MetadataEntry'] -_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name['SearchAttributes'] -_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name['IndexedFieldsEntry'] -_MEMO = DESCRIPTOR.message_types_by_name['Memo'] -_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name['FieldsEntry'] -_HEADER = DESCRIPTOR.message_types_by_name['Header'] -_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name['FieldsEntry'] -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['WorkflowExecution'] -_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name['WorkflowType'] -_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name['ActivityType'] -_RETRYPOLICY = DESCRIPTOR.message_types_by_name['RetryPolicy'] -_METERINGMETADATA = DESCRIPTOR.message_types_by_name['MeteringMetadata'] -_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name['WorkerVersionStamp'] -_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name['WorkerVersionCapabilities'] -_RESETOPTIONS = DESCRIPTOR.message_types_by_name['ResetOptions'] -_CALLBACK = DESCRIPTOR.message_types_by_name['Callback'] -_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name['Nexus'] -_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name['HeaderEntry'] -_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name['Internal'] -_LINK = DESCRIPTOR.message_types_by_name['Link'] -_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name['WorkflowEvent'] -_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name['EventReference'] -_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name['RequestIdReference'] -_LINK_BATCHJOB = _LINK.nested_types_by_name['BatchJob'] -_PRIORITY = DESCRIPTOR.message_types_by_name['Priority'] -_WORKERSELECTOR = DESCRIPTOR.message_types_by_name['WorkerSelector'] -DataBlob = _reflection.GeneratedProtocolMessageType('DataBlob', (_message.Message,), { - 'DESCRIPTOR' : _DATABLOB, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) - }) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.enums.v1 import ( + event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, +) +from temporalio.api.enums.v1 import ( + reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02"\xe9\x04\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3' +) + + +_DATABLOB = DESCRIPTOR.message_types_by_name["DataBlob"] +_PAYLOADS = DESCRIPTOR.message_types_by_name["Payloads"] +_PAYLOAD = DESCRIPTOR.message_types_by_name["Payload"] +_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name["MetadataEntry"] +_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name["SearchAttributes"] +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name[ + "IndexedFieldsEntry" +] +_MEMO = DESCRIPTOR.message_types_by_name["Memo"] +_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name["FieldsEntry"] +_HEADER = DESCRIPTOR.message_types_by_name["Header"] +_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name["FieldsEntry"] +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] +_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name["WorkflowType"] +_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name["ActivityType"] +_RETRYPOLICY = DESCRIPTOR.message_types_by_name["RetryPolicy"] +_METERINGMETADATA = DESCRIPTOR.message_types_by_name["MeteringMetadata"] +_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name["WorkerVersionStamp"] +_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name[ + "WorkerVersionCapabilities" +] +_RESETOPTIONS = DESCRIPTOR.message_types_by_name["ResetOptions"] +_CALLBACK = DESCRIPTOR.message_types_by_name["Callback"] +_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name["Nexus"] +_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name["HeaderEntry"] +_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name["Internal"] +_LINK = DESCRIPTOR.message_types_by_name["Link"] +_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name["WorkflowEvent"] +_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ + "EventReference" +] +_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ + "RequestIdReference" +] +_LINK_BATCHJOB = _LINK.nested_types_by_name["BatchJob"] +_PRIORITY = DESCRIPTOR.message_types_by_name["Priority"] +_WORKERSELECTOR = DESCRIPTOR.message_types_by_name["WorkerSelector"] +DataBlob = _reflection.GeneratedProtocolMessageType( + "DataBlob", + (_message.Message,), + { + "DESCRIPTOR": _DATABLOB, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) + }, +) _sym_db.RegisterMessage(DataBlob) -Payloads = _reflection.GeneratedProtocolMessageType('Payloads', (_message.Message,), { - 'DESCRIPTOR' : _PAYLOADS, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) - }) +Payloads = _reflection.GeneratedProtocolMessageType( + "Payloads", + (_message.Message,), + { + "DESCRIPTOR": _PAYLOADS, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) + }, +) _sym_db.RegisterMessage(Payloads) -Payload = _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _PAYLOAD_METADATAENTRY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) - }) - , - 'DESCRIPTOR' : _PAYLOAD, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) - }) +Payload = _reflection.GeneratedProtocolMessageType( + "Payload", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _PAYLOAD_METADATAENTRY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) + }, + ), + "DESCRIPTOR": _PAYLOAD, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) + }, +) _sym_db.RegisterMessage(Payload) _sym_db.RegisterMessage(Payload.MetadataEntry) -SearchAttributes = _reflection.GeneratedProtocolMessageType('SearchAttributes', (_message.Message,), { - - 'IndexedFieldsEntry' : _reflection.GeneratedProtocolMessageType('IndexedFieldsEntry', (_message.Message,), { - 'DESCRIPTOR' : _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) - }) - , - 'DESCRIPTOR' : _SEARCHATTRIBUTES, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) - }) +SearchAttributes = _reflection.GeneratedProtocolMessageType( + "SearchAttributes", + (_message.Message,), + { + "IndexedFieldsEntry": _reflection.GeneratedProtocolMessageType( + "IndexedFieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) + }, + ), + "DESCRIPTOR": _SEARCHATTRIBUTES, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) + }, +) _sym_db.RegisterMessage(SearchAttributes) _sym_db.RegisterMessage(SearchAttributes.IndexedFieldsEntry) -Memo = _reflection.GeneratedProtocolMessageType('Memo', (_message.Message,), { - - 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { - 'DESCRIPTOR' : _MEMO_FIELDSENTRY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) - }) - , - 'DESCRIPTOR' : _MEMO, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo) - }) +Memo = _reflection.GeneratedProtocolMessageType( + "Memo", + (_message.Message,), + { + "FieldsEntry": _reflection.GeneratedProtocolMessageType( + "FieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _MEMO_FIELDSENTRY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) + }, + ), + "DESCRIPTOR": _MEMO, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo) + }, +) _sym_db.RegisterMessage(Memo) _sym_db.RegisterMessage(Memo.FieldsEntry) -Header = _reflection.GeneratedProtocolMessageType('Header', (_message.Message,), { - - 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { - 'DESCRIPTOR' : _HEADER_FIELDSENTRY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) - }) - , - 'DESCRIPTOR' : _HEADER, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) - }) +Header = _reflection.GeneratedProtocolMessageType( + "Header", + (_message.Message,), + { + "FieldsEntry": _reflection.GeneratedProtocolMessageType( + "FieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _HEADER_FIELDSENTRY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) + }, + ), + "DESCRIPTOR": _HEADER, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) + }, +) _sym_db.RegisterMessage(Header) _sym_db.RegisterMessage(Header.FieldsEntry) -WorkflowExecution = _reflection.GeneratedProtocolMessageType('WorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTION, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) - }) +WorkflowExecution = _reflection.GeneratedProtocolMessageType( + "WorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTION, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) + }, +) _sym_db.RegisterMessage(WorkflowExecution) -WorkflowType = _reflection.GeneratedProtocolMessageType('WorkflowType', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTYPE, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) - }) +WorkflowType = _reflection.GeneratedProtocolMessageType( + "WorkflowType", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTYPE, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) + }, +) _sym_db.RegisterMessage(WorkflowType) -ActivityType = _reflection.GeneratedProtocolMessageType('ActivityType', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTYPE, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) - }) +ActivityType = _reflection.GeneratedProtocolMessageType( + "ActivityType", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTYPE, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) + }, +) _sym_db.RegisterMessage(ActivityType) -RetryPolicy = _reflection.GeneratedProtocolMessageType('RetryPolicy', (_message.Message,), { - 'DESCRIPTOR' : _RETRYPOLICY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) - }) +RetryPolicy = _reflection.GeneratedProtocolMessageType( + "RetryPolicy", + (_message.Message,), + { + "DESCRIPTOR": _RETRYPOLICY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) + }, +) _sym_db.RegisterMessage(RetryPolicy) -MeteringMetadata = _reflection.GeneratedProtocolMessageType('MeteringMetadata', (_message.Message,), { - 'DESCRIPTOR' : _METERINGMETADATA, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) - }) +MeteringMetadata = _reflection.GeneratedProtocolMessageType( + "MeteringMetadata", + (_message.Message,), + { + "DESCRIPTOR": _METERINGMETADATA, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) + }, +) _sym_db.RegisterMessage(MeteringMetadata) -WorkerVersionStamp = _reflection.GeneratedProtocolMessageType('WorkerVersionStamp', (_message.Message,), { - 'DESCRIPTOR' : _WORKERVERSIONSTAMP, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) - }) +WorkerVersionStamp = _reflection.GeneratedProtocolMessageType( + "WorkerVersionStamp", + (_message.Message,), + { + "DESCRIPTOR": _WORKERVERSIONSTAMP, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) + }, +) _sym_db.RegisterMessage(WorkerVersionStamp) -WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType('WorkerVersionCapabilities', (_message.Message,), { - 'DESCRIPTOR' : _WORKERVERSIONCAPABILITIES, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) - }) +WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType( + "WorkerVersionCapabilities", + (_message.Message,), + { + "DESCRIPTOR": _WORKERVERSIONCAPABILITIES, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) + }, +) _sym_db.RegisterMessage(WorkerVersionCapabilities) -ResetOptions = _reflection.GeneratedProtocolMessageType('ResetOptions', (_message.Message,), { - 'DESCRIPTOR' : _RESETOPTIONS, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) - }) +ResetOptions = _reflection.GeneratedProtocolMessageType( + "ResetOptions", + (_message.Message,), + { + "DESCRIPTOR": _RESETOPTIONS, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) + }, +) _sym_db.RegisterMessage(ResetOptions) -Callback = _reflection.GeneratedProtocolMessageType('Callback', (_message.Message,), { - - 'Nexus' : _reflection.GeneratedProtocolMessageType('Nexus', (_message.Message,), { - - 'HeaderEntry' : _reflection.GeneratedProtocolMessageType('HeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _CALLBACK_NEXUS_HEADERENTRY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) - }) - , - 'DESCRIPTOR' : _CALLBACK_NEXUS, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) - }) - , - - 'Internal' : _reflection.GeneratedProtocolMessageType('Internal', (_message.Message,), { - 'DESCRIPTOR' : _CALLBACK_INTERNAL, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) - }) - , - 'DESCRIPTOR' : _CALLBACK, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) - }) +Callback = _reflection.GeneratedProtocolMessageType( + "Callback", + (_message.Message,), + { + "Nexus": _reflection.GeneratedProtocolMessageType( + "Nexus", + (_message.Message,), + { + "HeaderEntry": _reflection.GeneratedProtocolMessageType( + "HeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACK_NEXUS_HEADERENTRY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) + }, + ), + "DESCRIPTOR": _CALLBACK_NEXUS, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) + }, + ), + "Internal": _reflection.GeneratedProtocolMessageType( + "Internal", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACK_INTERNAL, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) + }, + ), + "DESCRIPTOR": _CALLBACK, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) + }, +) _sym_db.RegisterMessage(Callback) _sym_db.RegisterMessage(Callback.Nexus) _sym_db.RegisterMessage(Callback.Nexus.HeaderEntry) _sym_db.RegisterMessage(Callback.Internal) -Link = _reflection.GeneratedProtocolMessageType('Link', (_message.Message,), { - - 'WorkflowEvent' : _reflection.GeneratedProtocolMessageType('WorkflowEvent', (_message.Message,), { - - 'EventReference' : _reflection.GeneratedProtocolMessageType('EventReference', (_message.Message,), { - 'DESCRIPTOR' : _LINK_WORKFLOWEVENT_EVENTREFERENCE, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) - }) - , - - 'RequestIdReference' : _reflection.GeneratedProtocolMessageType('RequestIdReference', (_message.Message,), { - 'DESCRIPTOR' : _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) - }) - , - 'DESCRIPTOR' : _LINK_WORKFLOWEVENT, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) - }) - , - - 'BatchJob' : _reflection.GeneratedProtocolMessageType('BatchJob', (_message.Message,), { - 'DESCRIPTOR' : _LINK_BATCHJOB, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) - }) - , - 'DESCRIPTOR' : _LINK, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) - }) +Link = _reflection.GeneratedProtocolMessageType( + "Link", + (_message.Message,), + { + "WorkflowEvent": _reflection.GeneratedProtocolMessageType( + "WorkflowEvent", + (_message.Message,), + { + "EventReference": _reflection.GeneratedProtocolMessageType( + "EventReference", + (_message.Message,), + { + "DESCRIPTOR": _LINK_WORKFLOWEVENT_EVENTREFERENCE, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) + }, + ), + "RequestIdReference": _reflection.GeneratedProtocolMessageType( + "RequestIdReference", + (_message.Message,), + { + "DESCRIPTOR": _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) + }, + ), + "DESCRIPTOR": _LINK_WORKFLOWEVENT, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) + }, + ), + "BatchJob": _reflection.GeneratedProtocolMessageType( + "BatchJob", + (_message.Message,), + { + "DESCRIPTOR": _LINK_BATCHJOB, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) + }, + ), + "DESCRIPTOR": _LINK, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) + }, +) _sym_db.RegisterMessage(Link) _sym_db.RegisterMessage(Link.WorkflowEvent) _sym_db.RegisterMessage(Link.WorkflowEvent.EventReference) _sym_db.RegisterMessage(Link.WorkflowEvent.RequestIdReference) _sym_db.RegisterMessage(Link.BatchJob) -Priority = _reflection.GeneratedProtocolMessageType('Priority', (_message.Message,), { - 'DESCRIPTOR' : _PRIORITY, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) - }) +Priority = _reflection.GeneratedProtocolMessageType( + "Priority", + (_message.Message,), + { + "DESCRIPTOR": _PRIORITY, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) + }, +) _sym_db.RegisterMessage(Priority) -WorkerSelector = _reflection.GeneratedProtocolMessageType('WorkerSelector', (_message.Message,), { - 'DESCRIPTOR' : _WORKERSELECTOR, - '__module__' : 'temporal.api.common.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) - }) +WorkerSelector = _reflection.GeneratedProtocolMessageType( + "WorkerSelector", + (_message.Message,), + { + "DESCRIPTOR": _WORKERSELECTOR, + "__module__": "temporal.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) + }, +) _sym_db.RegisterMessage(WorkerSelector) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1' - _PAYLOAD_METADATAENTRY._options = None - _PAYLOAD_METADATAENTRY._serialized_options = b'8\001' - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b'8\001' - _MEMO_FIELDSENTRY._options = None - _MEMO_FIELDSENTRY._serialized_options = b'8\001' - _HEADER_FIELDSENTRY._options = None - _HEADER_FIELDSENTRY._serialized_options = b'8\001' - _RESETOPTIONS.fields_by_name['reset_reapply_type']._options = None - _RESETOPTIONS.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' - _CALLBACK_NEXUS_HEADERENTRY._options = None - _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b'8\001' - _DATABLOB._serialized_start=236 - _DATABLOB._serialized_end=320 - _PAYLOADS._serialized_start=322 - _PAYLOADS._serialized_end=383 - _PAYLOAD._serialized_start=386 - _PAYLOAD._serialized_end=523 - _PAYLOAD_METADATAENTRY._serialized_start=476 - _PAYLOAD_METADATAENTRY._serialized_end=523 - _SEARCHATTRIBUTES._serialized_start=526 - _SEARCHATTRIBUTES._serialized_end=716 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start=631 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end=716 - _MEMO._serialized_start=719 - _MEMO._serialized_end=863 - _MEMO_FIELDSENTRY._serialized_start=785 - _MEMO_FIELDSENTRY._serialized_end=863 - _HEADER._serialized_start=866 - _HEADER._serialized_end=1014 - _HEADER_FIELDSENTRY._serialized_start=785 - _HEADER_FIELDSENTRY._serialized_end=863 - _WORKFLOWEXECUTION._serialized_start=1016 - _WORKFLOWEXECUTION._serialized_end=1072 - _WORKFLOWTYPE._serialized_start=1074 - _WORKFLOWTYPE._serialized_end=1102 - _ACTIVITYTYPE._serialized_start=1104 - _ACTIVITYTYPE._serialized_end=1132 - _RETRYPOLICY._serialized_start=1135 - _RETRYPOLICY._serialized_end=1344 - _METERINGMETADATA._serialized_start=1346 - _METERINGMETADATA._serialized_end=1416 - _WORKERVERSIONSTAMP._serialized_start=1418 - _WORKERVERSIONSTAMP._serialized_end=1480 - _WORKERVERSIONCAPABILITIES._serialized_start=1482 - _WORKERVERSIONCAPABILITIES._serialized_end=1583 - _RESETOPTIONS._serialized_start=1586 - _RESETOPTIONS._serialized_end=1951 - _CALLBACK._serialized_start=1954 - _CALLBACK._serialized_end=2310 - _CALLBACK_NEXUS._serialized_start=2132 - _CALLBACK_NEXUS._serialized_end=2267 - _CALLBACK_NEXUS_HEADERENTRY._serialized_start=2222 - _CALLBACK_NEXUS_HEADERENTRY._serialized_end=2267 - _CALLBACK_INTERNAL._serialized_start=2269 - _CALLBACK_INTERNAL._serialized_end=2293 - _LINK._serialized_start=2313 - _LINK._serialized_end=2930 - _LINK_WORKFLOWEVENT._serialized_start=2452 - _LINK_WORKFLOWEVENT._serialized_end=2891 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start=2694 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end=2782 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start=2784 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end=2878 - _LINK_BATCHJOB._serialized_start=2893 - _LINK_BATCHJOB._serialized_end=2919 - _PRIORITY._serialized_start=2932 - _PRIORITY._serialized_end=3011 - _WORKERSELECTOR._serialized_start=3013 - _WORKERSELECTOR._serialized_end=3072 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" + _PAYLOAD_METADATAENTRY._options = None + _PAYLOAD_METADATAENTRY._serialized_options = b"8\001" + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b"8\001" + _MEMO_FIELDSENTRY._options = None + _MEMO_FIELDSENTRY._serialized_options = b"8\001" + _HEADER_FIELDSENTRY._options = None + _HEADER_FIELDSENTRY._serialized_options = b"8\001" + _RESETOPTIONS.fields_by_name["reset_reapply_type"]._options = None + _RESETOPTIONS.fields_by_name["reset_reapply_type"]._serialized_options = b"\030\001" + _CALLBACK_NEXUS_HEADERENTRY._options = None + _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b"8\001" + _DATABLOB._serialized_start = 236 + _DATABLOB._serialized_end = 320 + _PAYLOADS._serialized_start = 322 + _PAYLOADS._serialized_end = 383 + _PAYLOAD._serialized_start = 386 + _PAYLOAD._serialized_end = 523 + _PAYLOAD_METADATAENTRY._serialized_start = 476 + _PAYLOAD_METADATAENTRY._serialized_end = 523 + _SEARCHATTRIBUTES._serialized_start = 526 + _SEARCHATTRIBUTES._serialized_end = 716 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start = 631 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end = 716 + _MEMO._serialized_start = 719 + _MEMO._serialized_end = 863 + _MEMO_FIELDSENTRY._serialized_start = 785 + _MEMO_FIELDSENTRY._serialized_end = 863 + _HEADER._serialized_start = 866 + _HEADER._serialized_end = 1014 + _HEADER_FIELDSENTRY._serialized_start = 785 + _HEADER_FIELDSENTRY._serialized_end = 863 + _WORKFLOWEXECUTION._serialized_start = 1016 + _WORKFLOWEXECUTION._serialized_end = 1072 + _WORKFLOWTYPE._serialized_start = 1074 + _WORKFLOWTYPE._serialized_end = 1102 + _ACTIVITYTYPE._serialized_start = 1104 + _ACTIVITYTYPE._serialized_end = 1132 + _RETRYPOLICY._serialized_start = 1135 + _RETRYPOLICY._serialized_end = 1344 + _METERINGMETADATA._serialized_start = 1346 + _METERINGMETADATA._serialized_end = 1416 + _WORKERVERSIONSTAMP._serialized_start = 1418 + _WORKERVERSIONSTAMP._serialized_end = 1480 + _WORKERVERSIONCAPABILITIES._serialized_start = 1482 + _WORKERVERSIONCAPABILITIES._serialized_end = 1583 + _RESETOPTIONS._serialized_start = 1586 + _RESETOPTIONS._serialized_end = 1951 + _CALLBACK._serialized_start = 1954 + _CALLBACK._serialized_end = 2310 + _CALLBACK_NEXUS._serialized_start = 2132 + _CALLBACK_NEXUS._serialized_end = 2267 + _CALLBACK_NEXUS_HEADERENTRY._serialized_start = 2222 + _CALLBACK_NEXUS_HEADERENTRY._serialized_end = 2267 + _CALLBACK_INTERNAL._serialized_start = 2269 + _CALLBACK_INTERNAL._serialized_end = 2293 + _LINK._serialized_start = 2313 + _LINK._serialized_end = 2930 + _LINK_WORKFLOWEVENT._serialized_start = 2452 + _LINK_WORKFLOWEVENT._serialized_end = 2891 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start = 2694 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end = 2782 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start = 2784 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end = 2878 + _LINK_BATCHJOB._serialized_start = 2893 + _LINK_BATCHJOB._serialized_end = 2919 + _PRIORITY._serialized_start = 2932 + _PRIORITY._serialized_end = 3011 + _WORKERSELECTOR._serialized_start = 3013 + _WORKERSELECTOR._serialized_end = 3072 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/message_pb2.pyi b/temporalio/api/common/v1/message_pb2.pyi index 456e58975..f94baa802 100644 --- a/temporalio/api/common/v1/message_pb2.pyi +++ b/temporalio/api/common/v1/message_pb2.pyi @@ -2,14 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.event_type_pb2 import temporalio.api.enums.v1.reset_pb2 @@ -34,7 +37,12 @@ class DataBlob(google.protobuf.message.Message): encoding_type: temporalio.api.enums.v1.common_pb2.EncodingType.ValueType = ..., data: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "encoding_type", b"encoding_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "data", b"data", "encoding_type", b"encoding_type" + ], + ) -> None: ... global___DataBlob = DataBlob @@ -45,13 +53,19 @@ class Payloads(google.protobuf.message.Message): PAYLOADS_FIELD_NUMBER: builtins.int @property - def payloads(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Payload]: ... + def payloads( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Payload + ]: ... def __init__( self, *, payloads: collections.abc.Iterable[global___Payload] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["payloads", b"payloads"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["payloads", b"payloads"] + ) -> None: ... global___Payloads = Payloads @@ -76,12 +90,19 @@ class Payload(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int @property - def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bytes]: ... + def metadata( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, builtins.bytes + ]: ... data: builtins.bytes def __init__( self, @@ -89,7 +110,10 @@ class Payload(google.protobuf.message.Message): metadata: collections.abc.Mapping[builtins.str, builtins.bytes] | None = ..., data: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["data", b"data", "metadata", b"metadata"], + ) -> None: ... global___Payload = Payload @@ -114,18 +138,30 @@ class SearchAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... INDEXED_FIELDS_FIELD_NUMBER: builtins.int @property - def indexed_fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... + def indexed_fields( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___Payload + ]: ... def __init__( self, *, - indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., + indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"]) -> None: ... global___SearchAttributes = SearchAttributes @@ -148,18 +184,29 @@ class Memo(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @property - def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... + def fields( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___Payload + ]: ... def __init__( self, *, fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["fields", b"fields"] + ) -> None: ... global___Memo = Memo @@ -184,18 +231,29 @@ class Header(google.protobuf.message.Message): key: builtins.str = ..., value: global___Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @property - def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Payload]: ... + def fields( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___Payload + ]: ... def __init__( self, *, fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["fields", b"fields"] + ) -> None: ... global___Header = Header @@ -217,7 +275,12 @@ class WorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "workflow_id", b"workflow_id" + ], + ) -> None: ... global___WorkflowExecution = WorkflowExecution @@ -235,7 +298,9 @@ class WorkflowType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... global___WorkflowType = WorkflowType @@ -253,7 +318,9 @@ class ActivityType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... global___ActivityType = ActivityType @@ -285,7 +352,9 @@ class RetryPolicy(google.protobuf.message.Message): 1 disables retries. 0 means unlimited (up to the timeouts) """ @property - def non_retryable_error_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def non_retryable_error_types( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. """ @@ -298,8 +367,30 @@ class RetryPolicy(google.protobuf.message.Message): maximum_attempts: builtins.int = ..., non_retryable_error_types: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["initial_interval", b"initial_interval", "maximum_interval", b"maximum_interval"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["backoff_coefficient", b"backoff_coefficient", "initial_interval", b"initial_interval", "maximum_attempts", b"maximum_attempts", "maximum_interval", b"maximum_interval", "non_retryable_error_types", b"non_retryable_error_types"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "initial_interval", + b"initial_interval", + "maximum_interval", + b"maximum_interval", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "backoff_coefficient", + b"backoff_coefficient", + "initial_interval", + b"initial_interval", + "maximum_attempts", + b"maximum_attempts", + "maximum_interval", + b"maximum_interval", + "non_retryable_error_types", + b"non_retryable_error_types", + ], + ) -> None: ... global___RetryPolicy = RetryPolicy @@ -322,7 +413,13 @@ class MeteringMetadata(google.protobuf.message.Message): *, nonfirst_local_activity_execution_attempts: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["nonfirst_local_activity_execution_attempts", b"nonfirst_local_activity_execution_attempts"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "nonfirst_local_activity_execution_attempts", + b"nonfirst_local_activity_execution_attempts", + ], + ) -> None: ... global___MeteringMetadata = MeteringMetadata @@ -349,7 +446,12 @@ class WorkerVersionStamp(google.protobuf.message.Message): build_id: builtins.str = ..., use_versioning: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "use_versioning", b"use_versioning"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", b"build_id", "use_versioning", b"use_versioning" + ], + ) -> None: ... global___WorkerVersionStamp = WorkerVersionStamp @@ -380,7 +482,17 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): use_versioning: builtins.bool = ..., deployment_series_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_series_name", b"deployment_series_name", "use_versioning", b"use_versioning"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "deployment_series_name", + b"deployment_series_name", + "use_versioning", + b"use_versioning", + ], + ) -> None: ... global___WorkerVersionCapabilities = WorkerVersionCapabilities @@ -425,7 +537,11 @@ class ResetOptions(google.protobuf.message.Message): possibly others in the future.) """ @property - def reset_reapply_exclude_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType]: + def reset_reapply_exclude_types( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType + ]: """Event types not to be reapplied""" def __init__( self, @@ -436,11 +552,55 @@ class ResetOptions(google.protobuf.message.Message): build_id: builtins.str = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., current_run_only: builtins.bool = ..., - reset_reapply_exclude_types: collections.abc.Iterable[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType] | None = ..., + reset_reapply_exclude_types: collections.abc.Iterable[ + temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "first_workflow_task", + b"first_workflow_task", + "last_workflow_task", + b"last_workflow_task", + "target", + b"target", + "workflow_task_id", + b"workflow_task_id", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "current_run_only", + b"current_run_only", + "first_workflow_task", + b"first_workflow_task", + "last_workflow_task", + b"last_workflow_task", + "reset_reapply_exclude_types", + b"reset_reapply_exclude_types", + "reset_reapply_type", + b"reset_reapply_type", + "target", + b"target", + "workflow_task_id", + b"workflow_task_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "first_workflow_task", b"first_workflow_task", "last_workflow_task", b"last_workflow_task", "target", b"target", "workflow_task_id", b"workflow_task_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "current_run_only", b"current_run_only", "first_workflow_task", b"first_workflow_task", "last_workflow_task", b"last_workflow_task", "reset_reapply_exclude_types", b"reset_reapply_exclude_types", "reset_reapply_type", b"reset_reapply_type", "target", b"target", "workflow_task_id", b"workflow_task_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["target", b"target"]) -> typing_extensions.Literal["first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id"] | None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["target", b"target"] + ) -> ( + typing_extensions.Literal[ + "first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id" + ] + | None + ): ... global___ResetOptions = ResetOptions @@ -465,14 +625,19 @@ class Callback(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... URL_FIELD_NUMBER: builtins.int HEADER_FIELD_NUMBER: builtins.int url: builtins.str """Callback URL.""" @property - def header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to callback request.""" def __init__( self, @@ -480,7 +645,10 @@ class Callback(google.protobuf.message.Message): url: builtins.str = ..., header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "url", b"url"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["header", b"header", "url", b"url"], + ) -> None: ... class Internal(google.protobuf.message.Message): """Callbacks to be delivered internally within the system. @@ -499,7 +667,9 @@ class Callback(google.protobuf.message.Message): *, data: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["data", b"data"] + ) -> None: ... NEXUS_FIELD_NUMBER: builtins.int INTERNAL_FIELD_NUMBER: builtins.int @@ -509,7 +679,11 @@ class Callback(google.protobuf.message.Message): @property def internal(self) -> global___Callback.Internal: ... @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Link + ]: """Links associated with the callback. It can be used to link to underlying resources of the callback. """ @@ -520,9 +694,28 @@ class Callback(google.protobuf.message.Message): internal: global___Callback.Internal | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["internal", b"internal", "nexus", b"nexus", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["internal", b"internal", "links", b"links", "nexus", b"nexus", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["nexus", "internal"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "internal", b"internal", "nexus", b"nexus", "variant", b"variant" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "internal", + b"internal", + "links", + b"links", + "nexus", + b"nexus", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["nexus", "internal"] | None: ... global___Callback = Callback @@ -553,7 +746,12 @@ class Link(google.protobuf.message.Message): event_id: builtins.int = ..., event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["event_id", b"event_id", "event_type", b"event_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "event_id", b"event_id", "event_type", b"event_type" + ], + ) -> None: ... class RequestIdReference(google.protobuf.message.Message): """RequestIdReference is a indirect reference to a history event through the request ID.""" @@ -570,7 +768,12 @@ class Link(google.protobuf.message.Message): request_id: builtins.str = ..., event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["event_type", b"event_type", "request_id", b"request_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "event_type", b"event_type", "request_id", b"request_id" + ], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int WORKFLOW_ID_FIELD_NUMBER: builtins.int @@ -593,9 +796,37 @@ class Link(google.protobuf.message.Message): event_ref: global___Link.WorkflowEvent.EventReference | None = ..., request_id_ref: global___Link.WorkflowEvent.RequestIdReference | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["event_ref", b"event_ref", "reference", b"reference", "request_id_ref", b"request_id_ref"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["event_ref", b"event_ref", "namespace", b"namespace", "reference", b"reference", "request_id_ref", b"request_id_ref", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["reference", b"reference"]) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "event_ref", + b"event_ref", + "reference", + b"reference", + "request_id_ref", + b"request_id_ref", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "event_ref", + b"event_ref", + "namespace", + b"namespace", + "reference", + b"reference", + "request_id_ref", + b"request_id_ref", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["reference", b"reference"] + ) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... class BatchJob(google.protobuf.message.Message): """A link to a built-in batch job. @@ -612,7 +843,9 @@ class Link(google.protobuf.message.Message): *, job_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["job_id", b"job_id"] + ) -> None: ... WORKFLOW_EVENT_FIELD_NUMBER: builtins.int BATCH_JOB_FIELD_NUMBER: builtins.int @@ -626,9 +859,31 @@ class Link(google.protobuf.message.Message): workflow_event: global___Link.WorkflowEvent | None = ..., batch_job: global___Link.BatchJob | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["batch_job", b"batch_job", "variant", b"variant", "workflow_event", b"workflow_event"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["batch_job", b"batch_job", "variant", b"variant", "workflow_event", b"workflow_event"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["workflow_event", "batch_job"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "batch_job", + b"batch_job", + "variant", + b"variant", + "workflow_event", + b"workflow_event", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "batch_job", + b"batch_job", + "variant", + b"variant", + "workflow_event", + b"workflow_event", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["workflow_event", "batch_job"] | None: ... global___Link = Link @@ -728,7 +983,17 @@ class Priority(google.protobuf.message.Message): fairness_key: builtins.str = ..., fairness_weight: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["fairness_key", b"fairness_key", "fairness_weight", b"fairness_weight", "priority_key", b"priority_key"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "fairness_key", + b"fairness_key", + "fairness_weight", + b"fairness_weight", + "priority_key", + b"priority_key", + ], + ) -> None: ... global___Priority = Priority @@ -748,8 +1013,20 @@ class WorkerSelector(google.protobuf.message.Message): *, worker_instance_key: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["selector", b"selector", "worker_instance_key", b"worker_instance_key"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["selector", b"selector", "worker_instance_key", b"worker_instance_key"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["selector", b"selector"]) -> typing_extensions.Literal["worker_instance_key"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "selector", b"selector", "worker_instance_key", b"worker_instance_key" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "selector", b"selector", "worker_instance_key", b"worker_instance_key" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["selector", b"selector"] + ) -> typing_extensions.Literal["worker_instance_key"] | None: ... global___WorkerSelector = WorkerSelector diff --git a/temporalio/api/deployment/v1/__init__.py b/temporalio/api/deployment/v1/__init__.py index f5fb1bfb3..63d01878f 100644 --- a/temporalio/api/deployment/v1/__init__.py +++ b/temporalio/api/deployment/v1/__init__.py @@ -1,14 +1,16 @@ -from .message_pb2 import WorkerDeploymentOptions -from .message_pb2 import Deployment -from .message_pb2 import DeploymentInfo -from .message_pb2 import UpdateDeploymentMetadata -from .message_pb2 import DeploymentListInfo -from .message_pb2 import WorkerDeploymentVersionInfo -from .message_pb2 import VersionDrainageInfo -from .message_pb2 import WorkerDeploymentInfo -from .message_pb2 import WorkerDeploymentVersion -from .message_pb2 import VersionMetadata -from .message_pb2 import RoutingConfig +from .message_pb2 import ( + Deployment, + DeploymentInfo, + DeploymentListInfo, + RoutingConfig, + UpdateDeploymentMetadata, + VersionDrainageInfo, + VersionMetadata, + WorkerDeploymentInfo, + WorkerDeploymentOptions, + WorkerDeploymentVersion, + WorkerDeploymentVersionInfo, +) __all__ = [ "Deployment", diff --git a/temporalio/api/deployment/v1/message_pb2.py b/temporalio/api/deployment/v1/message_pb2.py index b87d45cbc..3a9b0127b 100644 --- a/temporalio/api/deployment/v1/message_pb2.py +++ b/temporalio/api/deployment/v1/message_pb2.py @@ -2,218 +2,296 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/deployment/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2 -from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode\"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08\"\x96\x07\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x07\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x1a\xac\x05\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\xf0\x03\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3') - - - -_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name['WorkerDeploymentOptions'] -_DEPLOYMENT = DESCRIPTOR.message_types_by_name['Deployment'] -_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name['DeploymentInfo'] -_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name['MetadataEntry'] -_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name['TaskQueueInfo'] -_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name['UpdateDeploymentMetadata'] -_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = _UPDATEDEPLOYMENTMETADATA.nested_types_by_name['UpsertEntriesEntry'] -_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name['DeploymentListInfo'] -_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersionInfo'] -_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name['VersionTaskQueueInfo'] -_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name['VersionDrainageInfo'] -_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name['WorkerDeploymentInfo'] -_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = _WORKERDEPLOYMENTINFO.nested_types_by_name['WorkerDeploymentVersionSummary'] -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersion'] -_VERSIONMETADATA = DESCRIPTOR.message_types_by_name['VersionMetadata'] -_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name['EntriesEntry'] -_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name['RoutingConfig'] -WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType('WorkerDeploymentOptions', (_message.Message,), { - 'DESCRIPTOR' : _WORKERDEPLOYMENTOPTIONS, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, +) +from temporalio.api.enums.v1 import ( + task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08"\x96\x07\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xd3\x07\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x1a\xac\x05\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xf0\x03\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3' +) + + +_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name["WorkerDeploymentOptions"] +_DEPLOYMENT = DESCRIPTOR.message_types_by_name["Deployment"] +_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["DeploymentInfo"] +_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name["MetadataEntry"] +_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name["TaskQueueInfo"] +_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name["UpdateDeploymentMetadata"] +_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = ( + _UPDATEDEPLOYMENTMETADATA.nested_types_by_name["UpsertEntriesEntry"] +) +_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name["DeploymentListInfo"] +_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name[ + "WorkerDeploymentVersionInfo" +] +_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = ( + _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name["VersionTaskQueueInfo"] +) +_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name["VersionDrainageInfo"] +_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["WorkerDeploymentInfo"] +_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = ( + _WORKERDEPLOYMENTINFO.nested_types_by_name["WorkerDeploymentVersionSummary"] +) +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] +_VERSIONMETADATA = DESCRIPTOR.message_types_by_name["VersionMetadata"] +_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name["EntriesEntry"] +_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name["RoutingConfig"] +WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentOptions", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTOPTIONS, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) + }, +) _sym_db.RegisterMessage(WorkerDeploymentOptions) -Deployment = _reflection.GeneratedProtocolMessageType('Deployment', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENT, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) - }) +Deployment = _reflection.GeneratedProtocolMessageType( + "Deployment", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENT, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) + }, +) _sym_db.RegisterMessage(Deployment) -DeploymentInfo = _reflection.GeneratedProtocolMessageType('DeploymentInfo', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENTINFO_METADATAENTRY, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) - }) - , - - 'TaskQueueInfo' : _reflection.GeneratedProtocolMessageType('TaskQueueInfo', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENTINFO_TASKQUEUEINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) - }) - , - 'DESCRIPTOR' : _DEPLOYMENTINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) - }) +DeploymentInfo = _reflection.GeneratedProtocolMessageType( + "DeploymentInfo", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTINFO_METADATAENTRY, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) + }, + ), + "TaskQueueInfo": _reflection.GeneratedProtocolMessageType( + "TaskQueueInfo", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTINFO_TASKQUEUEINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) + }, + ), + "DESCRIPTOR": _DEPLOYMENTINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) + }, +) _sym_db.RegisterMessage(DeploymentInfo) _sym_db.RegisterMessage(DeploymentInfo.MetadataEntry) _sym_db.RegisterMessage(DeploymentInfo.TaskQueueInfo) -UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType('UpdateDeploymentMetadata', (_message.Message,), { - - 'UpsertEntriesEntry' : _reflection.GeneratedProtocolMessageType('UpsertEntriesEntry', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) - }) - , - 'DESCRIPTOR' : _UPDATEDEPLOYMENTMETADATA, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) - }) +UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType( + "UpdateDeploymentMetadata", + (_message.Message,), + { + "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( + "UpsertEntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) + }, + ), + "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) + }, +) _sym_db.RegisterMessage(UpdateDeploymentMetadata) _sym_db.RegisterMessage(UpdateDeploymentMetadata.UpsertEntriesEntry) -DeploymentListInfo = _reflection.GeneratedProtocolMessageType('DeploymentListInfo', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENTLISTINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) - }) +DeploymentListInfo = _reflection.GeneratedProtocolMessageType( + "DeploymentListInfo", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTLISTINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) + }, +) _sym_db.RegisterMessage(DeploymentListInfo) -WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersionInfo', (_message.Message,), { - - 'VersionTaskQueueInfo' : _reflection.GeneratedProtocolMessageType('VersionTaskQueueInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) - }) - , - 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSIONINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) - }) +WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersionInfo", + (_message.Message,), + { + "VersionTaskQueueInfo": _reflection.GeneratedProtocolMessageType( + "VersionTaskQueueInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) + }, + ), + "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) + }, +) _sym_db.RegisterMessage(WorkerDeploymentVersionInfo) _sym_db.RegisterMessage(WorkerDeploymentVersionInfo.VersionTaskQueueInfo) -VersionDrainageInfo = _reflection.GeneratedProtocolMessageType('VersionDrainageInfo', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONDRAINAGEINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) - }) +VersionDrainageInfo = _reflection.GeneratedProtocolMessageType( + "VersionDrainageInfo", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONDRAINAGEINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) + }, +) _sym_db.RegisterMessage(VersionDrainageInfo) -WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType('WorkerDeploymentInfo', (_message.Message,), { - - 'WorkerDeploymentVersionSummary' : _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersionSummary', (_message.Message,), { - 'DESCRIPTOR' : _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) - }) - , - 'DESCRIPTOR' : _WORKERDEPLOYMENTINFO, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) - }) +WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentInfo", + (_message.Message,), + { + "WorkerDeploymentVersionSummary": _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersionSummary", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) + }, + ), + "DESCRIPTOR": _WORKERDEPLOYMENTINFO, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) + }, +) _sym_db.RegisterMessage(WorkerDeploymentInfo) _sym_db.RegisterMessage(WorkerDeploymentInfo.WorkerDeploymentVersionSummary) -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersion', (_message.Message,), { - 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSION, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) - }) +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersion", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) + }, +) _sym_db.RegisterMessage(WorkerDeploymentVersion) -VersionMetadata = _reflection.GeneratedProtocolMessageType('VersionMetadata', (_message.Message,), { - - 'EntriesEntry' : _reflection.GeneratedProtocolMessageType('EntriesEntry', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONMETADATA_ENTRIESENTRY, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) - }) - , - 'DESCRIPTOR' : _VERSIONMETADATA, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) - }) +VersionMetadata = _reflection.GeneratedProtocolMessageType( + "VersionMetadata", + (_message.Message,), + { + "EntriesEntry": _reflection.GeneratedProtocolMessageType( + "EntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONMETADATA_ENTRIESENTRY, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) + }, + ), + "DESCRIPTOR": _VERSIONMETADATA, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) + }, +) _sym_db.RegisterMessage(VersionMetadata) _sym_db.RegisterMessage(VersionMetadata.EntriesEntry) -RoutingConfig = _reflection.GeneratedProtocolMessageType('RoutingConfig', (_message.Message,), { - 'DESCRIPTOR' : _ROUTINGCONFIG, - '__module__' : 'temporal.api.deployment.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) - }) +RoutingConfig = _reflection.GeneratedProtocolMessageType( + "RoutingConfig", + (_message.Message,), + { + "DESCRIPTOR": _ROUTINGCONFIG, + "__module__": "temporal.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) + }, +) _sym_db.RegisterMessage(RoutingConfig) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1' - _DEPLOYMENTINFO_METADATAENTRY._options = None - _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b'8\001' - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b'8\001' - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name['version']._options = None - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name['version']._serialized_options = b'\030\001' - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name['version']._options = None - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name['version']._serialized_options = b'\030\001' - _VERSIONMETADATA_ENTRIESENTRY._options = None - _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b'8\001' - _ROUTINGCONFIG.fields_by_name['current_version']._options = None - _ROUTINGCONFIG.fields_by_name['current_version']._serialized_options = b'\030\001' - _ROUTINGCONFIG.fields_by_name['ramping_version']._options = None - _ROUTINGCONFIG.fields_by_name['ramping_version']._serialized_options = b'\030\001' - _WORKERDEPLOYMENTOPTIONS._serialized_start=224 - _WORKERDEPLOYMENTOPTIONS._serialized_end=369 - _DEPLOYMENT._serialized_start=371 - _DEPLOYMENT._serialized_end=422 - _DEPLOYMENTINFO._serialized_start=425 - _DEPLOYMENTINFO._serialized_end=951 - _DEPLOYMENTINFO_METADATAENTRY._serialized_start=732 - _DEPLOYMENTINFO_METADATAENTRY._serialized_end=812 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start=815 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end=951 - _UPDATEDEPLOYMENTMETADATA._serialized_start=954 - _UPDATEDEPLOYMENTMETADATA._serialized_end=1188 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start=1103 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end=1188 - _DEPLOYMENTLISTINFO._serialized_start=1191 - _DEPLOYMENTLISTINFO._serialized_end=1340 - _WORKERDEPLOYMENTVERSIONINFO._serialized_start=1343 - _WORKERDEPLOYMENTVERSIONINFO._serialized_end=2261 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start=2173 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end=2261 - _VERSIONDRAINAGEINFO._serialized_start=2264 - _VERSIONDRAINAGEINFO._serialized_end=2457 - _WORKERDEPLOYMENTINFO._serialized_start=2460 - _WORKERDEPLOYMENTINFO._serialized_end=3439 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start=2755 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end=3439 - _WORKERDEPLOYMENTVERSION._serialized_start=3441 - _WORKERDEPLOYMENTVERSION._serialized_end=3509 - _VERSIONMETADATA._serialized_start=3512 - _VERSIONMETADATA._serialized_end=3685 - _VERSIONMETADATA_ENTRIESENTRY._serialized_start=3606 - _VERSIONMETADATA_ENTRIESENTRY._serialized_end=3685 - _ROUTINGCONFIG._serialized_start=3688 - _ROUTINGCONFIG._serialized_end=4184 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" + _DEPLOYMENTINFO_METADATAENTRY._options = None + _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b"8\001" + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b"8\001" + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name["version"]._options = None + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ + "version" + ]._options = None + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _VERSIONMETADATA_ENTRIESENTRY._options = None + _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b"8\001" + _ROUTINGCONFIG.fields_by_name["current_version"]._options = None + _ROUTINGCONFIG.fields_by_name["current_version"]._serialized_options = b"\030\001" + _ROUTINGCONFIG.fields_by_name["ramping_version"]._options = None + _ROUTINGCONFIG.fields_by_name["ramping_version"]._serialized_options = b"\030\001" + _WORKERDEPLOYMENTOPTIONS._serialized_start = 224 + _WORKERDEPLOYMENTOPTIONS._serialized_end = 369 + _DEPLOYMENT._serialized_start = 371 + _DEPLOYMENT._serialized_end = 422 + _DEPLOYMENTINFO._serialized_start = 425 + _DEPLOYMENTINFO._serialized_end = 951 + _DEPLOYMENTINFO_METADATAENTRY._serialized_start = 732 + _DEPLOYMENTINFO_METADATAENTRY._serialized_end = 812 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start = 815 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end = 951 + _UPDATEDEPLOYMENTMETADATA._serialized_start = 954 + _UPDATEDEPLOYMENTMETADATA._serialized_end = 1188 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start = 1103 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end = 1188 + _DEPLOYMENTLISTINFO._serialized_start = 1191 + _DEPLOYMENTLISTINFO._serialized_end = 1340 + _WORKERDEPLOYMENTVERSIONINFO._serialized_start = 1343 + _WORKERDEPLOYMENTVERSIONINFO._serialized_end = 2261 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start = 2173 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end = 2261 + _VERSIONDRAINAGEINFO._serialized_start = 2264 + _VERSIONDRAINAGEINFO._serialized_end = 2457 + _WORKERDEPLOYMENTINFO._serialized_start = 2460 + _WORKERDEPLOYMENTINFO._serialized_end = 3439 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start = 2755 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end = 3439 + _WORKERDEPLOYMENTVERSION._serialized_start = 3441 + _WORKERDEPLOYMENTVERSION._serialized_end = 3509 + _VERSIONMETADATA._serialized_start = 3512 + _VERSIONMETADATA._serialized_end = 3685 + _VERSIONMETADATA_ENTRIESENTRY._serialized_start = 3606 + _VERSIONMETADATA_ENTRIESENTRY._serialized_end = 3685 + _ROUTINGCONFIG._serialized_start = 3688 + _ROUTINGCONFIG._serialized_end = 4184 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/deployment/v1/message_pb2.pyi b/temporalio/api/deployment/v1/message_pb2.pyi index a38595abc..79936effc 100644 --- a/temporalio/api/deployment/v1/message_pb2.pyi +++ b/temporalio/api/deployment/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.deployment_pb2 import temporalio.api.enums.v1.task_queue_pb2 @@ -36,7 +39,9 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): """The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, the worker will be part of a Deployment Version. """ - worker_versioning_mode: temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType + worker_versioning_mode: ( + temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType + ) """Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version. @@ -48,7 +53,17 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): build_id: builtins.str = ..., worker_versioning_mode: temporalio.api.enums.v1.deployment_pb2.WorkerVersioningMode.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name", "worker_versioning_mode", b"worker_versioning_mode"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "deployment_name", + b"deployment_name", + "worker_versioning_mode", + b"worker_versioning_mode", + ], + ) -> None: ... global___WorkerDeploymentOptions = WorkerDeploymentOptions @@ -80,7 +95,12 @@ class Deployment(google.protobuf.message.Message): series_name: builtins.str = ..., build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "series_name", b"series_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", b"build_id", "series_name", b"series_name" + ], + ) -> None: ... global___Deployment = Deployment @@ -107,8 +127,13 @@ class DeploymentInfo(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class TaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -128,8 +153,23 @@ class DeploymentInfo(google.protobuf.message.Message): type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., first_poller_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["first_poller_time", b"first_poller_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["first_poller_time", b"first_poller_time", "name", b"name", "type", b"type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "first_poller_time", b"first_poller_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "first_poller_time", + b"first_poller_time", + "name", + b"name", + "type", + b"type", + ], + ) -> None: ... DEPLOYMENT_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @@ -141,9 +181,17 @@ class DeploymentInfo(google.protobuf.message.Message): @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property - def task_queue_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DeploymentInfo.TaskQueueInfo]: ... + def task_queue_infos( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___DeploymentInfo.TaskQueueInfo + ]: ... @property - def metadata(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def metadata( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """A user-defined set of key-values. Can be updated as part of write operations to the deployment, such as `SetCurrentDeployment`. """ @@ -154,12 +202,37 @@ class DeploymentInfo(google.protobuf.message.Message): *, deployment: global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - task_queue_infos: collections.abc.Iterable[global___DeploymentInfo.TaskQueueInfo] | None = ..., - metadata: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + task_queue_infos: collections.abc.Iterable[ + global___DeploymentInfo.TaskQueueInfo + ] + | None = ..., + metadata: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., is_current: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment", "is_current", b"is_current", "metadata", b"metadata", "task_queue_infos", b"task_queue_infos"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "deployment", b"deployment" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "deployment", + b"deployment", + "is_current", + b"is_current", + "metadata", + b"metadata", + "task_queue_infos", + b"task_queue_infos", + ], + ) -> None: ... global___DeploymentInfo = DeploymentInfo @@ -184,23 +257,42 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... UPSERT_ENTRIES_FIELD_NUMBER: builtins.int REMOVE_ENTRIES_FIELD_NUMBER: builtins.int @property - def upsert_entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... + def upsert_entries( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def remove_entries(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def remove_entries( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" def __init__( self, *, - upsert_entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + upsert_entries: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., remove_entries: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries" + ], + ) -> None: ... global___UpdateDeploymentMetadata = UpdateDeploymentMetadata @@ -228,17 +320,32 @@ class DeploymentListInfo(google.protobuf.message.Message): create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_current: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "deployment", b"deployment", "is_current", b"is_current"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "deployment", b"deployment" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "deployment", + b"deployment", + "is_current", + b"is_current", + ], + ) -> None: ... global___DeploymentListInfo = DeploymentListInfo class WorkerDeploymentVersionInfo(google.protobuf.message.Message): - """A Worker Deployment Version (Version, for short) represents all workers of the same - code and config within a Deployment. Workers of the same Version are expected to - behave exactly the same so when executions move between them there are no + """A Worker Deployment Version (Version, for short) represents all workers of the same + code and config within a Deployment. Workers of the same Version are expected to + behave exactly the same so when executions move between them there are no non-determinism issues. - Worker Deployment Versions are created in Temporal server automatically when + Worker Deployment Versions are created in Temporal server automatically when their first poller arrives to the server. Experimental. Worker Deployments are experimental and might significantly change in the future. """ @@ -258,7 +365,10 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): name: builtins.str = ..., type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["name", b"name", "type", b"type"], + ) -> None: ... VERSION_FIELD_NUMBER: builtins.int STATUS_FIELD_NUMBER: builtins.int @@ -276,7 +386,9 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): METADATA_FIELD_NUMBER: builtins.int version: builtins.str """Deprecated. Use `deployment_version`.""" - status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType + status: ( + temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType + ) """The status of the Worker Deployment Version.""" @property def deployment_version(self) -> global___WorkerDeploymentVersion: @@ -310,7 +422,11 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): Can be in the range [0, 100] if the version is ramping. """ @property - def task_queue_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo]: + def task_queue_infos( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + ]: """All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. """ @@ -347,12 +463,69 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): first_activation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramp_percentage: builtins.float = ..., - task_queue_infos: collections.abc.Iterable[global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo] | None = ..., + task_queue_infos: collections.abc.Iterable[ + global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + ] + | None = ..., drainage_info: global___VersionDrainageInfo | None = ..., metadata: global___VersionMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "metadata", b"metadata", "ramping_since_time", b"ramping_since_time", "routing_changed_time", b"routing_changed_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_name", b"deployment_name", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "metadata", b"metadata", "ramp_percentage", b"ramp_percentage", "ramping_since_time", b"ramping_since_time", "routing_changed_time", b"routing_changed_time", "status", b"status", "task_queue_infos", b"task_queue_infos", "version", b"version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_since_time", + b"current_since_time", + "deployment_version", + b"deployment_version", + "drainage_info", + b"drainage_info", + "first_activation_time", + b"first_activation_time", + "last_deactivation_time", + b"last_deactivation_time", + "metadata", + b"metadata", + "ramping_since_time", + b"ramping_since_time", + "routing_changed_time", + b"routing_changed_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_since_time", + b"current_since_time", + "deployment_name", + b"deployment_name", + "deployment_version", + b"deployment_version", + "drainage_info", + b"drainage_info", + "first_activation_time", + b"first_activation_time", + "last_deactivation_time", + b"last_deactivation_time", + "metadata", + b"metadata", + "ramp_percentage", + b"ramp_percentage", + "ramping_since_time", + b"ramping_since_time", + "routing_changed_time", + b"routing_changed_time", + "status", + b"status", + "task_queue_infos", + b"task_queue_infos", + "version", + b"version", + ], + ) -> None: ... global___WorkerDeploymentVersionInfo = WorkerDeploymentVersionInfo @@ -384,16 +557,34 @@ class VersionDrainageInfo(google.protobuf.message.Message): last_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_checked_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_changed_time", b"last_changed_time", "last_checked_time", b"last_checked_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["last_changed_time", b"last_changed_time", "last_checked_time", b"last_checked_time", "status", b"status"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_changed_time", + b"last_changed_time", + "last_checked_time", + b"last_checked_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "last_changed_time", + b"last_changed_time", + "last_checked_time", + b"last_checked_time", + "status", + b"status", + ], + ) -> None: ... global___VersionDrainageInfo = VersionDrainageInfo class WorkerDeploymentInfo(google.protobuf.message.Message): - """A Worker Deployment (Deployment, for short) represents all workers serving - a shared set of Task Queues. Typically, a Deployment represents one service or + """A Worker Deployment (Deployment, for short) represents all workers serving + a shared set of Task Queues. Typically, a Deployment represents one service or application. - A Deployment contains multiple Deployment Versions, each representing a different + A Deployment contains multiple Deployment Versions, each representing a different version of workers. (see documentation of WorkerDeploymentVersionInfo) Deployment records are created in Temporal server automatically when their first poller arrives to the server. @@ -425,7 +616,9 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): """Required.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - drainage_status: temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType + drainage_status: ( + temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType + ) """Deprecated. Use `drainage_info` instead.""" @property def drainage_info(self) -> global___VersionDrainageInfo: @@ -466,10 +659,57 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ramping_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., first_activation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_since_time", + b"current_since_time", + "deployment_version", + b"deployment_version", + "drainage_info", + b"drainage_info", + "first_activation_time", + b"first_activation_time", + "last_deactivation_time", + b"last_deactivation_time", + "ramping_since_time", + b"ramping_since_time", + "routing_update_time", + b"routing_update_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_since_time", + b"current_since_time", + "deployment_version", + b"deployment_version", + "drainage_info", + b"drainage_info", + "drainage_status", + b"drainage_status", + "first_activation_time", + b"first_activation_time", + "last_deactivation_time", + b"last_deactivation_time", + "ramping_since_time", + b"ramping_since_time", + "routing_update_time", + b"routing_update_time", + "status", + b"status", + "version", + b"version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "ramping_since_time", b"ramping_since_time", "routing_update_time", b"routing_update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_since_time", b"current_since_time", "deployment_version", b"deployment_version", "drainage_info", b"drainage_info", "drainage_status", b"drainage_status", "first_activation_time", b"first_activation_time", "last_deactivation_time", b"last_deactivation_time", "ramping_since_time", b"ramping_since_time", "routing_update_time", b"routing_update_time", "status", b"status", "version", b"version"]) -> None: ... NAME_FIELD_NUMBER: builtins.int VERSION_SUMMARIES_FIELD_NUMBER: builtins.int @@ -479,11 +719,15 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): name: builtins.str """Identifies a Worker Deployment. Must be unique within the namespace.""" @property - def version_summaries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary]: + def version_summaries( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + ]: """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) + - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status) """ @property @@ -499,13 +743,35 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): self, *, name: builtins.str = ..., - version_summaries: collections.abc.Iterable[global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary] | None = ..., + version_summaries: collections.abc.Iterable[ + global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + ] + | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_config: global___RoutingConfig | None = ..., last_modifier_identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "routing_config", b"routing_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "last_modifier_identity", b"last_modifier_identity", "name", b"name", "routing_config", b"routing_config", "version_summaries", b"version_summaries"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "routing_config", b"routing_config" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "last_modifier_identity", + b"last_modifier_identity", + "name", + b"name", + "routing_config", + b"routing_config", + "version_summaries", + b"version_summaries", + ], + ) -> None: ... global___WorkerDeploymentInfo = WorkerDeploymentInfo @@ -535,7 +801,12 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): build_id: builtins.str = ..., deployment_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", b"build_id", "deployment_name", b"deployment_name" + ], + ) -> None: ... global___WorkerDeploymentVersion = WorkerDeploymentVersion @@ -556,19 +827,33 @@ class VersionMetadata(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... ENTRIES_FIELD_NUMBER: builtins.int @property - def entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def entries( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Arbitrary key-values.""" def __init__( self, *, - entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + entries: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["entries", b"entries"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entries", b"entries"]) -> None: ... global___VersionMetadata = VersionMetadata @@ -587,7 +872,7 @@ class RoutingConfig(google.protobuf.message.Message): def current_deployment_version(self) -> global___WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. - Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). + Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ @@ -616,7 +901,9 @@ class RoutingConfig(google.protobuf.message.Message): def ramping_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version was changed. Not updated if only the ramp percentage changes.""" @property - def ramping_version_percentage_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + def ramping_version_percentage_changed_time( + self, + ) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version percentage was changed. If ramping version is changed, this is also updated, even if the percentage stays the same. """ @@ -628,11 +915,48 @@ class RoutingConfig(google.protobuf.message.Message): ramping_deployment_version: global___WorkerDeploymentVersion | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., - current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ramping_version_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ramping_version_percentage_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + ramping_version_changed_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + ramping_version_percentage_changed_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_version", + b"current_deployment_version", + "current_version_changed_time", + b"current_version_changed_time", + "ramping_deployment_version", + b"ramping_deployment_version", + "ramping_version_changed_time", + b"ramping_version_changed_time", + "ramping_version_percentage_changed_time", + b"ramping_version_percentage_changed_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_version", + b"current_deployment_version", + "current_version", + b"current_version", + "current_version_changed_time", + b"current_version_changed_time", + "ramping_deployment_version", + b"ramping_deployment_version", + "ramping_version", + b"ramping_version", + "ramping_version_changed_time", + b"ramping_version_changed_time", + "ramping_version_percentage", + b"ramping_version_percentage", + "ramping_version_percentage_changed_time", + b"ramping_version_percentage_changed_time", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version_changed_time", b"current_version_changed_time", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version_changed_time", b"ramping_version_changed_time", "ramping_version_percentage_changed_time", b"ramping_version_percentage_changed_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version", b"current_version", "current_version_changed_time", b"current_version_changed_time", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version", b"ramping_version", "ramping_version_changed_time", b"ramping_version_changed_time", "ramping_version_percentage", b"ramping_version_percentage", "ramping_version_percentage_changed_time", b"ramping_version_percentage_changed_time"]) -> None: ... global___RoutingConfig = RoutingConfig diff --git a/temporalio/api/enums/v1/__init__.py b/temporalio/api/enums/v1/__init__.py index cf3d2c521..156d02e86 100644 --- a/temporalio/api/enums/v1/__init__.py +++ b/temporalio/api/enums/v1/__init__.py @@ -1,55 +1,58 @@ +from .batch_operation_pb2 import BatchOperationState, BatchOperationType +from .command_type_pb2 import CommandType +from .common_pb2 import ( + ApplicationErrorCategory, + CallbackState, + EncodingType, + IndexedValueType, + NexusOperationCancellationState, + PendingNexusOperationState, + Severity, + WorkerStatus, + WorkflowRuleActionScope, +) +from .deployment_pb2 import ( + DeploymentReachability, + VersionDrainageStatus, + WorkerDeploymentVersionStatus, + WorkerVersioningMode, +) +from .event_type_pb2 import EventType +from .failed_cause_pb2 import ( + CancelExternalWorkflowExecutionFailedCause, + ResourceExhaustedCause, + ResourceExhaustedScope, + SignalExternalWorkflowExecutionFailedCause, + StartChildWorkflowExecutionFailedCause, + WorkflowTaskFailedCause, +) +from .namespace_pb2 import ArchivalState, NamespaceState, ReplicationState from .nexus_pb2 import NexusHandlerErrorRetryBehavior -from .workflow_pb2 import WorkflowIdReusePolicy -from .workflow_pb2 import WorkflowIdConflictPolicy -from .workflow_pb2 import ParentClosePolicy -from .workflow_pb2 import ContinueAsNewInitiator -from .workflow_pb2 import WorkflowExecutionStatus -from .workflow_pb2 import PendingActivityState -from .workflow_pb2 import PendingWorkflowTaskState -from .workflow_pb2 import HistoryEventFilterType -from .workflow_pb2 import RetryState -from .workflow_pb2 import TimeoutType -from .workflow_pb2 import VersioningBehavior -from .batch_operation_pb2 import BatchOperationType -from .batch_operation_pb2 import BatchOperationState -from .namespace_pb2 import NamespaceState -from .namespace_pb2 import ArchivalState -from .namespace_pb2 import ReplicationState -from .update_pb2 import UpdateWorkflowExecutionLifecycleStage -from .update_pb2 import UpdateAdmittedEventOrigin -from .query_pb2 import QueryResultType -from .query_pb2 import QueryRejectCondition -from .task_queue_pb2 import TaskQueueKind -from .task_queue_pb2 import TaskQueueType -from .task_queue_pb2 import TaskReachability -from .task_queue_pb2 import BuildIdTaskReachability -from .task_queue_pb2 import DescribeTaskQueueMode -from .task_queue_pb2 import RateLimitSource -from .reset_pb2 import ResetReapplyExcludeType -from .reset_pb2 import ResetReapplyType -from .reset_pb2 import ResetType -from .deployment_pb2 import DeploymentReachability -from .deployment_pb2 import VersionDrainageStatus -from .deployment_pb2 import WorkerVersioningMode -from .deployment_pb2 import WorkerDeploymentVersionStatus -from .common_pb2 import EncodingType -from .common_pb2 import IndexedValueType -from .common_pb2 import Severity -from .common_pb2 import CallbackState -from .common_pb2 import PendingNexusOperationState -from .common_pb2 import NexusOperationCancellationState -from .common_pb2 import WorkflowRuleActionScope -from .common_pb2 import ApplicationErrorCategory -from .common_pb2 import WorkerStatus +from .query_pb2 import QueryRejectCondition, QueryResultType +from .reset_pb2 import ResetReapplyExcludeType, ResetReapplyType, ResetType from .schedule_pb2 import ScheduleOverlapPolicy -from .event_type_pb2 import EventType -from .command_type_pb2 import CommandType -from .failed_cause_pb2 import WorkflowTaskFailedCause -from .failed_cause_pb2 import StartChildWorkflowExecutionFailedCause -from .failed_cause_pb2 import CancelExternalWorkflowExecutionFailedCause -from .failed_cause_pb2 import SignalExternalWorkflowExecutionFailedCause -from .failed_cause_pb2 import ResourceExhaustedCause -from .failed_cause_pb2 import ResourceExhaustedScope +from .task_queue_pb2 import ( + BuildIdTaskReachability, + DescribeTaskQueueMode, + RateLimitSource, + TaskQueueKind, + TaskQueueType, + TaskReachability, +) +from .update_pb2 import UpdateAdmittedEventOrigin, UpdateWorkflowExecutionLifecycleStage +from .workflow_pb2 import ( + ContinueAsNewInitiator, + HistoryEventFilterType, + ParentClosePolicy, + PendingActivityState, + PendingWorkflowTaskState, + RetryState, + TimeoutType, + VersioningBehavior, + WorkflowExecutionStatus, + WorkflowIdConflictPolicy, + WorkflowIdReusePolicy, +) __all__ = [ "ApplicationErrorCategory", diff --git a/temporalio/api/enums/v1/batch_operation_pb2.py b/temporalio/api/enums/v1/batch_operation_pb2.py index 85838147f..60c9d7f2f 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.py +++ b/temporalio/api/enums/v1/batch_operation_pb2.py @@ -2,24 +2,26 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/batch_operation.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12\'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name['BatchOperationType'] +_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name["BatchOperationType"] BatchOperationType = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONTYPE) -_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name['BatchOperationState'] +_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name["BatchOperationState"] BatchOperationState = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONSTATE) BATCH_OPERATION_TYPE_UNSPECIFIED = 0 BATCH_OPERATION_TYPE_TERMINATE = 1 @@ -38,11 +40,10 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _BATCHOPERATIONTYPE._serialized_start=71 - _BATCHOPERATIONTYPE._serialized_end=481 - _BATCHOPERATIONSTATE._serialized_start=484 - _BATCHOPERATIONSTATE._serialized_end=650 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _BATCHOPERATIONTYPE._serialized_start = 71 + _BATCHOPERATIONTYPE._serialized_end = 481 + _BATCHOPERATIONSTATE._serialized_start = 484 + _BATCHOPERATIONSTATE._serialized_end = 650 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/batch_operation_pb2.pyi b/temporalio/api/enums/v1/batch_operation_pb2.pyi index e9ae71c2d..49f426ebb 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.pyi +++ b/temporalio/api/enums/v1/batch_operation_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _BatchOperationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BatchOperationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BatchOperationType.ValueType], builtins.type): # noqa: F821 +class _BatchOperationTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _BatchOperationType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_TYPE_UNSPECIFIED: _BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: _BatchOperationType.ValueType # 1 @@ -32,7 +39,9 @@ class _BatchOperationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrap BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS: _BatchOperationType.ValueType # 8 BATCH_OPERATION_TYPE_RESET_ACTIVITY: _BatchOperationType.ValueType # 9 -class BatchOperationType(_BatchOperationType, metaclass=_BatchOperationTypeEnumTypeWrapper): ... +class BatchOperationType( + _BatchOperationType, metaclass=_BatchOperationTypeEnumTypeWrapper +): ... BATCH_OPERATION_TYPE_UNSPECIFIED: BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: BatchOperationType.ValueType # 1 @@ -50,14 +59,21 @@ class _BatchOperationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BatchOperationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BatchOperationState.ValueType], builtins.type): # noqa: F821 +class _BatchOperationStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _BatchOperationState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_STATE_UNSPECIFIED: _BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: _BatchOperationState.ValueType # 1 BATCH_OPERATION_STATE_COMPLETED: _BatchOperationState.ValueType # 2 BATCH_OPERATION_STATE_FAILED: _BatchOperationState.ValueType # 3 -class BatchOperationState(_BatchOperationState, metaclass=_BatchOperationStateEnumTypeWrapper): ... +class BatchOperationState( + _BatchOperationState, metaclass=_BatchOperationStateEnumTypeWrapper +): ... BATCH_OPERATION_STATE_UNSPECIFIED: BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: BatchOperationState.ValueType # 1 diff --git a/temporalio/api/enums/v1/command_type_pb2.py b/temporalio/api/enums/v1/command_type_pb2.py index 8c203c53c..6d1c3b6e5 100644 --- a/temporalio/api/enums/v1/command_type_pb2.py +++ b/temporalio/api/enums/v1/command_type_pb2.py @@ -2,22 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/command_type.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12\'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n\'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_COMMANDTYPE = DESCRIPTOR.enum_types_by_name['CommandType'] +_COMMANDTYPE = DESCRIPTOR.enum_types_by_name["CommandType"] CommandType = enum_type_wrapper.EnumTypeWrapper(_COMMANDTYPE) COMMAND_TYPE_UNSPECIFIED = 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1 @@ -40,9 +42,8 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _COMMANDTYPE._serialized_start=68 - _COMMANDTYPE._serialized_end=864 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _COMMANDTYPE._serialized_start = 68 + _COMMANDTYPE._serialized_end = 864 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/command_type_pb2.pyi b/temporalio/api/enums/v1/command_type_pb2.pyi index 22fa6c190..9f1bfd240 100644 --- a/temporalio/api/enums/v1/command_type_pb2.pyi +++ b/temporalio/api/enums/v1/command_type_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,10 @@ class _CommandType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CommandTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], builtins.type): # noqa: F821 +class _CommandTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor COMMAND_TYPE_UNSPECIFIED: _CommandType.ValueType # 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK: _CommandType.ValueType # 1 diff --git a/temporalio/api/enums/v1/common_pb2.py b/temporalio/api/enums/v1/common_pb2.py index a1e84943f..557ce7631 100644 --- a/temporalio/api/enums/v1/common_pb2.py +++ b/temporalio/api/enums/v1/common_pb2.py @@ -2,38 +2,48 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/common.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n\'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name['EncodingType'] +_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name["EncodingType"] EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE) -_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name['IndexedValueType'] +_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name["IndexedValueType"] IndexedValueType = enum_type_wrapper.EnumTypeWrapper(_INDEXEDVALUETYPE) -_SEVERITY = DESCRIPTOR.enum_types_by_name['Severity'] +_SEVERITY = DESCRIPTOR.enum_types_by_name["Severity"] Severity = enum_type_wrapper.EnumTypeWrapper(_SEVERITY) -_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name['CallbackState'] +_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name["CallbackState"] CallbackState = enum_type_wrapper.EnumTypeWrapper(_CALLBACKSTATE) -_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name['PendingNexusOperationState'] -PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper(_PENDINGNEXUSOPERATIONSTATE) -_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name['NexusOperationCancellationState'] -NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper(_NEXUSOPERATIONCANCELLATIONSTATE) -_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name['WorkflowRuleActionScope'] +_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name[ + "PendingNexusOperationState" +] +PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper( + _PENDINGNEXUSOPERATIONSTATE +) +_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name[ + "NexusOperationCancellationState" +] +NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper( + _NEXUSOPERATIONCANCELLATIONSTATE +) +_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name["WorkflowRuleActionScope"] WorkflowRuleActionScope = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWRULEACTIONSCOPE) -_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name['ApplicationErrorCategory'] +_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name["ApplicationErrorCategory"] ApplicationErrorCategory = enum_type_wrapper.EnumTypeWrapper(_APPLICATIONERRORCATEGORY) -_WORKERSTATUS = DESCRIPTOR.enum_types_by_name['WorkerStatus'] +_WORKERSTATUS = DESCRIPTOR.enum_types_by_name["WorkerStatus"] WorkerStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERSTATUS) ENCODING_TYPE_UNSPECIFIED = 0 ENCODING_TYPE_PROTO3 = 1 @@ -81,25 +91,24 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _ENCODINGTYPE._serialized_start=61 - _ENCODINGTYPE._serialized_end=156 - _INDEXEDVALUETYPE._serialized_start=159 - _INDEXEDVALUETYPE._serialized_end=432 - _SEVERITY._serialized_start=434 - _SEVERITY._serialized_end=528 - _CALLBACKSTATE._serialized_start=531 - _CALLBACKSTATE._serialized_end=753 - _PENDINGNEXUSOPERATIONSTATE._serialized_start=756 - _PENDINGNEXUSOPERATIONSTATE._serialized_end=1009 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start=1012 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end=1394 - _WORKFLOWRULEACTIONSCOPE._serialized_start=1397 - _WORKFLOWRULEACTIONSCOPE._serialized_end=1548 - _APPLICATIONERRORCATEGORY._serialized_start=1550 - _APPLICATIONERRORCATEGORY._serialized_end=1659 - _WORKERSTATUS._serialized_start=1662 - _WORKERSTATUS._serialized_end=1795 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _ENCODINGTYPE._serialized_start = 61 + _ENCODINGTYPE._serialized_end = 156 + _INDEXEDVALUETYPE._serialized_start = 159 + _INDEXEDVALUETYPE._serialized_end = 432 + _SEVERITY._serialized_start = 434 + _SEVERITY._serialized_end = 528 + _CALLBACKSTATE._serialized_start = 531 + _CALLBACKSTATE._serialized_end = 753 + _PENDINGNEXUSOPERATIONSTATE._serialized_start = 756 + _PENDINGNEXUSOPERATIONSTATE._serialized_end = 1009 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start = 1012 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end = 1394 + _WORKFLOWRULEACTIONSCOPE._serialized_start = 1397 + _WORKFLOWRULEACTIONSCOPE._serialized_end = 1548 + _APPLICATIONERRORCATEGORY._serialized_start = 1550 + _APPLICATIONERRORCATEGORY._serialized_end = 1659 + _WORKERSTATUS._serialized_start = 1662 + _WORKERSTATUS._serialized_end = 1795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/common_pb2.pyi b/temporalio/api/enums/v1/common_pb2.pyi index 1f8c206ec..47e470295 100644 --- a/temporalio/api/enums/v1/common_pb2.pyi +++ b/temporalio/api/enums/v1/common_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _EncodingType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _EncodingTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EncodingType.ValueType], builtins.type): # noqa: F821 +class _EncodingTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _EncodingType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ENCODING_TYPE_UNSPECIFIED: _EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: _EncodingType.ValueType # 1 @@ -36,7 +43,12 @@ class _IndexedValueType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _IndexedValueTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexedValueType.ValueType], builtins.type): # noqa: F821 +class _IndexedValueTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _IndexedValueType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INDEXED_VALUE_TYPE_UNSPECIFIED: _IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: _IndexedValueType.ValueType # 1 @@ -47,7 +59,9 @@ class _IndexedValueTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrappe INDEXED_VALUE_TYPE_DATETIME: _IndexedValueType.ValueType # 6 INDEXED_VALUE_TYPE_KEYWORD_LIST: _IndexedValueType.ValueType # 7 -class IndexedValueType(_IndexedValueType, metaclass=_IndexedValueTypeEnumTypeWrapper): ... +class IndexedValueType( + _IndexedValueType, metaclass=_IndexedValueTypeEnumTypeWrapper +): ... INDEXED_VALUE_TYPE_UNSPECIFIED: IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: IndexedValueType.ValueType # 1 @@ -63,7 +77,10 @@ class _Severity: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _SeverityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], builtins.type): # noqa: F821 +class _SeverityEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEVERITY_UNSPECIFIED: _Severity.ValueType # 0 SEVERITY_HIGH: _Severity.ValueType # 1 @@ -82,7 +99,12 @@ class _CallbackState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CallbackStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CallbackState.ValueType], builtins.type): # noqa: F821 +class _CallbackStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _CallbackState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CALLBACK_STATE_UNSPECIFIED: _CallbackState.ValueType # 0 """Default value, unspecified state.""" @@ -122,20 +144,31 @@ class _PendingNexusOperationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingNexusOperationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingNexusOperationState.ValueType], builtins.type): # noqa: F821 +class _PendingNexusOperationStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _PendingNexusOperationState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: _PendingNexusOperationState.ValueType # 0 + PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: ( + _PendingNexusOperationState.ValueType + ) # 0 """Default value, unspecified state.""" PENDING_NEXUS_OPERATION_STATE_SCHEDULED: _PendingNexusOperationState.ValueType # 1 """Operation is in the queue waiting to be executed or is currently executing.""" - PENDING_NEXUS_OPERATION_STATE_BACKING_OFF: _PendingNexusOperationState.ValueType # 2 + PENDING_NEXUS_OPERATION_STATE_BACKING_OFF: ( + _PendingNexusOperationState.ValueType + ) # 2 """Operation has failed with a retryable error and is backing off before the next attempt.""" PENDING_NEXUS_OPERATION_STATE_STARTED: _PendingNexusOperationState.ValueType # 3 """Operation was started and will complete asynchronously.""" PENDING_NEXUS_OPERATION_STATE_BLOCKED: _PendingNexusOperationState.ValueType # 4 """Operation is blocked (eg: by circuit breaker).""" -class PendingNexusOperationState(_PendingNexusOperationState, metaclass=_PendingNexusOperationStateEnumTypeWrapper): +class PendingNexusOperationState( + _PendingNexusOperationState, metaclass=_PendingNexusOperationStateEnumTypeWrapper +): """State of a pending Nexus operation.""" PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: PendingNexusOperationState.ValueType # 0 @@ -154,39 +187,75 @@ class _NexusOperationCancellationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusOperationCancellationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusOperationCancellationState.ValueType], builtins.type): # noqa: F821 +class _NexusOperationCancellationStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _NexusOperationCancellationState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: _NexusOperationCancellationState.ValueType # 0 + NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( + _NexusOperationCancellationState.ValueType + ) # 0 """Default value, unspecified state.""" - NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: _NexusOperationCancellationState.ValueType # 1 + NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: ( + _NexusOperationCancellationState.ValueType + ) # 1 """Cancellation request is in the queue waiting to be executed or is currently executing.""" - NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: _NexusOperationCancellationState.ValueType # 2 + NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: ( + _NexusOperationCancellationState.ValueType + ) # 2 """Cancellation request has failed with a retryable error and is backing off before the next attempt.""" - NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: _NexusOperationCancellationState.ValueType # 3 + NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: ( + _NexusOperationCancellationState.ValueType + ) # 3 """Cancellation request succeeded.""" - NEXUS_OPERATION_CANCELLATION_STATE_FAILED: _NexusOperationCancellationState.ValueType # 4 + NEXUS_OPERATION_CANCELLATION_STATE_FAILED: ( + _NexusOperationCancellationState.ValueType + ) # 4 """Cancellation request failed with a non-retryable error.""" - NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: _NexusOperationCancellationState.ValueType # 5 + NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: ( + _NexusOperationCancellationState.ValueType + ) # 5 """The associated operation timed out - exceeded the user supplied schedule-to-close timeout.""" - NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: _NexusOperationCancellationState.ValueType # 6 + NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( + _NexusOperationCancellationState.ValueType + ) # 6 """Cancellation request is blocked (eg: by circuit breaker).""" -class NexusOperationCancellationState(_NexusOperationCancellationState, metaclass=_NexusOperationCancellationStateEnumTypeWrapper): +class NexusOperationCancellationState( + _NexusOperationCancellationState, + metaclass=_NexusOperationCancellationStateEnumTypeWrapper, +): """State of a Nexus operation cancellation.""" -NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: NexusOperationCancellationState.ValueType # 0 +NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( + NexusOperationCancellationState.ValueType +) # 0 """Default value, unspecified state.""" -NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: NexusOperationCancellationState.ValueType # 1 +NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED: ( + NexusOperationCancellationState.ValueType +) # 1 """Cancellation request is in the queue waiting to be executed or is currently executing.""" -NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: NexusOperationCancellationState.ValueType # 2 +NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF: ( + NexusOperationCancellationState.ValueType +) # 2 """Cancellation request has failed with a retryable error and is backing off before the next attempt.""" -NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: NexusOperationCancellationState.ValueType # 3 +NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED: ( + NexusOperationCancellationState.ValueType +) # 3 """Cancellation request succeeded.""" -NEXUS_OPERATION_CANCELLATION_STATE_FAILED: NexusOperationCancellationState.ValueType # 4 +NEXUS_OPERATION_CANCELLATION_STATE_FAILED: ( + NexusOperationCancellationState.ValueType +) # 4 """Cancellation request failed with a non-retryable error.""" -NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: NexusOperationCancellationState.ValueType # 5 +NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT: ( + NexusOperationCancellationState.ValueType +) # 5 """The associated operation timed out - exceeded the user supplied schedule-to-close timeout.""" -NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: NexusOperationCancellationState.ValueType # 6 +NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( + NexusOperationCancellationState.ValueType +) # 6 """Cancellation request is blocked (eg: by circuit breaker).""" global___NexusOperationCancellationState = NexusOperationCancellationState @@ -194,7 +263,12 @@ class _WorkflowRuleActionScope: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowRuleActionScopeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowRuleActionScope.ValueType], builtins.type): # noqa: F821 +class _WorkflowRuleActionScopeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkflowRuleActionScope.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: _WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -203,7 +277,9 @@ class _WorkflowRuleActionScopeEnumTypeWrapper(google.protobuf.internal.enum_type WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY: _WorkflowRuleActionScope.ValueType # 2 """The action will be applied to a specific activity.""" -class WorkflowRuleActionScope(_WorkflowRuleActionScope, metaclass=_WorkflowRuleActionScopeEnumTypeWrapper): ... +class WorkflowRuleActionScope( + _WorkflowRuleActionScope, metaclass=_WorkflowRuleActionScopeEnumTypeWrapper +): ... WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -217,13 +293,20 @@ class _ApplicationErrorCategory: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ApplicationErrorCategoryEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ApplicationErrorCategory.ValueType], builtins.type): # noqa: F821 +class _ApplicationErrorCategoryEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ApplicationErrorCategory.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor APPLICATION_ERROR_CATEGORY_UNSPECIFIED: _ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: _ApplicationErrorCategory.ValueType # 1 """Expected application error with little/no severity.""" -class ApplicationErrorCategory(_ApplicationErrorCategory, metaclass=_ApplicationErrorCategoryEnumTypeWrapper): ... +class ApplicationErrorCategory( + _ApplicationErrorCategory, metaclass=_ApplicationErrorCategoryEnumTypeWrapper +): ... APPLICATION_ERROR_CATEGORY_UNSPECIFIED: ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: ApplicationErrorCategory.ValueType # 1 @@ -234,7 +317,12 @@ class _WorkerStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerStatus.ValueType], builtins.type): # noqa: F821 +class _WorkerStatusEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkerStatus.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_STATUS_UNSPECIFIED: _WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: _WorkerStatus.ValueType # 1 @@ -243,7 +331,7 @@ class _WorkerStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._E class WorkerStatus(_WorkerStatus, metaclass=_WorkerStatusEnumTypeWrapper): """(-- api-linter: core::0216::synonyms=disabled - aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --) + aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --) """ WORKER_STATUS_UNSPECIFIED: WorkerStatus.ValueType # 0 diff --git a/temporalio/api/enums/v1/deployment_pb2.py b/temporalio/api/enums/v1/deployment_pb2.py index 3be4d1f34..a4c5e00aa 100644 --- a/temporalio/api/enums/v1/deployment_pb2.py +++ b/temporalio/api/enums/v1/deployment_pb2.py @@ -2,29 +2,35 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/deployment.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12\'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12\'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12\'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name['DeploymentReachability'] +_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name["DeploymentReachability"] DeploymentReachability = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTREACHABILITY) -_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name['VersionDrainageStatus'] +_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name["VersionDrainageStatus"] VersionDrainageStatus = enum_type_wrapper.EnumTypeWrapper(_VERSIONDRAINAGESTATUS) -_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name['WorkerVersioningMode'] +_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name["WorkerVersioningMode"] WorkerVersioningMode = enum_type_wrapper.EnumTypeWrapper(_WORKERVERSIONINGMODE) -_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name['WorkerDeploymentVersionStatus'] -WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERDEPLOYMENTVERSIONSTATUS) +_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name[ + "WorkerDeploymentVersionStatus" +] +WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper( + _WORKERDEPLOYMENTVERSIONSTATUS +) DEPLOYMENT_REACHABILITY_UNSPECIFIED = 0 DEPLOYMENT_REACHABILITY_REACHABLE = 1 DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2 @@ -44,15 +50,14 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _DEPLOYMENTREACHABILITY._serialized_start=66 - _DEPLOYMENTREACHABILITY._serialized_end=262 - _VERSIONDRAINAGESTATUS._serialized_start=265 - _VERSIONDRAINAGESTATUS._serialized_end=404 - _WORKERVERSIONINGMODE._serialized_start=407 - _WORKERVERSIONINGMODE._serialized_end=547 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start=550 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end=863 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _DEPLOYMENTREACHABILITY._serialized_start = 66 + _DEPLOYMENTREACHABILITY._serialized_end = 262 + _VERSIONDRAINAGESTATUS._serialized_start = 265 + _VERSIONDRAINAGESTATUS._serialized_end = 404 + _WORKERVERSIONINGMODE._serialized_start = 407 + _WORKERVERSIONINGMODE._serialized_end = 547 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start = 550 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end = 863 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/deployment_pb2.pyi b/temporalio/api/enums/v1/deployment_pb2.pyi index 416e118c9..92074757c 100644 --- a/temporalio/api/enums/v1/deployment_pb2.pyi +++ b/temporalio/api/enums/v1/deployment_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _DeploymentReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _DeploymentReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DeploymentReachability.ValueType], builtins.type): # noqa: F821 +class _DeploymentReachabilityEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _DeploymentReachability.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DEPLOYMENT_REACHABILITY_UNSPECIFIED: _DeploymentReachability.ValueType # 0 """Reachability level is not specified.""" @@ -27,7 +34,9 @@ class _DeploymentReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_ """The deployment is reachable by new and/or open workflows. The deployment cannot be decommissioned safely. """ - DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY: _DeploymentReachability.ValueType # 2 + DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY: ( + _DeploymentReachability.ValueType + ) # 2 """The deployment is not reachable by new or open workflows, but might be still needed by Queries sent to closed workflows. The deployment can be decommissioned safely if user does not query closed workflows. @@ -37,7 +46,9 @@ class _DeploymentReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_ deployment went out of retention period. The deployment can be decommissioned safely. """ -class DeploymentReachability(_DeploymentReachability, metaclass=_DeploymentReachabilityEnumTypeWrapper): +class DeploymentReachability( + _DeploymentReachability, metaclass=_DeploymentReachabilityEnumTypeWrapper +): """Specify the reachability level for a deployment so users can decide if it is time to decommission the deployment. """ @@ -63,7 +74,12 @@ class _VersionDrainageStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersionDrainageStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersionDrainageStatus.ValueType], builtins.type): # noqa: F821 +class _VersionDrainageStatusEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _VersionDrainageStatus.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSION_DRAINAGE_STATUS_UNSPECIFIED: _VersionDrainageStatus.ValueType # 0 """Drainage Status is not specified.""" @@ -78,7 +94,9 @@ class _VersionDrainageStatusEnumTypeWrapper(google.protobuf.internal.enum_type_w workflows are closed, they should decommission the version after it has been drained for that duration. """ -class VersionDrainageStatus(_VersionDrainageStatus, metaclass=_VersionDrainageStatusEnumTypeWrapper): +class VersionDrainageStatus( + _VersionDrainageStatus, metaclass=_VersionDrainageStatusEnumTypeWrapper +): """(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the drainage status for a Worker Deployment Version so users can decide whether they @@ -104,7 +122,12 @@ class _WorkerVersioningMode: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerVersioningModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerVersioningMode.ValueType], builtins.type): # noqa: F821 +class _WorkerVersioningModeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkerVersioningMode.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_VERSIONING_MODE_UNSPECIFIED: _WorkerVersioningMode.ValueType # 0 WORKER_VERSIONING_MODE_UNVERSIONED: _WorkerVersioningMode.ValueType # 1 @@ -129,7 +152,9 @@ class _WorkerVersioningModeEnumTypeWrapper(google.protobuf.internal.enum_type_wr VersioningBehavior enum.) """ -class WorkerVersioningMode(_WorkerVersioningMode, metaclass=_WorkerVersioningModeEnumTypeWrapper): +class WorkerVersioningMode( + _WorkerVersioningMode, metaclass=_WorkerVersioningModeEnumTypeWrapper +): """Versioning Mode of a worker is set by the app developer in the worker code, and specifies the behavior of the system in the following related aspects: - Whether or not Temporal Server considers this worker's version (Build ID) when dispatching @@ -166,41 +191,63 @@ class _WorkerDeploymentVersionStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkerDeploymentVersionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkerDeploymentVersionStatus.ValueType], builtins.type): # noqa: F821 +class _WorkerDeploymentVersionStatusEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkerDeploymentVersionStatus.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: _WorkerDeploymentVersionStatus.ValueType # 0 - WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: _WorkerDeploymentVersionStatus.ValueType # 1 + WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 0 + WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 1 """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_CURRENT: _WorkerDeploymentVersionStatus.ValueType # 2 + WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 2 """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_RAMPING: _WorkerDeploymentVersionStatus.ValueType # 3 + WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 3 """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_DRAINING: _WorkerDeploymentVersionStatus.ValueType # 4 + WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 4 """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_DRAINED: _WorkerDeploymentVersionStatus.ValueType # 5 + WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED: ( + _WorkerDeploymentVersionStatus.ValueType + ) # 5 """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. """ -class WorkerDeploymentVersionStatus(_WorkerDeploymentVersionStatus, metaclass=_WorkerDeploymentVersionStatusEnumTypeWrapper): +class WorkerDeploymentVersionStatus( + _WorkerDeploymentVersionStatus, + metaclass=_WorkerDeploymentVersionStatusEnumTypeWrapper, +): """(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the status of a Worker Deployment Version. Experimental. Worker Deployments are experimental and might significantly change in the future. """ -WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: WorkerDeploymentVersionStatus.ValueType # 0 +WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( + WorkerDeploymentVersionStatus.ValueType +) # 0 WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE: WorkerDeploymentVersionStatus.ValueType # 1 """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 diff --git a/temporalio/api/enums/v1/event_type_pb2.py b/temporalio/api/enums/v1/event_type_pb2.py index 9ac641d1c..f51809725 100644 --- a/temporalio/api/enums/v1/event_type_pb2.py +++ b/temporalio/api/enums/v1/event_type_pb2.py @@ -2,22 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/event_type.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x8a\x15\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,10 @@ class _EventType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _EventTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EventType.ValueType], builtins.type): # noqa: F821 +class _EventTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_EventType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor EVENT_TYPE_UNSPECIFIED: _EventType.ValueType # 0 """Place holder and should never appear in a Workflow execution history""" @@ -103,9 +108,13 @@ class _EventTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enum """A request has been made to cancel the Workflow execution""" EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED: _EventType.ValueType # 21 """SDK client has confirmed the cancellation request and the Workflow execution has been cancelled""" - EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: _EventType.ValueType # 22 + EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: ( + _EventType.ValueType + ) # 22 """Workflow has requested that the Temporal Server try to cancel another Workflow""" - EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: _EventType.ValueType # 23 + EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: ( + _EventType.ValueType + ) # 23 """Temporal Server could not cancel the targeted Workflow This is usually because the target Workflow could not be found """ @@ -287,7 +296,9 @@ EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED: EventType.ValueType # 20 """A request has been made to cancel the Workflow execution""" EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED: EventType.ValueType # 21 """SDK client has confirmed the cancellation request and the Workflow execution has been cancelled""" -EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: EventType.ValueType # 22 +EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED: ( + EventType.ValueType +) # 22 """Workflow has requested that the Temporal Server try to cancel another Workflow""" EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED: EventType.ValueType # 23 """Temporal Server could not cancel the targeted Workflow diff --git a/temporalio/api/enums/v1/failed_cause_pb2.py b/temporalio/api/enums/v1/failed_cause_pb2.py index 0512ced6e..61cfa6878 100644 --- a/temporalio/api/enums/v1/failed_cause_pb2.py +++ b/temporalio/api/enums/v1/failed_cause_pb2.py @@ -2,32 +2,46 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/failed_cause.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(temporal/api/enums/v1/failed_cause.proto\x12\x15temporal.api.enums.v1*\xa5\x12\n\x17WorkflowTaskFailedCause\x12*\n&WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12\x30\n,WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND\x10\x01\x12?\n;WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES\x10\x02\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES\x10\x03\x12\x39\n5WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES\x10\x04\x12:\n6WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES\x10\x05\x12;\n7WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES\x10\x06\x12I\nEWORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x07\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x08\x12G\nCWORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\t\x12X\nTWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\n\x12=\n9WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES\x10\x0b\x12\x37\n3WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID\x10\x0c\x12\x36\n2WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE\x10\r\x12@\n= (3, 10): import typing as typing_extensions else: @@ -19,45 +21,96 @@ class _WorkflowTaskFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowTaskFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowTaskFailedCause.ValueType], builtins.type): # noqa: F821 +class _WorkflowTaskFailedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkflowTaskFailedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED: _WorkflowTaskFailedCause.ValueType # 0 - WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: _WorkflowTaskFailedCause.ValueType # 1 + WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: ( + _WorkflowTaskFailedCause.ValueType + ) # 1 """Between starting and completing the workflow task (with a workflow completion command), some new command (like a signal) was processed into workflow history. The outstanding task will be failed with this reason, and a worker must pick up a new task. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 2 - WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 3 - WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 4 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 5 - WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 6 - WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 7 - WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 8 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 9 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 2 + WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 3 + WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 4 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 5 + WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 6 + WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 7 + WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 8 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 9 WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 10 - WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 11 - WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: _WorkflowTaskFailedCause.ValueType # 12 - WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: _WorkflowTaskFailedCause.ValueType # 13 + WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 11 + WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: ( + _WorkflowTaskFailedCause.ValueType + ) # 12 + WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: ( + _WorkflowTaskFailedCause.ValueType + ) # 13 """The worker wishes to fail the task and have the next one be generated on a normal, not sticky queue. Generally workers should prefer to use the explicit `ResetStickyTaskQueue` RPC call. """ - WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: _WorkflowTaskFailedCause.ValueType # 14 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 15 - WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 16 - WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: _WorkflowTaskFailedCause.ValueType # 17 - WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: _WorkflowTaskFailedCause.ValueType # 18 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: _WorkflowTaskFailedCause.ValueType # 19 + WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: ( + _WorkflowTaskFailedCause.ValueType + ) # 14 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 15 + WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 16 + WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: ( + _WorkflowTaskFailedCause.ValueType + ) # 17 + WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: ( + _WorkflowTaskFailedCause.ValueType + ) # 18 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: ( + _WorkflowTaskFailedCause.ValueType + ) # 19 WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW: _WorkflowTaskFailedCause.ValueType # 20 WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY: _WorkflowTaskFailedCause.ValueType # 21 - WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: _WorkflowTaskFailedCause.ValueType # 22 - WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 23 - WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: _WorkflowTaskFailedCause.ValueType # 24 + WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: ( + _WorkflowTaskFailedCause.ValueType + ) # 22 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 23 + WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: ( + _WorkflowTaskFailedCause.ValueType + ) # 24 """The worker encountered a mismatch while replaying history between what was expected, and what the workflow code actually did. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 25 - WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 26 + WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 25 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: ( + _WorkflowTaskFailedCause.ValueType + ) # 26 """We send the below error codes to users when their requests would violate a size constraint of their workflow. We do this to ensure that the state of their workflow does not become too large because that can cause severe performance degradation. You can modify the thresholds for @@ -66,39 +119,61 @@ class _WorkflowTaskFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type Spawning a new child workflow would cause this workflow to exceed its limit of pending child workflows. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 27 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: ( + _WorkflowTaskFailedCause.ValueType + ) # 27 """Starting a new activity would cause this workflow to exceed its limit of pending activities that we track. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 28 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: ( + _WorkflowTaskFailedCause.ValueType + ) # 28 """A workflow has a buffer of signals that have not yet reached their destination. We return this error when sending a new signal would exceed the capacity of this buffer. """ - WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 29 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: ( + _WorkflowTaskFailedCause.ValueType + ) # 29 """Similarly, we have a buffer of pending requests to cancel other workflows. We return this error when our capacity for pending cancel requests is already reached. """ - WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: _WorkflowTaskFailedCause.ValueType # 30 + WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: ( + _WorkflowTaskFailedCause.ValueType + ) # 30 """Workflow execution update message (update.Acceptance, update.Rejection, or update.Response) has wrong format, or missing required fields. """ - WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: _WorkflowTaskFailedCause.ValueType # 31 + WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: ( + _WorkflowTaskFailedCause.ValueType + ) # 31 """Similar to WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND, but for updates.""" - WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 32 + WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 32 """A workflow task completed with an invalid ScheduleNexusOperation command.""" - WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: _WorkflowTaskFailedCause.ValueType # 33 + WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: ( + _WorkflowTaskFailedCause.ValueType + ) # 33 """A workflow task completed requesting to schedule a Nexus Operation exceeding the server configured limit.""" - WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: _WorkflowTaskFailedCause.ValueType # 34 + WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: ( + _WorkflowTaskFailedCause.ValueType + ) # 34 """A workflow task completed with an invalid RequestCancelNexusOperation command.""" - WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: _WorkflowTaskFailedCause.ValueType # 35 + WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: ( + _WorkflowTaskFailedCause.ValueType + ) # 35 """A workflow task completed requesting a feature that's disabled on the server (either system wide or - typically - for the workflow's namespace). Check the workflow task failure message for more information. """ - WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: _WorkflowTaskFailedCause.ValueType # 36 + WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: ( + _WorkflowTaskFailedCause.ValueType + ) # 36 """A workflow task failed because a grpc message was too large.""" -class WorkflowTaskFailedCause(_WorkflowTaskFailedCause, metaclass=_WorkflowTaskFailedCauseEnumTypeWrapper): +class WorkflowTaskFailedCause( + _WorkflowTaskFailedCause, metaclass=_WorkflowTaskFailedCauseEnumTypeWrapper +): """Workflow tasks can fail for various reasons. Note that some of these reasons can only originate from the server, and some of them can only originate from the SDK/worker. """ @@ -109,37 +184,81 @@ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND: WorkflowTaskFailedCause.ValueType new command (like a signal) was processed into workflow history. The outstanding task will be failed with this reason, and a worker must pick up a new task. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 2 -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 3 -WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 4 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 5 -WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 6 -WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 7 -WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 8 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 9 -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 10 -WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 11 -WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: WorkflowTaskFailedCause.ValueType # 12 -WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: WorkflowTaskFailedCause.ValueType # 13 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 2 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 3 +WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 4 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 5 +WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 6 +WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 7 +WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 8 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 9 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 10 +WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 11 +WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: ( + WorkflowTaskFailedCause.ValueType +) # 12 +WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE: ( + WorkflowTaskFailedCause.ValueType +) # 13 """The worker wishes to fail the task and have the next one be generated on a normal, not sticky queue. Generally workers should prefer to use the explicit `ResetStickyTaskQueue` RPC call. """ -WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: WorkflowTaskFailedCause.ValueType # 14 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 15 -WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 16 +WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: ( + WorkflowTaskFailedCause.ValueType +) # 14 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 15 +WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 16 WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND: WorkflowTaskFailedCause.ValueType # 17 -WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: WorkflowTaskFailedCause.ValueType # 18 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: WorkflowTaskFailedCause.ValueType # 19 +WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND: ( + WorkflowTaskFailedCause.ValueType +) # 18 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: ( + WorkflowTaskFailedCause.ValueType +) # 19 WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW: WorkflowTaskFailedCause.ValueType # 20 WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY: WorkflowTaskFailedCause.ValueType # 21 -WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: WorkflowTaskFailedCause.ValueType # 22 -WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 23 -WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: WorkflowTaskFailedCause.ValueType # 24 +WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: ( + WorkflowTaskFailedCause.ValueType +) # 22 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 23 +WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR: ( + WorkflowTaskFailedCause.ValueType +) # 24 """The worker encountered a mismatch while replaying history between what was expected, and what the workflow code actually did. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 25 -WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 26 +WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 25 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED: ( + WorkflowTaskFailedCause.ValueType +) # 26 """We send the below error codes to users when their requests would violate a size constraint of their workflow. We do this to ensure that the state of their workflow does not become too large because that can cause severe performance degradation. You can modify the thresholds for @@ -148,36 +267,52 @@ each of these errors within your dynamic config. Spawning a new child workflow would cause this workflow to exceed its limit of pending child workflows. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 27 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED: ( + WorkflowTaskFailedCause.ValueType +) # 27 """Starting a new activity would cause this workflow to exceed its limit of pending activities that we track. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 28 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED: ( + WorkflowTaskFailedCause.ValueType +) # 28 """A workflow has a buffer of signals that have not yet reached their destination. We return this error when sending a new signal would exceed the capacity of this buffer. """ -WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 29 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED: ( + WorkflowTaskFailedCause.ValueType +) # 29 """Similarly, we have a buffer of pending requests to cancel other workflows. We return this error when our capacity for pending cancel requests is already reached. """ -WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: WorkflowTaskFailedCause.ValueType # 30 +WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE: ( + WorkflowTaskFailedCause.ValueType +) # 30 """Workflow execution update message (update.Acceptance, update.Rejection, or update.Response) has wrong format, or missing required fields. """ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE: WorkflowTaskFailedCause.ValueType # 31 """Similar to WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND, but for updates.""" -WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 32 +WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 32 """A workflow task completed with an invalid ScheduleNexusOperation command.""" -WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: WorkflowTaskFailedCause.ValueType # 33 +WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED: ( + WorkflowTaskFailedCause.ValueType +) # 33 """A workflow task completed requesting to schedule a Nexus Operation exceeding the server configured limit.""" -WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: WorkflowTaskFailedCause.ValueType # 34 +WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES: ( + WorkflowTaskFailedCause.ValueType +) # 34 """A workflow task completed with an invalid RequestCancelNexusOperation command.""" WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED: WorkflowTaskFailedCause.ValueType # 35 """A workflow task completed requesting a feature that's disabled on the server (either system wide or - typically - for the workflow's namespace). Check the workflow task failure message for more information. """ -WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: WorkflowTaskFailedCause.ValueType # 36 +WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE: ( + WorkflowTaskFailedCause.ValueType +) # 36 """A workflow task failed because a grpc message was too large.""" global___WorkflowTaskFailedCause = WorkflowTaskFailedCause @@ -185,62 +320,131 @@ class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_StartChildWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 +class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _StartChildWorkflowExecutionFailedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _StartChildWorkflowExecutionFailedCause.ValueType # 0 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: _StartChildWorkflowExecutionFailedCause.ValueType # 1 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _StartChildWorkflowExecutionFailedCause.ValueType # 2 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + _StartChildWorkflowExecutionFailedCause.ValueType + ) # 0 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( + _StartChildWorkflowExecutionFailedCause.ValueType + ) # 1 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + _StartChildWorkflowExecutionFailedCause.ValueType + ) # 2 -class StartChildWorkflowExecutionFailedCause(_StartChildWorkflowExecutionFailedCause, metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper): ... +class StartChildWorkflowExecutionFailedCause( + _StartChildWorkflowExecutionFailedCause, + metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper, +): ... -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: StartChildWorkflowExecutionFailedCause.ValueType # 0 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: StartChildWorkflowExecutionFailedCause.ValueType # 1 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: StartChildWorkflowExecutionFailedCause.ValueType # 2 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + StartChildWorkflowExecutionFailedCause.ValueType +) # 0 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( + StartChildWorkflowExecutionFailedCause.ValueType +) # 1 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + StartChildWorkflowExecutionFailedCause.ValueType +) # 2 global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause class _CancelExternalWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CancelExternalWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 +class _CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _CancelExternalWorkflowExecutionFailedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _CancelExternalWorkflowExecutionFailedCause.ValueType # 0 + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + _CancelExternalWorkflowExecutionFailedCause.ValueType + ) # 0 CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _CancelExternalWorkflowExecutionFailedCause.ValueType # 1 - CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _CancelExternalWorkflowExecutionFailedCause.ValueType # 2 + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + _CancelExternalWorkflowExecutionFailedCause.ValueType + ) # 2 -class CancelExternalWorkflowExecutionFailedCause(_CancelExternalWorkflowExecutionFailedCause, metaclass=_CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper): ... +class CancelExternalWorkflowExecutionFailedCause( + _CancelExternalWorkflowExecutionFailedCause, + metaclass=_CancelExternalWorkflowExecutionFailedCauseEnumTypeWrapper, +): ... -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: CancelExternalWorkflowExecutionFailedCause.ValueType # 0 -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: CancelExternalWorkflowExecutionFailedCause.ValueType # 1 -CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: CancelExternalWorkflowExecutionFailedCause.ValueType # 2 -global___CancelExternalWorkflowExecutionFailedCause = CancelExternalWorkflowExecutionFailedCause +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + CancelExternalWorkflowExecutionFailedCause.ValueType +) # 0 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: ( + CancelExternalWorkflowExecutionFailedCause.ValueType +) # 1 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + CancelExternalWorkflowExecutionFailedCause.ValueType +) # 2 +global___CancelExternalWorkflowExecutionFailedCause = ( + CancelExternalWorkflowExecutionFailedCause +) class _SignalExternalWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SignalExternalWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 +class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _SignalExternalWorkflowExecutionFailedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 0 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + _SignalExternalWorkflowExecutionFailedCause.ValueType + ) # 0 SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 1 - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 2 - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 3 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + _SignalExternalWorkflowExecutionFailedCause.ValueType + ) # 2 + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: ( + _SignalExternalWorkflowExecutionFailedCause.ValueType + ) # 3 """Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """ -class SignalExternalWorkflowExecutionFailedCause(_SignalExternalWorkflowExecutionFailedCause, metaclass=_SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper): ... +class SignalExternalWorkflowExecutionFailedCause( + _SignalExternalWorkflowExecutionFailedCause, + metaclass=_SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper, +): ... -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: SignalExternalWorkflowExecutionFailedCause.ValueType # 0 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 1 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 2 -SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: SignalExternalWorkflowExecutionFailedCause.ValueType # 3 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + SignalExternalWorkflowExecutionFailedCause.ValueType +) # 0 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: ( + SignalExternalWorkflowExecutionFailedCause.ValueType +) # 1 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: ( + SignalExternalWorkflowExecutionFailedCause.ValueType +) # 2 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: ( + SignalExternalWorkflowExecutionFailedCause.ValueType +) # 3 """Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """ -global___SignalExternalWorkflowExecutionFailedCause = SignalExternalWorkflowExecutionFailedCause +global___SignalExternalWorkflowExecutionFailedCause = ( + SignalExternalWorkflowExecutionFailedCause +) class _ResourceExhaustedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceExhaustedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceExhaustedCause.ValueType], builtins.type): # noqa: F821 +class _ResourceExhaustedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ResourceExhaustedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED: _ResourceExhaustedCause.ValueType # 0 RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT: _ResourceExhaustedCause.ValueType # 1 @@ -255,14 +459,20 @@ class _ResourceExhaustedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_ """Workflow is busy""" RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT: _ResourceExhaustedCause.ValueType # 6 """Caller exceeds action per second limit.""" - RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: _ResourceExhaustedCause.ValueType # 7 + RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ( + _ResourceExhaustedCause.ValueType + ) # 7 """Persistence storage limit exceeded.""" - RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: _ResourceExhaustedCause.ValueType # 8 + RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: ( + _ResourceExhaustedCause.ValueType + ) # 8 """Circuit breaker is open/half-open.""" RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT: _ResourceExhaustedCause.ValueType # 9 """Namespace exceeds operations rate limit.""" -class ResourceExhaustedCause(_ResourceExhaustedCause, metaclass=_ResourceExhaustedCauseEnumTypeWrapper): ... +class ResourceExhaustedCause( + _ResourceExhaustedCause, metaclass=_ResourceExhaustedCauseEnumTypeWrapper +): ... RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED: ResourceExhaustedCause.ValueType # 0 RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT: ResourceExhaustedCause.ValueType # 1 @@ -277,7 +487,9 @@ RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW: ResourceExhaustedCause.ValueType # 5 """Workflow is busy""" RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT: ResourceExhaustedCause.ValueType # 6 """Caller exceeds action per second limit.""" -RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ResourceExhaustedCause.ValueType # 7 +RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT: ( + ResourceExhaustedCause.ValueType +) # 7 """Persistence storage limit exceeded.""" RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN: ResourceExhaustedCause.ValueType # 8 """Circuit breaker is open/half-open.""" @@ -289,7 +501,12 @@ class _ResourceExhaustedScope: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResourceExhaustedScopeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceExhaustedScope.ValueType], builtins.type): # noqa: F821 +class _ResourceExhaustedScopeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ResourceExhaustedScope.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED: _ResourceExhaustedScope.ValueType # 0 RESOURCE_EXHAUSTED_SCOPE_NAMESPACE: _ResourceExhaustedScope.ValueType # 1 @@ -297,7 +514,9 @@ class _ResourceExhaustedScopeEnumTypeWrapper(google.protobuf.internal.enum_type_ RESOURCE_EXHAUSTED_SCOPE_SYSTEM: _ResourceExhaustedScope.ValueType # 2 """Exhausted resource is a namespace-level resource.""" -class ResourceExhaustedScope(_ResourceExhaustedScope, metaclass=_ResourceExhaustedScopeEnumTypeWrapper): ... +class ResourceExhaustedScope( + _ResourceExhaustedScope, metaclass=_ResourceExhaustedScopeEnumTypeWrapper +): ... RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED: ResourceExhaustedScope.ValueType # 0 RESOURCE_EXHAUSTED_SCOPE_NAMESPACE: ResourceExhaustedScope.ValueType # 1 diff --git a/temporalio/api/enums/v1/namespace_pb2.py b/temporalio/api/enums/v1/namespace_pb2.py index 2340c0096..6c62f70fc 100644 --- a/temporalio/api/enums/v1/namespace_pb2.py +++ b/temporalio/api/enums/v1/namespace_pb2.py @@ -2,26 +2,28 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/namespace.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n%temporal/api/enums/v1/namespace.proto\x12\x15temporal.api.enums.v1*\x8e\x01\n\x0eNamespaceState\x12\x1f\n\x1bNAMESPACE_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNAMESPACE_STATE_REGISTERED\x10\x01\x12\x1e\n\x1aNAMESPACE_STATE_DEPRECATED\x10\x02\x12\x1b\n\x17NAMESPACE_STATE_DELETED\x10\x03*h\n\rArchivalState\x12\x1e\n\x1a\x41RCHIVAL_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41RCHIVAL_STATE_DISABLED\x10\x01\x12\x1a\n\x16\x41RCHIVAL_STATE_ENABLED\x10\x02*s\n\x10ReplicationState\x12!\n\x1dREPLICATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18REPLICATION_STATE_NORMAL\x10\x01\x12\x1e\n\x1aREPLICATION_STATE_HANDOVER\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/enums/v1/namespace.proto\x12\x15temporal.api.enums.v1*\x8e\x01\n\x0eNamespaceState\x12\x1f\n\x1bNAMESPACE_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNAMESPACE_STATE_REGISTERED\x10\x01\x12\x1e\n\x1aNAMESPACE_STATE_DEPRECATED\x10\x02\x12\x1b\n\x17NAMESPACE_STATE_DELETED\x10\x03*h\n\rArchivalState\x12\x1e\n\x1a\x41RCHIVAL_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41RCHIVAL_STATE_DISABLED\x10\x01\x12\x1a\n\x16\x41RCHIVAL_STATE_ENABLED\x10\x02*s\n\x10ReplicationState\x12!\n\x1dREPLICATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18REPLICATION_STATE_NORMAL\x10\x01\x12\x1e\n\x1aREPLICATION_STATE_HANDOVER\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_NAMESPACESTATE = DESCRIPTOR.enum_types_by_name['NamespaceState'] +_NAMESPACESTATE = DESCRIPTOR.enum_types_by_name["NamespaceState"] NamespaceState = enum_type_wrapper.EnumTypeWrapper(_NAMESPACESTATE) -_ARCHIVALSTATE = DESCRIPTOR.enum_types_by_name['ArchivalState'] +_ARCHIVALSTATE = DESCRIPTOR.enum_types_by_name["ArchivalState"] ArchivalState = enum_type_wrapper.EnumTypeWrapper(_ARCHIVALSTATE) -_REPLICATIONSTATE = DESCRIPTOR.enum_types_by_name['ReplicationState'] +_REPLICATIONSTATE = DESCRIPTOR.enum_types_by_name["ReplicationState"] ReplicationState = enum_type_wrapper.EnumTypeWrapper(_REPLICATIONSTATE) NAMESPACE_STATE_UNSPECIFIED = 0 NAMESPACE_STATE_REGISTERED = 1 @@ -36,13 +38,12 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\016NamespaceProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _NAMESPACESTATE._serialized_start=65 - _NAMESPACESTATE._serialized_end=207 - _ARCHIVALSTATE._serialized_start=209 - _ARCHIVALSTATE._serialized_end=313 - _REPLICATIONSTATE._serialized_start=315 - _REPLICATIONSTATE._serialized_end=430 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\016NamespaceProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _NAMESPACESTATE._serialized_start = 65 + _NAMESPACESTATE._serialized_end = 207 + _ARCHIVALSTATE._serialized_start = 209 + _ARCHIVALSTATE._serialized_end = 313 + _REPLICATIONSTATE._serialized_start = 315 + _REPLICATIONSTATE._serialized_end = 430 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/namespace_pb2.pyi b/temporalio/api/enums/v1/namespace_pb2.pyi index 0df53d5a0..5af042ed6 100644 --- a/temporalio/api/enums/v1/namespace_pb2.pyi +++ b/temporalio/api/enums/v1/namespace_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _NamespaceState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NamespaceStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NamespaceState.ValueType], builtins.type): # noqa: F821 +class _NamespaceStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _NamespaceState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NAMESPACE_STATE_UNSPECIFIED: _NamespaceState.ValueType # 0 NAMESPACE_STATE_REGISTERED: _NamespaceState.ValueType # 1 @@ -38,7 +45,12 @@ class _ArchivalState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ArchivalStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ArchivalState.ValueType], builtins.type): # noqa: F821 +class _ArchivalStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ArchivalState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ARCHIVAL_STATE_UNSPECIFIED: _ArchivalState.ValueType # 0 ARCHIVAL_STATE_DISABLED: _ArchivalState.ValueType # 1 @@ -55,13 +67,20 @@ class _ReplicationState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ReplicationStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ReplicationState.ValueType], builtins.type): # noqa: F821 +class _ReplicationStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ReplicationState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor REPLICATION_STATE_UNSPECIFIED: _ReplicationState.ValueType # 0 REPLICATION_STATE_NORMAL: _ReplicationState.ValueType # 1 REPLICATION_STATE_HANDOVER: _ReplicationState.ValueType # 2 -class ReplicationState(_ReplicationState, metaclass=_ReplicationStateEnumTypeWrapper): ... +class ReplicationState( + _ReplicationState, metaclass=_ReplicationStateEnumTypeWrapper +): ... REPLICATION_STATE_UNSPECIFIED: ReplicationState.ValueType # 0 REPLICATION_STATE_NORMAL: ReplicationState.ValueType # 1 diff --git a/temporalio/api/enums/v1/nexus_pb2.py b/temporalio/api/enums/v1/nexus_pb2.py index 68b118770..754b117eb 100644 --- a/temporalio/api/enums/v1/nexus_pb2.py +++ b/temporalio/api/enums/v1/nexus_pb2.py @@ -2,32 +2,37 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/nexus.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n!temporal/api/enums/v1/nexus.proto\x12\x15temporal.api.enums.v1*\xbc\x01\n\x1eNexusHandlerErrorRetryBehavior\x12\x32\n.NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE\x10\x01\x12\x34\n0NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nNexusProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/nexus.proto\x12\x15temporal.api.enums.v1*\xbc\x01\n\x1eNexusHandlerErrorRetryBehavior\x12\x32\n.NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE\x10\x01\x12\x34\n0NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nNexusProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_NEXUSHANDLERERRORRETRYBEHAVIOR = DESCRIPTOR.enum_types_by_name['NexusHandlerErrorRetryBehavior'] -NexusHandlerErrorRetryBehavior = enum_type_wrapper.EnumTypeWrapper(_NEXUSHANDLERERRORRETRYBEHAVIOR) +_NEXUSHANDLERERRORRETRYBEHAVIOR = DESCRIPTOR.enum_types_by_name[ + "NexusHandlerErrorRetryBehavior" +] +NexusHandlerErrorRetryBehavior = enum_type_wrapper.EnumTypeWrapper( + _NEXUSHANDLERERRORRETRYBEHAVIOR +) NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED = 0 NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE = 1 NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE = 2 if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nNexusProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_start=61 - _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_end=249 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nNexusProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_start = 61 + _NEXUSHANDLERERRORRETRYBEHAVIOR._serialized_end = 249 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/nexus_pb2.pyi b/temporalio/api/enums/v1/nexus_pb2.pyi index 5a0545f3d..8591aa6de 100644 --- a/temporalio/api/enums/v1/nexus_pb2.pyi +++ b/temporalio/api/enums/v1/nexus_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,23 +21,43 @@ class _NexusHandlerErrorRetryBehavior: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusHandlerErrorRetryBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusHandlerErrorRetryBehavior.ValueType], builtins.type): # noqa: F821 +class _NexusHandlerErrorRetryBehaviorEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _NexusHandlerErrorRetryBehavior.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: _NexusHandlerErrorRetryBehavior.ValueType # 0 - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: _NexusHandlerErrorRetryBehavior.ValueType # 1 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: ( + _NexusHandlerErrorRetryBehavior.ValueType + ) # 0 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: ( + _NexusHandlerErrorRetryBehavior.ValueType + ) # 1 """A handler error is explicitly marked as retryable.""" - NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: _NexusHandlerErrorRetryBehavior.ValueType # 2 + NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: ( + _NexusHandlerErrorRetryBehavior.ValueType + ) # 2 """A handler error is explicitly marked as non-retryable.""" -class NexusHandlerErrorRetryBehavior(_NexusHandlerErrorRetryBehavior, metaclass=_NexusHandlerErrorRetryBehaviorEnumTypeWrapper): +class NexusHandlerErrorRetryBehavior( + _NexusHandlerErrorRetryBehavior, + metaclass=_NexusHandlerErrorRetryBehaviorEnumTypeWrapper, +): """NexusHandlerErrorRetryBehavior allows nexus handlers to explicity set the retry behavior of a HandlerError. If not specified, retry behavior is determined from the error type. For example internal errors are not retryable by default unless specified otherwise. """ -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: NexusHandlerErrorRetryBehavior.ValueType # 0 -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: NexusHandlerErrorRetryBehavior.ValueType # 1 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED: ( + NexusHandlerErrorRetryBehavior.ValueType +) # 0 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE: ( + NexusHandlerErrorRetryBehavior.ValueType +) # 1 """A handler error is explicitly marked as retryable.""" -NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: NexusHandlerErrorRetryBehavior.ValueType # 2 +NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE: ( + NexusHandlerErrorRetryBehavior.ValueType +) # 2 """A handler error is explicitly marked as non-retryable.""" global___NexusHandlerErrorRetryBehavior = NexusHandlerErrorRetryBehavior diff --git a/temporalio/api/enums/v1/query_pb2.py b/temporalio/api/enums/v1/query_pb2.py index cd514e8ba..945f9e003 100644 --- a/temporalio/api/enums/v1/query_pb2.py +++ b/temporalio/api/enums/v1/query_pb2.py @@ -2,24 +2,26 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/query.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!temporal/api/enums/v1/query.proto\x12\x15temporal.api.enums.v1*r\n\x0fQueryResultType\x12!\n\x1dQUERY_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\xb6\x01\n\x14QueryRejectCondition\x12&\n"QUERY_REJECT_CONDITION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUERY_REJECT_CONDITION_NONE\x10\x01\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x02\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x03\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/query.proto\x12\x15temporal.api.enums.v1*r\n\x0fQueryResultType\x12!\n\x1dQUERY_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\xb6\x01\n\x14QueryRejectCondition\x12&\n\"QUERY_REJECT_CONDITION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUERY_REJECT_CONDITION_NONE\x10\x01\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x02\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x03\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_QUERYRESULTTYPE = DESCRIPTOR.enum_types_by_name['QueryResultType'] +_QUERYRESULTTYPE = DESCRIPTOR.enum_types_by_name["QueryResultType"] QueryResultType = enum_type_wrapper.EnumTypeWrapper(_QUERYRESULTTYPE) -_QUERYREJECTCONDITION = DESCRIPTOR.enum_types_by_name['QueryRejectCondition'] +_QUERYREJECTCONDITION = DESCRIPTOR.enum_types_by_name["QueryRejectCondition"] QueryRejectCondition = enum_type_wrapper.EnumTypeWrapper(_QUERYREJECTCONDITION) QUERY_RESULT_TYPE_UNSPECIFIED = 0 QUERY_RESULT_TYPE_ANSWERED = 1 @@ -31,11 +33,10 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nQueryProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _QUERYRESULTTYPE._serialized_start=60 - _QUERYRESULTTYPE._serialized_end=174 - _QUERYREJECTCONDITION._serialized_start=177 - _QUERYREJECTCONDITION._serialized_end=359 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nQueryProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _QUERYRESULTTYPE._serialized_start = 60 + _QUERYRESULTTYPE._serialized_end = 174 + _QUERYREJECTCONDITION._serialized_start = 177 + _QUERYREJECTCONDITION._serialized_end = 359 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/query_pb2.pyi b/temporalio/api/enums/v1/query_pb2.pyi index 8cc5f8dfc..e99e38f4c 100644 --- a/temporalio/api/enums/v1/query_pb2.pyi +++ b/temporalio/api/enums/v1/query_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _QueryResultType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _QueryResultTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_QueryResultType.ValueType], builtins.type): # noqa: F821 +class _QueryResultTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _QueryResultType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor QUERY_RESULT_TYPE_UNSPECIFIED: _QueryResultType.ValueType # 0 QUERY_RESULT_TYPE_ANSWERED: _QueryResultType.ValueType # 1 @@ -36,7 +43,12 @@ class _QueryRejectCondition: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _QueryRejectConditionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_QueryRejectCondition.ValueType], builtins.type): # noqa: F821 +class _QueryRejectConditionEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _QueryRejectCondition.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor QUERY_REJECT_CONDITION_UNSPECIFIED: _QueryRejectCondition.ValueType # 0 QUERY_REJECT_CONDITION_NONE: _QueryRejectCondition.ValueType # 1 @@ -46,7 +58,9 @@ class _QueryRejectConditionEnumTypeWrapper(google.protobuf.internal.enum_type_wr QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: _QueryRejectCondition.ValueType # 3 """NotCompletedCleanly indicates that query should be rejected if workflow did not complete cleanly.""" -class QueryRejectCondition(_QueryRejectCondition, metaclass=_QueryRejectConditionEnumTypeWrapper): ... +class QueryRejectCondition( + _QueryRejectCondition, metaclass=_QueryRejectConditionEnumTypeWrapper +): ... QUERY_REJECT_CONDITION_UNSPECIFIED: QueryRejectCondition.ValueType # 0 QUERY_REJECT_CONDITION_NONE: QueryRejectCondition.ValueType # 1 diff --git a/temporalio/api/enums/v1/reset_pb2.py b/temporalio/api/enums/v1/reset_pb2.py index 3393c8b5c..00025a522 100644 --- a/temporalio/api/enums/v1/reset_pb2.py +++ b/temporalio/api/enums/v1/reset_pb2.py @@ -2,26 +2,28 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/reset.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!temporal/api/enums/v1/reset.proto\x12\x15temporal.api.enums.v1*\xec\x01\n\x17ResetReapplyExcludeType\x12*\n&RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED\x10\x00\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL\x10\x01\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_UPDATE\x10\x02\x12$\n RESET_REAPPLY_EXCLUDE_TYPE_NEXUS\x10\x03\x12\x31\n)RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST\x10\x04\x1a\x02\x08\x01*\x97\x01\n\x10ResetReapplyType\x12"\n\x1eRESET_REAPPLY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESET_REAPPLY_TYPE_SIGNAL\x10\x01\x12\x1b\n\x17RESET_REAPPLY_TYPE_NONE\x10\x02\x12#\n\x1fRESET_REAPPLY_TYPE_ALL_ELIGIBLE\x10\x03*n\n\tResetType\x12\x1a\n\x16RESET_TYPE_UNSPECIFIED\x10\x00\x12"\n\x1eRESET_TYPE_FIRST_WORKFLOW_TASK\x10\x01\x12!\n\x1dRESET_TYPE_LAST_WORKFLOW_TASK\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nResetProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!temporal/api/enums/v1/reset.proto\x12\x15temporal.api.enums.v1*\xec\x01\n\x17ResetReapplyExcludeType\x12*\n&RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED\x10\x00\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL\x10\x01\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_UPDATE\x10\x02\x12$\n RESET_REAPPLY_EXCLUDE_TYPE_NEXUS\x10\x03\x12\x31\n)RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST\x10\x04\x1a\x02\x08\x01*\x97\x01\n\x10ResetReapplyType\x12\"\n\x1eRESET_REAPPLY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESET_REAPPLY_TYPE_SIGNAL\x10\x01\x12\x1b\n\x17RESET_REAPPLY_TYPE_NONE\x10\x02\x12#\n\x1fRESET_REAPPLY_TYPE_ALL_ELIGIBLE\x10\x03*n\n\tResetType\x12\x1a\n\x16RESET_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1eRESET_TYPE_FIRST_WORKFLOW_TASK\x10\x01\x12!\n\x1dRESET_TYPE_LAST_WORKFLOW_TASK\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nResetProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_RESETREAPPLYEXCLUDETYPE = DESCRIPTOR.enum_types_by_name['ResetReapplyExcludeType'] +_RESETREAPPLYEXCLUDETYPE = DESCRIPTOR.enum_types_by_name["ResetReapplyExcludeType"] ResetReapplyExcludeType = enum_type_wrapper.EnumTypeWrapper(_RESETREAPPLYEXCLUDETYPE) -_RESETREAPPLYTYPE = DESCRIPTOR.enum_types_by_name['ResetReapplyType'] +_RESETREAPPLYTYPE = DESCRIPTOR.enum_types_by_name["ResetReapplyType"] ResetReapplyType = enum_type_wrapper.EnumTypeWrapper(_RESETREAPPLYTYPE) -_RESETTYPE = DESCRIPTOR.enum_types_by_name['ResetType'] +_RESETTYPE = DESCRIPTOR.enum_types_by_name["ResetType"] ResetType = enum_type_wrapper.EnumTypeWrapper(_RESETTYPE) RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED = 0 RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL = 1 @@ -38,15 +40,18 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\nResetProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _RESETREAPPLYEXCLUDETYPE.values_by_name["RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"]._options = None - _RESETREAPPLYEXCLUDETYPE.values_by_name["RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"]._serialized_options = b'\010\001' - _RESETREAPPLYEXCLUDETYPE._serialized_start=61 - _RESETREAPPLYEXCLUDETYPE._serialized_end=297 - _RESETREAPPLYTYPE._serialized_start=300 - _RESETREAPPLYTYPE._serialized_end=451 - _RESETTYPE._serialized_start=453 - _RESETTYPE._serialized_end=563 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\nResetProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _RESETREAPPLYEXCLUDETYPE.values_by_name[ + "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST" + ]._options = None + _RESETREAPPLYEXCLUDETYPE.values_by_name[ + "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST" + ]._serialized_options = b"\010\001" + _RESETREAPPLYEXCLUDETYPE._serialized_start = 61 + _RESETREAPPLYEXCLUDETYPE._serialized_end = 297 + _RESETREAPPLYTYPE._serialized_start = 300 + _RESETREAPPLYTYPE._serialized_end = 451 + _RESETTYPE._serialized_start = 453 + _RESETTYPE._serialized_end = 563 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/reset_pb2.pyi b/temporalio/api/enums/v1/reset_pb2.pyi index 190df5dd6..ae31faddc 100644 --- a/temporalio/api/enums/v1/reset_pb2.pyi +++ b/temporalio/api/enums/v1/reset_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _ResetReapplyExcludeType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetReapplyExcludeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyExcludeType.ValueType], builtins.type): # noqa: F821 +class _ResetReapplyExcludeTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ResetReapplyExcludeType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: _ResetReapplyExcludeType.ValueType # 0 RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL: _ResetReapplyExcludeType.ValueType # 1 @@ -31,7 +38,9 @@ class _ResetReapplyExcludeTypeEnumTypeWrapper(google.protobuf.internal.enum_type RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST: _ResetReapplyExcludeType.ValueType # 4 """Deprecated, unimplemented option.""" -class ResetReapplyExcludeType(_ResetReapplyExcludeType, metaclass=_ResetReapplyExcludeTypeEnumTypeWrapper): +class ResetReapplyExcludeType( + _ResetReapplyExcludeType, metaclass=_ResetReapplyExcludeTypeEnumTypeWrapper +): """Event types to exclude when reapplying events beyond the reset point.""" RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: ResetReapplyExcludeType.ValueType # 0 @@ -49,7 +58,12 @@ class _ResetReapplyType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetReapplyTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyType.ValueType], builtins.type): # noqa: F821 +class _ResetReapplyTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ResetReapplyType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_REAPPLY_TYPE_UNSPECIFIED: _ResetReapplyType.ValueType # 0 RESET_REAPPLY_TYPE_SIGNAL: _ResetReapplyType.ValueType # 1 @@ -78,7 +92,10 @@ class _ResetType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ResetTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetType.ValueType], builtins.type): # noqa: F821 +class _ResetTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESET_TYPE_UNSPECIFIED: _ResetType.ValueType # 0 RESET_TYPE_FIRST_WORKFLOW_TASK: _ResetType.ValueType # 1 diff --git a/temporalio/api/enums/v1/schedule_pb2.py b/temporalio/api/enums/v1/schedule_pb2.py index a11aebe8b..4d5d4697e 100644 --- a/temporalio/api/enums/v1/schedule_pb2.py +++ b/temporalio/api/enums/v1/schedule_pb2.py @@ -2,22 +2,24 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/schedule.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n$temporal/api/enums/v1/schedule.proto\x12\x15temporal.api.enums.v1*\xb0\x02\n\x15ScheduleOverlapPolicy\x12'\n#SCHEDULE_OVERLAP_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEDULE_OVERLAP_POLICY_SKIP\x10\x01\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ONE\x10\x02\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ALL\x10\x03\x12(\n$SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER\x10\x04\x12+\n'SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER\x10\x05\x12%\n!SCHEDULE_OVERLAP_POLICY_ALLOW_ALL\x10\x06\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rScheduleProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/enums/v1/schedule.proto\x12\x15temporal.api.enums.v1*\xb0\x02\n\x15ScheduleOverlapPolicy\x12\'\n#SCHEDULE_OVERLAP_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEDULE_OVERLAP_POLICY_SKIP\x10\x01\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ONE\x10\x02\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ALL\x10\x03\x12(\n$SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER\x10\x04\x12+\n\'SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER\x10\x05\x12%\n!SCHEDULE_OVERLAP_POLICY_ALLOW_ALL\x10\x06\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rScheduleProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_SCHEDULEOVERLAPPOLICY = DESCRIPTOR.enum_types_by_name['ScheduleOverlapPolicy'] +_SCHEDULEOVERLAPPOLICY = DESCRIPTOR.enum_types_by_name["ScheduleOverlapPolicy"] ScheduleOverlapPolicy = enum_type_wrapper.EnumTypeWrapper(_SCHEDULEOVERLAPPOLICY) SCHEDULE_OVERLAP_POLICY_UNSPECIFIED = 0 SCHEDULE_OVERLAP_POLICY_SKIP = 1 @@ -29,9 +31,8 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\rScheduleProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _SCHEDULEOVERLAPPOLICY._serialized_start=64 - _SCHEDULEOVERLAPPOLICY._serialized_end=368 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rScheduleProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _SCHEDULEOVERLAPPOLICY._serialized_start = 64 + _SCHEDULEOVERLAPPOLICY._serialized_end = 368 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/schedule_pb2.pyi b/temporalio/api/enums/v1/schedule_pb2.pyi index fc9a3744a..2bae9551a 100644 --- a/temporalio/api/enums/v1/schedule_pb2.pyi +++ b/temporalio/api/enums/v1/schedule_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _ScheduleOverlapPolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ScheduleOverlapPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ScheduleOverlapPolicy.ValueType], builtins.type): # noqa: F821 +class _ScheduleOverlapPolicyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ScheduleOverlapPolicy.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SCHEDULE_OVERLAP_POLICY_UNSPECIFIED: _ScheduleOverlapPolicy.ValueType # 0 SCHEDULE_OVERLAP_POLICY_SKIP: _ScheduleOverlapPolicy.ValueType # 1 @@ -50,7 +57,9 @@ class _ScheduleOverlapPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_w available since workflows are not sequential. """ -class ScheduleOverlapPolicy(_ScheduleOverlapPolicy, metaclass=_ScheduleOverlapPolicyEnumTypeWrapper): +class ScheduleOverlapPolicy( + _ScheduleOverlapPolicy, metaclass=_ScheduleOverlapPolicyEnumTypeWrapper +): """ScheduleOverlapPolicy controls what happens when a workflow would be started by a schedule, and is already running. """ diff --git a/temporalio/api/enums/v1/task_queue_pb2.py b/temporalio/api/enums/v1/task_queue_pb2.py index 008a0e4d3..7edeb4a5a 100644 --- a/temporalio/api/enums/v1/task_queue_pb2.py +++ b/temporalio/api/enums/v1/task_queue_pb2.py @@ -2,32 +2,34 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/task_queue.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*\x87\x01\n\rTaskQueueType\x12\x1f\n\x1bTASK_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18TASK_QUEUE_TYPE_WORKFLOW\x10\x01\x12\x1c\n\x18TASK_QUEUE_TYPE_ACTIVITY\x10\x02\x12\x19\n\x15TASK_QUEUE_TYPE_NEXUS\x10\x03*\xd2\x01\n\x10TaskReachability\x12!\n\x1dTASK_REACHABILITY_UNSPECIFIED\x10\x00\x12#\n\x1fTASK_REACHABILITY_NEW_WORKFLOWS\x10\x01\x12(\n$TASK_REACHABILITY_EXISTING_WORKFLOWS\x10\x02\x12$\n TASK_REACHABILITY_OPEN_WORKFLOWS\x10\x03\x12&\n"TASK_REACHABILITY_CLOSED_WORKFLOWS\x10\x04*\xd1\x01\n\x17\x42uildIdTaskReachability\x12*\n&BUILD_ID_TASK_REACHABILITY_UNSPECIFIED\x10\x00\x12(\n$BUILD_ID_TASK_REACHABILITY_REACHABLE\x10\x01\x12\x34\n0BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12*\n&BUILD_ID_TASK_REACHABILITY_UNREACHABLE\x10\x03*h\n\x15\x44\x65scribeTaskQueueMode\x12(\n$DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED\x10\x00\x12%\n!DESCRIBE_TASK_QUEUE_MODE_ENHANCED\x10\x01*\x8b\x01\n\x0fRateLimitSource\x12!\n\x1dRATE_LIMIT_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15RATE_LIMIT_SOURCE_API\x10\x01\x12\x1c\n\x18RATE_LIMIT_SOURCE_WORKER\x10\x02\x12\x1c\n\x18RATE_LIMIT_SOURCE_SYSTEM\x10\x03\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*\x87\x01\n\rTaskQueueType\x12\x1f\n\x1bTASK_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18TASK_QUEUE_TYPE_WORKFLOW\x10\x01\x12\x1c\n\x18TASK_QUEUE_TYPE_ACTIVITY\x10\x02\x12\x19\n\x15TASK_QUEUE_TYPE_NEXUS\x10\x03*\xd2\x01\n\x10TaskReachability\x12!\n\x1dTASK_REACHABILITY_UNSPECIFIED\x10\x00\x12#\n\x1fTASK_REACHABILITY_NEW_WORKFLOWS\x10\x01\x12(\n$TASK_REACHABILITY_EXISTING_WORKFLOWS\x10\x02\x12$\n TASK_REACHABILITY_OPEN_WORKFLOWS\x10\x03\x12&\n\"TASK_REACHABILITY_CLOSED_WORKFLOWS\x10\x04*\xd1\x01\n\x17\x42uildIdTaskReachability\x12*\n&BUILD_ID_TASK_REACHABILITY_UNSPECIFIED\x10\x00\x12(\n$BUILD_ID_TASK_REACHABILITY_REACHABLE\x10\x01\x12\x34\n0BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12*\n&BUILD_ID_TASK_REACHABILITY_UNREACHABLE\x10\x03*h\n\x15\x44\x65scribeTaskQueueMode\x12(\n$DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED\x10\x00\x12%\n!DESCRIBE_TASK_QUEUE_MODE_ENHANCED\x10\x01*\x8b\x01\n\x0fRateLimitSource\x12!\n\x1dRATE_LIMIT_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15RATE_LIMIT_SOURCE_API\x10\x01\x12\x1c\n\x18RATE_LIMIT_SOURCE_WORKER\x10\x02\x12\x1c\n\x18RATE_LIMIT_SOURCE_SYSTEM\x10\x03\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_TASKQUEUEKIND = DESCRIPTOR.enum_types_by_name['TaskQueueKind'] +_TASKQUEUEKIND = DESCRIPTOR.enum_types_by_name["TaskQueueKind"] TaskQueueKind = enum_type_wrapper.EnumTypeWrapper(_TASKQUEUEKIND) -_TASKQUEUETYPE = DESCRIPTOR.enum_types_by_name['TaskQueueType'] +_TASKQUEUETYPE = DESCRIPTOR.enum_types_by_name["TaskQueueType"] TaskQueueType = enum_type_wrapper.EnumTypeWrapper(_TASKQUEUETYPE) -_TASKREACHABILITY = DESCRIPTOR.enum_types_by_name['TaskReachability'] +_TASKREACHABILITY = DESCRIPTOR.enum_types_by_name["TaskReachability"] TaskReachability = enum_type_wrapper.EnumTypeWrapper(_TASKREACHABILITY) -_BUILDIDTASKREACHABILITY = DESCRIPTOR.enum_types_by_name['BuildIdTaskReachability'] +_BUILDIDTASKREACHABILITY = DESCRIPTOR.enum_types_by_name["BuildIdTaskReachability"] BuildIdTaskReachability = enum_type_wrapper.EnumTypeWrapper(_BUILDIDTASKREACHABILITY) -_DESCRIBETASKQUEUEMODE = DESCRIPTOR.enum_types_by_name['DescribeTaskQueueMode'] +_DESCRIBETASKQUEUEMODE = DESCRIPTOR.enum_types_by_name["DescribeTaskQueueMode"] DescribeTaskQueueMode = enum_type_wrapper.EnumTypeWrapper(_DESCRIBETASKQUEUEMODE) -_RATELIMITSOURCE = DESCRIPTOR.enum_types_by_name['RateLimitSource'] +_RATELIMITSOURCE = DESCRIPTOR.enum_types_by_name["RateLimitSource"] RateLimitSource = enum_type_wrapper.EnumTypeWrapper(_RATELIMITSOURCE) TASK_QUEUE_KIND_UNSPECIFIED = 0 TASK_QUEUE_KIND_NORMAL = 1 @@ -54,19 +56,18 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\016TaskQueueProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _TASKQUEUEKIND._serialized_start=65 - _TASKQUEUEKIND._serialized_end=169 - _TASKQUEUETYPE._serialized_start=172 - _TASKQUEUETYPE._serialized_end=307 - _TASKREACHABILITY._serialized_start=310 - _TASKREACHABILITY._serialized_end=520 - _BUILDIDTASKREACHABILITY._serialized_start=523 - _BUILDIDTASKREACHABILITY._serialized_end=732 - _DESCRIBETASKQUEUEMODE._serialized_start=734 - _DESCRIBETASKQUEUEMODE._serialized_end=838 - _RATELIMITSOURCE._serialized_start=841 - _RATELIMITSOURCE._serialized_end=980 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\016TaskQueueProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _TASKQUEUEKIND._serialized_start = 65 + _TASKQUEUEKIND._serialized_end = 169 + _TASKQUEUETYPE._serialized_start = 172 + _TASKQUEUETYPE._serialized_end = 307 + _TASKREACHABILITY._serialized_start = 310 + _TASKREACHABILITY._serialized_end = 520 + _BUILDIDTASKREACHABILITY._serialized_start = 523 + _BUILDIDTASKREACHABILITY._serialized_end = 732 + _DESCRIBETASKQUEUEMODE._serialized_start = 734 + _DESCRIBETASKQUEUEMODE._serialized_end = 838 + _RATELIMITSOURCE._serialized_start = 841 + _RATELIMITSOURCE._serialized_end = 980 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/task_queue_pb2.pyi b/temporalio/api/enums/v1/task_queue_pb2.pyi index 369df4077..3f7cc5460 100644 --- a/temporalio/api/enums/v1/task_queue_pb2.pyi +++ b/temporalio/api/enums/v1/task_queue_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,7 +21,12 @@ class _TaskQueueKind: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskQueueKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskQueueKind.ValueType], builtins.type): # noqa: F821 +class _TaskQueueKindEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _TaskQueueKind.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_QUEUE_KIND_UNSPECIFIED: _TaskQueueKind.ValueType # 0 TASK_QUEUE_KIND_NORMAL: _TaskQueueKind.ValueType # 1 @@ -66,7 +73,12 @@ class _TaskQueueType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskQueueTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskQueueType.ValueType], builtins.type): # noqa: F821 +class _TaskQueueTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _TaskQueueType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_QUEUE_TYPE_UNSPECIFIED: _TaskQueueType.ValueType # 0 TASK_QUEUE_TYPE_WORKFLOW: _TaskQueueType.ValueType # 1 @@ -91,7 +103,12 @@ class _TaskReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskReachability.ValueType], builtins.type): # noqa: F821 +class _TaskReachabilityEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _TaskReachability.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TASK_REACHABILITY_UNSPECIFIED: _TaskReachability.ValueType # 0 TASK_REACHABILITY_NEW_WORKFLOWS: _TaskReachability.ValueType # 1 @@ -138,7 +155,12 @@ class _BuildIdTaskReachability: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _BuildIdTaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BuildIdTaskReachability.ValueType], builtins.type): # noqa: F821 +class _BuildIdTaskReachabilityEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _BuildIdTaskReachability.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BUILD_ID_TASK_REACHABILITY_UNSPECIFIED: _BuildIdTaskReachability.ValueType # 0 """Task reachability is not reported""" @@ -146,7 +168,9 @@ class _BuildIdTaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type """Build ID may be used by new workflows or activities (base on versioning rules), or there MAY be open workflows or backlogged activities assigned to it. """ - BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY: _BuildIdTaskReachability.ValueType # 2 + BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY: ( + _BuildIdTaskReachability.ValueType + ) # 2 """Build ID does not have open workflows and is not reachable by new workflows, but MAY have closed workflows within the namespace retention period. Not applicable to activity-only task queues. @@ -156,7 +180,9 @@ class _BuildIdTaskReachabilityEnumTypeWrapper(google.protobuf.internal.enum_type within the retention period. """ -class BuildIdTaskReachability(_BuildIdTaskReachability, metaclass=_BuildIdTaskReachabilityEnumTypeWrapper): +class BuildIdTaskReachability( + _BuildIdTaskReachability, metaclass=_BuildIdTaskReachabilityEnumTypeWrapper +): """Specifies which category of tasks may reach a versioned worker of a certain Build ID. Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it @@ -191,14 +217,21 @@ class _DescribeTaskQueueMode: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _DescribeTaskQueueModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DescribeTaskQueueMode.ValueType], builtins.type): # noqa: F821 +class _DescribeTaskQueueModeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _DescribeTaskQueueMode.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: _DescribeTaskQueueMode.ValueType # 0 """Unspecified means legacy behavior.""" DESCRIBE_TASK_QUEUE_MODE_ENHANCED: _DescribeTaskQueueMode.ValueType # 1 """Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.""" -class DescribeTaskQueueMode(_DescribeTaskQueueMode, metaclass=_DescribeTaskQueueModeEnumTypeWrapper): ... +class DescribeTaskQueueMode( + _DescribeTaskQueueMode, metaclass=_DescribeTaskQueueModeEnumTypeWrapper +): ... DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: DescribeTaskQueueMode.ValueType # 0 """Unspecified means legacy behavior.""" @@ -210,7 +243,12 @@ class _RateLimitSource: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RateLimitSourceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RateLimitSource.ValueType], builtins.type): # noqa: F821 +class _RateLimitSourceEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _RateLimitSource.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RATE_LIMIT_SOURCE_UNSPECIFIED: _RateLimitSource.ValueType # 0 RATE_LIMIT_SOURCE_API: _RateLimitSource.ValueType # 1 diff --git a/temporalio/api/enums/v1/update_pb2.py b/temporalio/api/enums/v1/update_pb2.py index 0df3accea..fb9215552 100644 --- a/temporalio/api/enums/v1/update_pb2.py +++ b/temporalio/api/enums/v1/update_pb2.py @@ -2,25 +2,33 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/update.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"temporal/api/enums/v1/update.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n%UpdateWorkflowExecutionLifecycleStage\x12\x39\n5UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED\x10\x00\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED\x10\x01\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED\x10\x02\x12\x37\n3UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED\x10\x03*s\n\x19UpdateAdmittedEventOrigin\x12,\n(UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED\x10\x00\x12(\n$UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY\x10\x01\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0bUpdateProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE = DESCRIPTOR.enum_types_by_name['UpdateWorkflowExecutionLifecycleStage'] -UpdateWorkflowExecutionLifecycleStage = enum_type_wrapper.EnumTypeWrapper(_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE) -_UPDATEADMITTEDEVENTORIGIN = DESCRIPTOR.enum_types_by_name['UpdateAdmittedEventOrigin'] -UpdateAdmittedEventOrigin = enum_type_wrapper.EnumTypeWrapper(_UPDATEADMITTEDEVENTORIGIN) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"temporal/api/enums/v1/update.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n%UpdateWorkflowExecutionLifecycleStage\x12\x39\n5UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED\x10\x00\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED\x10\x01\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED\x10\x02\x12\x37\n3UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED\x10\x03*s\n\x19UpdateAdmittedEventOrigin\x12,\n(UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED\x10\x00\x12(\n$UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY\x10\x01\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0bUpdateProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3' +) + +_UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE = DESCRIPTOR.enum_types_by_name[ + "UpdateWorkflowExecutionLifecycleStage" +] +UpdateWorkflowExecutionLifecycleStage = enum_type_wrapper.EnumTypeWrapper( + _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE +) +_UPDATEADMITTEDEVENTORIGIN = DESCRIPTOR.enum_types_by_name["UpdateAdmittedEventOrigin"] +UpdateAdmittedEventOrigin = enum_type_wrapper.EnumTypeWrapper( + _UPDATEADMITTEDEVENTORIGIN +) UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0 UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1 UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2 @@ -30,11 +38,10 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\013UpdateProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_start=62 - _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_end=329 - _UPDATEADMITTEDEVENTORIGIN._serialized_start=331 - _UPDATEADMITTEDEVENTORIGIN._serialized_end=446 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013UpdateProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_start = 62 + _UPDATEWORKFLOWEXECUTIONLIFECYCLESTAGE._serialized_end = 329 + _UPDATEADMITTEDEVENTORIGIN._serialized_start = 331 + _UPDATEADMITTEDEVENTORIGIN._serialized_end = 446 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/update_pb2.pyi b/temporalio/api/enums/v1/update_pb2.pyi index 9bc53968e..b6d694bd2 100644 --- a/temporalio/api/enums/v1/update_pb2.pyi +++ b/temporalio/api/enums/v1/update_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,25 +21,41 @@ class _UpdateWorkflowExecutionLifecycleStage: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_UpdateWorkflowExecutionLifecycleStage.ValueType], builtins.type): # noqa: F821 +class _UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _UpdateWorkflowExecutionLifecycleStage.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 0 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: ( + _UpdateWorkflowExecutionLifecycleStage.ValueType + ) # 0 """An unspecified value for this enum.""" - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 1 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: ( + _UpdateWorkflowExecutionLifecycleStage.ValueType + ) # 1 """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. This value does not wait for any sort of acknowledgement from a worker. """ - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 2 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: ( + _UpdateWorkflowExecutionLifecycleStage.ValueType + ) # 2 """The API call will not return until the Update has passed validation on a worker.""" - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: _UpdateWorkflowExecutionLifecycleStage.ValueType # 3 + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: ( + _UpdateWorkflowExecutionLifecycleStage.ValueType + ) # 3 """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. """ -class UpdateWorkflowExecutionLifecycleStage(_UpdateWorkflowExecutionLifecycleStage, metaclass=_UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper): +class UpdateWorkflowExecutionLifecycleStage( + _UpdateWorkflowExecutionLifecycleStage, + metaclass=_UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper, +): """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 @@ -49,18 +67,26 @@ class UpdateWorkflowExecutionLifecycleStage(_UpdateWorkflowExecutionLifecycleSta actual stage reached. """ -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: UpdateWorkflowExecutionLifecycleStage.ValueType # 0 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: ( + UpdateWorkflowExecutionLifecycleStage.ValueType +) # 0 """An unspecified value for this enum.""" -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: UpdateWorkflowExecutionLifecycleStage.ValueType # 1 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: ( + UpdateWorkflowExecutionLifecycleStage.ValueType +) # 1 """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. This value does not wait for any sort of acknowledgement from a worker. """ -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: UpdateWorkflowExecutionLifecycleStage.ValueType # 2 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: ( + UpdateWorkflowExecutionLifecycleStage.ValueType +) # 2 """The API call will not return until the Update has passed validation on a worker.""" -UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: UpdateWorkflowExecutionLifecycleStage.ValueType # 3 +UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: ( + UpdateWorkflowExecutionLifecycleStage.ValueType +) # 3 """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. """ @@ -70,7 +96,12 @@ class _UpdateAdmittedEventOrigin: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _UpdateAdmittedEventOriginEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_UpdateAdmittedEventOrigin.ValueType], builtins.type): # noqa: F821 +class _UpdateAdmittedEventOriginEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _UpdateAdmittedEventOrigin.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED: _UpdateAdmittedEventOrigin.ValueType # 0 UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY: _UpdateAdmittedEventOrigin.ValueType # 1 @@ -79,7 +110,9 @@ class _UpdateAdmittedEventOriginEnumTypeWrapper(google.protobuf.internal.enum_ty was converted into an admitted Update on a different branch. """ -class UpdateAdmittedEventOrigin(_UpdateAdmittedEventOrigin, metaclass=_UpdateAdmittedEventOriginEnumTypeWrapper): +class UpdateAdmittedEventOrigin( + _UpdateAdmittedEventOrigin, metaclass=_UpdateAdmittedEventOriginEnumTypeWrapper +): """Records why a WorkflowExecutionUpdateAdmittedEvent was written to history. Note that not all admitted Updates result in this event. """ diff --git a/temporalio/api/enums/v1/workflow_pb2.py b/temporalio/api/enums/v1/workflow_pb2.py index 76fc5334a..03600d345 100644 --- a/temporalio/api/enums/v1/workflow_pb2.py +++ b/temporalio/api/enums/v1/workflow_pb2.py @@ -2,42 +2,44 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/workflow.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n$temporal/api/enums/v1/workflow.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n\x15WorkflowIdReusePolicy\x12(\n$WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03\x12\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*\xcf\x01\n\x18WorkflowIdConflictPolicy\x12+\n'WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x12\x32\n.WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING\x10\x03*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xbd\x01\n\x16\x43ontinueAsNewInitiator\x12)\n%CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED\x10\x00\x12&\n\"CONTINUE_AS_NEW_INITIATOR_WORKFLOW\x10\x01\x12#\n\x1f\x43ONTINUE_AS_NEW_INITIATOR_RETRY\x10\x02\x12+\n'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\x84\x02\n\x14PendingActivityState\x12&\n\"PENDING_ACTIVITY_STATE_UNSPECIFIED\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03\x12!\n\x1dPENDING_ACTIVITY_STATE_PAUSED\x10\x04\x12*\n&PENDING_ACTIVITY_STATE_PAUSE_REQUESTED\x10\x05*\x9b\x01\n\x18PendingWorkflowTaskState\x12+\n'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED\x10\x00\x12)\n%PENDING_WORKFLOW_TASK_STATE_SCHEDULED\x10\x01\x12'\n#PENDING_WORKFLOW_TASK_STATE_STARTED\x10\x02*\x97\x01\n\x16HistoryEventFilterType\x12)\n%HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED\x10\x00\x12'\n#HISTORY_EVENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12)\n%HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT\x10\x02*\x9f\x02\n\nRetryState\x12\x1b\n\x17RETRY_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETRY_STATE_IN_PROGRESS\x10\x01\x12%\n!RETRY_STATE_NON_RETRYABLE_FAILURE\x10\x02\x12\x17\n\x13RETRY_STATE_TIMEOUT\x10\x03\x12(\n$RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED\x10\x04\x12$\n RETRY_STATE_RETRY_POLICY_NOT_SET\x10\x05\x12%\n!RETRY_STATE_INTERNAL_SERVER_ERROR\x10\x06\x12 \n\x1cRETRY_STATE_CANCEL_REQUESTED\x10\x07*\xb0\x01\n\x0bTimeoutType\x12\x1c\n\x18TIMEOUT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04*\x7f\n\x12VersioningBehavior\x12#\n\x1fVERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVERSIONING_BEHAVIOR_PINNED\x10\x01\x12$\n VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/enums/v1/workflow.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n\x15WorkflowIdReusePolicy\x12(\n$WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03\x12\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*\xcf\x01\n\x18WorkflowIdConflictPolicy\x12+\n\'WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x12\x32\n.WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING\x10\x03*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xbd\x01\n\x16\x43ontinueAsNewInitiator\x12)\n%CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED\x10\x00\x12&\n\"CONTINUE_AS_NEW_INITIATOR_WORKFLOW\x10\x01\x12#\n\x1f\x43ONTINUE_AS_NEW_INITIATOR_RETRY\x10\x02\x12+\n\'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12\'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\x84\x02\n\x14PendingActivityState\x12&\n\"PENDING_ACTIVITY_STATE_UNSPECIFIED\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n\'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03\x12!\n\x1dPENDING_ACTIVITY_STATE_PAUSED\x10\x04\x12*\n&PENDING_ACTIVITY_STATE_PAUSE_REQUESTED\x10\x05*\x9b\x01\n\x18PendingWorkflowTaskState\x12+\n\'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED\x10\x00\x12)\n%PENDING_WORKFLOW_TASK_STATE_SCHEDULED\x10\x01\x12\'\n#PENDING_WORKFLOW_TASK_STATE_STARTED\x10\x02*\x97\x01\n\x16HistoryEventFilterType\x12)\n%HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\'\n#HISTORY_EVENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12)\n%HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT\x10\x02*\x9f\x02\n\nRetryState\x12\x1b\n\x17RETRY_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETRY_STATE_IN_PROGRESS\x10\x01\x12%\n!RETRY_STATE_NON_RETRYABLE_FAILURE\x10\x02\x12\x17\n\x13RETRY_STATE_TIMEOUT\x10\x03\x12(\n$RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED\x10\x04\x12$\n RETRY_STATE_RETRY_POLICY_NOT_SET\x10\x05\x12%\n!RETRY_STATE_INTERNAL_SERVER_ERROR\x10\x06\x12 \n\x1cRETRY_STATE_CANCEL_REQUESTED\x10\x07*\xb0\x01\n\x0bTimeoutType\x12\x1c\n\x18TIMEOUT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04*\x7f\n\x12VersioningBehavior\x12#\n\x1fVERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVERSIONING_BEHAVIOR_PINNED\x10\x01\x12$\n VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3') - -_WORKFLOWIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name['WorkflowIdReusePolicy'] +_WORKFLOWIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name["WorkflowIdReusePolicy"] WorkflowIdReusePolicy = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWIDREUSEPOLICY) -_WORKFLOWIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name['WorkflowIdConflictPolicy'] +_WORKFLOWIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name["WorkflowIdConflictPolicy"] WorkflowIdConflictPolicy = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWIDCONFLICTPOLICY) -_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name['ParentClosePolicy'] +_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) -_CONTINUEASNEWINITIATOR = DESCRIPTOR.enum_types_by_name['ContinueAsNewInitiator'] +_CONTINUEASNEWINITIATOR = DESCRIPTOR.enum_types_by_name["ContinueAsNewInitiator"] ContinueAsNewInitiator = enum_type_wrapper.EnumTypeWrapper(_CONTINUEASNEWINITIATOR) -_WORKFLOWEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name['WorkflowExecutionStatus'] +_WORKFLOWEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name["WorkflowExecutionStatus"] WorkflowExecutionStatus = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWEXECUTIONSTATUS) -_PENDINGACTIVITYSTATE = DESCRIPTOR.enum_types_by_name['PendingActivityState'] +_PENDINGACTIVITYSTATE = DESCRIPTOR.enum_types_by_name["PendingActivityState"] PendingActivityState = enum_type_wrapper.EnumTypeWrapper(_PENDINGACTIVITYSTATE) -_PENDINGWORKFLOWTASKSTATE = DESCRIPTOR.enum_types_by_name['PendingWorkflowTaskState'] +_PENDINGWORKFLOWTASKSTATE = DESCRIPTOR.enum_types_by_name["PendingWorkflowTaskState"] PendingWorkflowTaskState = enum_type_wrapper.EnumTypeWrapper(_PENDINGWORKFLOWTASKSTATE) -_HISTORYEVENTFILTERTYPE = DESCRIPTOR.enum_types_by_name['HistoryEventFilterType'] +_HISTORYEVENTFILTERTYPE = DESCRIPTOR.enum_types_by_name["HistoryEventFilterType"] HistoryEventFilterType = enum_type_wrapper.EnumTypeWrapper(_HISTORYEVENTFILTERTYPE) -_RETRYSTATE = DESCRIPTOR.enum_types_by_name['RetryState'] +_RETRYSTATE = DESCRIPTOR.enum_types_by_name["RetryState"] RetryState = enum_type_wrapper.EnumTypeWrapper(_RETRYSTATE) -_TIMEOUTTYPE = DESCRIPTOR.enum_types_by_name['TimeoutType'] +_TIMEOUTTYPE = DESCRIPTOR.enum_types_by_name["TimeoutType"] TimeoutType = enum_type_wrapper.EnumTypeWrapper(_TIMEOUTTYPE) -_VERSIONINGBEHAVIOR = DESCRIPTOR.enum_types_by_name['VersioningBehavior'] +_VERSIONINGBEHAVIOR = DESCRIPTOR.enum_types_by_name["VersioningBehavior"] VersioningBehavior = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGBEHAVIOR) WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1 @@ -95,29 +97,28 @@ if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.enums.v1B\rWorkflowProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1' - _WORKFLOWIDREUSEPOLICY._serialized_start=64 - _WORKFLOWIDREUSEPOLICY._serialized_end=331 - _WORKFLOWIDCONFLICTPOLICY._serialized_start=334 - _WORKFLOWIDCONFLICTPOLICY._serialized_end=541 - _PARENTCLOSEPOLICY._serialized_start=544 - _PARENTCLOSEPOLICY._serialized_end=708 - _CONTINUEASNEWINITIATOR._serialized_start=711 - _CONTINUEASNEWINITIATOR._serialized_end=900 - _WORKFLOWEXECUTIONSTATUS._serialized_start=903 - _WORKFLOWEXECUTIONSTATUS._serialized_end=1260 - _PENDINGACTIVITYSTATE._serialized_start=1263 - _PENDINGACTIVITYSTATE._serialized_end=1523 - _PENDINGWORKFLOWTASKSTATE._serialized_start=1526 - _PENDINGWORKFLOWTASKSTATE._serialized_end=1681 - _HISTORYEVENTFILTERTYPE._serialized_start=1684 - _HISTORYEVENTFILTERTYPE._serialized_end=1835 - _RETRYSTATE._serialized_start=1838 - _RETRYSTATE._serialized_end=2125 - _TIMEOUTTYPE._serialized_start=2128 - _TIMEOUTTYPE._serialized_end=2304 - _VERSIONINGBEHAVIOR._serialized_start=2306 - _VERSIONINGBEHAVIOR._serialized_end=2433 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rWorkflowProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _WORKFLOWIDREUSEPOLICY._serialized_start = 64 + _WORKFLOWIDREUSEPOLICY._serialized_end = 331 + _WORKFLOWIDCONFLICTPOLICY._serialized_start = 334 + _WORKFLOWIDCONFLICTPOLICY._serialized_end = 541 + _PARENTCLOSEPOLICY._serialized_start = 544 + _PARENTCLOSEPOLICY._serialized_end = 708 + _CONTINUEASNEWINITIATOR._serialized_start = 711 + _CONTINUEASNEWINITIATOR._serialized_end = 900 + _WORKFLOWEXECUTIONSTATUS._serialized_start = 903 + _WORKFLOWEXECUTIONSTATUS._serialized_end = 1260 + _PENDINGACTIVITYSTATE._serialized_start = 1263 + _PENDINGACTIVITYSTATE._serialized_end = 1523 + _PENDINGWORKFLOWTASKSTATE._serialized_start = 1526 + _PENDINGWORKFLOWTASKSTATE._serialized_end = 1681 + _HISTORYEVENTFILTERTYPE._serialized_start = 1684 + _HISTORYEVENTFILTERTYPE._serialized_end = 1835 + _RETRYSTATE._serialized_start = 1838 + _RETRYSTATE._serialized_end = 2125 + _TIMEOUTTYPE._serialized_start = 2128 + _TIMEOUTTYPE._serialized_end = 2304 + _VERSIONINGBEHAVIOR._serialized_start = 2306 + _VERSIONINGBEHAVIOR._serialized_end = 2433 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/workflow_pb2.pyi b/temporalio/api/enums/v1/workflow_pb2.pyi index 22ff7e633..516bdce56 100644 --- a/temporalio/api/enums/v1/workflow_pb2.pyi +++ b/temporalio/api/enums/v1/workflow_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper import sys import typing +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper + if sys.version_info >= (3, 10): import typing as typing_extensions else: @@ -19,12 +21,19 @@ class _WorkflowIdReusePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowIdReusePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowIdReusePolicy.ValueType], builtins.type): # noqa: F821 +class _WorkflowIdReusePolicyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkflowIdReusePolicy.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: _WorkflowIdReusePolicy.ValueType # 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: _WorkflowIdReusePolicy.ValueType # 1 """Allow starting a workflow execution using the same workflow id.""" - WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: _WorkflowIdReusePolicy.ValueType # 2 + WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: ( + _WorkflowIdReusePolicy.ValueType + ) # 2 """Allow starting a workflow execution using the same workflow id, only when the last execution's final state is one of [terminated, cancelled, timed out, failed]. """ @@ -39,7 +48,9 @@ class _WorkflowIdReusePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_w If no running workflow, then the behavior is the same as ALLOW_DUPLICATE. """ -class WorkflowIdReusePolicy(_WorkflowIdReusePolicy, metaclass=_WorkflowIdReusePolicyEnumTypeWrapper): +class WorkflowIdReusePolicy( + _WorkflowIdReusePolicy, metaclass=_WorkflowIdReusePolicyEnumTypeWrapper +): """Defines whether to allow re-using a workflow id from a previously *closed* workflow. If the request is denied, the server returns a `WorkflowExecutionAlreadyStartedFailure` error. @@ -49,7 +60,9 @@ class WorkflowIdReusePolicy(_WorkflowIdReusePolicy, metaclass=_WorkflowIdReusePo WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: WorkflowIdReusePolicy.ValueType # 0 WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: WorkflowIdReusePolicy.ValueType # 1 """Allow starting a workflow execution using the same workflow id.""" -WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: WorkflowIdReusePolicy.ValueType # 2 +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: ( + WorkflowIdReusePolicy.ValueType +) # 2 """Allow starting a workflow execution using the same workflow id, only when the last execution's final state is one of [terminated, cancelled, timed out, failed]. """ @@ -69,17 +82,26 @@ class _WorkflowIdConflictPolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowIdConflictPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowIdConflictPolicy.ValueType], builtins.type): # noqa: F821 +class _WorkflowIdConflictPolicyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkflowIdConflictPolicy.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED: _WorkflowIdConflictPolicy.ValueType # 0 WORKFLOW_ID_CONFLICT_POLICY_FAIL: _WorkflowIdConflictPolicy.ValueType # 1 """Don't start a new workflow; instead return `WorkflowExecutionAlreadyStartedFailure`.""" WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING: _WorkflowIdConflictPolicy.ValueType # 2 """Don't start a new workflow; instead return a workflow handle for the running workflow.""" - WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING: _WorkflowIdConflictPolicy.ValueType # 3 + WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING: ( + _WorkflowIdConflictPolicy.ValueType + ) # 3 """Terminate the running workflow before starting a new one.""" -class WorkflowIdConflictPolicy(_WorkflowIdConflictPolicy, metaclass=_WorkflowIdConflictPolicyEnumTypeWrapper): +class WorkflowIdConflictPolicy( + _WorkflowIdConflictPolicy, metaclass=_WorkflowIdConflictPolicyEnumTypeWrapper +): """Defines what to do when trying to start a workflow with the same workflow id as a *running* workflow. Note that it is *never* valid to have two actively running instances of the same workflow id. @@ -99,7 +121,12 @@ class _ParentClosePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ParentClosePolicy.ValueType], builtins.type): # noqa: F821 +class _ParentClosePolicyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ParentClosePolicy.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 PARENT_CLOSE_POLICY_TERMINATE: _ParentClosePolicy.ValueType # 1 @@ -109,7 +136,9 @@ class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapp PARENT_CLOSE_POLICY_REQUEST_CANCEL: _ParentClosePolicy.ValueType # 3 """Cancellation will be requested of the child workflow""" -class ParentClosePolicy(_ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper): +class ParentClosePolicy( + _ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper +): """Defines how child workflows will react to their parent completing""" PARENT_CLOSE_POLICY_UNSPECIFIED: ParentClosePolicy.ValueType # 0 @@ -125,7 +154,12 @@ class _ContinueAsNewInitiator: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ContinueAsNewInitiatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ContinueAsNewInitiator.ValueType], builtins.type): # noqa: F821 +class _ContinueAsNewInitiatorEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ContinueAsNewInitiator.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED: _ContinueAsNewInitiator.ValueType # 0 CONTINUE_AS_NEW_INITIATOR_WORKFLOW: _ContinueAsNewInitiator.ValueType # 1 @@ -135,7 +169,9 @@ class _ContinueAsNewInitiatorEnumTypeWrapper(google.protobuf.internal.enum_type_ CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE: _ContinueAsNewInitiator.ValueType # 3 """The workflow continued as new because cron has triggered a new execution""" -class ContinueAsNewInitiator(_ContinueAsNewInitiator, metaclass=_ContinueAsNewInitiatorEnumTypeWrapper): ... +class ContinueAsNewInitiator( + _ContinueAsNewInitiator, metaclass=_ContinueAsNewInitiatorEnumTypeWrapper +): ... CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED: ContinueAsNewInitiator.ValueType # 0 CONTINUE_AS_NEW_INITIATOR_WORKFLOW: ContinueAsNewInitiator.ValueType # 1 @@ -150,7 +186,12 @@ class _WorkflowExecutionStatus: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _WorkflowExecutionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkflowExecutionStatus.ValueType], builtins.type): # noqa: F821 +class _WorkflowExecutionStatusEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _WorkflowExecutionStatus.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: _WorkflowExecutionStatus.ValueType # 0 WORKFLOW_EXECUTION_STATUS_RUNNING: _WorkflowExecutionStatus.ValueType # 1 @@ -162,9 +203,11 @@ class _WorkflowExecutionStatusEnumTypeWrapper(google.protobuf.internal.enum_type WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW: _WorkflowExecutionStatus.ValueType # 6 WORKFLOW_EXECUTION_STATUS_TIMED_OUT: _WorkflowExecutionStatus.ValueType # 7 -class WorkflowExecutionStatus(_WorkflowExecutionStatus, metaclass=_WorkflowExecutionStatusEnumTypeWrapper): +class WorkflowExecutionStatus( + _WorkflowExecutionStatus, metaclass=_WorkflowExecutionStatusEnumTypeWrapper +): """(-- api-linter: core::0216::synonyms=disabled - aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --) + aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --) """ WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: WorkflowExecutionStatus.ValueType # 0 @@ -182,7 +225,12 @@ class _PendingActivityState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingActivityStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingActivityState.ValueType], builtins.type): # noqa: F821 +class _PendingActivityStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _PendingActivityState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_ACTIVITY_STATE_UNSPECIFIED: _PendingActivityState.ValueType # 0 PENDING_ACTIVITY_STATE_SCHEDULED: _PendingActivityState.ValueType # 1 @@ -193,7 +241,9 @@ class _PendingActivityStateEnumTypeWrapper(google.protobuf.internal.enum_type_wr PENDING_ACTIVITY_STATE_PAUSE_REQUESTED: _PendingActivityState.ValueType # 5 """PAUSE_REQUESTED means activity is currently running on the worker, but paused on the server""" -class PendingActivityState(_PendingActivityState, metaclass=_PendingActivityStateEnumTypeWrapper): ... +class PendingActivityState( + _PendingActivityState, metaclass=_PendingActivityStateEnumTypeWrapper +): ... PENDING_ACTIVITY_STATE_UNSPECIFIED: PendingActivityState.ValueType # 0 PENDING_ACTIVITY_STATE_SCHEDULED: PendingActivityState.ValueType # 1 @@ -209,13 +259,20 @@ class _PendingWorkflowTaskState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _PendingWorkflowTaskStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PendingWorkflowTaskState.ValueType], builtins.type): # noqa: F821 +class _PendingWorkflowTaskStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _PendingWorkflowTaskState.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED: _PendingWorkflowTaskState.ValueType # 0 PENDING_WORKFLOW_TASK_STATE_SCHEDULED: _PendingWorkflowTaskState.ValueType # 1 PENDING_WORKFLOW_TASK_STATE_STARTED: _PendingWorkflowTaskState.ValueType # 2 -class PendingWorkflowTaskState(_PendingWorkflowTaskState, metaclass=_PendingWorkflowTaskStateEnumTypeWrapper): ... +class PendingWorkflowTaskState( + _PendingWorkflowTaskState, metaclass=_PendingWorkflowTaskStateEnumTypeWrapper +): ... PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED: PendingWorkflowTaskState.ValueType # 0 PENDING_WORKFLOW_TASK_STATE_SCHEDULED: PendingWorkflowTaskState.ValueType # 1 @@ -226,13 +283,20 @@ class _HistoryEventFilterType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _HistoryEventFilterTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_HistoryEventFilterType.ValueType], builtins.type): # noqa: F821 +class _HistoryEventFilterTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _HistoryEventFilterType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED: _HistoryEventFilterType.ValueType # 0 HISTORY_EVENT_FILTER_TYPE_ALL_EVENT: _HistoryEventFilterType.ValueType # 1 HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT: _HistoryEventFilterType.ValueType # 2 -class HistoryEventFilterType(_HistoryEventFilterType, metaclass=_HistoryEventFilterTypeEnumTypeWrapper): ... +class HistoryEventFilterType( + _HistoryEventFilterType, metaclass=_HistoryEventFilterTypeEnumTypeWrapper +): ... HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED: HistoryEventFilterType.ValueType # 0 HISTORY_EVENT_FILTER_TYPE_ALL_EVENT: HistoryEventFilterType.ValueType # 1 @@ -243,7 +307,10 @@ class _RetryState: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _RetryStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RetryState.ValueType], builtins.type): # noqa: F821 +class _RetryStateEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RetryState.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RETRY_STATE_UNSPECIFIED: _RetryState.ValueType # 0 RETRY_STATE_IN_PROGRESS: _RetryState.ValueType # 1 @@ -270,7 +337,10 @@ class _TimeoutType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _TimeoutTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TimeoutType.ValueType], builtins.type): # noqa: F821 +class _TimeoutTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TimeoutType.ValueType], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMEOUT_TYPE_UNSPECIFIED: _TimeoutType.ValueType # 0 TIMEOUT_TYPE_START_TO_CLOSE: _TimeoutType.ValueType # 1 @@ -291,7 +361,12 @@ class _VersioningBehavior: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersioningBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersioningBehavior.ValueType], builtins.type): # noqa: F821 +class _VersioningBehaviorEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _VersioningBehavior.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSIONING_BEHAVIOR_UNSPECIFIED: _VersioningBehavior.ValueType # 0 """Workflow execution does not have a Versioning Behavior and is called Unversioned. This is the @@ -330,7 +405,9 @@ class _VersioningBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrap complete on the old Version. """ -class VersioningBehavior(_VersioningBehavior, metaclass=_VersioningBehaviorEnumTypeWrapper): +class VersioningBehavior( + _VersioningBehavior, metaclass=_VersioningBehaviorEnumTypeWrapper +): """Versioning Behavior specifies if and how a workflow execution moves between Worker Deployment Versions. The Versioning Behavior of a workflow execution is typically specified by the worker who completes the first task of the execution, but is also overridable manually for new and diff --git a/temporalio/api/errordetails/v1/__init__.py b/temporalio/api/errordetails/v1/__init__.py index 64713cdbf..2afb6ec95 100644 --- a/temporalio/api/errordetails/v1/__init__.py +++ b/temporalio/api/errordetails/v1/__init__.py @@ -1,20 +1,22 @@ -from .message_pb2 import NotFoundFailure -from .message_pb2 import WorkflowExecutionAlreadyStartedFailure -from .message_pb2 import NamespaceNotActiveFailure -from .message_pb2 import NamespaceUnavailableFailure -from .message_pb2 import NamespaceInvalidStateFailure -from .message_pb2 import NamespaceNotFoundFailure -from .message_pb2 import NamespaceAlreadyExistsFailure -from .message_pb2 import ClientVersionNotSupportedFailure -from .message_pb2 import ServerVersionNotSupportedFailure -from .message_pb2 import CancellationAlreadyRequestedFailure -from .message_pb2 import QueryFailedFailure -from .message_pb2 import PermissionDeniedFailure -from .message_pb2 import ResourceExhaustedFailure -from .message_pb2 import SystemWorkflowFailure -from .message_pb2 import WorkflowNotReadyFailure -from .message_pb2 import NewerBuildExistsFailure -from .message_pb2 import MultiOperationExecutionFailure +from .message_pb2 import ( + CancellationAlreadyRequestedFailure, + ClientVersionNotSupportedFailure, + MultiOperationExecutionFailure, + NamespaceAlreadyExistsFailure, + NamespaceInvalidStateFailure, + NamespaceNotActiveFailure, + NamespaceNotFoundFailure, + NamespaceUnavailableFailure, + NewerBuildExistsFailure, + NotFoundFailure, + PermissionDeniedFailure, + QueryFailedFailure, + ResourceExhaustedFailure, + ServerVersionNotSupportedFailure, + SystemWorkflowFailure, + WorkflowExecutionAlreadyStartedFailure, + WorkflowNotReadyFailure, +) __all__ = [ "CancellationAlreadyRequestedFailure", diff --git a/temporalio/api/errordetails/v1/message_pb2.py b/temporalio/api/errordetails/v1/message_pb2.py index 8d4d9b3a8..8f8b2c853 100644 --- a/temporalio/api/errordetails/v1/message_pb2.py +++ b/temporalio/api/errordetails/v1/message_pb2.py @@ -2,210 +2,310 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/errordetails/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 -from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto\"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t\"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t\"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState\"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\x1f\n\x1dNamespaceAlreadyExistsFailure\"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t\"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t\"%\n#CancellationAlreadyRequestedFailure\"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope\"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t\"\x19\n\x17WorkflowNotReadyFailure\"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t\"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3') - - - -_NOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name['NotFoundFailure'] -_WORKFLOWEXECUTIONALREADYSTARTEDFAILURE = DESCRIPTOR.message_types_by_name['WorkflowExecutionAlreadyStartedFailure'] -_NAMESPACENOTACTIVEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceNotActiveFailure'] -_NAMESPACEUNAVAILABLEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceUnavailableFailure'] -_NAMESPACEINVALIDSTATEFAILURE = DESCRIPTOR.message_types_by_name['NamespaceInvalidStateFailure'] -_NAMESPACENOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name['NamespaceNotFoundFailure'] -_NAMESPACEALREADYEXISTSFAILURE = DESCRIPTOR.message_types_by_name['NamespaceAlreadyExistsFailure'] -_CLIENTVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name['ClientVersionNotSupportedFailure'] -_SERVERVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name['ServerVersionNotSupportedFailure'] -_CANCELLATIONALREADYREQUESTEDFAILURE = DESCRIPTOR.message_types_by_name['CancellationAlreadyRequestedFailure'] -_QUERYFAILEDFAILURE = DESCRIPTOR.message_types_by_name['QueryFailedFailure'] -_PERMISSIONDENIEDFAILURE = DESCRIPTOR.message_types_by_name['PermissionDeniedFailure'] -_RESOURCEEXHAUSTEDFAILURE = DESCRIPTOR.message_types_by_name['ResourceExhaustedFailure'] -_SYSTEMWORKFLOWFAILURE = DESCRIPTOR.message_types_by_name['SystemWorkflowFailure'] -_WORKFLOWNOTREADYFAILURE = DESCRIPTOR.message_types_by_name['WorkflowNotReadyFailure'] -_NEWERBUILDEXISTSFAILURE = DESCRIPTOR.message_types_by_name['NewerBuildExistsFailure'] -_MULTIOPERATIONEXECUTIONFAILURE = DESCRIPTOR.message_types_by_name['MultiOperationExecutionFailure'] -_MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS = _MULTIOPERATIONEXECUTIONFAILURE.nested_types_by_name['OperationStatus'] -NotFoundFailure = _reflection.GeneratedProtocolMessageType('NotFoundFailure', (_message.Message,), { - 'DESCRIPTOR' : _NOTFOUNDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NotFoundFailure) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +) +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\x1f\n\x1dNamespaceAlreadyExistsFailure"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t"%\n#CancellationAlreadyRequestedFailure"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t"\x19\n\x17WorkflowNotReadyFailure"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3' +) + + +_NOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NotFoundFailure"] +_WORKFLOWEXECUTIONALREADYSTARTEDFAILURE = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionAlreadyStartedFailure" +] +_NAMESPACENOTACTIVEFAILURE = DESCRIPTOR.message_types_by_name[ + "NamespaceNotActiveFailure" +] +_NAMESPACEUNAVAILABLEFAILURE = DESCRIPTOR.message_types_by_name[ + "NamespaceUnavailableFailure" +] +_NAMESPACEINVALIDSTATEFAILURE = DESCRIPTOR.message_types_by_name[ + "NamespaceInvalidStateFailure" +] +_NAMESPACENOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NamespaceNotFoundFailure"] +_NAMESPACEALREADYEXISTSFAILURE = DESCRIPTOR.message_types_by_name[ + "NamespaceAlreadyExistsFailure" +] +_CLIENTVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[ + "ClientVersionNotSupportedFailure" +] +_SERVERVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[ + "ServerVersionNotSupportedFailure" +] +_CANCELLATIONALREADYREQUESTEDFAILURE = DESCRIPTOR.message_types_by_name[ + "CancellationAlreadyRequestedFailure" +] +_QUERYFAILEDFAILURE = DESCRIPTOR.message_types_by_name["QueryFailedFailure"] +_PERMISSIONDENIEDFAILURE = DESCRIPTOR.message_types_by_name["PermissionDeniedFailure"] +_RESOURCEEXHAUSTEDFAILURE = DESCRIPTOR.message_types_by_name["ResourceExhaustedFailure"] +_SYSTEMWORKFLOWFAILURE = DESCRIPTOR.message_types_by_name["SystemWorkflowFailure"] +_WORKFLOWNOTREADYFAILURE = DESCRIPTOR.message_types_by_name["WorkflowNotReadyFailure"] +_NEWERBUILDEXISTSFAILURE = DESCRIPTOR.message_types_by_name["NewerBuildExistsFailure"] +_MULTIOPERATIONEXECUTIONFAILURE = DESCRIPTOR.message_types_by_name[ + "MultiOperationExecutionFailure" +] +_MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS = ( + _MULTIOPERATIONEXECUTIONFAILURE.nested_types_by_name["OperationStatus"] +) +NotFoundFailure = _reflection.GeneratedProtocolMessageType( + "NotFoundFailure", + (_message.Message,), + { + "DESCRIPTOR": _NOTFOUNDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NotFoundFailure) + }, +) _sym_db.RegisterMessage(NotFoundFailure) -WorkflowExecutionAlreadyStartedFailure = _reflection.GeneratedProtocolMessageType('WorkflowExecutionAlreadyStartedFailure', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure) - }) +WorkflowExecutionAlreadyStartedFailure = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionAlreadyStartedFailure", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure) + }, +) _sym_db.RegisterMessage(WorkflowExecutionAlreadyStartedFailure) -NamespaceNotActiveFailure = _reflection.GeneratedProtocolMessageType('NamespaceNotActiveFailure', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACENOTACTIVEFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotActiveFailure) - }) +NamespaceNotActiveFailure = _reflection.GeneratedProtocolMessageType( + "NamespaceNotActiveFailure", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACENOTACTIVEFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotActiveFailure) + }, +) _sym_db.RegisterMessage(NamespaceNotActiveFailure) -NamespaceUnavailableFailure = _reflection.GeneratedProtocolMessageType('NamespaceUnavailableFailure', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEUNAVAILABLEFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceUnavailableFailure) - }) +NamespaceUnavailableFailure = _reflection.GeneratedProtocolMessageType( + "NamespaceUnavailableFailure", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEUNAVAILABLEFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceUnavailableFailure) + }, +) _sym_db.RegisterMessage(NamespaceUnavailableFailure) -NamespaceInvalidStateFailure = _reflection.GeneratedProtocolMessageType('NamespaceInvalidStateFailure', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEINVALIDSTATEFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceInvalidStateFailure) - }) +NamespaceInvalidStateFailure = _reflection.GeneratedProtocolMessageType( + "NamespaceInvalidStateFailure", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINVALIDSTATEFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceInvalidStateFailure) + }, +) _sym_db.RegisterMessage(NamespaceInvalidStateFailure) -NamespaceNotFoundFailure = _reflection.GeneratedProtocolMessageType('NamespaceNotFoundFailure', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACENOTFOUNDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotFoundFailure) - }) +NamespaceNotFoundFailure = _reflection.GeneratedProtocolMessageType( + "NamespaceNotFoundFailure", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACENOTFOUNDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotFoundFailure) + }, +) _sym_db.RegisterMessage(NamespaceNotFoundFailure) -NamespaceAlreadyExistsFailure = _reflection.GeneratedProtocolMessageType('NamespaceAlreadyExistsFailure', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEALREADYEXISTSFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure) - }) +NamespaceAlreadyExistsFailure = _reflection.GeneratedProtocolMessageType( + "NamespaceAlreadyExistsFailure", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEALREADYEXISTSFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure) + }, +) _sym_db.RegisterMessage(NamespaceAlreadyExistsFailure) -ClientVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType('ClientVersionNotSupportedFailure', (_message.Message,), { - 'DESCRIPTOR' : _CLIENTVERSIONNOTSUPPORTEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ClientVersionNotSupportedFailure) - }) +ClientVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType( + "ClientVersionNotSupportedFailure", + (_message.Message,), + { + "DESCRIPTOR": _CLIENTVERSIONNOTSUPPORTEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ClientVersionNotSupportedFailure) + }, +) _sym_db.RegisterMessage(ClientVersionNotSupportedFailure) -ServerVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType('ServerVersionNotSupportedFailure', (_message.Message,), { - 'DESCRIPTOR' : _SERVERVERSIONNOTSUPPORTEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ServerVersionNotSupportedFailure) - }) +ServerVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType( + "ServerVersionNotSupportedFailure", + (_message.Message,), + { + "DESCRIPTOR": _SERVERVERSIONNOTSUPPORTEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ServerVersionNotSupportedFailure) + }, +) _sym_db.RegisterMessage(ServerVersionNotSupportedFailure) -CancellationAlreadyRequestedFailure = _reflection.GeneratedProtocolMessageType('CancellationAlreadyRequestedFailure', (_message.Message,), { - 'DESCRIPTOR' : _CANCELLATIONALREADYREQUESTEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure) - }) +CancellationAlreadyRequestedFailure = _reflection.GeneratedProtocolMessageType( + "CancellationAlreadyRequestedFailure", + (_message.Message,), + { + "DESCRIPTOR": _CANCELLATIONALREADYREQUESTEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure) + }, +) _sym_db.RegisterMessage(CancellationAlreadyRequestedFailure) -QueryFailedFailure = _reflection.GeneratedProtocolMessageType('QueryFailedFailure', (_message.Message,), { - 'DESCRIPTOR' : _QUERYFAILEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.QueryFailedFailure) - }) +QueryFailedFailure = _reflection.GeneratedProtocolMessageType( + "QueryFailedFailure", + (_message.Message,), + { + "DESCRIPTOR": _QUERYFAILEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.QueryFailedFailure) + }, +) _sym_db.RegisterMessage(QueryFailedFailure) -PermissionDeniedFailure = _reflection.GeneratedProtocolMessageType('PermissionDeniedFailure', (_message.Message,), { - 'DESCRIPTOR' : _PERMISSIONDENIEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.PermissionDeniedFailure) - }) +PermissionDeniedFailure = _reflection.GeneratedProtocolMessageType( + "PermissionDeniedFailure", + (_message.Message,), + { + "DESCRIPTOR": _PERMISSIONDENIEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.PermissionDeniedFailure) + }, +) _sym_db.RegisterMessage(PermissionDeniedFailure) -ResourceExhaustedFailure = _reflection.GeneratedProtocolMessageType('ResourceExhaustedFailure', (_message.Message,), { - 'DESCRIPTOR' : _RESOURCEEXHAUSTEDFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ResourceExhaustedFailure) - }) +ResourceExhaustedFailure = _reflection.GeneratedProtocolMessageType( + "ResourceExhaustedFailure", + (_message.Message,), + { + "DESCRIPTOR": _RESOURCEEXHAUSTEDFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ResourceExhaustedFailure) + }, +) _sym_db.RegisterMessage(ResourceExhaustedFailure) -SystemWorkflowFailure = _reflection.GeneratedProtocolMessageType('SystemWorkflowFailure', (_message.Message,), { - 'DESCRIPTOR' : _SYSTEMWORKFLOWFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.SystemWorkflowFailure) - }) +SystemWorkflowFailure = _reflection.GeneratedProtocolMessageType( + "SystemWorkflowFailure", + (_message.Message,), + { + "DESCRIPTOR": _SYSTEMWORKFLOWFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.SystemWorkflowFailure) + }, +) _sym_db.RegisterMessage(SystemWorkflowFailure) -WorkflowNotReadyFailure = _reflection.GeneratedProtocolMessageType('WorkflowNotReadyFailure', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWNOTREADYFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowNotReadyFailure) - }) +WorkflowNotReadyFailure = _reflection.GeneratedProtocolMessageType( + "WorkflowNotReadyFailure", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWNOTREADYFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowNotReadyFailure) + }, +) _sym_db.RegisterMessage(WorkflowNotReadyFailure) -NewerBuildExistsFailure = _reflection.GeneratedProtocolMessageType('NewerBuildExistsFailure', (_message.Message,), { - 'DESCRIPTOR' : _NEWERBUILDEXISTSFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NewerBuildExistsFailure) - }) +NewerBuildExistsFailure = _reflection.GeneratedProtocolMessageType( + "NewerBuildExistsFailure", + (_message.Message,), + { + "DESCRIPTOR": _NEWERBUILDEXISTSFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NewerBuildExistsFailure) + }, +) _sym_db.RegisterMessage(NewerBuildExistsFailure) -MultiOperationExecutionFailure = _reflection.GeneratedProtocolMessageType('MultiOperationExecutionFailure', (_message.Message,), { - - 'OperationStatus' : _reflection.GeneratedProtocolMessageType('OperationStatus', (_message.Message,), { - 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus) - }) - , - 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONFAILURE, - '__module__' : 'temporal.api.errordetails.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure) - }) +MultiOperationExecutionFailure = _reflection.GeneratedProtocolMessageType( + "MultiOperationExecutionFailure", + (_message.Message,), + { + "OperationStatus": _reflection.GeneratedProtocolMessageType( + "OperationStatus", + (_message.Message,), + { + "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus) + }, + ), + "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE, + "__module__": "temporal.api.errordetails.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure) + }, +) _sym_db.RegisterMessage(MultiOperationExecutionFailure) _sym_db.RegisterMessage(MultiOperationExecutionFailure.OperationStatus) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.errordetails.v1B\014MessageProtoP\001Z/go.temporal.io/api/errordetails/v1;errordetails\252\002\036Temporalio.Api.ErrorDetails.V1\352\002!Temporalio::Api::ErrorDetails::V1' - _NOTFOUNDFAILURE._serialized_start=261 - _NOTFOUNDFAILURE._serialized_end=327 - _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_start=329 - _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_end=411 - _NAMESPACENOTACTIVEFAILURE._serialized_start=413 - _NAMESPACENOTACTIVEFAILURE._serialized_end=508 - _NAMESPACEUNAVAILABLEFAILURE._serialized_start=510 - _NAMESPACEUNAVAILABLEFAILURE._serialized_end=558 - _NAMESPACEINVALIDSTATEFAILURE._serialized_start=561 - _NAMESPACEINVALIDSTATEFAILURE._serialized_end=727 - _NAMESPACENOTFOUNDFAILURE._serialized_start=729 - _NAMESPACENOTFOUNDFAILURE._serialized_end=774 - _NAMESPACEALREADYEXISTSFAILURE._serialized_start=776 - _NAMESPACEALREADYEXISTSFAILURE._serialized_end=807 - _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_start=809 - _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_end=916 - _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_start=918 - _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_end=1018 - _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_start=1020 - _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_end=1057 - _QUERYFAILEDFAILURE._serialized_start=1059 - _QUERYFAILEDFAILURE._serialized_end=1130 - _PERMISSIONDENIEDFAILURE._serialized_start=1132 - _PERMISSIONDENIEDFAILURE._serialized_end=1173 - _RESOURCEEXHAUSTEDFAILURE._serialized_start=1176 - _RESOURCEEXHAUSTEDFAILURE._serialized_end=1326 - _SYSTEMWORKFLOWFAILURE._serialized_start=1328 - _SYSTEMWORKFLOWFAILURE._serialized_end=1446 - _WORKFLOWNOTREADYFAILURE._serialized_start=1448 - _WORKFLOWNOTREADYFAILURE._serialized_end=1473 - _NEWERBUILDEXISTSFAILURE._serialized_start=1475 - _NEWERBUILDEXISTSFAILURE._serialized_end=1526 - _MULTIOPERATIONEXECUTIONFAILURE._serialized_start=1529 - _MULTIOPERATIONEXECUTIONFAILURE._serialized_end=1746 - _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_start=1659 - _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_end=1746 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\037io.temporal.api.errordetails.v1B\014MessageProtoP\001Z/go.temporal.io/api/errordetails/v1;errordetails\252\002\036Temporalio.Api.ErrorDetails.V1\352\002!Temporalio::Api::ErrorDetails::V1" + _NOTFOUNDFAILURE._serialized_start = 261 + _NOTFOUNDFAILURE._serialized_end = 327 + _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_start = 329 + _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_end = 411 + _NAMESPACENOTACTIVEFAILURE._serialized_start = 413 + _NAMESPACENOTACTIVEFAILURE._serialized_end = 508 + _NAMESPACEUNAVAILABLEFAILURE._serialized_start = 510 + _NAMESPACEUNAVAILABLEFAILURE._serialized_end = 558 + _NAMESPACEINVALIDSTATEFAILURE._serialized_start = 561 + _NAMESPACEINVALIDSTATEFAILURE._serialized_end = 727 + _NAMESPACENOTFOUNDFAILURE._serialized_start = 729 + _NAMESPACENOTFOUNDFAILURE._serialized_end = 774 + _NAMESPACEALREADYEXISTSFAILURE._serialized_start = 776 + _NAMESPACEALREADYEXISTSFAILURE._serialized_end = 807 + _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_start = 809 + _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_end = 916 + _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_start = 918 + _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_end = 1018 + _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_start = 1020 + _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_end = 1057 + _QUERYFAILEDFAILURE._serialized_start = 1059 + _QUERYFAILEDFAILURE._serialized_end = 1130 + _PERMISSIONDENIEDFAILURE._serialized_start = 1132 + _PERMISSIONDENIEDFAILURE._serialized_end = 1173 + _RESOURCEEXHAUSTEDFAILURE._serialized_start = 1176 + _RESOURCEEXHAUSTEDFAILURE._serialized_end = 1326 + _SYSTEMWORKFLOWFAILURE._serialized_start = 1328 + _SYSTEMWORKFLOWFAILURE._serialized_end = 1446 + _WORKFLOWNOTREADYFAILURE._serialized_start = 1448 + _WORKFLOWNOTREADYFAILURE._serialized_end = 1473 + _NEWERBUILDEXISTSFAILURE._serialized_start = 1475 + _NEWERBUILDEXISTSFAILURE._serialized_end = 1526 + _MULTIOPERATIONEXECUTIONFAILURE._serialized_start = 1529 + _MULTIOPERATIONEXECUTIONFAILURE._serialized_end = 1746 + _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_start = 1659 + _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_end = 1746 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/errordetails/v1/message_pb2.pyi b/temporalio/api/errordetails/v1/message_pb2.pyi index d93896427..4857dbf31 100644 --- a/temporalio/api/errordetails/v1/message_pb2.pyi +++ b/temporalio/api/errordetails/v1/message_pb2.pyi @@ -4,13 +4,16 @@ isort:skip_file These error details are supplied in google.rpc.Status#details as described in "Google APIs, Error Model" (https://cloud.google.com/apis/design/errors#error_model) and extend standard Error Details defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto """ + import builtins import collections.abc +import sys + import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.failed_cause_pb2 import temporalio.api.enums.v1.namespace_pb2 @@ -36,7 +39,12 @@ class NotFoundFailure(google.protobuf.message.Message): current_cluster: builtins.str = ..., active_cluster: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["active_cluster", b"active_cluster", "current_cluster", b"current_cluster"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "active_cluster", b"active_cluster", "current_cluster", b"current_cluster" + ], + ) -> None: ... global___NotFoundFailure = NotFoundFailure @@ -53,7 +61,12 @@ class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): start_request_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "start_request_id", b"start_request_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "start_request_id", b"start_request_id" + ], + ) -> None: ... global___WorkflowExecutionAlreadyStartedFailure = WorkflowExecutionAlreadyStartedFailure @@ -73,7 +86,17 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): current_cluster: builtins.str = ..., active_cluster: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["active_cluster", b"active_cluster", "current_cluster", b"current_cluster", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "active_cluster", + b"active_cluster", + "current_cluster", + b"current_cluster", + "namespace", + b"namespace", + ], + ) -> None: ... global___NamespaceNotActiveFailure = NamespaceNotActiveFailure @@ -92,7 +115,9 @@ class NamespaceUnavailableFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> None: ... global___NamespaceUnavailableFailure = NamespaceUnavailableFailure @@ -106,7 +131,11 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType """Current state of the requested namespace.""" @property - def allowed_states(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType]: + def allowed_states( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType + ]: """Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace. """ @@ -115,9 +144,22 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType = ..., - allowed_states: collections.abc.Iterable[temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType] | None = ..., + allowed_states: collections.abc.Iterable[ + temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "allowed_states", + b"allowed_states", + "namespace", + b"namespace", + "state", + b"state", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allowed_states", b"allowed_states", "namespace", b"namespace", "state", b"state"]) -> None: ... global___NamespaceInvalidStateFailure = NamespaceInvalidStateFailure @@ -131,7 +173,9 @@ class NamespaceNotFoundFailure(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> None: ... global___NamespaceNotFoundFailure = NamespaceNotFoundFailure @@ -160,7 +204,17 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): client_name: builtins.str = ..., supported_versions: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["client_name", b"client_name", "client_version", b"client_version", "supported_versions", b"supported_versions"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "client_name", + b"client_name", + "client_version", + b"client_version", + "supported_versions", + b"supported_versions", + ], + ) -> None: ... global___ClientVersionNotSupportedFailure = ClientVersionNotSupportedFailure @@ -177,7 +231,15 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): server_version: builtins.str = ..., client_supported_server_versions: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["client_supported_server_versions", b"client_supported_server_versions", "server_version", b"server_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "client_supported_server_versions", + b"client_supported_server_versions", + "server_version", + b"server_version", + ], + ) -> None: ... global___ServerVersionNotSupportedFailure = ServerVersionNotSupportedFailure @@ -205,8 +267,12 @@ class QueryFailedFailure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___QueryFailedFailure = QueryFailedFailure @@ -220,7 +286,9 @@ class PermissionDeniedFailure(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["reason", b"reason"] + ) -> None: ... global___PermissionDeniedFailure = PermissionDeniedFailure @@ -237,7 +305,10 @@ class ResourceExhaustedFailure(google.protobuf.message.Message): cause: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedCause.ValueType = ..., scope: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedScope.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"], + ) -> None: ... global___ResourceExhaustedFailure = ResourceExhaustedFailure @@ -247,7 +318,9 @@ class SystemWorkflowFailure(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int WORKFLOW_ERROR_FIELD_NUMBER: builtins.int @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """WorkflowId and RunId of the Temporal system workflow performing the underlying operation. Looking up the info of the system workflow run may help identify the issue causing the failure. """ @@ -256,11 +329,25 @@ class SystemWorkflowFailure(google.protobuf.message.Message): def __init__( self, *, - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_error: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["workflow_error", b"workflow_error", "workflow_execution", b"workflow_execution"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "workflow_error", + b"workflow_error", + "workflow_execution", + b"workflow_execution", + ], + ) -> None: ... global___SystemWorkflowFailure = SystemWorkflowFailure @@ -284,7 +371,10 @@ class NewerBuildExistsFailure(google.protobuf.message.Message): *, default_build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["default_build_id", b"default_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["default_build_id", b"default_build_id"], + ) -> None: ... global___NewerBuildExistsFailure = NewerBuildExistsFailure @@ -307,7 +397,11 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): code: builtins.int message: builtins.str @property - def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... + def details( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + google.protobuf.any_pb2.Any + ]: ... def __init__( self, *, @@ -315,11 +409,20 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): message: builtins.str = ..., details: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "details", b"details", "message", b"message"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "code", b"code", "details", b"details", "message", b"message" + ], + ) -> None: ... STATUSES_FIELD_NUMBER: builtins.int @property - def statuses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MultiOperationExecutionFailure.OperationStatus]: + def statuses( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___MultiOperationExecutionFailure.OperationStatus + ]: """One status for each requested operation from the failed MultiOperation. The failed operation(s) have the same error details as if it was executed separately. All other operations have the status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field. @@ -327,8 +430,13 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): def __init__( self, *, - statuses: collections.abc.Iterable[global___MultiOperationExecutionFailure.OperationStatus] | None = ..., + statuses: collections.abc.Iterable[ + global___MultiOperationExecutionFailure.OperationStatus + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["statuses", b"statuses"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["statuses", b"statuses"]) -> None: ... global___MultiOperationExecutionFailure = MultiOperationExecutionFailure diff --git a/temporalio/api/export/v1/__init__.py b/temporalio/api/export/v1/__init__.py index e441fbd15..11e7e71b7 100644 --- a/temporalio/api/export/v1/__init__.py +++ b/temporalio/api/export/v1/__init__.py @@ -1,5 +1,4 @@ -from .message_pb2 import WorkflowExecution -from .message_pb2 import WorkflowExecutions +from .message_pb2 import WorkflowExecution, WorkflowExecutions __all__ = [ "WorkflowExecution", diff --git a/temporalio/api/export/v1/message_pb2.py b/temporalio/api/export/v1/message_pb2.py index 6ec4e483e..05a46aeff 100644 --- a/temporalio/api/export/v1/message_pb2.py +++ b/temporalio/api/export/v1/message_pb2.py @@ -2,45 +2,56 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/export/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.history.v1 import message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2 - +from temporalio.api.history.v1 import ( + message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto\"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3' +) - -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['WorkflowExecution'] -_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name['WorkflowExecutions'] -WorkflowExecution = _reflection.GeneratedProtocolMessageType('WorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTION, - '__module__' : 'temporal.api.export.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) - }) +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] +_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutions"] +WorkflowExecution = _reflection.GeneratedProtocolMessageType( + "WorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTION, + "__module__": "temporal.api.export.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) + }, +) _sym_db.RegisterMessage(WorkflowExecution) -WorkflowExecutions = _reflection.GeneratedProtocolMessageType('WorkflowExecutions', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONS, - '__module__' : 'temporal.api.export.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) - }) +WorkflowExecutions = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutions", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONS, + "__module__": "temporal.api.export.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) + }, +) _sym_db.RegisterMessage(WorkflowExecutions) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1' - _WORKFLOWEXECUTION._serialized_start=103 - _WORKFLOWEXECUTION._serialized_end=173 - _WORKFLOWEXECUTIONS._serialized_start=175 - _WORKFLOWEXECUTIONS._serialized_end=253 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" + _WORKFLOWEXECUTION._serialized_start = 103 + _WORKFLOWEXECUTION._serialized_end = 173 + _WORKFLOWEXECUTIONS._serialized_start = 175 + _WORKFLOWEXECUTIONS._serialized_end = 253 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/export/v1/message_pb2.pyi b/temporalio/api/export/v1/message_pb2.pyi index 526b0134b..a270b0e26 100644 --- a/temporalio/api/export/v1/message_pb2.pyi +++ b/temporalio/api/export/v1/message_pb2.pyi @@ -2,12 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.history.v1.message_pb2 if sys.version_info >= (3, 8): @@ -28,13 +31,17 @@ class WorkflowExecution(google.protobuf.message.Message): *, history: temporalio.api.history.v1.message_pb2.History | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["history", b"history"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["history", b"history"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["history", b"history"] + ) -> None: ... global___WorkflowExecution = WorkflowExecution class WorkflowExecutions(google.protobuf.message.Message): - """WorkflowExecutions is used by the Cloud Export feature to deserialize + """WorkflowExecutions is used by the Cloud Export feature to deserialize the exported file. It encapsulates a collection of workflow execution information. """ @@ -42,12 +49,18 @@ class WorkflowExecutions(google.protobuf.message.Message): ITEMS_FIELD_NUMBER: builtins.int @property - def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowExecution]: ... + def items( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowExecution + ]: ... def __init__( self, *, items: collections.abc.Iterable[global___WorkflowExecution] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["items", b"items"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["items", b"items"] + ) -> None: ... global___WorkflowExecutions = WorkflowExecutions diff --git a/temporalio/api/failure/v1/__init__.py b/temporalio/api/failure/v1/__init__.py index 0c4a28d43..a17e5e25e 100644 --- a/temporalio/api/failure/v1/__init__.py +++ b/temporalio/api/failure/v1/__init__.py @@ -1,15 +1,17 @@ -from .message_pb2 import ApplicationFailureInfo -from .message_pb2 import TimeoutFailureInfo -from .message_pb2 import CanceledFailureInfo -from .message_pb2 import TerminatedFailureInfo -from .message_pb2 import ServerFailureInfo -from .message_pb2 import ResetWorkflowFailureInfo -from .message_pb2 import ActivityFailureInfo -from .message_pb2 import ChildWorkflowExecutionFailureInfo -from .message_pb2 import NexusOperationFailureInfo -from .message_pb2 import NexusHandlerFailureInfo -from .message_pb2 import Failure -from .message_pb2 import MultiOperationExecutionAborted +from .message_pb2 import ( + ActivityFailureInfo, + ApplicationFailureInfo, + CanceledFailureInfo, + ChildWorkflowExecutionFailureInfo, + Failure, + MultiOperationExecutionAborted, + NexusHandlerFailureInfo, + NexusOperationFailureInfo, + ResetWorkflowFailureInfo, + ServerFailureInfo, + TerminatedFailureInfo, + TimeoutFailureInfo, +) __all__ = [ "ActivityFailureInfo", diff --git a/temporalio/api/failure/v1/message_pb2.py b/temporalio/api/failure/v1/message_pb2.py index 04bea2c04..b4867507d 100644 --- a/temporalio/api/failure/v1/message_pb2.py +++ b/temporalio/api/failure/v1/message_pb2.py @@ -2,151 +2,217 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/failure/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.enums.v1 import nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a\"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory\"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x17\n\x15TerminatedFailureInfo\"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08\"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t\"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info\" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3') - - - -_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name['ApplicationFailureInfo'] -_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name['TimeoutFailureInfo'] -_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name['CanceledFailureInfo'] -_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name['TerminatedFailureInfo'] -_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name['ServerFailureInfo'] -_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name['ResetWorkflowFailureInfo'] -_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name['ActivityFailureInfo'] -_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionFailureInfo'] -_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name['NexusOperationFailureInfo'] -_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name['NexusHandlerFailureInfo'] -_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] -_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name['MultiOperationExecutionAborted'] -ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType('ApplicationFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _APPLICATIONFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) - }) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.enums.v1 import ( + nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\x17\n\x15TerminatedFailureInfo"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3' +) + + +_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name["ApplicationFailureInfo"] +_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name["TimeoutFailureInfo"] +_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name["CanceledFailureInfo"] +_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name["TerminatedFailureInfo"] +_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name["ServerFailureInfo"] +_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name["ResetWorkflowFailureInfo"] +_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name["ActivityFailureInfo"] +_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionFailureInfo" +] +_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationFailureInfo" +] +_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name["NexusHandlerFailureInfo"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name[ + "MultiOperationExecutionAborted" +] +ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType( + "ApplicationFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _APPLICATIONFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) + }, +) _sym_db.RegisterMessage(ApplicationFailureInfo) -TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType('TimeoutFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _TIMEOUTFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) - }) +TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType( + "TimeoutFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _TIMEOUTFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) + }, +) _sym_db.RegisterMessage(TimeoutFailureInfo) -CanceledFailureInfo = _reflection.GeneratedProtocolMessageType('CanceledFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _CANCELEDFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) - }) +CanceledFailureInfo = _reflection.GeneratedProtocolMessageType( + "CanceledFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _CANCELEDFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) + }, +) _sym_db.RegisterMessage(CanceledFailureInfo) -TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType('TerminatedFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _TERMINATEDFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) - }) +TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType( + "TerminatedFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEDFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) + }, +) _sym_db.RegisterMessage(TerminatedFailureInfo) -ServerFailureInfo = _reflection.GeneratedProtocolMessageType('ServerFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _SERVERFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) - }) +ServerFailureInfo = _reflection.GeneratedProtocolMessageType( + "ServerFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _SERVERFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) + }, +) _sym_db.RegisterMessage(ServerFailureInfo) -ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType('ResetWorkflowFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _RESETWORKFLOWFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) - }) +ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) + }, +) _sym_db.RegisterMessage(ResetWorkflowFailureInfo) -ActivityFailureInfo = _reflection.GeneratedProtocolMessageType('ActivityFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) - }) +ActivityFailureInfo = _reflection.GeneratedProtocolMessageType( + "ActivityFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) + }, +) _sym_db.RegisterMessage(ActivityFailureInfo) -ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) - }) +ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) + }, +) _sym_db.RegisterMessage(ChildWorkflowExecutionFailureInfo) -NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType('NexusOperationFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) - }) +NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) + }, +) _sym_db.RegisterMessage(NexusOperationFailureInfo) -NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType('NexusHandlerFailureInfo', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSHANDLERFAILUREINFO, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) - }) +NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType( + "NexusHandlerFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSHANDLERFAILUREINFO, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) + }, +) _sym_db.RegisterMessage(NexusHandlerFailureInfo) -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) - }) +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) + }, +) _sym_db.RegisterMessage(Failure) -MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType('MultiOperationExecutionAborted', (_message.Message,), { - 'DESCRIPTOR' : _MULTIOPERATIONEXECUTIONABORTED, - '__module__' : 'temporal.api.failure.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) - }) +MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType( + "MultiOperationExecutionAborted", + (_message.Message,), + { + "DESCRIPTOR": _MULTIOPERATIONEXECUTIONABORTED, + "__module__": "temporal.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) + }, +) _sym_db.RegisterMessage(MultiOperationExecutionAborted) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1' - _NEXUSOPERATIONFAILUREINFO.fields_by_name['operation_id']._options = None - _NEXUSOPERATIONFAILUREINFO.fields_by_name['operation_id']._serialized_options = b'\030\001' - _APPLICATIONFAILUREINFO._serialized_start=246 - _APPLICATIONFAILUREINFO._serialized_end=478 - _TIMEOUTFAILUREINFO._serialized_start=481 - _TIMEOUTFAILUREINFO._serialized_end=625 - _CANCELEDFAILUREINFO._serialized_start=627 - _CANCELEDFAILUREINFO._serialized_end=699 - _TERMINATEDFAILUREINFO._serialized_start=701 - _TERMINATEDFAILUREINFO._serialized_end=724 - _SERVERFAILUREINFO._serialized_start=726 - _SERVERFAILUREINFO._serialized_end=768 - _RESETWORKFLOWFAILUREINFO._serialized_start=770 - _RESETWORKFLOWFAILUREINFO._serialized_end=862 - _ACTIVITYFAILUREINFO._serialized_start=865 - _ACTIVITYFAILUREINFO._serialized_end=1096 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start=1099 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end=1395 - _NEXUSOPERATIONFAILUREINFO._serialized_start=1398 - _NEXUSOPERATIONFAILUREINFO._serialized_end=1558 - _NEXUSHANDLERFAILUREINFO._serialized_start=1560 - _NEXUSHANDLERFAILUREINFO._serialized_end=1678 - _FAILURE._serialized_start=1681 - _FAILURE._serialized_end=2737 - _MULTIOPERATIONEXECUTIONABORTED._serialized_start=2739 - _MULTIOPERATIONEXECUTIONABORTED._serialized_end=2771 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" + _NEXUSOPERATIONFAILUREINFO.fields_by_name["operation_id"]._options = None + _NEXUSOPERATIONFAILUREINFO.fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _APPLICATIONFAILUREINFO._serialized_start = 246 + _APPLICATIONFAILUREINFO._serialized_end = 478 + _TIMEOUTFAILUREINFO._serialized_start = 481 + _TIMEOUTFAILUREINFO._serialized_end = 625 + _CANCELEDFAILUREINFO._serialized_start = 627 + _CANCELEDFAILUREINFO._serialized_end = 699 + _TERMINATEDFAILUREINFO._serialized_start = 701 + _TERMINATEDFAILUREINFO._serialized_end = 724 + _SERVERFAILUREINFO._serialized_start = 726 + _SERVERFAILUREINFO._serialized_end = 768 + _RESETWORKFLOWFAILUREINFO._serialized_start = 770 + _RESETWORKFLOWFAILUREINFO._serialized_end = 862 + _ACTIVITYFAILUREINFO._serialized_start = 865 + _ACTIVITYFAILUREINFO._serialized_end = 1096 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start = 1099 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end = 1395 + _NEXUSOPERATIONFAILUREINFO._serialized_start = 1398 + _NEXUSOPERATIONFAILUREINFO._serialized_end = 1558 + _NEXUSHANDLERFAILUREINFO._serialized_start = 1560 + _NEXUSHANDLERFAILUREINFO._serialized_end = 1678 + _FAILURE._serialized_start = 1681 + _FAILURE._serialized_end = 2737 + _MULTIOPERATIONEXECUTIONABORTED._serialized_start = 2739 + _MULTIOPERATIONEXECUTIONABORTED._serialized_end = 2771 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/failure/v1/message_pb2.pyi b/temporalio/api/failure/v1/message_pb2.pyi index 4ca82b756..76efeb112 100644 --- a/temporalio/api/failure/v1/message_pb2.pyi +++ b/temporalio/api/failure/v1/message_pb2.pyi @@ -2,11 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.nexus_pb2 @@ -48,8 +51,27 @@ class ApplicationFailureInfo(google.protobuf.message.Message): next_retry_delay: google.protobuf.duration_pb2.Duration | None = ..., category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details", "next_retry_delay", b"next_retry_delay"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["category", b"category", "details", b"details", "next_retry_delay", b"next_retry_delay", "non_retryable", b"non_retryable", "type", b"type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "next_retry_delay", b"next_retry_delay" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "category", + b"category", + "details", + b"details", + "next_retry_delay", + b"next_retry_delay", + "non_retryable", + b"non_retryable", + "type", + b"type", + ], + ) -> None: ... global___ApplicationFailureInfo = ApplicationFailureInfo @@ -60,15 +82,31 @@ class TimeoutFailureInfo(google.protobuf.message.Message): LAST_HEARTBEAT_DETAILS_FIELD_NUMBER: builtins.int timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType @property - def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_heartbeat_details( + self, + ) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "last_heartbeat_details", + b"last_heartbeat_details", + "timeout_type", + b"timeout_type", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details", "timeout_type", b"timeout_type"]) -> None: ... global___TimeoutFailureInfo = TimeoutFailureInfo @@ -83,8 +121,12 @@ class CanceledFailureInfo(google.protobuf.message.Message): *, details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> None: ... global___CanceledFailureInfo = CanceledFailureInfo @@ -107,7 +149,9 @@ class ServerFailureInfo(google.protobuf.message.Message): *, non_retryable: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"] + ) -> None: ... global___ServerFailureInfo = ServerFailureInfo @@ -116,14 +160,27 @@ class ResetWorkflowFailureInfo(google.protobuf.message.Message): LAST_HEARTBEAT_DETAILS_FIELD_NUMBER: builtins.int @property - def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_heartbeat_details( + self, + ) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["last_heartbeat_details", b"last_heartbeat_details"]) -> None: ... global___ResetWorkflowFailureInfo = ResetWorkflowFailureInfo @@ -153,8 +210,26 @@ class ActivityFailureInfo(google.protobuf.message.Message): activity_id: builtins.str = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "identity", b"identity", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "identity", + b"identity", + "retry_state", + b"retry_state", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + ], + ) -> None: ... global___ActivityFailureInfo = ActivityFailureInfo @@ -169,7 +244,9 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): RETRY_STATE_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -179,14 +256,39 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "retry_state", + b"retry_state", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___ChildWorkflowExecutionFailureInfo = ChildWorkflowExecutionFailureInfo @@ -224,7 +326,23 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): operation_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "scheduled_event_id", b"scheduled_event_id", "service", b"service"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "endpoint", + b"endpoint", + "operation", + b"operation", + "operation_id", + b"operation_id", + "operation_token", + b"operation_token", + "scheduled_event_id", + b"scheduled_event_id", + "service", + b"service", + ], + ) -> None: ... global___NexusOperationFailureInfo = NexusOperationFailureInfo @@ -237,7 +355,9 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): """The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. """ - retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType + retry_behavior: ( + temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType + ) """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" def __init__( self, @@ -245,7 +365,12 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): type: builtins.str = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["retry_behavior", b"retry_behavior", "type", b"type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "retry_behavior", b"retry_behavior", "type", b"type" + ], + ) -> None: ... global___NexusHandlerFailureInfo = NexusHandlerFailureInfo @@ -308,9 +433,13 @@ class Failure(google.protobuf.message.Message): @property def activity_failure_info(self) -> global___ActivityFailureInfo: ... @property - def child_workflow_execution_failure_info(self) -> global___ChildWorkflowExecutionFailureInfo: ... + def child_workflow_execution_failure_info( + self, + ) -> global___ChildWorkflowExecutionFailureInfo: ... @property - def nexus_operation_execution_failure_info(self) -> global___NexusOperationFailureInfo: ... + def nexus_operation_execution_failure_info( + self, + ) -> global___NexusOperationFailureInfo: ... @property def nexus_handler_failure_info(self) -> global___NexusHandlerFailureInfo: ... def __init__( @@ -328,13 +457,97 @@ class Failure(google.protobuf.message.Message): server_failure_info: global___ServerFailureInfo | None = ..., reset_workflow_failure_info: global___ResetWorkflowFailureInfo | None = ..., activity_failure_info: global___ActivityFailureInfo | None = ..., - child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo | None = ..., - nexus_operation_execution_failure_info: global___NexusOperationFailureInfo | None = ..., + child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo + | None = ..., + nexus_operation_execution_failure_info: global___NexusOperationFailureInfo + | None = ..., nexus_handler_failure_info: global___NexusHandlerFailureInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_failure_info", b"activity_failure_info", "application_failure_info", b"application_failure_info", "canceled_failure_info", b"canceled_failure_info", "cause", b"cause", "child_workflow_execution_failure_info", b"child_workflow_execution_failure_info", "encoded_attributes", b"encoded_attributes", "failure_info", b"failure_info", "nexus_handler_failure_info", b"nexus_handler_failure_info", "nexus_operation_execution_failure_info", b"nexus_operation_execution_failure_info", "reset_workflow_failure_info", b"reset_workflow_failure_info", "server_failure_info", b"server_failure_info", "terminated_failure_info", b"terminated_failure_info", "timeout_failure_info", b"timeout_failure_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_failure_info", b"activity_failure_info", "application_failure_info", b"application_failure_info", "canceled_failure_info", b"canceled_failure_info", "cause", b"cause", "child_workflow_execution_failure_info", b"child_workflow_execution_failure_info", "encoded_attributes", b"encoded_attributes", "failure_info", b"failure_info", "message", b"message", "nexus_handler_failure_info", b"nexus_handler_failure_info", "nexus_operation_execution_failure_info", b"nexus_operation_execution_failure_info", "reset_workflow_failure_info", b"reset_workflow_failure_info", "server_failure_info", b"server_failure_info", "source", b"source", "stack_trace", b"stack_trace", "terminated_failure_info", b"terminated_failure_info", "timeout_failure_info", b"timeout_failure_info"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"]) -> typing_extensions.Literal["application_failure_info", "timeout_failure_info", "canceled_failure_info", "terminated_failure_info", "server_failure_info", "reset_workflow_failure_info", "activity_failure_info", "child_workflow_execution_failure_info", "nexus_operation_execution_failure_info", "nexus_handler_failure_info"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_failure_info", + b"activity_failure_info", + "application_failure_info", + b"application_failure_info", + "canceled_failure_info", + b"canceled_failure_info", + "cause", + b"cause", + "child_workflow_execution_failure_info", + b"child_workflow_execution_failure_info", + "encoded_attributes", + b"encoded_attributes", + "failure_info", + b"failure_info", + "nexus_handler_failure_info", + b"nexus_handler_failure_info", + "nexus_operation_execution_failure_info", + b"nexus_operation_execution_failure_info", + "reset_workflow_failure_info", + b"reset_workflow_failure_info", + "server_failure_info", + b"server_failure_info", + "terminated_failure_info", + b"terminated_failure_info", + "timeout_failure_info", + b"timeout_failure_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_failure_info", + b"activity_failure_info", + "application_failure_info", + b"application_failure_info", + "canceled_failure_info", + b"canceled_failure_info", + "cause", + b"cause", + "child_workflow_execution_failure_info", + b"child_workflow_execution_failure_info", + "encoded_attributes", + b"encoded_attributes", + "failure_info", + b"failure_info", + "message", + b"message", + "nexus_handler_failure_info", + b"nexus_handler_failure_info", + "nexus_operation_execution_failure_info", + b"nexus_operation_execution_failure_info", + "reset_workflow_failure_info", + b"reset_workflow_failure_info", + "server_failure_info", + b"server_failure_info", + "source", + b"source", + "stack_trace", + b"stack_trace", + "terminated_failure_info", + b"terminated_failure_info", + "timeout_failure_info", + b"timeout_failure_info", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"] + ) -> ( + typing_extensions.Literal[ + "application_failure_info", + "timeout_failure_info", + "canceled_failure_info", + "terminated_failure_info", + "server_failure_info", + "reset_workflow_failure_info", + "activity_failure_info", + "child_workflow_execution_failure_info", + "nexus_operation_execution_failure_info", + "nexus_handler_failure_info", + ] + | None + ): ... global___Failure = Failure diff --git a/temporalio/api/filter/v1/__init__.py b/temporalio/api/filter/v1/__init__.py index 13903cd68..031c6dbe5 100644 --- a/temporalio/api/filter/v1/__init__.py +++ b/temporalio/api/filter/v1/__init__.py @@ -1,7 +1,9 @@ -from .message_pb2 import WorkflowExecutionFilter -from .message_pb2 import WorkflowTypeFilter -from .message_pb2 import StartTimeFilter -from .message_pb2 import StatusFilter +from .message_pb2 import ( + StartTimeFilter, + StatusFilter, + WorkflowExecutionFilter, + WorkflowTypeFilter, +) __all__ = [ "StartTimeFilter", diff --git a/temporalio/api/filter/v1/message_pb2.py b/temporalio/api/filter/v1/message_pb2.py index 1fc1dfc79..d939344c2 100644 --- a/temporalio/api/filter/v1/message_pb2.py +++ b/temporalio/api/filter/v1/message_pb2.py @@ -2,66 +2,86 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/filter/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\"\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t\"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t""\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3' +) - -_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name['WorkflowExecutionFilter'] -_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name['WorkflowTypeFilter'] -_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name['StartTimeFilter'] -_STATUSFILTER = DESCRIPTOR.message_types_by_name['StatusFilter'] -WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFilter', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONFILTER, - '__module__' : 'temporal.api.filter.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) - }) +_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name["WorkflowExecutionFilter"] +_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name["WorkflowTypeFilter"] +_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name["StartTimeFilter"] +_STATUSFILTER = DESCRIPTOR.message_types_by_name["StatusFilter"] +WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionFilter", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONFILTER, + "__module__": "temporal.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) + }, +) _sym_db.RegisterMessage(WorkflowExecutionFilter) -WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType('WorkflowTypeFilter', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTYPEFILTER, - '__module__' : 'temporal.api.filter.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) - }) +WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType( + "WorkflowTypeFilter", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTYPEFILTER, + "__module__": "temporal.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) + }, +) _sym_db.RegisterMessage(WorkflowTypeFilter) -StartTimeFilter = _reflection.GeneratedProtocolMessageType('StartTimeFilter', (_message.Message,), { - 'DESCRIPTOR' : _STARTTIMEFILTER, - '__module__' : 'temporal.api.filter.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) - }) +StartTimeFilter = _reflection.GeneratedProtocolMessageType( + "StartTimeFilter", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMEFILTER, + "__module__": "temporal.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) + }, +) _sym_db.RegisterMessage(StartTimeFilter) -StatusFilter = _reflection.GeneratedProtocolMessageType('StatusFilter', (_message.Message,), { - 'DESCRIPTOR' : _STATUSFILTER, - '__module__' : 'temporal.api.filter.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) - }) +StatusFilter = _reflection.GeneratedProtocolMessageType( + "StatusFilter", + (_message.Message,), + { + "DESCRIPTOR": _STATUSFILTER, + "__module__": "temporal.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) + }, +) _sym_db.RegisterMessage(StatusFilter) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1' - _WORKFLOWEXECUTIONFILTER._serialized_start=135 - _WORKFLOWEXECUTIONFILTER._serialized_end=197 - _WORKFLOWTYPEFILTER._serialized_start=199 - _WORKFLOWTYPEFILTER._serialized_end=233 - _STARTTIMEFILTER._serialized_start=235 - _STARTTIMEFILTER._serialized_end=352 - _STATUSFILTER._serialized_start=354 - _STATUSFILTER._serialized_end=432 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" + _WORKFLOWEXECUTIONFILTER._serialized_start = 135 + _WORKFLOWEXECUTIONFILTER._serialized_end = 197 + _WORKFLOWTYPEFILTER._serialized_start = 199 + _WORKFLOWTYPEFILTER._serialized_end = 233 + _STARTTIMEFILTER._serialized_start = 235 + _STARTTIMEFILTER._serialized_end = 352 + _STATUSFILTER._serialized_start = 354 + _STATUSFILTER._serialized_end = 432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/filter/v1/message_pb2.pyi b/temporalio/api/filter/v1/message_pb2.pyi index a77fb99e0..26d2efeb1 100644 --- a/temporalio/api/filter/v1/message_pb2.pyi +++ b/temporalio/api/filter/v1/message_pb2.pyi @@ -2,11 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.enums.v1.workflow_pb2 if sys.version_info >= (3, 8): @@ -29,7 +32,12 @@ class WorkflowExecutionFilter(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "workflow_id", b"workflow_id" + ], + ) -> None: ... global___WorkflowExecutionFilter = WorkflowExecutionFilter @@ -43,7 +51,9 @@ class WorkflowTypeFilter(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... global___WorkflowTypeFilter = WorkflowTypeFilter @@ -62,8 +72,18 @@ class StartTimeFilter(google.protobuf.message.Message): earliest_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., latest_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["earliest_time", b"earliest_time", "latest_time", b"latest_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["earliest_time", b"earliest_time", "latest_time", b"latest_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "earliest_time", b"earliest_time", "latest_time", b"latest_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "earliest_time", b"earliest_time", "latest_time", b"latest_time" + ], + ) -> None: ... global___StartTimeFilter = StartTimeFilter @@ -77,6 +97,8 @@ class StatusFilter(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] + ) -> None: ... global___StatusFilter = StatusFilter diff --git a/temporalio/api/history/v1/__init__.py b/temporalio/api/history/v1/__init__.py index 63581532b..3ed424c12 100644 --- a/temporalio/api/history/v1/__init__.py +++ b/temporalio/api/history/v1/__init__.py @@ -1,62 +1,64 @@ -from .message_pb2 import WorkflowExecutionStartedEventAttributes -from .message_pb2 import WorkflowExecutionCompletedEventAttributes -from .message_pb2 import WorkflowExecutionFailedEventAttributes -from .message_pb2 import WorkflowExecutionTimedOutEventAttributes -from .message_pb2 import WorkflowExecutionContinuedAsNewEventAttributes -from .message_pb2 import WorkflowTaskScheduledEventAttributes -from .message_pb2 import WorkflowTaskStartedEventAttributes -from .message_pb2 import WorkflowTaskCompletedEventAttributes -from .message_pb2 import WorkflowTaskTimedOutEventAttributes -from .message_pb2 import WorkflowTaskFailedEventAttributes -from .message_pb2 import ActivityTaskScheduledEventAttributes -from .message_pb2 import ActivityTaskStartedEventAttributes -from .message_pb2 import ActivityTaskCompletedEventAttributes -from .message_pb2 import ActivityTaskFailedEventAttributes -from .message_pb2 import ActivityTaskTimedOutEventAttributes -from .message_pb2 import ActivityTaskCancelRequestedEventAttributes -from .message_pb2 import ActivityTaskCanceledEventAttributes -from .message_pb2 import TimerStartedEventAttributes -from .message_pb2 import TimerFiredEventAttributes -from .message_pb2 import TimerCanceledEventAttributes -from .message_pb2 import WorkflowExecutionCancelRequestedEventAttributes -from .message_pb2 import WorkflowExecutionCanceledEventAttributes -from .message_pb2 import MarkerRecordedEventAttributes -from .message_pb2 import WorkflowExecutionSignaledEventAttributes -from .message_pb2 import WorkflowExecutionTerminatedEventAttributes -from .message_pb2 import RequestCancelExternalWorkflowExecutionInitiatedEventAttributes -from .message_pb2 import RequestCancelExternalWorkflowExecutionFailedEventAttributes -from .message_pb2 import ExternalWorkflowExecutionCancelRequestedEventAttributes -from .message_pb2 import SignalExternalWorkflowExecutionInitiatedEventAttributes -from .message_pb2 import SignalExternalWorkflowExecutionFailedEventAttributes -from .message_pb2 import ExternalWorkflowExecutionSignaledEventAttributes -from .message_pb2 import UpsertWorkflowSearchAttributesEventAttributes -from .message_pb2 import WorkflowPropertiesModifiedEventAttributes -from .message_pb2 import StartChildWorkflowExecutionInitiatedEventAttributes -from .message_pb2 import StartChildWorkflowExecutionFailedEventAttributes -from .message_pb2 import ChildWorkflowExecutionStartedEventAttributes -from .message_pb2 import ChildWorkflowExecutionCompletedEventAttributes -from .message_pb2 import ChildWorkflowExecutionFailedEventAttributes -from .message_pb2 import ChildWorkflowExecutionCanceledEventAttributes -from .message_pb2 import ChildWorkflowExecutionTimedOutEventAttributes -from .message_pb2 import ChildWorkflowExecutionTerminatedEventAttributes -from .message_pb2 import WorkflowExecutionOptionsUpdatedEventAttributes -from .message_pb2 import WorkflowPropertiesModifiedExternallyEventAttributes -from .message_pb2 import ActivityPropertiesModifiedExternallyEventAttributes -from .message_pb2 import WorkflowExecutionUpdateAcceptedEventAttributes -from .message_pb2 import WorkflowExecutionUpdateCompletedEventAttributes -from .message_pb2 import WorkflowExecutionUpdateRejectedEventAttributes -from .message_pb2 import WorkflowExecutionUpdateAdmittedEventAttributes -from .message_pb2 import NexusOperationScheduledEventAttributes -from .message_pb2 import NexusOperationStartedEventAttributes -from .message_pb2 import NexusOperationCompletedEventAttributes -from .message_pb2 import NexusOperationFailedEventAttributes -from .message_pb2 import NexusOperationTimedOutEventAttributes -from .message_pb2 import NexusOperationCanceledEventAttributes -from .message_pb2 import NexusOperationCancelRequestedEventAttributes -from .message_pb2 import NexusOperationCancelRequestCompletedEventAttributes -from .message_pb2 import NexusOperationCancelRequestFailedEventAttributes -from .message_pb2 import HistoryEvent -from .message_pb2 import History +from .message_pb2 import ( + ActivityPropertiesModifiedExternallyEventAttributes, + ActivityTaskCanceledEventAttributes, + ActivityTaskCancelRequestedEventAttributes, + ActivityTaskCompletedEventAttributes, + ActivityTaskFailedEventAttributes, + ActivityTaskScheduledEventAttributes, + ActivityTaskStartedEventAttributes, + ActivityTaskTimedOutEventAttributes, + ChildWorkflowExecutionCanceledEventAttributes, + ChildWorkflowExecutionCompletedEventAttributes, + ChildWorkflowExecutionFailedEventAttributes, + ChildWorkflowExecutionStartedEventAttributes, + ChildWorkflowExecutionTerminatedEventAttributes, + ChildWorkflowExecutionTimedOutEventAttributes, + ExternalWorkflowExecutionCancelRequestedEventAttributes, + ExternalWorkflowExecutionSignaledEventAttributes, + History, + HistoryEvent, + MarkerRecordedEventAttributes, + NexusOperationCanceledEventAttributes, + NexusOperationCancelRequestCompletedEventAttributes, + NexusOperationCancelRequestedEventAttributes, + NexusOperationCancelRequestFailedEventAttributes, + NexusOperationCompletedEventAttributes, + NexusOperationFailedEventAttributes, + NexusOperationScheduledEventAttributes, + NexusOperationStartedEventAttributes, + NexusOperationTimedOutEventAttributes, + RequestCancelExternalWorkflowExecutionFailedEventAttributes, + RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, + SignalExternalWorkflowExecutionFailedEventAttributes, + SignalExternalWorkflowExecutionInitiatedEventAttributes, + StartChildWorkflowExecutionFailedEventAttributes, + StartChildWorkflowExecutionInitiatedEventAttributes, + TimerCanceledEventAttributes, + TimerFiredEventAttributes, + TimerStartedEventAttributes, + UpsertWorkflowSearchAttributesEventAttributes, + WorkflowExecutionCanceledEventAttributes, + WorkflowExecutionCancelRequestedEventAttributes, + WorkflowExecutionCompletedEventAttributes, + WorkflowExecutionContinuedAsNewEventAttributes, + WorkflowExecutionFailedEventAttributes, + WorkflowExecutionOptionsUpdatedEventAttributes, + WorkflowExecutionSignaledEventAttributes, + WorkflowExecutionStartedEventAttributes, + WorkflowExecutionTerminatedEventAttributes, + WorkflowExecutionTimedOutEventAttributes, + WorkflowExecutionUpdateAcceptedEventAttributes, + WorkflowExecutionUpdateAdmittedEventAttributes, + WorkflowExecutionUpdateCompletedEventAttributes, + WorkflowExecutionUpdateRejectedEventAttributes, + WorkflowPropertiesModifiedEventAttributes, + WorkflowPropertiesModifiedExternallyEventAttributes, + WorkflowTaskCompletedEventAttributes, + WorkflowTaskFailedEventAttributes, + WorkflowTaskScheduledEventAttributes, + WorkflowTaskStartedEventAttributes, + WorkflowTaskTimedOutEventAttributes, +) __all__ = [ "ActivityPropertiesModifiedExternallyEventAttributes", diff --git a/temporalio/api/history/v1/message_pb2.py b/temporalio/api/history/v1/message_pb2.py index a23b3d3fb..d3f40a8c9 100644 --- a/temporalio/api/history/v1/message_pb2.py +++ b/temporalio/api/history/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/history/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,700 +16,1246 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 -from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 -from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 -from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 -from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2 -from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xd6\x0f\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08J\x04\x08$\x10%R parent_pinned_deployment_version\"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t\"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t\"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t\"\xc8\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"\x92\x02\n\"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"\x9e\x02\n\"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xab\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\"\x84\x02\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin\"\xbb\x03\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t\"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03\"\xbe;\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3') - - - -_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionStartedEventAttributes'] -_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCompletedEventAttributes'] -_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionFailedEventAttributes'] -_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionTimedOutEventAttributes'] -_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionContinuedAsNewEventAttributes'] -_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskScheduledEventAttributes'] -_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskStartedEventAttributes'] -_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskCompletedEventAttributes'] -_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskTimedOutEventAttributes'] -_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowTaskFailedEventAttributes'] -_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskScheduledEventAttributes'] -_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskStartedEventAttributes'] -_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCompletedEventAttributes'] -_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskFailedEventAttributes'] -_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskTimedOutEventAttributes'] -_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCancelRequestedEventAttributes'] -_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityTaskCanceledEventAttributes'] -_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerStartedEventAttributes'] -_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerFiredEventAttributes'] -_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['TimerCanceledEventAttributes'] -_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCancelRequestedEventAttributes'] -_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionCanceledEventAttributes'] -_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['MarkerRecordedEventAttributes'] -_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name['DetailsEntry'] -_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionSignaledEventAttributes'] -_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionTerminatedEventAttributes'] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionFailedEventAttributes'] -_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionCancelRequestedEventAttributes'] -_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionInitiatedEventAttributes'] -_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionFailedEventAttributes'] -_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionSignaledEventAttributes'] -_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesEventAttributes'] -_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowPropertiesModifiedEventAttributes'] -_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionInitiatedEventAttributes'] -_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionFailedEventAttributes'] -_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionStartedEventAttributes'] -_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCompletedEventAttributes'] -_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionFailedEventAttributes'] -_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCanceledEventAttributes'] -_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTimedOutEventAttributes'] -_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTerminatedEventAttributes'] -_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionOptionsUpdatedEventAttributes'] -_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowPropertiesModifiedExternallyEventAttributes'] -_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ActivityPropertiesModifiedExternallyEventAttributes'] -_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateAcceptedEventAttributes'] -_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateCompletedEventAttributes'] -_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateRejectedEventAttributes'] -_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['WorkflowExecutionUpdateAdmittedEventAttributes'] -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationScheduledEventAttributes'] -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name['NexusHeaderEntry'] -_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationStartedEventAttributes'] -_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCompletedEventAttributes'] -_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationFailedEventAttributes'] -_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationTimedOutEventAttributes'] -_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCanceledEventAttributes'] -_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestedEventAttributes'] -_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestCompletedEventAttributes'] -_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name['NexusOperationCancelRequestFailedEventAttributes'] -_HISTORYEVENT = DESCRIPTOR.message_types_by_name['HistoryEvent'] -_HISTORY = DESCRIPTOR.message_types_by_name['History'] -WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, +) +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +) +from temporalio.api.enums.v1 import ( + update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) +from temporalio.api.update.v1 import ( + message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, +) +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xd6\x0f\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08J\x04\x08$\x10%R parent_pinned_deployment_version"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t"\xc8\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05"\x92\x02\n"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"\x9e\x02\n"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xab\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03"\x84\x02\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin"\xbb\x03\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03"\xbe;\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x42\x0c\n\nattributes"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3' +) + + +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionStartedEventAttributes" +] +_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCompletedEventAttributes" +] +_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionFailedEventAttributes" +] +_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionTimedOutEventAttributes" +] +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionContinuedAsNewEventAttributes" +] +_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskScheduledEventAttributes" +] +_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskStartedEventAttributes" +] +_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskCompletedEventAttributes" +] +_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskTimedOutEventAttributes" +] +_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskFailedEventAttributes" +] +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskScheduledEventAttributes" +] +_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskStartedEventAttributes" +] +_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCompletedEventAttributes" +] +_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskFailedEventAttributes" +] +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskTimedOutEventAttributes" +] +_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCancelRequestedEventAttributes" +] +_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCanceledEventAttributes" +] +_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerStartedEventAttributes" +] +_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerFiredEventAttributes" +] +_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerCanceledEventAttributes" +] +_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCancelRequestedEventAttributes" +] +_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCanceledEventAttributes" +] +_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "MarkerRecordedEventAttributes" +] +_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = ( + _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name["DetailsEntry"] +) +_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionSignaledEventAttributes" +] +_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionTerminatedEventAttributes" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" + ] +) +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionFailedEventAttributes" + ] +) +_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "ExternalWorkflowExecutionCancelRequestedEventAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionInitiatedEventAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionFailedEventAttributes" + ] +) +_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ExternalWorkflowExecutionSignaledEventAttributes" +] +_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributesEventAttributes" +] +_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowPropertiesModifiedEventAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionInitiatedEventAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionFailedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionStartedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionCompletedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionFailedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionCanceledEventAttributes" +] +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionTimedOutEventAttributes" +] +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionTerminatedEventAttributes" +] +_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionOptionsUpdatedEventAttributes" +] +_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowPropertiesModifiedExternallyEventAttributes" +] +_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityPropertiesModifiedExternallyEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateAcceptedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateCompletedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateRejectedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateAdmittedEventAttributes" +] +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationScheduledEventAttributes" +] +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = ( + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] +) +_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationStartedEventAttributes" +] +_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCompletedEventAttributes" +] +_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationFailedEventAttributes" +] +_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationTimedOutEventAttributes" +] +_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCanceledEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestedEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestCompletedEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestFailedEventAttributes" +] +_HISTORYEVENT = DESCRIPTOR.message_types_by_name["HistoryEvent"] +_HISTORY = DESCRIPTOR.message_types_by_name["History"] +WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes) -WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) - }) +WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionCompletedEventAttributes) -WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) - }) +WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionFailedEventAttributes) -WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTimedOutEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) - }) +WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionTimedOutEventAttributes) -WorkflowExecutionContinuedAsNewEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionContinuedAsNewEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) - }) +WorkflowExecutionContinuedAsNewEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionContinuedAsNewEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionContinuedAsNewEventAttributes) -WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskScheduledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) - }) +WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskScheduledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowTaskScheduledEventAttributes) -WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) - }) +WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowTaskStartedEventAttributes) -WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) - }) +WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowTaskCompletedEventAttributes) -WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskTimedOutEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) - }) +WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowTaskTimedOutEventAttributes) -WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowTaskFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) - }) +WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowTaskFailedEventAttributes) -ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskScheduledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) - }) +ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskScheduledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskScheduledEventAttributes) -ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) - }) +ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskStartedEventAttributes) -ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) - }) +ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskCompletedEventAttributes) -ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) - }) +ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskFailedEventAttributes) -ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskTimedOutEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) - }) +ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskTimedOutEventAttributes) -ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCancelRequestedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) - }) +ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskCancelRequestedEventAttributes) -ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCanceledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) - }) +ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) + }, +) _sym_db.RegisterMessage(ActivityTaskCanceledEventAttributes) -TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType('TimerStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _TIMERSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) - }) +TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) + }, +) _sym_db.RegisterMessage(TimerStartedEventAttributes) -TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType('TimerFiredEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _TIMERFIREDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) - }) +TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerFiredEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERFIREDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) + }, +) _sym_db.RegisterMessage(TimerFiredEventAttributes) -TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('TimerCanceledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _TIMERCANCELEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) - }) +TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERCANCELEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) + }, +) _sym_db.RegisterMessage(TimerCanceledEventAttributes) -WorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) - }) +WorkflowExecutionCancelRequestedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionCancelRequestedEventAttributes) -WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCanceledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) - }) +WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionCanceledEventAttributes) -MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType('MarkerRecordedEventAttributes', (_message.Message,), { - - 'DetailsEntry' : _reflection.GeneratedProtocolMessageType('DetailsEntry', (_message.Message,), { - 'DESCRIPTOR' : _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) - }) - , - 'DESCRIPTOR' : _MARKERRECORDEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) - }) +MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType( + "MarkerRecordedEventAttributes", + (_message.Message,), + { + "DetailsEntry": _reflection.GeneratedProtocolMessageType( + "DetailsEntry", + (_message.Message,), + { + "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) + }, + ), + "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) + }, +) _sym_db.RegisterMessage(MarkerRecordedEventAttributes) _sym_db.RegisterMessage(MarkerRecordedEventAttributes.DetailsEntry) -WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionSignaledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) - }) +WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionSignaledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionSignaledEventAttributes) -WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTerminatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) - }) +WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionTerminatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowExecutionTerminatedEventAttributes) -RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) - }) +RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + }, +) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) -RequestCancelExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) - }) +RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionFailedEventAttributes) -ExternalWorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) - }) +ExternalWorkflowExecutionCancelRequestedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ExternalWorkflowExecutionCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ExternalWorkflowExecutionCancelRequestedEventAttributes) -SignalExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) - }) +SignalExternalWorkflowExecutionInitiatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionInitiatedEventAttributes) -SignalExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) - }) +SignalExternalWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(SignalExternalWorkflowExecutionFailedEventAttributes) -ExternalWorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionSignaledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) - }) +ExternalWorkflowExecutionSignaledEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ExternalWorkflowExecutionSignaledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ExternalWorkflowExecutionSignaledEventAttributes) -UpsertWorkflowSearchAttributesEventAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) - }) +UpsertWorkflowSearchAttributesEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributesEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) + }, + ) +) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributesEventAttributes) -WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowPropertiesModifiedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) - }) +WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowPropertiesModifiedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) + }, +) _sym_db.RegisterMessage(WorkflowPropertiesModifiedEventAttributes) -StartChildWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) - }) +StartChildWorkflowExecutionInitiatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(StartChildWorkflowExecutionInitiatedEventAttributes) -StartChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) - }) +StartChildWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(StartChildWorkflowExecutionFailedEventAttributes) -ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) - }) +ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) + }, +) _sym_db.RegisterMessage(ChildWorkflowExecutionStartedEventAttributes) -ChildWorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) - }) +ChildWorkflowExecutionCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ChildWorkflowExecutionCompletedEventAttributes) -ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) - }) +ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) + }, +) _sym_db.RegisterMessage(ChildWorkflowExecutionFailedEventAttributes) -ChildWorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCanceledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) - }) +ChildWorkflowExecutionCanceledEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ChildWorkflowExecutionCanceledEventAttributes) -ChildWorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTimedOutEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) - }) +ChildWorkflowExecutionTimedOutEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ChildWorkflowExecutionTimedOutEventAttributes) -ChildWorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTerminatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) - }) +ChildWorkflowExecutionTerminatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionTerminatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ChildWorkflowExecutionTerminatedEventAttributes) -WorkflowExecutionOptionsUpdatedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionOptionsUpdatedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) - }) +WorkflowExecutionOptionsUpdatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionOptionsUpdatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionOptionsUpdatedEventAttributes) -WorkflowPropertiesModifiedExternallyEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowPropertiesModifiedExternallyEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) - }) +WorkflowPropertiesModifiedExternallyEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowPropertiesModifiedExternallyEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowPropertiesModifiedExternallyEventAttributes) -ActivityPropertiesModifiedExternallyEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityPropertiesModifiedExternallyEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) - }) +ActivityPropertiesModifiedExternallyEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ActivityPropertiesModifiedExternallyEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) + }, + ) +) _sym_db.RegisterMessage(ActivityPropertiesModifiedExternallyEventAttributes) -WorkflowExecutionUpdateAcceptedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateAcceptedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) - }) +WorkflowExecutionUpdateAcceptedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateAcceptedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionUpdateAcceptedEventAttributes) -WorkflowExecutionUpdateCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) - }) +WorkflowExecutionUpdateCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionUpdateCompletedEventAttributes) -WorkflowExecutionUpdateRejectedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateRejectedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) - }) +WorkflowExecutionUpdateRejectedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateRejectedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionUpdateRejectedEventAttributes) -WorkflowExecutionUpdateAdmittedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionUpdateAdmittedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) - }) +WorkflowExecutionUpdateAdmittedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateAdmittedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(WorkflowExecutionUpdateAdmittedEventAttributes) -NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationScheduledEventAttributes', (_message.Message,), { - - 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) - }) - , - 'DESCRIPTOR' : _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) - }) +NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationScheduledEventAttributes", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationScheduledEventAttributes) _sym_db.RegisterMessage(NexusOperationScheduledEventAttributes.NexusHeaderEntry) -NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationStartedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) - }) +NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationStartedEventAttributes) -NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) - }) +NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationCompletedEventAttributes) -NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) - }) +NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationFailedEventAttributes) -NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationTimedOutEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) - }) +NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationTimedOutEventAttributes) -NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCanceledEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) - }) +NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationCanceledEventAttributes) -NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) - }) +NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) + }, +) _sym_db.RegisterMessage(NexusOperationCancelRequestedEventAttributes) -NexusOperationCancelRequestCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestCompletedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) - }) +NexusOperationCancelRequestCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(NexusOperationCancelRequestCompletedEventAttributes) -NexusOperationCancelRequestFailedEventAttributes = _reflection.GeneratedProtocolMessageType('NexusOperationCancelRequestFailedEventAttributes', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) - }) +NexusOperationCancelRequestFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) + }, + ) +) _sym_db.RegisterMessage(NexusOperationCancelRequestFailedEventAttributes) -HistoryEvent = _reflection.GeneratedProtocolMessageType('HistoryEvent', (_message.Message,), { - 'DESCRIPTOR' : _HISTORYEVENT, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) - }) +HistoryEvent = _reflection.GeneratedProtocolMessageType( + "HistoryEvent", + (_message.Message,), + { + "DESCRIPTOR": _HISTORYEVENT, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) + }, +) _sym_db.RegisterMessage(HistoryEvent) -History = _reflection.GeneratedProtocolMessageType('History', (_message.Message,), { - 'DESCRIPTOR' : _HISTORY, - '__module__' : 'temporal.api.history.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) - }) +History = _reflection.GeneratedProtocolMessageType( + "History", + (_message.Message,), + { + "DESCRIPTOR": _HISTORY, + "__module__": "temporal.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) + }, +) _sym_db.RegisterMessage(History) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1' - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['source_version_stamp']._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['source_version_stamp']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['inherited_build_id']._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['inherited_build_id']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['parent_pinned_worker_deployment_version']._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['parent_pinned_worker_deployment_version']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['failure']._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['failure']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['inherit_build_id']._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._serialized_options = b'\030\001' - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['deployment']._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['deployment']._serialized_options = b'\030\001' - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_deployment_version']._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_deployment_version']._serialized_options = b'\030\001' - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['use_workflow_build_id']._options = None - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['use_workflow_build_id']._serialized_options = b'\030\001' - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['build_id_redirect_counter']._serialized_options = b'\030\001' - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name['worker_version']._options = None - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name['worker_version']._serialized_options = b'\030\001' - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b'8\001' - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['skip_generate_workflow_task']._options = None - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['skip_generate_workflow_task']._serialized_options = b'\030\001' - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['inherit_build_id']._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['inherit_build_id']._serialized_options = b'\030\001' - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._options = None - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['control']._serialized_options = b'\030\001' - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = b'8\001' - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name['operation_id']._options = None - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name['operation_id']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start=617 - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end=2623 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start=2626 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end=2791 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=2794 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=3013 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start=3016 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end=3144 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start=3147 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end=3987 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start=3990 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end=4162 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start=4165 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end=4439 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start=4442 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end=5084 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start=5087 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end=5236 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start=5239 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end=5630 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start=5633 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end=6339 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start=6342 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end=6628 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start=6631 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end=6863 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start=6866 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end=7152 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start=7155 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end=7353 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=7355 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=7469 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start=7472 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end=7746 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_start=7749 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_end=7896 - _TIMERFIREDEVENTATTRIBUTES._serialized_start=7898 - _TIMERFIREDEVENTATTRIBUTES._serialized_end=7969 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_start=7972 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_end=8106 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=8109 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=8308 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start=8311 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end=8446 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_start=8449 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_end=8810 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start=8730 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end=8810 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start=8813 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end=9112 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start=9115 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end=9244 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=9247 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=9531 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=9534 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=9880 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=9883 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=10080 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=10083 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=10462 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=10465 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=10804 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start=10807 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end=11018 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start=11021 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end=11179 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start=11182 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end=11320 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start=11323 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end=12323 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=12326 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=12668 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start=12671 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end=12966 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start=12969 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end=13294 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start=13297 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end=13676 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start=13679 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end=14004 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start=14007 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end=14337 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start=14340 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end=14616 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start=14619 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end=14879 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start=14882 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end=15202 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start=15205 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end=15349 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start=15352 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end=15572 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start=15575 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end=15745 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start=15748 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end=16019 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start=16022 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end=16186 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start=16189 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end=16632 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start=16582 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end=16632 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start=16635 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end=16772 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start=16775 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end=16912 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start=16915 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end=17051 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start=17054 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end=17192 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start=17195 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end=17333 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start=17335 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end=17451 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start=17454 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end=17605 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start=17608 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end=17807 - _HISTORYEVENT._serialized_start=17810 - _HISTORYEVENT._serialized_end=25424 - _HISTORY._serialized_start=25426 - _HISTORY._serialized_end=25490 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "source_version_stamp" + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "source_version_stamp" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "inherited_build_id" + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "inherited_build_id" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "parent_pinned_worker_deployment_version" + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "parent_pinned_worker_deployment_version" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + "failure" + ]._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + "failure" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "build_id_redirect_counter" + ]._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "build_id_redirect_counter" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "binary_checksum" + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name["deployment"]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_deployment_version" + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_deployment_version" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["binary_checksum"]._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ + "use_workflow_build_id" + ]._options = None + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ + "use_workflow_build_id" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "build_id_redirect_counter" + ]._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + "build_id_redirect_counter" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._options = None + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._options = None + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + "skip_generate_workflow_task" + ]._options = None + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + "skip_generate_workflow_task" + ]._serialized_options = b"\030\001" + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "inherit_build_id" + ]._serialized_options = b"\030\001" + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( + b"8\001" + ) + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name["operation_id"]._options = None + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 617 + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 2623 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 2626 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 2791 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 2794 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 3013 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 3016 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 3144 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start = 3147 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end = 3987 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 3990 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 4162 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start = 4165 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end = 4439 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 4442 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 5084 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 5087 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 5236 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start = 5239 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end = 5630 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 5633 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 6339 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start = 6342 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end = 6628 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 6631 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 6863 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start = 6866 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end = 7152 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 7155 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 7353 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 7355 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 7469 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start = 7472 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end = 7746 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_start = 7749 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_end = 7896 + _TIMERFIREDEVENTATTRIBUTES._serialized_start = 7898 + _TIMERFIREDEVENTATTRIBUTES._serialized_end = 7969 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_start = 7972 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_end = 8106 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8109 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 8308 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 8311 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 8446 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_start = 8449 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_end = 8810 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start = 8730 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end = 8810 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 8813 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 9112 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 9115 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 9244 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 9247 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = ( + 9531 + ) + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = ( + 9534 + ) + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 9880 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 9883 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 10080 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 10083 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 10462 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 10465 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 10804 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 10807 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 11018 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start = 11021 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end = 11179 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start = 11182 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end = 11320 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 11323 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 12323 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 12326 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 12668 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 12671 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 12966 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 12969 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 13294 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 13297 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 13676 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 13679 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 14004 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 14007 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 14337 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 14340 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 14616 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start = 14619 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end = 14879 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 14882 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 15202 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 15205 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 15349 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start = 15352 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end = 15572 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start = 15575 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end = 15745 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start = 15748 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end = 16019 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start = 16022 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end = 16186 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start = 16189 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end = 16632 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 16582 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 16632 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start = 16635 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end = 16772 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 16775 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 16912 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start = 16915 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end = 17051 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 17054 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 17192 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start = 17195 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end = 17333 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 17335 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 17451 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start = 17454 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end = 17605 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start = 17608 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end = 17807 + _HISTORYEVENT._serialized_start = 17810 + _HISTORYEVENT._serialized_end = 25424 + _HISTORY._serialized_start = 25426 + _HISTORY._serialized_end = 25490 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/history/v1/message_pb2.pyi b/temporalio/api/history/v1/message_pb2.pyi index 5a1a6d024..50fc04f0e 100644 --- a/temporalio/api/history/v1/message_pb2.pyi +++ b/temporalio/api/history/v1/message_pb2.pyi @@ -2,14 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.event_type_pb2 @@ -80,7 +83,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """ parent_workflow_namespace_id: builtins.str @property - def parent_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def parent_workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated. """ @@ -108,7 +113,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property - def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_completion_result( + self, + ) -> temporalio.api.common.v1.message_pb2.Payloads: ... original_execution_run_id: builtins.str """This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field. @@ -124,7 +131,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): attempt: builtins.int """Starting at 1, the number of times we have tried to execute this workflow""" @property - def workflow_execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + def workflow_execution_expiration_time( + self, + ) -> google.protobuf.timestamp_pb2.Timestamp: """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ @@ -138,9 +147,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def prev_auto_reset_points(self) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... + def prev_auto_reset_points( + self, + ) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... parent_initiated_event_version: builtins.int @@ -151,16 +164,24 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): workflow_id: builtins.str """This field is new in 1.21.""" @property - def source_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def source_version_stamp( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv] """ @property - def completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: + def completion_callbacks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Callback + ]: """Completion callbacks attached when this workflow was started.""" @property - def root_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def root_workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. @@ -193,7 +214,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @property - def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override( + self, + ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version. @@ -210,7 +233,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" @property - def inherited_pinned_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def inherited_pinned_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. @@ -237,7 +262,8 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., parent_workflow_namespace: builtins.str = ..., parent_workflow_namespace_id: builtins.str = ..., - parent_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + parent_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., parent_initiated_event_id: builtins.int = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., @@ -247,35 +273,172 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): continued_execution_run_id: builtins.str = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., original_execution_run_id: builtins.str = ..., identity: builtins.str = ..., first_execution_run_id: builtins.str = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., attempt: builtins.int = ..., - workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., cron_schedule: builtins.str = ..., first_workflow_task_backoff: google.protobuf.duration_pb2.Duration | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., - prev_auto_reset_points: temporalio.api.workflow.v1.message_pb2.ResetPoints | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., + prev_auto_reset_points: temporalio.api.workflow.v1.message_pb2.ResetPoints + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., parent_initiated_event_version: builtins.int = ..., workflow_id: builtins.str = ..., - source_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., - completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., - root_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + source_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + completion_callbacks: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Callback + ] + | None = ..., + root_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., inherited_build_id: builtins.str = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride + | None = ..., parent_pinned_worker_deployment_version: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - inherited_pinned_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + inherited_pinned_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., eager_execution_accepted: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "first_workflow_task_backoff", b"first_workflow_task_backoff", "header", b"header", "inherited_pinned_version", b"inherited_pinned_version", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_execution", b"parent_workflow_execution", "prev_auto_reset_points", b"prev_auto_reset_points", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow_execution", b"root_workflow_execution", "search_attributes", b"search_attributes", "source_version_stamp", b"source_version_stamp", "task_queue", b"task_queue", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "completion_callbacks", b"completion_callbacks", "continued_execution_run_id", b"continued_execution_run_id", "continued_failure", b"continued_failure", "cron_schedule", b"cron_schedule", "eager_execution_accepted", b"eager_execution_accepted", "first_execution_run_id", b"first_execution_run_id", "first_workflow_task_backoff", b"first_workflow_task_backoff", "header", b"header", "identity", b"identity", "inherited_build_id", b"inherited_build_id", "inherited_pinned_version", b"inherited_pinned_version", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "original_execution_run_id", b"original_execution_run_id", "parent_initiated_event_id", b"parent_initiated_event_id", "parent_initiated_event_version", b"parent_initiated_event_version", "parent_pinned_worker_deployment_version", b"parent_pinned_worker_deployment_version", "parent_workflow_execution", b"parent_workflow_execution", "parent_workflow_namespace", b"parent_workflow_namespace", "parent_workflow_namespace_id", b"parent_workflow_namespace_id", "prev_auto_reset_points", b"prev_auto_reset_points", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow_execution", b"root_workflow_execution", "search_attributes", b"search_attributes", "source_version_stamp", b"source_version_stamp", "task_queue", b"task_queue", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "continued_failure", + b"continued_failure", + "first_workflow_task_backoff", + b"first_workflow_task_backoff", + "header", + b"header", + "inherited_pinned_version", + b"inherited_pinned_version", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "parent_workflow_execution", + b"parent_workflow_execution", + "prev_auto_reset_points", + b"prev_auto_reset_points", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "root_workflow_execution", + b"root_workflow_execution", + "search_attributes", + b"search_attributes", + "source_version_stamp", + b"source_version_stamp", + "task_queue", + b"task_queue", + "versioning_override", + b"versioning_override", + "workflow_execution_expiration_time", + b"workflow_execution_expiration_time", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "completion_callbacks", + b"completion_callbacks", + "continued_execution_run_id", + b"continued_execution_run_id", + "continued_failure", + b"continued_failure", + "cron_schedule", + b"cron_schedule", + "eager_execution_accepted", + b"eager_execution_accepted", + "first_execution_run_id", + b"first_execution_run_id", + "first_workflow_task_backoff", + b"first_workflow_task_backoff", + "header", + b"header", + "identity", + b"identity", + "inherited_build_id", + b"inherited_build_id", + "inherited_pinned_version", + b"inherited_pinned_version", + "initiator", + b"initiator", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "original_execution_run_id", + b"original_execution_run_id", + "parent_initiated_event_id", + b"parent_initiated_event_id", + "parent_initiated_event_version", + b"parent_initiated_event_version", + "parent_pinned_worker_deployment_version", + b"parent_pinned_worker_deployment_version", + "parent_workflow_execution", + b"parent_workflow_execution", + "parent_workflow_namespace", + b"parent_workflow_namespace", + "parent_workflow_namespace_id", + b"parent_workflow_namespace_id", + "prev_auto_reset_points", + b"prev_auto_reset_points", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "root_workflow_execution", + b"root_workflow_execution", + "search_attributes", + b"search_attributes", + "source_version_stamp", + b"source_version_stamp", + "task_queue", + b"task_queue", + "versioning_override", + b"versioning_override", + "workflow_execution_expiration_time", + b"workflow_execution_expiration_time", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___WorkflowExecutionStartedEventAttributes = WorkflowExecutionStartedEventAttributes +global___WorkflowExecutionStartedEventAttributes = ( + WorkflowExecutionStartedEventAttributes +) class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -297,10 +460,24 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) workflow_task_completed_event_id: builtins.int = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["new_execution_run_id", b"new_execution_run_id", "result", b"result", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "new_execution_run_id", + b"new_execution_run_id", + "result", + b"result", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___WorkflowExecutionCompletedEventAttributes = WorkflowExecutionCompletedEventAttributes +global___WorkflowExecutionCompletedEventAttributes = ( + WorkflowExecutionCompletedEventAttributes +) class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -325,8 +502,22 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "new_execution_run_id", b"new_execution_run_id", "retry_state", b"retry_state", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "new_execution_run_id", + b"new_execution_run_id", + "retry_state", + b"retry_state", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___WorkflowExecutionFailedEventAttributes = WorkflowExecutionFailedEventAttributes @@ -344,9 +535,19 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., new_execution_run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["new_execution_run_id", b"new_execution_run_id", "retry_state", b"retry_state"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "new_execution_run_id", + b"new_execution_run_id", + "retry_state", + b"retry_state", + ], + ) -> None: ... -global___WorkflowExecutionTimedOutEventAttributes = WorkflowExecutionTimedOutEventAttributes +global___WorkflowExecutionTimedOutEventAttributes = ( + WorkflowExecutionTimedOutEventAttributes +) class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -401,7 +602,9 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. @@ -420,16 +623,80 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes backoff_start_interval: google.protobuf.duration_pb2.Duration | None = ..., initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., inherit_build_id: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["backoff_start_interval", b"backoff_start_interval", "failure", b"failure", "header", b"header", "inherit_build_id", b"inherit_build_id", "initiator", b"initiator", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "new_execution_run_id", b"new_execution_run_id", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "backoff_start_interval", + b"backoff_start_interval", + "failure", + b"failure", + "header", + b"header", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "backoff_start_interval", + b"backoff_start_interval", + "failure", + b"failure", + "header", + b"header", + "inherit_build_id", + b"inherit_build_id", + "initiator", + b"initiator", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "new_execution_run_id", + b"new_execution_run_id", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___WorkflowExecutionContinuedAsNewEventAttributes = WorkflowExecutionContinuedAsNewEventAttributes +global___WorkflowExecutionContinuedAsNewEventAttributes = ( + WorkflowExecutionContinuedAsNewEventAttributes +) class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -456,8 +723,26 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., attempt: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> None: ... global___WorkflowTaskScheduledEventAttributes = WorkflowTaskScheduledEventAttributes @@ -504,11 +789,32 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., suggest_continue_as_new: builtins.bool = ..., history_size_bytes: builtins.int = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., build_id_redirect_counter: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id_redirect_counter", b"build_id_redirect_counter", "history_size_bytes", b"history_size_bytes", "identity", b"identity", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id", "suggest_continue_as_new", b"suggest_continue_as_new", "worker_version", b"worker_version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["worker_version", b"worker_version"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id_redirect_counter", + b"build_id_redirect_counter", + "history_size_bytes", + b"history_size_bytes", + "identity", + b"identity", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + "suggest_continue_as_new", + b"suggest_continue_as_new", + "worker_version", + b"worker_version", + ], + ) -> None: ... global___WorkflowTaskStartedEventAttributes = WorkflowTaskStartedEventAttributes @@ -545,12 +851,16 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): Deprecated. Use `deployment_version` and `versioning_behavior` instead. """ @property - def sdk_metadata(self) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: + def sdk_metadata( + self, + ) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ @property - def metering_metadata(self) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: + def metering_metadata( + self, + ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data sent during workflow task completion and recorded here for posterity""" @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: @@ -559,7 +869,9 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`. """ - versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) """Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's `versioning_info.behavior`. @@ -576,7 +888,9 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): Experimental. Worker Deployments are experimental and might significantly change in the future. """ @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`. Experimental. Worker Deployments are experimental and might significantly change in the future. @@ -588,17 +902,63 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., identity: builtins.str = ..., binary_checksum: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., - sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata | None = ..., - metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata + | None = ..., + metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., worker_deployment_version: builtins.str = ..., worker_deployment_name: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_version", + b"deployment_version", + "metering_metadata", + b"metering_metadata", + "sdk_metadata", + b"sdk_metadata", + "worker_version", + b"worker_version", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "binary_checksum", + b"binary_checksum", + "deployment", + b"deployment", + "deployment_version", + b"deployment_version", + "identity", + b"identity", + "metering_metadata", + b"metering_metadata", + "scheduled_event_id", + b"scheduled_event_id", + "sdk_metadata", + b"sdk_metadata", + "started_event_id", + b"started_event_id", + "versioning_behavior", + b"versioning_behavior", + "worker_deployment_name", + b"worker_deployment_name", + "worker_deployment_version", + b"worker_deployment_version", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_version", b"deployment_version", "metering_metadata", b"metering_metadata", "sdk_metadata", b"sdk_metadata", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "deployment", b"deployment", "deployment_version", b"deployment_version", "identity", b"identity", "metering_metadata", b"metering_metadata", "scheduled_event_id", b"scheduled_event_id", "sdk_metadata", b"sdk_metadata", "started_event_id", b"started_event_id", "versioning_behavior", b"versioning_behavior", "worker_deployment_name", b"worker_deployment_name", "worker_deployment_version", b"worker_deployment_version", "worker_version", b"worker_version"]) -> None: ... global___WorkflowTaskCompletedEventAttributes = WorkflowTaskCompletedEventAttributes @@ -620,7 +980,17 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., timeout_type: temporalio.api.enums.v1.workflow_pb2.TimeoutType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "timeout_type", b"timeout_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + "timeout_type", + b"timeout_type", + ], + ) -> None: ... global___WorkflowTaskTimedOutEventAttributes = WorkflowTaskTimedOutEventAttributes @@ -676,10 +1046,40 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): new_run_id: builtins.str = ..., fork_event_version: builtins.int = ..., binary_checksum: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "worker_version", b"worker_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "base_run_id", + b"base_run_id", + "binary_checksum", + b"binary_checksum", + "cause", + b"cause", + "failure", + b"failure", + "fork_event_version", + b"fork_event_version", + "identity", + b"identity", + "new_run_id", + b"new_run_id", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["base_run_id", b"base_run_id", "binary_checksum", b"binary_checksum", "cause", b"cause", "failure", b"failure", "fork_event_version", b"fork_event_version", "identity", b"identity", "new_run_id", b"new_run_id", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___WorkflowTaskFailedEventAttributes = WorkflowTaskFailedEventAttributes @@ -774,8 +1174,62 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): use_workflow_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "header", b"header", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "use_workflow_build_id", b"use_workflow_build_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_type", + b"activity_type", + "header", + b"header", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "header", + b"header", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + "use_workflow_build_id", + b"use_workflow_build_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes @@ -820,11 +1274,35 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., attempt: builtins.int = ..., last_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., build_id_redirect_counter: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_failure", b"last_failure", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "build_id_redirect_counter", b"build_id_redirect_counter", "identity", b"identity", "last_failure", b"last_failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id", "worker_version", b"worker_version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_failure", b"last_failure", "worker_version", b"worker_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "build_id_redirect_counter", + b"build_id_redirect_counter", + "identity", + b"identity", + "last_failure", + b"last_failure", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + "worker_version", + b"worker_version", + ], + ) -> None: ... global___ActivityTaskStartedEventAttributes = ActivityTaskStartedEventAttributes @@ -857,10 +1335,30 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): scheduled_event_id: builtins.int = ..., started_event_id: builtins.int = ..., identity: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "result", b"result", "worker_version", b"worker_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "result", + b"result", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "result", b"result", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskCompletedEventAttributes = ActivityTaskCompletedEventAttributes @@ -896,10 +1394,32 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., identity: builtins.str = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "worker_version", b"worker_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "identity", + b"identity", + "retry_state", + b"retry_state", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "identity", b"identity", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskFailedEventAttributes = ActivityTaskFailedEventAttributes @@ -928,8 +1448,22 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "retry_state", b"retry_state", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "retry_state", + b"retry_state", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + ], + ) -> None: ... global___ActivityTaskTimedOutEventAttributes = ActivityTaskTimedOutEventAttributes @@ -948,9 +1482,19 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message scheduled_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", + b"scheduled_event_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___ActivityTaskCancelRequestedEventAttributes = ActivityTaskCancelRequestedEventAttributes +global___ActivityTaskCancelRequestedEventAttributes = ( + ActivityTaskCancelRequestedEventAttributes +) class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -987,10 +1531,32 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): scheduled_event_id: builtins.int = ..., started_event_id: builtins.int = ..., identity: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "worker_version", b"worker_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "identity", + b"identity", + "latest_cancel_requested_event_id", + b"latest_cancel_requested_event_id", + "scheduled_event_id", + b"scheduled_event_id", + "started_event_id", + b"started_event_id", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "latest_cancel_requested_event_id", b"latest_cancel_requested_event_id", "scheduled_event_id", b"scheduled_event_id", "started_event_id", b"started_event_id", "worker_version", b"worker_version"]) -> None: ... global___ActivityTaskCanceledEventAttributes = ActivityTaskCanceledEventAttributes @@ -1018,8 +1584,23 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", + b"start_to_fire_timeout", + "timer_id", + b"timer_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___TimerStartedEventAttributes = TimerStartedEventAttributes @@ -1038,7 +1619,12 @@ class TimerFiredEventAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., started_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["started_event_id", b"started_event_id", "timer_id", b"timer_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "started_event_id", b"started_event_id", "timer_id", b"timer_id" + ], + ) -> None: ... global___TimerFiredEventAttributes = TimerFiredEventAttributes @@ -1065,7 +1651,19 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "started_event_id", b"started_event_id", "timer_id", b"timer_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "started_event_id", + b"started_event_id", + "timer_id", + b"timer_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___TimerCanceledEventAttributes = TimerCanceledEventAttributes @@ -1083,7 +1681,9 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me external_initiated_event_id: builtins.int """TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?""" @property - def external_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def external_workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """id of the worker or client who requested this cancel""" def __init__( @@ -1091,13 +1691,33 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me *, cause: builtins.str = ..., external_initiated_event_id: builtins.int = ..., - external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "external_initiated_event_id", b"external_initiated_event_id", "external_workflow_execution", b"external_workflow_execution", "identity", b"identity"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "external_workflow_execution", b"external_workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "external_initiated_event_id", + b"external_initiated_event_id", + "external_workflow_execution", + b"external_workflow_execution", + "identity", + b"identity", + ], + ) -> None: ... -global___WorkflowExecutionCancelRequestedEventAttributes = WorkflowExecutionCancelRequestedEventAttributes +global___WorkflowExecutionCancelRequestedEventAttributes = ( + WorkflowExecutionCancelRequestedEventAttributes +) class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1114,10 +1734,22 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): workflow_task_completed_event_id: builtins.int = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___WorkflowExecutionCanceledEventAttributes = WorkflowExecutionCanceledEventAttributes +global___WorkflowExecutionCanceledEventAttributes = ( + WorkflowExecutionCanceledEventAttributes +) class MarkerRecordedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1136,8 +1768,13 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int @@ -1147,7 +1784,11 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): marker_name: builtins.str """Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.""" @property - def details(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payloads]: + def details( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payloads + ]: """Serialized information recorded in the marker""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @@ -1160,13 +1801,35 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): self, *, marker_name: builtins.str = ..., - details: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payloads] | None = ..., + details: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payloads + ] + | None = ..., workflow_task_completed_event_id: builtins.int = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "header", b"header"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "failure", b"failure", "header", b"header", "marker_name", b"marker_name", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "header", b"header" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "failure", + b"failure", + "header", + b"header", + "marker_name", + b"marker_name", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___MarkerRecordedEventAttributes = MarkerRecordedEventAttributes @@ -1194,7 +1857,9 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): skip_generate_workflow_task: builtins.bool """Deprecated. This field is never respected and should always be set to false.""" @property - def external_workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def external_workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """When signal origin is a workflow execution, this field is set.""" def __init__( self, @@ -1204,12 +1869,41 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): identity: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., skip_generate_workflow_task: builtins.bool = ..., - external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + external_workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "external_workflow_execution", + b"external_workflow_execution", + "header", + b"header", + "input", + b"input", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "external_workflow_execution", + b"external_workflow_execution", + "header", + b"header", + "identity", + b"identity", + "input", + b"input", + "signal_name", + b"signal_name", + "skip_generate_workflow_task", + b"skip_generate_workflow_task", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution", "header", b"header", "input", b"input"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["external_workflow_execution", b"external_workflow_execution", "header", b"header", "identity", b"identity", "input", b"input", "signal_name", b"signal_name", "skip_generate_workflow_task", b"skip_generate_workflow_task"]) -> None: ... -global___WorkflowExecutionSignaledEventAttributes = WorkflowExecutionSignaledEventAttributes +global___WorkflowExecutionSignaledEventAttributes = ( + WorkflowExecutionSignaledEventAttributes +) class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1230,12 +1924,23 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "reason", b"reason"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "identity", b"identity", "reason", b"reason" + ], + ) -> None: ... -global___WorkflowExecutionTerminatedEventAttributes = WorkflowExecutionTerminatedEventAttributes +global___WorkflowExecutionTerminatedEventAttributes = ( + WorkflowExecutionTerminatedEventAttributes +) -class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): +class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -1253,7 +1958,9 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(google.prot """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool @@ -1268,17 +1975,45 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(google.prot workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., control: builtins.str = ..., child_workflow_only: builtins.bool = ..., reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "namespace", b"namespace", "namespace_id", b"namespace_id", "reason", b"reason", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_only", + b"child_workflow_only", + "control", + b"control", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "reason", + b"reason", + "workflow_execution", + b"workflow_execution", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ( + RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +) -class RequestCancelExternalWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): +class RequestCancelExternalWorkflowExecutionFailedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor CAUSE_FIELD_NUMBER: builtins.int @@ -1297,7 +2032,9 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes(google.protobu """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int """id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to @@ -1311,16 +2048,44 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes(google.protobu workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., initiated_event_id: builtins.int = ..., control: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "control", + b"control", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_execution", + b"workflow_execution", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = RequestCancelExternalWorkflowExecutionFailedEventAttributes +global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( + RequestCancelExternalWorkflowExecutionFailedEventAttributes +) -class ExternalWorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Message): +class ExternalWorkflowExecutionCancelRequestedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -1337,21 +2102,45 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes(google.protobuf.me """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, initiated_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_execution", + b"workflow_execution", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution"]) -> None: ... -global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ExternalWorkflowExecutionCancelRequestedEventAttributes +global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ( + ExternalWorkflowExecutionCancelRequestedEventAttributes +) -class SignalExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): +class SignalExternalWorkflowExecutionInitiatedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -1371,7 +2160,9 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.me """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """name/type of the signal to fire in the external workflow""" @property @@ -1391,19 +2182,56 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes(google.protobuf.me workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., control: builtins.str = ..., child_workflow_only: builtins.bool = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["child_workflow_only", b"child_workflow_only", "control", b"control", "header", b"header", "input", b"input", "namespace", b"namespace", "namespace_id", b"namespace_id", "signal_name", b"signal_name", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "workflow_execution", + b"workflow_execution", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_only", + b"child_workflow_only", + "control", + b"control", + "header", + b"header", + "input", + b"input", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "signal_name", + b"signal_name", + "workflow_execution", + b"workflow_execution", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___SignalExternalWorkflowExecutionInitiatedEventAttributes = SignalExternalWorkflowExecutionInitiatedEventAttributes +global___SignalExternalWorkflowExecutionInitiatedEventAttributes = ( + SignalExternalWorkflowExecutionInitiatedEventAttributes +) -class SignalExternalWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): +class SignalExternalWorkflowExecutionFailedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor CAUSE_FIELD_NUMBER: builtins.int @@ -1422,7 +2250,9 @@ class SignalExternalWorkflowExecutionFailedEventAttributes(google.protobuf.messa """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int control: builtins.str """Deprecated.""" @@ -1433,14 +2263,40 @@ class SignalExternalWorkflowExecutionFailedEventAttributes(google.protobuf.messa workflow_task_completed_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., initiated_event_id: builtins.int = ..., control: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "control", + b"control", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_execution", + b"workflow_execution", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___SignalExternalWorkflowExecutionFailedEventAttributes = SignalExternalWorkflowExecutionFailedEventAttributes +global___SignalExternalWorkflowExecutionFailedEventAttributes = ( + SignalExternalWorkflowExecutionFailedEventAttributes +) class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1458,7 +2314,9 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" def __init__( @@ -1467,13 +2325,35 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M initiated_event_id: builtins.int = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., control: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "control", + b"control", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_execution", + b"workflow_execution", + ], + ) -> None: ... -global___ExternalWorkflowExecutionSignaledEventAttributes = ExternalWorkflowExecutionSignaledEventAttributes +global___ExternalWorkflowExecutionSignaledEventAttributes = ( + ExternalWorkflowExecutionSignaledEventAttributes +) class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1483,17 +2363,35 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, workflow_task_completed_event_id: builtins.int = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "search_attributes", + b"search_attributes", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... -global___UpsertWorkflowSearchAttributesEventAttributes = UpsertWorkflowSearchAttributesEventAttributes +global___UpsertWorkflowSearchAttributesEventAttributes = ( + UpsertWorkflowSearchAttributesEventAttributes +) class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1514,12 +2412,26 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) workflow_task_completed_event_id: builtins.int = ..., upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "upserted_memo", + b"upserted_memo", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___WorkflowPropertiesModifiedEventAttributes = WorkflowPropertiesModifiedEventAttributes +global___WorkflowPropertiesModifiedEventAttributes = ( + WorkflowPropertiesModifiedEventAttributes +) -class StartChildWorkflowExecutionInitiatedEventAttributes(google.protobuf.message.Message): +class StartChildWorkflowExecutionInitiatedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACE_FIELD_NUMBER: builtins.int @@ -1563,13 +2475,17 @@ class StartChildWorkflowExecutionInitiatedEventAttributes(google.protobuf.messag @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) """Default: PARENT_CLOSE_POLICY_TERMINATE.""" control: builtins.str """Deprecated.""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... @@ -1580,7 +2496,9 @@ class StartChildWorkflowExecutionInitiatedEventAttributes(google.protobuf.messag @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... inherit_build_id: builtins.bool """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment rules of the child's Task Queue will be used to independently assign a Build ID to it. @@ -1609,14 +2527,87 @@ class StartChildWorkflowExecutionInitiatedEventAttributes(google.protobuf.messag cron_schedule: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., inherit_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "inherit_build_id", b"inherit_build_id", "input", b"input", "memo", b"memo", "namespace", b"namespace", "namespace_id", b"namespace_id", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "memo", + b"memo", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "control", + b"control", + "cron_schedule", + b"cron_schedule", + "header", + b"header", + "inherit_build_id", + b"inherit_build_id", + "input", + b"input", + "memo", + b"memo", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "parent_close_policy", + b"parent_close_policy", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___StartChildWorkflowExecutionInitiatedEventAttributes = StartChildWorkflowExecutionInitiatedEventAttributes +global___StartChildWorkflowExecutionInitiatedEventAttributes = ( + StartChildWorkflowExecutionInitiatedEventAttributes +) class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1656,10 +2647,34 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M initiated_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "control", b"control", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_id", b"workflow_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "control", + b"control", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_id", + b"workflow_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___StartChildWorkflowExecutionFailedEventAttributes = StartChildWorkflowExecutionFailedEventAttributes +global___StartChildWorkflowExecutionFailedEventAttributes = ( + StartChildWorkflowExecutionFailedEventAttributes +) class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1678,7 +2693,9 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa initiated_event_id: builtins.int """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -1689,14 +2706,43 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa namespace: builtins.str = ..., namespace_id: builtins.str = ..., initiated_event_id: builtins.int = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionStartedEventAttributes = ChildWorkflowExecutionStartedEventAttributes +global___ChildWorkflowExecutionStartedEventAttributes = ( + ChildWorkflowExecutionStartedEventAttributes +) class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1716,7 +2762,9 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -1729,15 +2777,46 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "result", b"result", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "result", + b"result", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "result", + b"result", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionCompletedEventAttributes = ChildWorkflowExecutionCompletedEventAttributes +global___ChildWorkflowExecutionCompletedEventAttributes = ( + ChildWorkflowExecutionCompletedEventAttributes +) class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1758,7 +2837,9 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -1772,16 +2853,49 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "retry_state", + b"retry_state", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionFailedEventAttributes = ChildWorkflowExecutionFailedEventAttributes +global___ChildWorkflowExecutionFailedEventAttributes = ( + ChildWorkflowExecutionFailedEventAttributes +) class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1801,7 +2915,9 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -1814,15 +2930,46 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionCanceledEventAttributes = ChildWorkflowExecutionCanceledEventAttributes +global___ChildWorkflowExecutionCanceledEventAttributes = ( + ChildWorkflowExecutionCanceledEventAttributes +) class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1840,7 +2987,9 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -1853,16 +3002,45 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess *, namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "retry_state", b"retry_state", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "retry_state", + b"retry_state", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionTimedOutEventAttributes = ChildWorkflowExecutionTimedOutEventAttributes +global___ChildWorkflowExecutionTimedOutEventAttributes = ( + ChildWorkflowExecutionTimedOutEventAttributes +) class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1879,7 +3057,9 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me """ namespace_id: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... initiated_event_id: builtins.int @@ -1891,15 +3071,42 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me *, namespace: builtins.str = ..., namespace_id: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., initiated_event_id: builtins.int = ..., started_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_event_id", b"initiated_event_id", "namespace", b"namespace", "namespace_id", b"namespace_id", "started_event_id", b"started_event_id", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_event_id", + b"initiated_event_id", + "namespace", + b"namespace", + "namespace_id", + b"namespace_id", + "started_event_id", + b"started_event_id", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ChildWorkflowExecutionTerminatedEventAttributes = ChildWorkflowExecutionTerminatedEventAttributes +global___ChildWorkflowExecutionTerminatedEventAttributes = ( + ChildWorkflowExecutionTerminatedEventAttributes +) class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1909,7 +3116,9 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ATTACHED_REQUEST_ID_FIELD_NUMBER: builtins.int ATTACHED_COMPLETION_CALLBACKS_FIELD_NUMBER: builtins.int @property - def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override( + self, + ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true. """ @@ -1920,22 +3129,51 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes request ID will be deduped. """ @property - def attached_completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: + def attached_completion_callbacks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Callback + ]: """Completion callbacks attached to the running workflow execution.""" def __init__( self, *, - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride + | None = ..., unset_versioning_override: builtins.bool = ..., attached_request_id: builtins.str = ..., - attached_completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., + attached_completion_callbacks: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Callback + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "versioning_override", b"versioning_override" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attached_completion_callbacks", + b"attached_completion_callbacks", + "attached_request_id", + b"attached_request_id", + "unset_versioning_override", + b"unset_versioning_override", + "versioning_override", + b"versioning_override", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", b"attached_request_id", "unset_versioning_override", b"unset_versioning_override", "versioning_override", b"versioning_override"]) -> None: ... -global___WorkflowExecutionOptionsUpdatedEventAttributes = WorkflowExecutionOptionsUpdatedEventAttributes +global___WorkflowExecutionOptionsUpdatedEventAttributes = ( + WorkflowExecutionOptionsUpdatedEventAttributes +) -class WorkflowPropertiesModifiedExternallyEventAttributes(google.protobuf.message.Message): +class WorkflowPropertiesModifiedExternallyEventAttributes( + google.protobuf.message.Message +): """Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1965,15 +3203,46 @@ class WorkflowPropertiesModifiedExternallyEventAttributes(google.protobuf.messag new_task_queue: builtins.str = ..., new_workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., new_workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., - new_workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., + new_workflow_execution_timeout: google.protobuf.duration_pb2.Duration + | None = ..., upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", b"new_workflow_run_timeout", "new_workflow_task_timeout", b"new_workflow_task_timeout", "upserted_memo", b"upserted_memo"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["new_task_queue", b"new_task_queue", "new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", b"new_workflow_run_timeout", "new_workflow_task_timeout", b"new_workflow_task_timeout", "upserted_memo", b"upserted_memo"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "new_workflow_execution_timeout", + b"new_workflow_execution_timeout", + "new_workflow_run_timeout", + b"new_workflow_run_timeout", + "new_workflow_task_timeout", + b"new_workflow_task_timeout", + "upserted_memo", + b"upserted_memo", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "new_task_queue", + b"new_task_queue", + "new_workflow_execution_timeout", + b"new_workflow_execution_timeout", + "new_workflow_run_timeout", + b"new_workflow_run_timeout", + "new_workflow_task_timeout", + b"new_workflow_task_timeout", + "upserted_memo", + b"upserted_memo", + ], + ) -> None: ... -global___WorkflowPropertiesModifiedExternallyEventAttributes = WorkflowPropertiesModifiedExternallyEventAttributes +global___WorkflowPropertiesModifiedExternallyEventAttributes = ( + WorkflowPropertiesModifiedExternallyEventAttributes +) -class ActivityPropertiesModifiedExternallyEventAttributes(google.protobuf.message.Message): +class ActivityPropertiesModifiedExternallyEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCHEDULED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -1991,10 +3260,23 @@ class ActivityPropertiesModifiedExternallyEventAttributes(google.protobuf.messag scheduled_event_id: builtins.int = ..., new_retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "new_retry_policy", + b"new_retry_policy", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... -global___ActivityPropertiesModifiedExternallyEventAttributes = ActivityPropertiesModifiedExternallyEventAttributes +global___ActivityPropertiesModifiedExternallyEventAttributes = ( + ActivityPropertiesModifiedExternallyEventAttributes +) class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2025,10 +3307,27 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes accepted_request_sequencing_event_id: builtins.int = ..., accepted_request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request", "accepted_request_message_id", b"accepted_request_message_id", "accepted_request_sequencing_event_id", b"accepted_request_sequencing_event_id", "protocol_instance_id", b"protocol_instance_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted_request", + b"accepted_request", + "accepted_request_message_id", + b"accepted_request_message_id", + "accepted_request_sequencing_event_id", + b"accepted_request_sequencing_event_id", + "protocol_instance_id", + b"protocol_instance_id", + ], + ) -> None: ... -global___WorkflowExecutionUpdateAcceptedEventAttributes = WorkflowExecutionUpdateAcceptedEventAttributes +global___WorkflowExecutionUpdateAcceptedEventAttributes = ( + WorkflowExecutionUpdateAcceptedEventAttributes +) class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2051,10 +3350,25 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me accepted_event_id: builtins.int = ..., outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted_event_id", b"accepted_event_id", "meta", b"meta", "outcome", b"outcome"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted_event_id", + b"accepted_event_id", + "meta", + b"meta", + "outcome", + b"outcome", + ], + ) -> None: ... -global___WorkflowExecutionUpdateCompletedEventAttributes = WorkflowExecutionUpdateCompletedEventAttributes +global___WorkflowExecutionUpdateCompletedEventAttributes = ( + WorkflowExecutionUpdateCompletedEventAttributes +) class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2090,10 +3404,31 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes rejected_request: temporalio.api.update.v1.message_pb2.Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "protocol_instance_id", b"protocol_instance_id", "rejected_request", b"rejected_request", "rejected_request_message_id", b"rejected_request_message_id", "rejected_request_sequencing_event_id", b"rejected_request_sequencing_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "rejected_request", b"rejected_request" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "protocol_instance_id", + b"protocol_instance_id", + "rejected_request", + b"rejected_request", + "rejected_request_message_id", + b"rejected_request_message_id", + "rejected_request_sequencing_event_id", + b"rejected_request_sequencing_event_id", + ], + ) -> None: ... -global___WorkflowExecutionUpdateRejectedEventAttributes = WorkflowExecutionUpdateRejectedEventAttributes +global___WorkflowExecutionUpdateRejectedEventAttributes = ( + WorkflowExecutionUpdateRejectedEventAttributes +) class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2111,10 +3446,19 @@ class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Mes request: temporalio.api.update.v1.message_pb2.Request | None = ..., origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["request", b"request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["origin", b"origin", "request", b"request"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["request", b"request"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "origin", b"origin", "request", b"request" + ], + ) -> None: ... -global___WorkflowExecutionUpdateAdmittedEventAttributes = WorkflowExecutionUpdateAdmittedEventAttributes +global___WorkflowExecutionUpdateAdmittedEventAttributes = ( + WorkflowExecutionUpdateAdmittedEventAttributes +) class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.""" @@ -2134,7 +3478,10 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int SERVICE_FIELD_NUMBER: builtins.int @@ -2166,7 +3513,9 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) """ @property - def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. @@ -2195,8 +3544,35 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., endpoint_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint", "endpoint_id", b"endpoint_id", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "request_id", b"request_id", "schedule_to_close_timeout", b"schedule_to_close_timeout", "service", b"service", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "endpoint", + b"endpoint", + "endpoint_id", + b"endpoint_id", + "input", + b"input", + "nexus_header", + b"nexus_header", + "operation", + b"operation", + "request_id", + b"request_id", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "service", + b"service", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... global___NexusOperationScheduledEventAttributes = NexusOperationScheduledEventAttributes @@ -2235,7 +3611,19 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["operation_id", b"operation_id", "operation_token", b"operation_token", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "operation_id", + b"operation_id", + "operation_token", + b"operation_token", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... global___NexusOperationStartedEventAttributes = NexusOperationStartedEventAttributes @@ -2263,8 +3651,20 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["request_id", b"request_id", "result", b"result", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "request_id", + b"request_id", + "result", + b"result", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... global___NexusOperationCompletedEventAttributes = NexusOperationCompletedEventAttributes @@ -2290,8 +3690,20 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... global___NexusOperationFailedEventAttributes = NexusOperationFailedEventAttributes @@ -2317,8 +3729,20 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... global___NexusOperationTimedOutEventAttributes = NexusOperationTimedOutEventAttributes @@ -2344,8 +3768,20 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "request_id", b"request_id", "scheduled_event_id", b"scheduled_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "request_id", + b"request_id", + "scheduled_event_id", + b"scheduled_event_id", + ], + ) -> None: ... global___NexusOperationCanceledEventAttributes = NexusOperationCanceledEventAttributes @@ -2366,11 +3802,23 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa scheduled_event_id: builtins.int = ..., workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", + b"scheduled_event_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___NexusOperationCancelRequestedEventAttributes = NexusOperationCancelRequestedEventAttributes +global___NexusOperationCancelRequestedEventAttributes = ( + NexusOperationCancelRequestedEventAttributes +) -class NexusOperationCancelRequestCompletedEventAttributes(google.protobuf.message.Message): +class NexusOperationCancelRequestCompletedEventAttributes( + google.protobuf.message.Message +): DESCRIPTOR: google.protobuf.descriptor.Descriptor REQUESTED_EVENT_ID_FIELD_NUMBER: builtins.int @@ -2391,9 +3839,21 @@ class NexusOperationCancelRequestCompletedEventAttributes(google.protobuf.messag workflow_task_completed_event_id: builtins.int = ..., scheduled_event_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["requested_event_id", b"requested_event_id", "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "requested_event_id", + b"requested_event_id", + "scheduled_event_id", + b"scheduled_event_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___NexusOperationCancelRequestCompletedEventAttributes = NexusOperationCancelRequestCompletedEventAttributes +global___NexusOperationCancelRequestCompletedEventAttributes = ( + NexusOperationCancelRequestCompletedEventAttributes +) class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2421,10 +3881,26 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., scheduled_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "requested_event_id", b"requested_event_id", "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", b"workflow_task_completed_event_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "requested_event_id", + b"requested_event_id", + "scheduled_event_id", + b"scheduled_event_id", + "workflow_task_completed_event_id", + b"workflow_task_completed_event_id", + ], + ) -> None: ... -global___NexusOperationCancelRequestFailedEventAttributes = NexusOperationCancelRequestFailedEventAttributes +global___NexusOperationCancelRequestFailedEventAttributes = ( + NexusOperationCancelRequestFailedEventAttributes +) class HistoryEvent(google.protobuf.message.Message): """History events are the method by which Temporal SDKs advance (or recreate) workflow state. @@ -2466,8 +3942,12 @@ class HistoryEvent(google.protobuf.message.Message): WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( + builtins.int + ) + EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( + builtins.int + ) WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -2477,8 +3957,12 @@ class HistoryEvent(google.protobuf.message.Message): CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( + builtins.int + ) + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: ( + builtins.int + ) EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -2525,122 +4009,238 @@ class HistoryEvent(google.protobuf.message.Message): user interfaces. """ @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links associated with the event.""" @property - def workflow_execution_started_event_attributes(self) -> global___WorkflowExecutionStartedEventAttributes: ... + def workflow_execution_started_event_attributes( + self, + ) -> global___WorkflowExecutionStartedEventAttributes: ... @property - def workflow_execution_completed_event_attributes(self) -> global___WorkflowExecutionCompletedEventAttributes: ... + def workflow_execution_completed_event_attributes( + self, + ) -> global___WorkflowExecutionCompletedEventAttributes: ... @property - def workflow_execution_failed_event_attributes(self) -> global___WorkflowExecutionFailedEventAttributes: ... + def workflow_execution_failed_event_attributes( + self, + ) -> global___WorkflowExecutionFailedEventAttributes: ... @property - def workflow_execution_timed_out_event_attributes(self) -> global___WorkflowExecutionTimedOutEventAttributes: ... + def workflow_execution_timed_out_event_attributes( + self, + ) -> global___WorkflowExecutionTimedOutEventAttributes: ... @property - def workflow_task_scheduled_event_attributes(self) -> global___WorkflowTaskScheduledEventAttributes: ... + def workflow_task_scheduled_event_attributes( + self, + ) -> global___WorkflowTaskScheduledEventAttributes: ... @property - def workflow_task_started_event_attributes(self) -> global___WorkflowTaskStartedEventAttributes: ... + def workflow_task_started_event_attributes( + self, + ) -> global___WorkflowTaskStartedEventAttributes: ... @property - def workflow_task_completed_event_attributes(self) -> global___WorkflowTaskCompletedEventAttributes: ... + def workflow_task_completed_event_attributes( + self, + ) -> global___WorkflowTaskCompletedEventAttributes: ... @property - def workflow_task_timed_out_event_attributes(self) -> global___WorkflowTaskTimedOutEventAttributes: ... + def workflow_task_timed_out_event_attributes( + self, + ) -> global___WorkflowTaskTimedOutEventAttributes: ... @property - def workflow_task_failed_event_attributes(self) -> global___WorkflowTaskFailedEventAttributes: ... + def workflow_task_failed_event_attributes( + self, + ) -> global___WorkflowTaskFailedEventAttributes: ... @property - def activity_task_scheduled_event_attributes(self) -> global___ActivityTaskScheduledEventAttributes: ... + def activity_task_scheduled_event_attributes( + self, + ) -> global___ActivityTaskScheduledEventAttributes: ... @property - def activity_task_started_event_attributes(self) -> global___ActivityTaskStartedEventAttributes: ... + def activity_task_started_event_attributes( + self, + ) -> global___ActivityTaskStartedEventAttributes: ... @property - def activity_task_completed_event_attributes(self) -> global___ActivityTaskCompletedEventAttributes: ... + def activity_task_completed_event_attributes( + self, + ) -> global___ActivityTaskCompletedEventAttributes: ... @property - def activity_task_failed_event_attributes(self) -> global___ActivityTaskFailedEventAttributes: ... + def activity_task_failed_event_attributes( + self, + ) -> global___ActivityTaskFailedEventAttributes: ... @property - def activity_task_timed_out_event_attributes(self) -> global___ActivityTaskTimedOutEventAttributes: ... + def activity_task_timed_out_event_attributes( + self, + ) -> global___ActivityTaskTimedOutEventAttributes: ... @property - def timer_started_event_attributes(self) -> global___TimerStartedEventAttributes: ... + def timer_started_event_attributes( + self, + ) -> global___TimerStartedEventAttributes: ... @property def timer_fired_event_attributes(self) -> global___TimerFiredEventAttributes: ... @property - def activity_task_cancel_requested_event_attributes(self) -> global___ActivityTaskCancelRequestedEventAttributes: ... + def activity_task_cancel_requested_event_attributes( + self, + ) -> global___ActivityTaskCancelRequestedEventAttributes: ... @property - def activity_task_canceled_event_attributes(self) -> global___ActivityTaskCanceledEventAttributes: ... + def activity_task_canceled_event_attributes( + self, + ) -> global___ActivityTaskCanceledEventAttributes: ... @property - def timer_canceled_event_attributes(self) -> global___TimerCanceledEventAttributes: ... + def timer_canceled_event_attributes( + self, + ) -> global___TimerCanceledEventAttributes: ... @property - def marker_recorded_event_attributes(self) -> global___MarkerRecordedEventAttributes: ... + def marker_recorded_event_attributes( + self, + ) -> global___MarkerRecordedEventAttributes: ... @property - def workflow_execution_signaled_event_attributes(self) -> global___WorkflowExecutionSignaledEventAttributes: ... + def workflow_execution_signaled_event_attributes( + self, + ) -> global___WorkflowExecutionSignaledEventAttributes: ... @property - def workflow_execution_terminated_event_attributes(self) -> global___WorkflowExecutionTerminatedEventAttributes: ... + def workflow_execution_terminated_event_attributes( + self, + ) -> global___WorkflowExecutionTerminatedEventAttributes: ... @property - def workflow_execution_cancel_requested_event_attributes(self) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... + def workflow_execution_cancel_requested_event_attributes( + self, + ) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... @property - def workflow_execution_canceled_event_attributes(self) -> global___WorkflowExecutionCanceledEventAttributes: ... + def workflow_execution_canceled_event_attributes( + self, + ) -> global___WorkflowExecutionCanceledEventAttributes: ... @property - def request_cancel_external_workflow_execution_initiated_event_attributes(self) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... + def request_cancel_external_workflow_execution_initiated_event_attributes( + self, + ) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... @property - def request_cancel_external_workflow_execution_failed_event_attributes(self) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... + def request_cancel_external_workflow_execution_failed_event_attributes( + self, + ) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... @property - def external_workflow_execution_cancel_requested_event_attributes(self) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... + def external_workflow_execution_cancel_requested_event_attributes( + self, + ) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... @property - def workflow_execution_continued_as_new_event_attributes(self) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... + def workflow_execution_continued_as_new_event_attributes( + self, + ) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... @property - def start_child_workflow_execution_initiated_event_attributes(self) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... + def start_child_workflow_execution_initiated_event_attributes( + self, + ) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... @property - def start_child_workflow_execution_failed_event_attributes(self) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... + def start_child_workflow_execution_failed_event_attributes( + self, + ) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... @property - def child_workflow_execution_started_event_attributes(self) -> global___ChildWorkflowExecutionStartedEventAttributes: ... + def child_workflow_execution_started_event_attributes( + self, + ) -> global___ChildWorkflowExecutionStartedEventAttributes: ... @property - def child_workflow_execution_completed_event_attributes(self) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... + def child_workflow_execution_completed_event_attributes( + self, + ) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... @property - def child_workflow_execution_failed_event_attributes(self) -> global___ChildWorkflowExecutionFailedEventAttributes: ... + def child_workflow_execution_failed_event_attributes( + self, + ) -> global___ChildWorkflowExecutionFailedEventAttributes: ... @property - def child_workflow_execution_canceled_event_attributes(self) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... + def child_workflow_execution_canceled_event_attributes( + self, + ) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... @property - def child_workflow_execution_timed_out_event_attributes(self) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... + def child_workflow_execution_timed_out_event_attributes( + self, + ) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... @property - def child_workflow_execution_terminated_event_attributes(self) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... + def child_workflow_execution_terminated_event_attributes( + self, + ) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... @property - def signal_external_workflow_execution_initiated_event_attributes(self) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... + def signal_external_workflow_execution_initiated_event_attributes( + self, + ) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... @property - def signal_external_workflow_execution_failed_event_attributes(self) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... + def signal_external_workflow_execution_failed_event_attributes( + self, + ) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... @property - def external_workflow_execution_signaled_event_attributes(self) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... + def external_workflow_execution_signaled_event_attributes( + self, + ) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... @property - def upsert_workflow_search_attributes_event_attributes(self) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... + def upsert_workflow_search_attributes_event_attributes( + self, + ) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... @property - def workflow_execution_update_accepted_event_attributes(self) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... + def workflow_execution_update_accepted_event_attributes( + self, + ) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... @property - def workflow_execution_update_rejected_event_attributes(self) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... + def workflow_execution_update_rejected_event_attributes( + self, + ) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... @property - def workflow_execution_update_completed_event_attributes(self) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... + def workflow_execution_update_completed_event_attributes( + self, + ) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... @property - def workflow_properties_modified_externally_event_attributes(self) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... + def workflow_properties_modified_externally_event_attributes( + self, + ) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... @property - def activity_properties_modified_externally_event_attributes(self) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... + def activity_properties_modified_externally_event_attributes( + self, + ) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... @property - def workflow_properties_modified_event_attributes(self) -> global___WorkflowPropertiesModifiedEventAttributes: ... + def workflow_properties_modified_event_attributes( + self, + ) -> global___WorkflowPropertiesModifiedEventAttributes: ... @property - def workflow_execution_update_admitted_event_attributes(self) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... + def workflow_execution_update_admitted_event_attributes( + self, + ) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... @property - def nexus_operation_scheduled_event_attributes(self) -> global___NexusOperationScheduledEventAttributes: ... + def nexus_operation_scheduled_event_attributes( + self, + ) -> global___NexusOperationScheduledEventAttributes: ... @property - def nexus_operation_started_event_attributes(self) -> global___NexusOperationStartedEventAttributes: ... + def nexus_operation_started_event_attributes( + self, + ) -> global___NexusOperationStartedEventAttributes: ... @property - def nexus_operation_completed_event_attributes(self) -> global___NexusOperationCompletedEventAttributes: ... + def nexus_operation_completed_event_attributes( + self, + ) -> global___NexusOperationCompletedEventAttributes: ... @property - def nexus_operation_failed_event_attributes(self) -> global___NexusOperationFailedEventAttributes: ... + def nexus_operation_failed_event_attributes( + self, + ) -> global___NexusOperationFailedEventAttributes: ... @property - def nexus_operation_canceled_event_attributes(self) -> global___NexusOperationCanceledEventAttributes: ... + def nexus_operation_canceled_event_attributes( + self, + ) -> global___NexusOperationCanceledEventAttributes: ... @property - def nexus_operation_timed_out_event_attributes(self) -> global___NexusOperationTimedOutEventAttributes: ... + def nexus_operation_timed_out_event_attributes( + self, + ) -> global___NexusOperationTimedOutEventAttributes: ... @property - def nexus_operation_cancel_requested_event_attributes(self) -> global___NexusOperationCancelRequestedEventAttributes: ... + def nexus_operation_cancel_requested_event_attributes( + self, + ) -> global___NexusOperationCancelRequestedEventAttributes: ... @property - def workflow_execution_options_updated_event_attributes(self) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... + def workflow_execution_options_updated_event_attributes( + self, + ) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... @property - def nexus_operation_cancel_request_completed_event_attributes(self) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... + def nexus_operation_cancel_request_completed_event_attributes( + self, + ) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... @property - def nexus_operation_cancel_request_failed_event_attributes(self) -> global___NexusOperationCancelRequestFailedEventAttributes: ... + def nexus_operation_cancel_request_failed_event_attributes( + self, + ) -> global___NexusOperationCancelRequestFailedEventAttributes: ... def __init__( self, *, @@ -2650,69 +4250,450 @@ class HistoryEvent(google.protobuf.message.Message): version: builtins.int = ..., task_id: builtins.int = ..., worker_may_ignore: builtins.bool = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., - workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes | None = ..., - workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes | None = ..., - workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes | None = ..., - workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes | None = ..., - workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes | None = ..., - workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes | None = ..., - workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes | None = ..., - workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes | None = ..., - workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes | None = ..., - activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes | None = ..., - activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes | None = ..., - activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes | None = ..., - activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes | None = ..., - activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes | None = ..., - timer_started_event_attributes: global___TimerStartedEventAttributes | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes + | None = ..., + workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes + | None = ..., + workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes + | None = ..., + workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes + | None = ..., + workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes + | None = ..., + workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes + | None = ..., + workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes + | None = ..., + workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes + | None = ..., + workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes + | None = ..., + activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes + | None = ..., + activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes + | None = ..., + activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes + | None = ..., + activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes + | None = ..., + activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes + | None = ..., + timer_started_event_attributes: global___TimerStartedEventAttributes + | None = ..., timer_fired_event_attributes: global___TimerFiredEventAttributes | None = ..., - activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes | None = ..., - activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes | None = ..., - timer_canceled_event_attributes: global___TimerCanceledEventAttributes | None = ..., - marker_recorded_event_attributes: global___MarkerRecordedEventAttributes | None = ..., - workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes | None = ..., - workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes | None = ..., - workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes | None = ..., - request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes | None = ..., - start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes | None = ..., - start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes | None = ..., - child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes | None = ..., - child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes | None = ..., - child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes | None = ..., - child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes | None = ..., - signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes | None = ..., - upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes | None = ..., - workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes | None = ..., - workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes | None = ..., - workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes | None = ..., - workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes | None = ..., - activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes | None = ..., - workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes | None = ..., - workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes | None = ..., - nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes | None = ..., - nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes | None = ..., - nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes | None = ..., - nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes | None = ..., - nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes | None = ..., - nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes | None = ..., - nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes | None = ..., - workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes | None = ..., - nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes | None = ..., - nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", b"activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", b"activity_task_canceled_event_attributes", "activity_task_completed_event_attributes", b"activity_task_completed_event_attributes", "activity_task_failed_event_attributes", b"activity_task_failed_event_attributes", "activity_task_scheduled_event_attributes", b"activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", b"activity_task_started_event_attributes", "activity_task_timed_out_event_attributes", b"activity_task_timed_out_event_attributes", "attributes", b"attributes", "child_workflow_execution_canceled_event_attributes", b"child_workflow_execution_canceled_event_attributes", "child_workflow_execution_completed_event_attributes", b"child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", b"child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", b"child_workflow_execution_started_event_attributes", "child_workflow_execution_terminated_event_attributes", b"child_workflow_execution_terminated_event_attributes", "child_workflow_execution_timed_out_event_attributes", b"child_workflow_execution_timed_out_event_attributes", "event_time", b"event_time", "external_workflow_execution_cancel_requested_event_attributes", b"external_workflow_execution_cancel_requested_event_attributes", "external_workflow_execution_signaled_event_attributes", b"external_workflow_execution_signaled_event_attributes", "marker_recorded_event_attributes", b"marker_recorded_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", b"nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes", b"nexus_operation_cancel_request_failed_event_attributes", "nexus_operation_cancel_requested_event_attributes", b"nexus_operation_cancel_requested_event_attributes", "nexus_operation_canceled_event_attributes", b"nexus_operation_canceled_event_attributes", "nexus_operation_completed_event_attributes", b"nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", b"nexus_operation_failed_event_attributes", "nexus_operation_scheduled_event_attributes", b"nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", b"nexus_operation_started_event_attributes", "nexus_operation_timed_out_event_attributes", b"nexus_operation_timed_out_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", b"request_cancel_external_workflow_execution_failed_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", b"request_cancel_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", b"signal_external_workflow_execution_failed_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", b"signal_external_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", b"start_child_workflow_execution_failed_event_attributes", "start_child_workflow_execution_initiated_event_attributes", b"start_child_workflow_execution_initiated_event_attributes", "timer_canceled_event_attributes", b"timer_canceled_event_attributes", "timer_fired_event_attributes", b"timer_fired_event_attributes", "timer_started_event_attributes", b"timer_started_event_attributes", "upsert_workflow_search_attributes_event_attributes", b"upsert_workflow_search_attributes_event_attributes", "user_metadata", b"user_metadata", "workflow_execution_cancel_requested_event_attributes", b"workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", b"workflow_execution_canceled_event_attributes", "workflow_execution_completed_event_attributes", b"workflow_execution_completed_event_attributes", "workflow_execution_continued_as_new_event_attributes", b"workflow_execution_continued_as_new_event_attributes", "workflow_execution_failed_event_attributes", b"workflow_execution_failed_event_attributes", "workflow_execution_options_updated_event_attributes", b"workflow_execution_options_updated_event_attributes", "workflow_execution_signaled_event_attributes", b"workflow_execution_signaled_event_attributes", "workflow_execution_started_event_attributes", b"workflow_execution_started_event_attributes", "workflow_execution_terminated_event_attributes", b"workflow_execution_terminated_event_attributes", "workflow_execution_timed_out_event_attributes", b"workflow_execution_timed_out_event_attributes", "workflow_execution_update_accepted_event_attributes", b"workflow_execution_update_accepted_event_attributes", "workflow_execution_update_admitted_event_attributes", b"workflow_execution_update_admitted_event_attributes", "workflow_execution_update_completed_event_attributes", b"workflow_execution_update_completed_event_attributes", "workflow_execution_update_rejected_event_attributes", b"workflow_execution_update_rejected_event_attributes", "workflow_properties_modified_event_attributes", b"workflow_properties_modified_event_attributes", "workflow_properties_modified_externally_event_attributes", b"workflow_properties_modified_externally_event_attributes", "workflow_task_completed_event_attributes", b"workflow_task_completed_event_attributes", "workflow_task_failed_event_attributes", b"workflow_task_failed_event_attributes", "workflow_task_scheduled_event_attributes", b"workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", b"workflow_task_started_event_attributes", "workflow_task_timed_out_event_attributes", b"workflow_task_timed_out_event_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", b"activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", b"activity_task_canceled_event_attributes", "activity_task_completed_event_attributes", b"activity_task_completed_event_attributes", "activity_task_failed_event_attributes", b"activity_task_failed_event_attributes", "activity_task_scheduled_event_attributes", b"activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", b"activity_task_started_event_attributes", "activity_task_timed_out_event_attributes", b"activity_task_timed_out_event_attributes", "attributes", b"attributes", "child_workflow_execution_canceled_event_attributes", b"child_workflow_execution_canceled_event_attributes", "child_workflow_execution_completed_event_attributes", b"child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", b"child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", b"child_workflow_execution_started_event_attributes", "child_workflow_execution_terminated_event_attributes", b"child_workflow_execution_terminated_event_attributes", "child_workflow_execution_timed_out_event_attributes", b"child_workflow_execution_timed_out_event_attributes", "event_id", b"event_id", "event_time", b"event_time", "event_type", b"event_type", "external_workflow_execution_cancel_requested_event_attributes", b"external_workflow_execution_cancel_requested_event_attributes", "external_workflow_execution_signaled_event_attributes", b"external_workflow_execution_signaled_event_attributes", "links", b"links", "marker_recorded_event_attributes", b"marker_recorded_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", b"nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes", b"nexus_operation_cancel_request_failed_event_attributes", "nexus_operation_cancel_requested_event_attributes", b"nexus_operation_cancel_requested_event_attributes", "nexus_operation_canceled_event_attributes", b"nexus_operation_canceled_event_attributes", "nexus_operation_completed_event_attributes", b"nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", b"nexus_operation_failed_event_attributes", "nexus_operation_scheduled_event_attributes", b"nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", b"nexus_operation_started_event_attributes", "nexus_operation_timed_out_event_attributes", b"nexus_operation_timed_out_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", b"request_cancel_external_workflow_execution_failed_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", b"request_cancel_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", b"signal_external_workflow_execution_failed_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", b"signal_external_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", b"start_child_workflow_execution_failed_event_attributes", "start_child_workflow_execution_initiated_event_attributes", b"start_child_workflow_execution_initiated_event_attributes", "task_id", b"task_id", "timer_canceled_event_attributes", b"timer_canceled_event_attributes", "timer_fired_event_attributes", b"timer_fired_event_attributes", "timer_started_event_attributes", b"timer_started_event_attributes", "upsert_workflow_search_attributes_event_attributes", b"upsert_workflow_search_attributes_event_attributes", "user_metadata", b"user_metadata", "version", b"version", "worker_may_ignore", b"worker_may_ignore", "workflow_execution_cancel_requested_event_attributes", b"workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", b"workflow_execution_canceled_event_attributes", "workflow_execution_completed_event_attributes", b"workflow_execution_completed_event_attributes", "workflow_execution_continued_as_new_event_attributes", b"workflow_execution_continued_as_new_event_attributes", "workflow_execution_failed_event_attributes", b"workflow_execution_failed_event_attributes", "workflow_execution_options_updated_event_attributes", b"workflow_execution_options_updated_event_attributes", "workflow_execution_signaled_event_attributes", b"workflow_execution_signaled_event_attributes", "workflow_execution_started_event_attributes", b"workflow_execution_started_event_attributes", "workflow_execution_terminated_event_attributes", b"workflow_execution_terminated_event_attributes", "workflow_execution_timed_out_event_attributes", b"workflow_execution_timed_out_event_attributes", "workflow_execution_update_accepted_event_attributes", b"workflow_execution_update_accepted_event_attributes", "workflow_execution_update_admitted_event_attributes", b"workflow_execution_update_admitted_event_attributes", "workflow_execution_update_completed_event_attributes", b"workflow_execution_update_completed_event_attributes", "workflow_execution_update_rejected_event_attributes", b"workflow_execution_update_rejected_event_attributes", "workflow_properties_modified_event_attributes", b"workflow_properties_modified_event_attributes", "workflow_properties_modified_externally_event_attributes", b"workflow_properties_modified_externally_event_attributes", "workflow_task_completed_event_attributes", b"workflow_task_completed_event_attributes", "workflow_task_failed_event_attributes", b"workflow_task_failed_event_attributes", "workflow_task_scheduled_event_attributes", b"workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", b"workflow_task_started_event_attributes", "workflow_task_timed_out_event_attributes", b"workflow_task_timed_out_event_attributes"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["attributes", b"attributes"]) -> typing_extensions.Literal["workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", "workflow_execution_timed_out_event_attributes", "workflow_task_scheduled_event_attributes", "workflow_task_started_event_attributes", "workflow_task_completed_event_attributes", "workflow_task_timed_out_event_attributes", "workflow_task_failed_event_attributes", "activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", "activity_task_completed_event_attributes", "activity_task_failed_event_attributes", "activity_task_timed_out_event_attributes", "timer_started_event_attributes", "timer_fired_event_attributes", "activity_task_cancel_requested_event_attributes", "activity_task_canceled_event_attributes", "timer_canceled_event_attributes", "marker_recorded_event_attributes", "workflow_execution_signaled_event_attributes", "workflow_execution_terminated_event_attributes", "workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", "external_workflow_execution_cancel_requested_event_attributes", "workflow_execution_continued_as_new_event_attributes", "start_child_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", "child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", "child_workflow_execution_canceled_event_attributes", "child_workflow_execution_timed_out_event_attributes", "child_workflow_execution_terminated_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", "external_workflow_execution_signaled_event_attributes", "upsert_workflow_search_attributes_event_attributes", "workflow_execution_update_accepted_event_attributes", "workflow_execution_update_rejected_event_attributes", "workflow_execution_update_completed_event_attributes", "workflow_properties_modified_externally_event_attributes", "activity_properties_modified_externally_event_attributes", "workflow_properties_modified_event_attributes", "workflow_execution_update_admitted_event_attributes", "nexus_operation_scheduled_event_attributes", "nexus_operation_started_event_attributes", "nexus_operation_completed_event_attributes", "nexus_operation_failed_event_attributes", "nexus_operation_canceled_event_attributes", "nexus_operation_timed_out_event_attributes", "nexus_operation_cancel_requested_event_attributes", "workflow_execution_options_updated_event_attributes", "nexus_operation_cancel_request_completed_event_attributes", "nexus_operation_cancel_request_failed_event_attributes"] | None: ... + activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes + | None = ..., + activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes + | None = ..., + timer_canceled_event_attributes: global___TimerCanceledEventAttributes + | None = ..., + marker_recorded_event_attributes: global___MarkerRecordedEventAttributes + | None = ..., + workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes + | None = ..., + workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes + | None = ..., + workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes + | None = ..., + workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes + | None = ..., + request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + | None = ..., + request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes + | None = ..., + external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes + | None = ..., + workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes + | None = ..., + start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes + | None = ..., + start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes + | None = ..., + child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes + | None = ..., + child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes + | None = ..., + child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes + | None = ..., + child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes + | None = ..., + child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes + | None = ..., + child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes + | None = ..., + signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes + | None = ..., + signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes + | None = ..., + external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes + | None = ..., + upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes + | None = ..., + workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes + | None = ..., + workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes + | None = ..., + workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes + | None = ..., + workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes + | None = ..., + activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes + | None = ..., + workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes + | None = ..., + workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes + | None = ..., + nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes + | None = ..., + nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes + | None = ..., + nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes + | None = ..., + nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes + | None = ..., + nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes + | None = ..., + nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes + | None = ..., + nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes + | None = ..., + workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes + | None = ..., + nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes + | None = ..., + nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_properties_modified_externally_event_attributes", + b"activity_properties_modified_externally_event_attributes", + "activity_task_cancel_requested_event_attributes", + b"activity_task_cancel_requested_event_attributes", + "activity_task_canceled_event_attributes", + b"activity_task_canceled_event_attributes", + "activity_task_completed_event_attributes", + b"activity_task_completed_event_attributes", + "activity_task_failed_event_attributes", + b"activity_task_failed_event_attributes", + "activity_task_scheduled_event_attributes", + b"activity_task_scheduled_event_attributes", + "activity_task_started_event_attributes", + b"activity_task_started_event_attributes", + "activity_task_timed_out_event_attributes", + b"activity_task_timed_out_event_attributes", + "attributes", + b"attributes", + "child_workflow_execution_canceled_event_attributes", + b"child_workflow_execution_canceled_event_attributes", + "child_workflow_execution_completed_event_attributes", + b"child_workflow_execution_completed_event_attributes", + "child_workflow_execution_failed_event_attributes", + b"child_workflow_execution_failed_event_attributes", + "child_workflow_execution_started_event_attributes", + b"child_workflow_execution_started_event_attributes", + "child_workflow_execution_terminated_event_attributes", + b"child_workflow_execution_terminated_event_attributes", + "child_workflow_execution_timed_out_event_attributes", + b"child_workflow_execution_timed_out_event_attributes", + "event_time", + b"event_time", + "external_workflow_execution_cancel_requested_event_attributes", + b"external_workflow_execution_cancel_requested_event_attributes", + "external_workflow_execution_signaled_event_attributes", + b"external_workflow_execution_signaled_event_attributes", + "marker_recorded_event_attributes", + b"marker_recorded_event_attributes", + "nexus_operation_cancel_request_completed_event_attributes", + b"nexus_operation_cancel_request_completed_event_attributes", + "nexus_operation_cancel_request_failed_event_attributes", + b"nexus_operation_cancel_request_failed_event_attributes", + "nexus_operation_cancel_requested_event_attributes", + b"nexus_operation_cancel_requested_event_attributes", + "nexus_operation_canceled_event_attributes", + b"nexus_operation_canceled_event_attributes", + "nexus_operation_completed_event_attributes", + b"nexus_operation_completed_event_attributes", + "nexus_operation_failed_event_attributes", + b"nexus_operation_failed_event_attributes", + "nexus_operation_scheduled_event_attributes", + b"nexus_operation_scheduled_event_attributes", + "nexus_operation_started_event_attributes", + b"nexus_operation_started_event_attributes", + "nexus_operation_timed_out_event_attributes", + b"nexus_operation_timed_out_event_attributes", + "request_cancel_external_workflow_execution_failed_event_attributes", + b"request_cancel_external_workflow_execution_failed_event_attributes", + "request_cancel_external_workflow_execution_initiated_event_attributes", + b"request_cancel_external_workflow_execution_initiated_event_attributes", + "signal_external_workflow_execution_failed_event_attributes", + b"signal_external_workflow_execution_failed_event_attributes", + "signal_external_workflow_execution_initiated_event_attributes", + b"signal_external_workflow_execution_initiated_event_attributes", + "start_child_workflow_execution_failed_event_attributes", + b"start_child_workflow_execution_failed_event_attributes", + "start_child_workflow_execution_initiated_event_attributes", + b"start_child_workflow_execution_initiated_event_attributes", + "timer_canceled_event_attributes", + b"timer_canceled_event_attributes", + "timer_fired_event_attributes", + b"timer_fired_event_attributes", + "timer_started_event_attributes", + b"timer_started_event_attributes", + "upsert_workflow_search_attributes_event_attributes", + b"upsert_workflow_search_attributes_event_attributes", + "user_metadata", + b"user_metadata", + "workflow_execution_cancel_requested_event_attributes", + b"workflow_execution_cancel_requested_event_attributes", + "workflow_execution_canceled_event_attributes", + b"workflow_execution_canceled_event_attributes", + "workflow_execution_completed_event_attributes", + b"workflow_execution_completed_event_attributes", + "workflow_execution_continued_as_new_event_attributes", + b"workflow_execution_continued_as_new_event_attributes", + "workflow_execution_failed_event_attributes", + b"workflow_execution_failed_event_attributes", + "workflow_execution_options_updated_event_attributes", + b"workflow_execution_options_updated_event_attributes", + "workflow_execution_signaled_event_attributes", + b"workflow_execution_signaled_event_attributes", + "workflow_execution_started_event_attributes", + b"workflow_execution_started_event_attributes", + "workflow_execution_terminated_event_attributes", + b"workflow_execution_terminated_event_attributes", + "workflow_execution_timed_out_event_attributes", + b"workflow_execution_timed_out_event_attributes", + "workflow_execution_update_accepted_event_attributes", + b"workflow_execution_update_accepted_event_attributes", + "workflow_execution_update_admitted_event_attributes", + b"workflow_execution_update_admitted_event_attributes", + "workflow_execution_update_completed_event_attributes", + b"workflow_execution_update_completed_event_attributes", + "workflow_execution_update_rejected_event_attributes", + b"workflow_execution_update_rejected_event_attributes", + "workflow_properties_modified_event_attributes", + b"workflow_properties_modified_event_attributes", + "workflow_properties_modified_externally_event_attributes", + b"workflow_properties_modified_externally_event_attributes", + "workflow_task_completed_event_attributes", + b"workflow_task_completed_event_attributes", + "workflow_task_failed_event_attributes", + b"workflow_task_failed_event_attributes", + "workflow_task_scheduled_event_attributes", + b"workflow_task_scheduled_event_attributes", + "workflow_task_started_event_attributes", + b"workflow_task_started_event_attributes", + "workflow_task_timed_out_event_attributes", + b"workflow_task_timed_out_event_attributes", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_properties_modified_externally_event_attributes", + b"activity_properties_modified_externally_event_attributes", + "activity_task_cancel_requested_event_attributes", + b"activity_task_cancel_requested_event_attributes", + "activity_task_canceled_event_attributes", + b"activity_task_canceled_event_attributes", + "activity_task_completed_event_attributes", + b"activity_task_completed_event_attributes", + "activity_task_failed_event_attributes", + b"activity_task_failed_event_attributes", + "activity_task_scheduled_event_attributes", + b"activity_task_scheduled_event_attributes", + "activity_task_started_event_attributes", + b"activity_task_started_event_attributes", + "activity_task_timed_out_event_attributes", + b"activity_task_timed_out_event_attributes", + "attributes", + b"attributes", + "child_workflow_execution_canceled_event_attributes", + b"child_workflow_execution_canceled_event_attributes", + "child_workflow_execution_completed_event_attributes", + b"child_workflow_execution_completed_event_attributes", + "child_workflow_execution_failed_event_attributes", + b"child_workflow_execution_failed_event_attributes", + "child_workflow_execution_started_event_attributes", + b"child_workflow_execution_started_event_attributes", + "child_workflow_execution_terminated_event_attributes", + b"child_workflow_execution_terminated_event_attributes", + "child_workflow_execution_timed_out_event_attributes", + b"child_workflow_execution_timed_out_event_attributes", + "event_id", + b"event_id", + "event_time", + b"event_time", + "event_type", + b"event_type", + "external_workflow_execution_cancel_requested_event_attributes", + b"external_workflow_execution_cancel_requested_event_attributes", + "external_workflow_execution_signaled_event_attributes", + b"external_workflow_execution_signaled_event_attributes", + "links", + b"links", + "marker_recorded_event_attributes", + b"marker_recorded_event_attributes", + "nexus_operation_cancel_request_completed_event_attributes", + b"nexus_operation_cancel_request_completed_event_attributes", + "nexus_operation_cancel_request_failed_event_attributes", + b"nexus_operation_cancel_request_failed_event_attributes", + "nexus_operation_cancel_requested_event_attributes", + b"nexus_operation_cancel_requested_event_attributes", + "nexus_operation_canceled_event_attributes", + b"nexus_operation_canceled_event_attributes", + "nexus_operation_completed_event_attributes", + b"nexus_operation_completed_event_attributes", + "nexus_operation_failed_event_attributes", + b"nexus_operation_failed_event_attributes", + "nexus_operation_scheduled_event_attributes", + b"nexus_operation_scheduled_event_attributes", + "nexus_operation_started_event_attributes", + b"nexus_operation_started_event_attributes", + "nexus_operation_timed_out_event_attributes", + b"nexus_operation_timed_out_event_attributes", + "request_cancel_external_workflow_execution_failed_event_attributes", + b"request_cancel_external_workflow_execution_failed_event_attributes", + "request_cancel_external_workflow_execution_initiated_event_attributes", + b"request_cancel_external_workflow_execution_initiated_event_attributes", + "signal_external_workflow_execution_failed_event_attributes", + b"signal_external_workflow_execution_failed_event_attributes", + "signal_external_workflow_execution_initiated_event_attributes", + b"signal_external_workflow_execution_initiated_event_attributes", + "start_child_workflow_execution_failed_event_attributes", + b"start_child_workflow_execution_failed_event_attributes", + "start_child_workflow_execution_initiated_event_attributes", + b"start_child_workflow_execution_initiated_event_attributes", + "task_id", + b"task_id", + "timer_canceled_event_attributes", + b"timer_canceled_event_attributes", + "timer_fired_event_attributes", + b"timer_fired_event_attributes", + "timer_started_event_attributes", + b"timer_started_event_attributes", + "upsert_workflow_search_attributes_event_attributes", + b"upsert_workflow_search_attributes_event_attributes", + "user_metadata", + b"user_metadata", + "version", + b"version", + "worker_may_ignore", + b"worker_may_ignore", + "workflow_execution_cancel_requested_event_attributes", + b"workflow_execution_cancel_requested_event_attributes", + "workflow_execution_canceled_event_attributes", + b"workflow_execution_canceled_event_attributes", + "workflow_execution_completed_event_attributes", + b"workflow_execution_completed_event_attributes", + "workflow_execution_continued_as_new_event_attributes", + b"workflow_execution_continued_as_new_event_attributes", + "workflow_execution_failed_event_attributes", + b"workflow_execution_failed_event_attributes", + "workflow_execution_options_updated_event_attributes", + b"workflow_execution_options_updated_event_attributes", + "workflow_execution_signaled_event_attributes", + b"workflow_execution_signaled_event_attributes", + "workflow_execution_started_event_attributes", + b"workflow_execution_started_event_attributes", + "workflow_execution_terminated_event_attributes", + b"workflow_execution_terminated_event_attributes", + "workflow_execution_timed_out_event_attributes", + b"workflow_execution_timed_out_event_attributes", + "workflow_execution_update_accepted_event_attributes", + b"workflow_execution_update_accepted_event_attributes", + "workflow_execution_update_admitted_event_attributes", + b"workflow_execution_update_admitted_event_attributes", + "workflow_execution_update_completed_event_attributes", + b"workflow_execution_update_completed_event_attributes", + "workflow_execution_update_rejected_event_attributes", + b"workflow_execution_update_rejected_event_attributes", + "workflow_properties_modified_event_attributes", + b"workflow_properties_modified_event_attributes", + "workflow_properties_modified_externally_event_attributes", + b"workflow_properties_modified_externally_event_attributes", + "workflow_task_completed_event_attributes", + b"workflow_task_completed_event_attributes", + "workflow_task_failed_event_attributes", + b"workflow_task_failed_event_attributes", + "workflow_task_scheduled_event_attributes", + b"workflow_task_scheduled_event_attributes", + "workflow_task_started_event_attributes", + b"workflow_task_started_event_attributes", + "workflow_task_timed_out_event_attributes", + b"workflow_task_timed_out_event_attributes", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] + ) -> ( + typing_extensions.Literal[ + "workflow_execution_started_event_attributes", + "workflow_execution_completed_event_attributes", + "workflow_execution_failed_event_attributes", + "workflow_execution_timed_out_event_attributes", + "workflow_task_scheduled_event_attributes", + "workflow_task_started_event_attributes", + "workflow_task_completed_event_attributes", + "workflow_task_timed_out_event_attributes", + "workflow_task_failed_event_attributes", + "activity_task_scheduled_event_attributes", + "activity_task_started_event_attributes", + "activity_task_completed_event_attributes", + "activity_task_failed_event_attributes", + "activity_task_timed_out_event_attributes", + "timer_started_event_attributes", + "timer_fired_event_attributes", + "activity_task_cancel_requested_event_attributes", + "activity_task_canceled_event_attributes", + "timer_canceled_event_attributes", + "marker_recorded_event_attributes", + "workflow_execution_signaled_event_attributes", + "workflow_execution_terminated_event_attributes", + "workflow_execution_cancel_requested_event_attributes", + "workflow_execution_canceled_event_attributes", + "request_cancel_external_workflow_execution_initiated_event_attributes", + "request_cancel_external_workflow_execution_failed_event_attributes", + "external_workflow_execution_cancel_requested_event_attributes", + "workflow_execution_continued_as_new_event_attributes", + "start_child_workflow_execution_initiated_event_attributes", + "start_child_workflow_execution_failed_event_attributes", + "child_workflow_execution_started_event_attributes", + "child_workflow_execution_completed_event_attributes", + "child_workflow_execution_failed_event_attributes", + "child_workflow_execution_canceled_event_attributes", + "child_workflow_execution_timed_out_event_attributes", + "child_workflow_execution_terminated_event_attributes", + "signal_external_workflow_execution_initiated_event_attributes", + "signal_external_workflow_execution_failed_event_attributes", + "external_workflow_execution_signaled_event_attributes", + "upsert_workflow_search_attributes_event_attributes", + "workflow_execution_update_accepted_event_attributes", + "workflow_execution_update_rejected_event_attributes", + "workflow_execution_update_completed_event_attributes", + "workflow_properties_modified_externally_event_attributes", + "activity_properties_modified_externally_event_attributes", + "workflow_properties_modified_event_attributes", + "workflow_execution_update_admitted_event_attributes", + "nexus_operation_scheduled_event_attributes", + "nexus_operation_started_event_attributes", + "nexus_operation_completed_event_attributes", + "nexus_operation_failed_event_attributes", + "nexus_operation_canceled_event_attributes", + "nexus_operation_timed_out_event_attributes", + "nexus_operation_cancel_requested_event_attributes", + "workflow_execution_options_updated_event_attributes", + "nexus_operation_cancel_request_completed_event_attributes", + "nexus_operation_cancel_request_failed_event_attributes", + ] + | None + ): ... global___HistoryEvent = HistoryEvent @@ -2721,12 +4702,18 @@ class History(google.protobuf.message.Message): EVENTS_FIELD_NUMBER: builtins.int @property - def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HistoryEvent]: ... + def events( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___HistoryEvent + ]: ... def __init__( self, *, events: collections.abc.Iterable[global___HistoryEvent] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["events", b"events"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["events", b"events"] + ) -> None: ... global___History = History diff --git a/temporalio/api/namespace/v1/__init__.py b/temporalio/api/namespace/v1/__init__.py index 44e3f6b9a..53c898106 100644 --- a/temporalio/api/namespace/v1/__init__.py +++ b/temporalio/api/namespace/v1/__init__.py @@ -1,9 +1,11 @@ -from .message_pb2 import NamespaceInfo -from .message_pb2 import NamespaceConfig -from .message_pb2 import BadBinaries -from .message_pb2 import BadBinaryInfo -from .message_pb2 import UpdateNamespaceInfo -from .message_pb2 import NamespaceFilter +from .message_pb2 import ( + BadBinaries, + BadBinaryInfo, + NamespaceConfig, + NamespaceFilter, + NamespaceInfo, + UpdateNamespaceInfo, +) __all__ = [ "BadBinaries", diff --git a/temporalio/api/namespace/v1/message_pb2.py b/temporalio/api/namespace/v1/message_pb2.py index d3e94f0fa..06b0fd956 100644 --- a/temporalio/api/namespace/v1/message_pb2.py +++ b/temporalio/api/namespace/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/namespace/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,138 +16,176 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"\xba\x03\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aW\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01\"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3') - - -_NAMESPACEINFO = DESCRIPTOR.message_types_by_name['NamespaceInfo'] -_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name['DataEntry'] -_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name['Capabilities'] -_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name['NamespaceConfig'] -_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = _NAMESPACECONFIG.nested_types_by_name['CustomSearchAttributeAliasesEntry'] -_BADBINARIES = DESCRIPTOR.message_types_by_name['BadBinaries'] -_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name['BinariesEntry'] -_BADBINARYINFO = DESCRIPTOR.message_types_by_name['BadBinaryInfo'] -_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name['UpdateNamespaceInfo'] -_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name['DataEntry'] -_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name['NamespaceFilter'] -NamespaceInfo = _reflection.GeneratedProtocolMessageType('NamespaceInfo', (_message.Message,), { - - 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEINFO_DATAENTRY, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) - }) - , - - 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEINFO_CAPABILITIES, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) - }) - , - 'DESCRIPTOR' : _NAMESPACEINFO, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) - }) +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"\xba\x03\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aW\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3' +) + + +_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] +_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name["DataEntry"] +_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name["Capabilities"] +_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name["NamespaceConfig"] +_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = ( + _NAMESPACECONFIG.nested_types_by_name["CustomSearchAttributeAliasesEntry"] +) +_BADBINARIES = DESCRIPTOR.message_types_by_name["BadBinaries"] +_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name["BinariesEntry"] +_BADBINARYINFO = DESCRIPTOR.message_types_by_name["BadBinaryInfo"] +_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name["UpdateNamespaceInfo"] +_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name["DataEntry"] +_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name["NamespaceFilter"] +NamespaceInfo = _reflection.GeneratedProtocolMessageType( + "NamespaceInfo", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_DATAENTRY, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) + }, + ), + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_CAPABILITIES, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) + }, + ), + "DESCRIPTOR": _NAMESPACEINFO, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) + }, +) _sym_db.RegisterMessage(NamespaceInfo) _sym_db.RegisterMessage(NamespaceInfo.DataEntry) _sym_db.RegisterMessage(NamespaceInfo.Capabilities) -NamespaceConfig = _reflection.GeneratedProtocolMessageType('NamespaceConfig', (_message.Message,), { - - 'CustomSearchAttributeAliasesEntry' : _reflection.GeneratedProtocolMessageType('CustomSearchAttributeAliasesEntry', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) - }) - , - 'DESCRIPTOR' : _NAMESPACECONFIG, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) - }) +NamespaceConfig = _reflection.GeneratedProtocolMessageType( + "NamespaceConfig", + (_message.Message,), + { + "CustomSearchAttributeAliasesEntry": _reflection.GeneratedProtocolMessageType( + "CustomSearchAttributeAliasesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) + }, + ), + "DESCRIPTOR": _NAMESPACECONFIG, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) + }, +) _sym_db.RegisterMessage(NamespaceConfig) _sym_db.RegisterMessage(NamespaceConfig.CustomSearchAttributeAliasesEntry) -BadBinaries = _reflection.GeneratedProtocolMessageType('BadBinaries', (_message.Message,), { - - 'BinariesEntry' : _reflection.GeneratedProtocolMessageType('BinariesEntry', (_message.Message,), { - 'DESCRIPTOR' : _BADBINARIES_BINARIESENTRY, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) - }) - , - 'DESCRIPTOR' : _BADBINARIES, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) - }) +BadBinaries = _reflection.GeneratedProtocolMessageType( + "BadBinaries", + (_message.Message,), + { + "BinariesEntry": _reflection.GeneratedProtocolMessageType( + "BinariesEntry", + (_message.Message,), + { + "DESCRIPTOR": _BADBINARIES_BINARIESENTRY, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) + }, + ), + "DESCRIPTOR": _BADBINARIES, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) + }, +) _sym_db.RegisterMessage(BadBinaries) _sym_db.RegisterMessage(BadBinaries.BinariesEntry) -BadBinaryInfo = _reflection.GeneratedProtocolMessageType('BadBinaryInfo', (_message.Message,), { - 'DESCRIPTOR' : _BADBINARYINFO, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) - }) +BadBinaryInfo = _reflection.GeneratedProtocolMessageType( + "BadBinaryInfo", + (_message.Message,), + { + "DESCRIPTOR": _BADBINARYINFO, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) + }, +) _sym_db.RegisterMessage(BadBinaryInfo) -UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType('UpdateNamespaceInfo', (_message.Message,), { - - 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACEINFO_DATAENTRY, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) - }) - , - 'DESCRIPTOR' : _UPDATENAMESPACEINFO, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) - }) +UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceInfo", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEINFO_DATAENTRY, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) + }, + ), + "DESCRIPTOR": _UPDATENAMESPACEINFO, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) + }, +) _sym_db.RegisterMessage(UpdateNamespaceInfo) _sym_db.RegisterMessage(UpdateNamespaceInfo.DataEntry) -NamespaceFilter = _reflection.GeneratedProtocolMessageType('NamespaceFilter', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEFILTER, - '__module__' : 'temporal.api.namespace.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) - }) +NamespaceFilter = _reflection.GeneratedProtocolMessageType( + "NamespaceFilter", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEFILTER, + "__module__": "temporal.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) + }, +) _sym_db.RegisterMessage(NamespaceFilter) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1' - _NAMESPACEINFO_DATAENTRY._options = None - _NAMESPACEINFO_DATAENTRY._serialized_options = b'8\001' - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b'8\001' - _BADBINARIES_BINARIESENTRY._options = None - _BADBINARIES_BINARIESENTRY._serialized_options = b'8\001' - _UPDATENAMESPACEINFO_DATAENTRY._options = None - _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b'8\001' - _NAMESPACEINFO._serialized_start=175 - _NAMESPACEINFO._serialized_end=617 - _NAMESPACEINFO_DATAENTRY._serialized_start=485 - _NAMESPACEINFO_DATAENTRY._serialized_end=528 - _NAMESPACEINFO_CAPABILITIES._serialized_start=530 - _NAMESPACEINFO_CAPABILITIES._serialized_end=617 - _NAMESPACECONFIG._serialized_start=620 - _NAMESPACECONFIG._serialized_end=1162 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start=1095 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end=1162 - _BADBINARIES._serialized_start=1165 - _BADBINARIES._serialized_end=1341 - _BADBINARIES_BINARIESENTRY._serialized_start=1252 - _BADBINARIES_BINARIESENTRY._serialized_end=1341 - _BADBINARYINFO._serialized_start=1343 - _BADBINARYINFO._serialized_end=1441 - _UPDATENAMESPACEINFO._serialized_start=1444 - _UPDATENAMESPACEINFO._serialized_end=1678 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_start=485 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_end=528 - _NAMESPACEFILTER._serialized_start=1680 - _NAMESPACEFILTER._serialized_end=1722 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" + _NAMESPACEINFO_DATAENTRY._options = None + _NAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b"8\001" + _BADBINARIES_BINARIESENTRY._options = None + _BADBINARIES_BINARIESENTRY._serialized_options = b"8\001" + _UPDATENAMESPACEINFO_DATAENTRY._options = None + _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" + _NAMESPACEINFO._serialized_start = 175 + _NAMESPACEINFO._serialized_end = 617 + _NAMESPACEINFO_DATAENTRY._serialized_start = 485 + _NAMESPACEINFO_DATAENTRY._serialized_end = 528 + _NAMESPACEINFO_CAPABILITIES._serialized_start = 530 + _NAMESPACEINFO_CAPABILITIES._serialized_end = 617 + _NAMESPACECONFIG._serialized_start = 620 + _NAMESPACECONFIG._serialized_end = 1162 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start = 1095 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end = 1162 + _BADBINARIES._serialized_start = 1165 + _BADBINARIES._serialized_end = 1341 + _BADBINARIES_BINARIESENTRY._serialized_start = 1252 + _BADBINARIES_BINARIESENTRY._serialized_end = 1341 + _BADBINARYINFO._serialized_start = 1343 + _BADBINARYINFO._serialized_end = 1441 + _UPDATENAMESPACEINFO._serialized_start = 1444 + _UPDATENAMESPACEINFO._serialized_end = 1678 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_start = 485 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_end = 528 + _NAMESPACEFILTER._serialized_start = 1680 + _NAMESPACEFILTER._serialized_end = 1722 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/namespace/v1/message_pb2.pyi b/temporalio/api/namespace/v1/message_pb2.pyi index 4fbb6259d..831972b79 100644 --- a/temporalio/api/namespace/v1/message_pb2.pyi +++ b/temporalio/api/namespace/v1/message_pb2.pyi @@ -2,14 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.enums.v1.namespace_pb2 if sys.version_info >= (3, 8): @@ -35,7 +38,10 @@ class NamespaceInfo(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class Capabilities(google.protobuf.message.Message): """Namespace capability details. Should contain what features are enabled in a namespace.""" @@ -58,7 +64,17 @@ class NamespaceInfo(google.protobuf.message.Message): sync_update: builtins.bool = ..., async_update: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["async_update", b"async_update", "eager_workflow_start", b"eager_workflow_start", "sync_update", b"sync_update"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_update", + b"async_update", + "eager_workflow_start", + b"eager_workflow_start", + "sync_update", + b"sync_update", + ], + ) -> None: ... NAME_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int @@ -73,7 +89,9 @@ class NamespaceInfo(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" id: builtins.str @property @@ -95,8 +113,30 @@ class NamespaceInfo(google.protobuf.message.Message): capabilities: global___NamespaceInfo.Capabilities | None = ..., supports_schedules: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "data", b"data", "description", b"description", "id", b"id", "name", b"name", "owner_email", b"owner_email", "state", b"state", "supports_schedules", b"supports_schedules"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "capabilities", + b"capabilities", + "data", + b"data", + "description", + b"description", + "id", + b"id", + "name", + b"name", + "owner_email", + b"owner_email", + "state", + b"state", + "supports_schedules", + b"supports_schedules", + ], + ) -> None: ... global___NamespaceInfo = NamespaceInfo @@ -116,7 +156,10 @@ class NamespaceConfig(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... WORKFLOW_EXECUTION_RETENTION_TTL_FIELD_NUMBER: builtins.int BAD_BINARIES_FIELD_NUMBER: builtins.int @@ -126,31 +169,69 @@ class NamespaceConfig(google.protobuf.message.Message): VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: builtins.int CUSTOM_SEARCH_ATTRIBUTE_ALIASES_FIELD_NUMBER: builtins.int @property - def workflow_execution_retention_ttl(self) -> google.protobuf.duration_pb2.Duration: ... + def workflow_execution_retention_ttl( + self, + ) -> google.protobuf.duration_pb2.Duration: ... @property def bad_binaries(self) -> global___BadBinaries: ... - history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + history_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" history_archival_uri: builtins.str - visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + visibility_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str @property - def custom_search_attribute_aliases(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def custom_search_attribute_aliases( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Map from field name to alias.""" def __init__( self, *, - workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration | None = ..., + workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration + | None = ..., bad_binaries: global___BadBinaries | None = ..., history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., history_archival_uri: builtins.str = ..., visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., visibility_archival_uri: builtins.str = ..., - custom_search_attribute_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + custom_search_attribute_aliases: collections.abc.Mapping[ + builtins.str, builtins.str + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "bad_binaries", + b"bad_binaries", + "workflow_execution_retention_ttl", + b"workflow_execution_retention_ttl", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "bad_binaries", + b"bad_binaries", + "custom_search_attribute_aliases", + b"custom_search_attribute_aliases", + "history_archival_state", + b"history_archival_state", + "history_archival_uri", + b"history_archival_uri", + "visibility_archival_state", + b"visibility_archival_state", + "visibility_archival_uri", + b"visibility_archival_uri", + "workflow_execution_retention_ttl", + b"workflow_execution_retention_ttl", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["bad_binaries", b"bad_binaries", "workflow_execution_retention_ttl", b"workflow_execution_retention_ttl"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["bad_binaries", b"bad_binaries", "custom_search_attribute_aliases", b"custom_search_attribute_aliases", "history_archival_state", b"history_archival_state", "history_archival_uri", b"history_archival_uri", "visibility_archival_state", b"visibility_archival_state", "visibility_archival_uri", b"visibility_archival_uri", "workflow_execution_retention_ttl", b"workflow_execution_retention_ttl"]) -> None: ... global___NamespaceConfig = NamespaceConfig @@ -171,18 +252,30 @@ class BadBinaries(google.protobuf.message.Message): key: builtins.str = ..., value: global___BadBinaryInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... BINARIES_FIELD_NUMBER: builtins.int @property - def binaries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___BadBinaryInfo]: ... + def binaries( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___BadBinaryInfo + ]: ... def __init__( self, *, - binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] | None = ..., + binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["binaries", b"binaries"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["binaries", b"binaries"]) -> None: ... global___BadBinaries = BadBinaries @@ -203,8 +296,15 @@ class BadBinaryInfo(google.protobuf.message.Message): operator: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "operator", b"operator", "reason", b"reason"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["create_time", b"create_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "operator", b"operator", "reason", b"reason" + ], + ) -> None: ... global___BadBinaryInfo = BadBinaryInfo @@ -224,7 +324,10 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int OWNER_EMAIL_FIELD_NUMBER: builtins.int @@ -233,9 +336,11 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose. - If data already exists on the namespace, + If data already exists on the namespace, this will merge with the existing key values. """ state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType @@ -253,7 +358,19 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "description", b"description", "owner_email", b"owner_email", "state", b"state"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "data", + b"data", + "description", + b"description", + "owner_email", + b"owner_email", + "state", + b"state", + ], + ) -> None: ... global___UpdateNamespaceInfo = UpdateNamespaceInfo @@ -271,6 +388,9 @@ class NamespaceFilter(google.protobuf.message.Message): *, include_deleted: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["include_deleted", b"include_deleted"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["include_deleted", b"include_deleted"], + ) -> None: ... global___NamespaceFilter = NamespaceFilter diff --git a/temporalio/api/nexus/v1/__init__.py b/temporalio/api/nexus/v1/__init__.py index aad46dbda..7ae90d590 100644 --- a/temporalio/api/nexus/v1/__init__.py +++ b/temporalio/api/nexus/v1/__init__.py @@ -1,16 +1,18 @@ -from .message_pb2 import Failure -from .message_pb2 import HandlerError -from .message_pb2 import UnsuccessfulOperationError -from .message_pb2 import Link -from .message_pb2 import StartOperationRequest -from .message_pb2 import CancelOperationRequest -from .message_pb2 import Request -from .message_pb2 import StartOperationResponse -from .message_pb2 import CancelOperationResponse -from .message_pb2 import Response -from .message_pb2 import Endpoint -from .message_pb2 import EndpointSpec -from .message_pb2 import EndpointTarget +from .message_pb2 import ( + CancelOperationRequest, + CancelOperationResponse, + Endpoint, + EndpointSpec, + EndpointTarget, + Failure, + HandlerError, + Link, + Request, + Response, + StartOperationRequest, + StartOperationResponse, + UnsuccessfulOperationError, +) __all__ = [ "CancelOperationRequest", diff --git a/temporalio/api/nexus/v1/message_pb2.py b/temporalio/api/nexus/v1/message_pb2.py index 7f77bdf82..263952fd7 100644 --- a/temporalio/api/nexus/v1/message_pb2.py +++ b/temporalio/api/nexus/v1/message_pb2.py @@ -2,244 +2,324 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/nexus/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto\"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xc7\x02\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\xd9\x03\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3') - - - -_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] -_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name['MetadataEntry'] -_HANDLERERROR = DESCRIPTOR.message_types_by_name['HandlerError'] -_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name['UnsuccessfulOperationError'] -_LINK = DESCRIPTOR.message_types_by_name['Link'] -_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StartOperationRequest'] -_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = _STARTOPERATIONREQUEST.nested_types_by_name['CallbackHeaderEntry'] -_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['CancelOperationRequest'] -_REQUEST = DESCRIPTOR.message_types_by_name['Request'] -_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name['HeaderEntry'] -_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StartOperationResponse'] -_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name['Sync'] -_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name['Async'] -_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['CancelOperationResponse'] -_RESPONSE = DESCRIPTOR.message_types_by_name['Response'] -_ENDPOINT = DESCRIPTOR.message_types_by_name['Endpoint'] -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name['EndpointSpec'] -_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name['EndpointTarget'] -_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name['Worker'] -_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name['External'] -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE_METADATAENTRY, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) - }) - , - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t"\xc7\x02\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant"\xd9\x03\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant"\x19\n\x17\x43\x61ncelOperationResponse"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3' +) + + +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name["MetadataEntry"] +_HANDLERERROR = DESCRIPTOR.message_types_by_name["HandlerError"] +_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name[ + "UnsuccessfulOperationError" +] +_LINK = DESCRIPTOR.message_types_by_name["Link"] +_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["StartOperationRequest"] +_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = ( + _STARTOPERATIONREQUEST.nested_types_by_name["CallbackHeaderEntry"] +) +_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["CancelOperationRequest"] +_REQUEST = DESCRIPTOR.message_types_by_name["Request"] +_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name["HeaderEntry"] +_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["StartOperationResponse"] +_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Sync"] +_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Async"] +_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["CancelOperationResponse"] +_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] +_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] +_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name["EndpointTarget"] +_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name["Worker"] +_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name["External"] +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE_METADATAENTRY, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) + }, + ), + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) + }, +) _sym_db.RegisterMessage(Failure) _sym_db.RegisterMessage(Failure.MetadataEntry) -HandlerError = _reflection.GeneratedProtocolMessageType('HandlerError', (_message.Message,), { - 'DESCRIPTOR' : _HANDLERERROR, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) - }) +HandlerError = _reflection.GeneratedProtocolMessageType( + "HandlerError", + (_message.Message,), + { + "DESCRIPTOR": _HANDLERERROR, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) + }, +) _sym_db.RegisterMessage(HandlerError) -UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType('UnsuccessfulOperationError', (_message.Message,), { - 'DESCRIPTOR' : _UNSUCCESSFULOPERATIONERROR, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) - }) +UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType( + "UnsuccessfulOperationError", + (_message.Message,), + { + "DESCRIPTOR": _UNSUCCESSFULOPERATIONERROR, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) + }, +) _sym_db.RegisterMessage(UnsuccessfulOperationError) -Link = _reflection.GeneratedProtocolMessageType('Link', (_message.Message,), { - 'DESCRIPTOR' : _LINK, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) - }) +Link = _reflection.GeneratedProtocolMessageType( + "Link", + (_message.Message,), + { + "DESCRIPTOR": _LINK, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) + }, +) _sym_db.RegisterMessage(Link) -StartOperationRequest = _reflection.GeneratedProtocolMessageType('StartOperationRequest', (_message.Message,), { - - 'CallbackHeaderEntry' : _reflection.GeneratedProtocolMessageType('CallbackHeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) - }) - , - 'DESCRIPTOR' : _STARTOPERATIONREQUEST, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) - }) +StartOperationRequest = _reflection.GeneratedProtocolMessageType( + "StartOperationRequest", + (_message.Message,), + { + "CallbackHeaderEntry": _reflection.GeneratedProtocolMessageType( + "CallbackHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) + }, + ), + "DESCRIPTOR": _STARTOPERATIONREQUEST, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) + }, +) _sym_db.RegisterMessage(StartOperationRequest) _sym_db.RegisterMessage(StartOperationRequest.CallbackHeaderEntry) -CancelOperationRequest = _reflection.GeneratedProtocolMessageType('CancelOperationRequest', (_message.Message,), { - 'DESCRIPTOR' : _CANCELOPERATIONREQUEST, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) - }) +CancelOperationRequest = _reflection.GeneratedProtocolMessageType( + "CancelOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _CANCELOPERATIONREQUEST, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) + }, +) _sym_db.RegisterMessage(CancelOperationRequest) -Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { - - 'HeaderEntry' : _reflection.GeneratedProtocolMessageType('HeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _REQUEST_HEADERENTRY, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) - }) - , - 'DESCRIPTOR' : _REQUEST, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) - }) +Request = _reflection.GeneratedProtocolMessageType( + "Request", + (_message.Message,), + { + "HeaderEntry": _reflection.GeneratedProtocolMessageType( + "HeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _REQUEST_HEADERENTRY, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) + }, + ), + "DESCRIPTOR": _REQUEST, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) + }, +) _sym_db.RegisterMessage(Request) _sym_db.RegisterMessage(Request.HeaderEntry) -StartOperationResponse = _reflection.GeneratedProtocolMessageType('StartOperationResponse', (_message.Message,), { - - 'Sync' : _reflection.GeneratedProtocolMessageType('Sync', (_message.Message,), { - 'DESCRIPTOR' : _STARTOPERATIONRESPONSE_SYNC, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) - }) - , - - 'Async' : _reflection.GeneratedProtocolMessageType('Async', (_message.Message,), { - 'DESCRIPTOR' : _STARTOPERATIONRESPONSE_ASYNC, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) - }) - , - 'DESCRIPTOR' : _STARTOPERATIONRESPONSE, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) - }) +StartOperationResponse = _reflection.GeneratedProtocolMessageType( + "StartOperationResponse", + (_message.Message,), + { + "Sync": _reflection.GeneratedProtocolMessageType( + "Sync", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONRESPONSE_SYNC, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) + }, + ), + "Async": _reflection.GeneratedProtocolMessageType( + "Async", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONRESPONSE_ASYNC, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) + }, + ), + "DESCRIPTOR": _STARTOPERATIONRESPONSE, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) + }, +) _sym_db.RegisterMessage(StartOperationResponse) _sym_db.RegisterMessage(StartOperationResponse.Sync) _sym_db.RegisterMessage(StartOperationResponse.Async) -CancelOperationResponse = _reflection.GeneratedProtocolMessageType('CancelOperationResponse', (_message.Message,), { - 'DESCRIPTOR' : _CANCELOPERATIONRESPONSE, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) - }) +CancelOperationResponse = _reflection.GeneratedProtocolMessageType( + "CancelOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _CANCELOPERATIONRESPONSE, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) + }, +) _sym_db.RegisterMessage(CancelOperationResponse) -Response = _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { - 'DESCRIPTOR' : _RESPONSE, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) - }) +Response = _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) + }, +) _sym_db.RegisterMessage(Response) -Endpoint = _reflection.GeneratedProtocolMessageType('Endpoint', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINT, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) - }) +Endpoint = _reflection.GeneratedProtocolMessageType( + "Endpoint", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINT, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) + }, +) _sym_db.RegisterMessage(Endpoint) -EndpointSpec = _reflection.GeneratedProtocolMessageType('EndpointSpec', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTSPEC, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) - }) +EndpointSpec = _reflection.GeneratedProtocolMessageType( + "EndpointSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTSPEC, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) + }, +) _sym_db.RegisterMessage(EndpointSpec) -EndpointTarget = _reflection.GeneratedProtocolMessageType('EndpointTarget', (_message.Message,), { - - 'Worker' : _reflection.GeneratedProtocolMessageType('Worker', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTTARGET_WORKER, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) - }) - , - - 'External' : _reflection.GeneratedProtocolMessageType('External', (_message.Message,), { - 'DESCRIPTOR' : _ENDPOINTTARGET_EXTERNAL, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) - }) - , - 'DESCRIPTOR' : _ENDPOINTTARGET, - '__module__' : 'temporal.api.nexus.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) - }) +EndpointTarget = _reflection.GeneratedProtocolMessageType( + "EndpointTarget", + (_message.Message,), + { + "Worker": _reflection.GeneratedProtocolMessageType( + "Worker", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGET_WORKER, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) + }, + ), + "External": _reflection.GeneratedProtocolMessageType( + "External", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGET_EXTERNAL, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) + }, + ), + "DESCRIPTOR": _ENDPOINTTARGET, + "__module__": "temporal.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) + }, +) _sym_db.RegisterMessage(EndpointTarget) _sym_db.RegisterMessage(EndpointTarget.Worker) _sym_db.RegisterMessage(EndpointTarget.External) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1' - _FAILURE_METADATAENTRY._options = None - _FAILURE_METADATAENTRY._serialized_options = b'8\001' - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b'8\001' - _CANCELOPERATIONREQUEST.fields_by_name['operation_id']._options = None - _CANCELOPERATIONREQUEST.fields_by_name['operation_id']._serialized_options = b'\030\001' - _REQUEST_HEADERENTRY._options = None - _REQUEST_HEADERENTRY._serialized_options = b'8\001' - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name['operation_id']._options = None - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name['operation_id']._serialized_options = b'\030\001' - _FAILURE._serialized_start=169 - _FAILURE._serialized_end=325 - _FAILURE_METADATAENTRY._serialized_start=278 - _FAILURE_METADATAENTRY._serialized_end=325 - _HANDLERERROR._serialized_start=328 - _HANDLERERROR._serialized_end=490 - _UNSUCCESSFULOPERATIONERROR._serialized_start=492 - _UNSUCCESSFULOPERATIONERROR._serialized_end=594 - _LINK._serialized_start=596 - _LINK._serialized_end=629 - _STARTOPERATIONREQUEST._serialized_start=632 - _STARTOPERATIONREQUEST._serialized_end=969 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start=916 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end=969 - _CANCELOPERATIONREQUEST._serialized_start=971 - _CANCELOPERATIONREQUEST._serialized_end=1082 - _REQUEST._serialized_start=1085 - _REQUEST._serialized_end=1412 - _REQUEST_HEADERENTRY._serialized_start=1356 - _REQUEST_HEADERENTRY._serialized_end=1401 - _STARTOPERATIONRESPONSE._serialized_start=1415 - _STARTOPERATIONRESPONSE._serialized_end=1888 - _STARTOPERATIONRESPONSE_SYNC._serialized_start=1673 - _STARTOPERATIONRESPONSE_SYNC._serialized_end=1773 - _STARTOPERATIONRESPONSE_ASYNC._serialized_start=1775 - _STARTOPERATIONRESPONSE_ASYNC._serialized_end=1877 - _CANCELOPERATIONRESPONSE._serialized_start=1890 - _CANCELOPERATIONRESPONSE._serialized_end=1915 - _RESPONSE._serialized_start=1918 - _RESPONSE._serialized_end=2089 - _ENDPOINT._serialized_start=2092 - _ENDPOINT._serialized_end=2308 - _ENDPOINTSPEC._serialized_start=2311 - _ENDPOINTSPEC._serialized_end=2448 - _ENDPOINTTARGET._serialized_start=2451 - _ENDPOINTTARGET._serialized_end=2684 - _ENDPOINTTARGET_WORKER._serialized_start=2601 - _ENDPOINTTARGET_WORKER._serialized_end=2648 - _ENDPOINTTARGET_EXTERNAL._serialized_start=2650 - _ENDPOINTTARGET_EXTERNAL._serialized_end=2673 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" + _FAILURE_METADATAENTRY._options = None + _FAILURE_METADATAENTRY._serialized_options = b"8\001" + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b"8\001" + _CANCELOPERATIONREQUEST.fields_by_name["operation_id"]._options = None + _CANCELOPERATIONREQUEST.fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _REQUEST_HEADERENTRY._options = None + _REQUEST_HEADERENTRY._serialized_options = b"8\001" + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name["operation_id"]._options = None + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _FAILURE._serialized_start = 169 + _FAILURE._serialized_end = 325 + _FAILURE_METADATAENTRY._serialized_start = 278 + _FAILURE_METADATAENTRY._serialized_end = 325 + _HANDLERERROR._serialized_start = 328 + _HANDLERERROR._serialized_end = 490 + _UNSUCCESSFULOPERATIONERROR._serialized_start = 492 + _UNSUCCESSFULOPERATIONERROR._serialized_end = 594 + _LINK._serialized_start = 596 + _LINK._serialized_end = 629 + _STARTOPERATIONREQUEST._serialized_start = 632 + _STARTOPERATIONREQUEST._serialized_end = 969 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start = 916 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end = 969 + _CANCELOPERATIONREQUEST._serialized_start = 971 + _CANCELOPERATIONREQUEST._serialized_end = 1082 + _REQUEST._serialized_start = 1085 + _REQUEST._serialized_end = 1412 + _REQUEST_HEADERENTRY._serialized_start = 1356 + _REQUEST_HEADERENTRY._serialized_end = 1401 + _STARTOPERATIONRESPONSE._serialized_start = 1415 + _STARTOPERATIONRESPONSE._serialized_end = 1888 + _STARTOPERATIONRESPONSE_SYNC._serialized_start = 1673 + _STARTOPERATIONRESPONSE_SYNC._serialized_end = 1773 + _STARTOPERATIONRESPONSE_ASYNC._serialized_start = 1775 + _STARTOPERATIONRESPONSE_ASYNC._serialized_end = 1877 + _CANCELOPERATIONRESPONSE._serialized_start = 1890 + _CANCELOPERATIONRESPONSE._serialized_end = 1915 + _RESPONSE._serialized_start = 1918 + _RESPONSE._serialized_end = 2089 + _ENDPOINT._serialized_start = 2092 + _ENDPOINT._serialized_end = 2308 + _ENDPOINTSPEC._serialized_start = 2311 + _ENDPOINTSPEC._serialized_end = 2448 + _ENDPOINTTARGET._serialized_start = 2451 + _ENDPOINTTARGET._serialized_end = 2684 + _ENDPOINTTARGET_WORKER._serialized_start = 2601 + _ENDPOINTTARGET_WORKER._serialized_end = 2648 + _ENDPOINTTARGET_EXTERNAL._serialized_start = 2650 + _ENDPOINTTARGET_EXTERNAL._serialized_end = 2673 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexus/v1/message_pb2.pyi b/temporalio/api/nexus/v1/message_pb2.pyi index 226eb44f2..b72127ed6 100644 --- a/temporalio/api/nexus/v1/message_pb2.pyi +++ b/temporalio/api/nexus/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.nexus_pb2 @@ -39,14 +42,19 @@ class Failure(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... MESSAGE_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int message: builtins.str @property - def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + def metadata( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... details: builtins.bytes """UTF-8 encoded JSON serializable details.""" def __init__( @@ -56,7 +64,12 @@ class Failure(google.protobuf.message.Message): metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., details: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "message", b"message", "metadata", b"metadata"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "message", b"message", "metadata", b"metadata" + ], + ) -> None: ... global___Failure = Failure @@ -70,7 +83,9 @@ class HandlerError(google.protobuf.message.Message): """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.""" @property def failure(self) -> global___Failure: ... - retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType + retry_behavior: ( + temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType + ) """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" def __init__( self, @@ -79,8 +94,20 @@ class HandlerError(google.protobuf.message.Message): failure: global___Failure | None = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["error_type", b"error_type", "failure", b"failure", "retry_behavior", b"retry_behavior"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "error_type", + b"error_type", + "failure", + b"failure", + "retry_behavior", + b"retry_behavior", + ], + ) -> None: ... global___HandlerError = HandlerError @@ -99,8 +126,15 @@ class UnsuccessfulOperationError(google.protobuf.message.Message): operation_state: builtins.str = ..., failure: global___Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "operation_state", b"operation_state"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "operation_state", b"operation_state" + ], + ) -> None: ... global___UnsuccessfulOperationError = UnsuccessfulOperationError @@ -118,7 +152,9 @@ class Link(google.protobuf.message.Message): url: builtins.str = ..., type: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"] + ) -> None: ... global___Link = Link @@ -140,7 +176,10 @@ class StartOperationRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SERVICE_FIELD_NUMBER: builtins.int OPERATION_FIELD_NUMBER: builtins.int @@ -161,10 +200,16 @@ class StartOperationRequest(google.protobuf.message.Message): def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: """Full request body from the incoming HTTP request.""" @property - def callback_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def callback_header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header that is expected to be attached to the callback request when the operation completes.""" @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Link + ]: """Links contain caller information and can be attached to the operations started by the handler.""" def __init__( self, @@ -174,11 +219,32 @@ class StartOperationRequest(google.protobuf.message.Message): request_id: builtins.str = ..., callback: builtins.str = ..., payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., - callback_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + callback_header: collections.abc.Mapping[builtins.str, builtins.str] + | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["payload", b"payload"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["callback", b"callback", "callback_header", b"callback_header", "links", b"links", "operation", b"operation", "payload", b"payload", "request_id", b"request_id", "service", b"service"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["payload", b"payload"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "callback", + b"callback", + "callback_header", + b"callback_header", + "links", + b"links", + "operation", + b"operation", + "payload", + b"payload", + "request_id", + b"request_id", + "service", + b"service", + ], + ) -> None: ... global___StartOperationRequest = StartOperationRequest @@ -210,7 +276,19 @@ class CancelOperationRequest(google.protobuf.message.Message): operation_id: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "service", b"service"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "operation", + b"operation", + "operation_id", + b"operation_id", + "operation_token", + b"operation_token", + "service", + b"service", + ], + ) -> None: ... global___CancelOperationRequest = CancelOperationRequest @@ -232,14 +310,19 @@ class Request(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... HEADER_FIELD_NUMBER: builtins.int SCHEDULED_TIME_FIELD_NUMBER: builtins.int START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int @property - def header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values. """ @@ -261,9 +344,37 @@ class Request(google.protobuf.message.Message): start_operation: global___StartOperationRequest | None = ..., cancel_operation: global___CancelOperationRequest | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "scheduled_time", b"scheduled_time", "start_operation", b"start_operation", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "header", b"header", "scheduled_time", b"scheduled_time", "start_operation", b"start_operation", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel_operation", + b"cancel_operation", + "scheduled_time", + b"scheduled_time", + "start_operation", + b"start_operation", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_operation", + b"cancel_operation", + "header", + b"header", + "scheduled_time", + b"scheduled_time", + "start_operation", + b"start_operation", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... global___Request = Request @@ -282,15 +393,26 @@ class StartOperationResponse(google.protobuf.message.Message): @property def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: ... @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: ... + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Link + ]: ... def __init__( self, *, payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["payload", b"payload"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["links", b"links", "payload", b"payload"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["payload", b"payload"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "links", b"links", "payload", b"payload" + ], + ) -> None: ... class Async(google.protobuf.message.Message): """The operation will complete asynchronously. @@ -305,7 +427,11 @@ class StartOperationResponse(google.protobuf.message.Message): operation_id: builtins.str """Deprecated. Renamed to operation_token.""" @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Link]: ... + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Link + ]: ... operation_token: builtins.str def __init__( self, @@ -314,7 +440,17 @@ class StartOperationResponse(google.protobuf.message.Message): links: collections.abc.Iterable[global___Link] | None = ..., operation_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["links", b"links", "operation_id", b"operation_id", "operation_token", b"operation_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "links", + b"links", + "operation_id", + b"operation_id", + "operation_token", + b"operation_token", + ], + ) -> None: ... SYNC_SUCCESS_FIELD_NUMBER: builtins.int ASYNC_SUCCESS_FIELD_NUMBER: builtins.int @@ -333,9 +469,38 @@ class StartOperationResponse(google.protobuf.message.Message): async_success: global___StartOperationResponse.Async | None = ..., operation_error: global___UnsuccessfulOperationError | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["async_success", b"async_success", "operation_error", b"operation_error", "sync_success", b"sync_success", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["async_success", b"async_success", "operation_error", b"operation_error", "sync_success", b"sync_success", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["sync_success", "async_success", "operation_error"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "async_success", + b"async_success", + "operation_error", + b"operation_error", + "sync_success", + b"sync_success", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "async_success", + b"async_success", + "operation_error", + b"operation_error", + "sync_success", + b"sync_success", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal["sync_success", "async_success", "operation_error"] + | None + ): ... global___StartOperationResponse = StartOperationResponse @@ -367,9 +532,31 @@ class Response(google.protobuf.message.Message): start_operation: global___StartOperationResponse | None = ..., cancel_operation: global___CancelOperationResponse | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "start_operation", b"start_operation", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_operation", b"cancel_operation", "start_operation", b"start_operation", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel_operation", + b"cancel_operation", + "start_operation", + b"start_operation", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_operation", + b"cancel_operation", + "start_operation", + b"start_operation", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... global___Response = Response @@ -419,8 +606,34 @@ class Endpoint(google.protobuf.message.Message): last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., url_prefix: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "last_modified_time", b"last_modified_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_time", b"created_time", "id", b"id", "last_modified_time", b"last_modified_time", "spec", b"spec", "url_prefix", b"url_prefix", "version", b"version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "created_time", + b"created_time", + "id", + b"id", + "last_modified_time", + b"last_modified_time", + "spec", + b"spec", + "url_prefix", + b"url_prefix", + "version", + b"version", + ], + ) -> None: ... global___Endpoint = Endpoint @@ -452,8 +665,18 @@ class EndpointSpec(google.protobuf.message.Message): description: temporalio.api.common.v1.message_pb2.Payload | None = ..., target: global___EndpointTarget | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["description", b"description", "target", b"target"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "target", b"target"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "description", b"description", "target", b"target" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "description", b"description", "name", b"name", "target", b"target" + ], + ) -> None: ... global___EndpointSpec = EndpointSpec @@ -479,7 +702,12 @@ class EndpointTarget(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "task_queue", b"task_queue" + ], + ) -> None: ... class External(google.protobuf.message.Message): """Target an external server by URL. @@ -497,7 +725,9 @@ class EndpointTarget(google.protobuf.message.Message): *, url: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["url", b"url"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["url", b"url"] + ) -> None: ... WORKER_FIELD_NUMBER: builtins.int EXTERNAL_FIELD_NUMBER: builtins.int @@ -511,8 +741,20 @@ class EndpointTarget(google.protobuf.message.Message): worker: global___EndpointTarget.Worker | None = ..., external: global___EndpointTarget.External | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["external", b"external", "variant", b"variant", "worker", b"worker"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["external", b"external", "variant", b"variant", "worker", b"worker"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["worker", "external"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "external", b"external", "variant", b"variant", "worker", b"worker" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "external", b"external", "variant", b"variant", "worker", b"worker" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["worker", "external"] | None: ... global___EndpointTarget = EndpointTarget diff --git a/temporalio/api/operatorservice/v1/__init__.py b/temporalio/api/operatorservice/v1/__init__.py index 60930b985..f6cd76fbf 100644 --- a/temporalio/api/operatorservice/v1/__init__.py +++ b/temporalio/api/operatorservice/v1/__init__.py @@ -1,28 +1,30 @@ -from .request_response_pb2 import AddSearchAttributesRequest -from .request_response_pb2 import AddSearchAttributesResponse -from .request_response_pb2 import RemoveSearchAttributesRequest -from .request_response_pb2 import RemoveSearchAttributesResponse -from .request_response_pb2 import ListSearchAttributesRequest -from .request_response_pb2 import ListSearchAttributesResponse -from .request_response_pb2 import DeleteNamespaceRequest -from .request_response_pb2 import DeleteNamespaceResponse -from .request_response_pb2 import AddOrUpdateRemoteClusterRequest -from .request_response_pb2 import AddOrUpdateRemoteClusterResponse -from .request_response_pb2 import RemoveRemoteClusterRequest -from .request_response_pb2 import RemoveRemoteClusterResponse -from .request_response_pb2 import ListClustersRequest -from .request_response_pb2 import ListClustersResponse -from .request_response_pb2 import ClusterMetadata -from .request_response_pb2 import GetNexusEndpointRequest -from .request_response_pb2 import GetNexusEndpointResponse -from .request_response_pb2 import CreateNexusEndpointRequest -from .request_response_pb2 import CreateNexusEndpointResponse -from .request_response_pb2 import UpdateNexusEndpointRequest -from .request_response_pb2 import UpdateNexusEndpointResponse -from .request_response_pb2 import DeleteNexusEndpointRequest -from .request_response_pb2 import DeleteNexusEndpointResponse -from .request_response_pb2 import ListNexusEndpointsRequest -from .request_response_pb2 import ListNexusEndpointsResponse +from .request_response_pb2 import ( + AddOrUpdateRemoteClusterRequest, + AddOrUpdateRemoteClusterResponse, + AddSearchAttributesRequest, + AddSearchAttributesResponse, + ClusterMetadata, + CreateNexusEndpointRequest, + CreateNexusEndpointResponse, + DeleteNamespaceRequest, + DeleteNamespaceResponse, + DeleteNexusEndpointRequest, + DeleteNexusEndpointResponse, + GetNexusEndpointRequest, + GetNexusEndpointResponse, + ListClustersRequest, + ListClustersResponse, + ListNexusEndpointsRequest, + ListNexusEndpointsResponse, + ListSearchAttributesRequest, + ListSearchAttributesResponse, + RemoveRemoteClusterRequest, + RemoveRemoteClusterResponse, + RemoveSearchAttributesRequest, + RemoveSearchAttributesResponse, + UpdateNexusEndpointRequest, + UpdateNexusEndpointResponse, +) __all__ = [ "AddOrUpdateRemoteClusterRequest", @@ -55,9 +57,19 @@ # gRPC is optional try: import grpc - from .service_pb2_grpc import add_OperatorServiceServicer_to_server - from .service_pb2_grpc import OperatorServiceStub - from .service_pb2_grpc import OperatorServiceServicer - __all__.extend(["OperatorServiceServicer", "OperatorServiceStub", "add_OperatorServiceServicer_to_server"]) + + from .service_pb2_grpc import ( + OperatorServiceServicer, + OperatorServiceStub, + add_OperatorServiceServicer_to_server, + ) + + __all__.extend( + [ + "OperatorServiceServicer", + "OperatorServiceStub", + "add_OperatorServiceServicer_to_server", + ] + ) except ImportError: - pass \ No newline at end of file + pass diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.py b/temporalio/api/operatorservice/v1/request_response_pb2.py index 50476d2c8..78e372d6c 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2.py @@ -2,329 +2,487 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/request_response.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse\"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\" \n\x1eRemoveSearchAttributesResponse\"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t\"\x84\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t\"\"\n AddOrUpdateRemoteClusterResponse\"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\x1d\n\x1bRemoveRemoteClusterResponse\"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"\xc0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08\"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\"\x1d\n\x1b\x44\x65leteNexusEndpointResponse\"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n\"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3') - - - -_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['AddSearchAttributesRequest'] -_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name['SearchAttributesEntry'] -_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['AddSearchAttributesResponse'] -_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['RemoveSearchAttributesRequest'] -_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['RemoveSearchAttributesResponse'] -_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['ListSearchAttributesRequest'] -_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['ListSearchAttributesResponse'] -_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['CustomAttributesEntry'] -_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['SystemAttributesEntry'] -_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name['StorageSchemaEntry'] -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamespaceRequest'] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeleteNamespaceResponse'] -_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name['AddOrUpdateRemoteClusterRequest'] -_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name['AddOrUpdateRemoteClusterResponse'] -_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name['RemoveRemoteClusterRequest'] -_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name['RemoveRemoteClusterResponse'] -_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name['ListClustersRequest'] -_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name['ListClustersResponse'] -_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name['ClusterMetadata'] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['GetNexusEndpointRequest'] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['GetNexusEndpointResponse'] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['CreateNexusEndpointRequest'] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['CreateNexusEndpointResponse'] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointRequest'] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNexusEndpointResponse'] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointRequest'] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteNexusEndpointResponse'] -_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name['ListNexusEndpointsRequest'] -_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name['ListNexusEndpointsResponse'] -AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('AddSearchAttributesRequest', (_message.Message,), { - - 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) - }) - , - 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) - }) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t" \n\x1eRemoveSearchAttributesResponse"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t"\x84\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t""\n AddOrUpdateRemoteClusterResponse"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\x1d\n\x1bRemoveRemoteClusterResponse"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"\xc0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"\x1d\n\x1b\x44\x65leteNexusEndpointResponse"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' +) + + +_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "AddSearchAttributesRequest" +] +_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = ( + _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name["SearchAttributesEntry"] +) +_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddSearchAttributesResponse" +] +_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveSearchAttributesRequest" +] +_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveSearchAttributesResponse" +] +_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "ListSearchAttributesRequest" +] +_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListSearchAttributesResponse" +] +_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["CustomAttributesEntry"] +) +_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["SystemAttributesEntry"] +) +_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["StorageSchemaEntry"] +) +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] +_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ + "AddOrUpdateRemoteClusterRequest" +] +_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddOrUpdateRemoteClusterResponse" +] +_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveRemoteClusterRequest" +] +_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveRemoteClusterResponse" +] +_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name["ListClustersRequest"] +_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name["ListClustersResponse"] +_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name["ClusterMetadata"] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointRequest" +] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointResponse" +] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointRequest" +] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointResponse" +] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointRequest" +] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointResponse" +] +_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListNexusEndpointsRequest" +] +_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListNexusEndpointsResponse" +] +AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "AddSearchAttributesRequest", + (_message.Message,), + { + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) + }, +) _sym_db.RegisterMessage(AddSearchAttributesRequest) _sym_db.RegisterMessage(AddSearchAttributesRequest.SearchAttributesEntry) -AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('AddSearchAttributesResponse', (_message.Message,), { - 'DESCRIPTOR' : _ADDSEARCHATTRIBUTESRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) - }) +AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "AddSearchAttributesResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDSEARCHATTRIBUTESRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) + }, +) _sym_db.RegisterMessage(AddSearchAttributesResponse) -RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('RemoveSearchAttributesRequest', (_message.Message,), { - 'DESCRIPTOR' : _REMOVESEARCHATTRIBUTESREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) - }) +RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "RemoveSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVESEARCHATTRIBUTESREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) + }, +) _sym_db.RegisterMessage(RemoveSearchAttributesRequest) -RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('RemoveSearchAttributesResponse', (_message.Message,), { - 'DESCRIPTOR' : _REMOVESEARCHATTRIBUTESRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) - }) +RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "RemoveSearchAttributesResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVESEARCHATTRIBUTESRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) + }, +) _sym_db.RegisterMessage(RemoveSearchAttributesResponse) -ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('ListSearchAttributesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) - }) +ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "ListSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) + }, +) _sym_db.RegisterMessage(ListSearchAttributesRequest) -ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('ListSearchAttributesResponse', (_message.Message,), { - - 'CustomAttributesEntry' : _reflection.GeneratedProtocolMessageType('CustomAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) - }) - , - - 'SystemAttributesEntry' : _reflection.GeneratedProtocolMessageType('SystemAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) - }) - , - - 'StorageSchemaEntry' : _reflection.GeneratedProtocolMessageType('StorageSchemaEntry', (_message.Message,), { - 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) - }) - , - 'DESCRIPTOR' : _LISTSEARCHATTRIBUTESRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) - }) +ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "ListSearchAttributesResponse", + (_message.Message,), + { + "CustomAttributesEntry": _reflection.GeneratedProtocolMessageType( + "CustomAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) + }, + ), + "SystemAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SystemAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) + }, + ), + "StorageSchemaEntry": _reflection.GeneratedProtocolMessageType( + "StorageSchemaEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) + }, + ), + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) + }, +) _sym_db.RegisterMessage(ListSearchAttributesResponse) _sym_db.RegisterMessage(ListSearchAttributesResponse.CustomAttributesEntry) _sym_db.RegisterMessage(ListSearchAttributesResponse.SystemAttributesEntry) _sym_db.RegisterMessage(ListSearchAttributesResponse.StorageSchemaEntry) -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeleteNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACEREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) - }) +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) + }, +) _sym_db.RegisterMessage(DeleteNamespaceRequest) -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeleteNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENAMESPACERESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) - }) +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACERESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) + }, +) _sym_db.RegisterMessage(DeleteNamespaceResponse) -AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType('AddOrUpdateRemoteClusterRequest', (_message.Message,), { - 'DESCRIPTOR' : _ADDORUPDATEREMOTECLUSTERREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) - }) +AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( + "AddOrUpdateRemoteClusterRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) + }, +) _sym_db.RegisterMessage(AddOrUpdateRemoteClusterRequest) -AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType('AddOrUpdateRemoteClusterResponse', (_message.Message,), { - 'DESCRIPTOR' : _ADDORUPDATEREMOTECLUSTERRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) - }) +AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( + "AddOrUpdateRemoteClusterResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) + }, +) _sym_db.RegisterMessage(AddOrUpdateRemoteClusterResponse) -RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType('RemoveRemoteClusterRequest', (_message.Message,), { - 'DESCRIPTOR' : _REMOVEREMOTECLUSTERREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) - }) +RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( + "RemoveRemoteClusterRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEREMOTECLUSTERREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) + }, +) _sym_db.RegisterMessage(RemoveRemoteClusterRequest) -RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType('RemoveRemoteClusterResponse', (_message.Message,), { - 'DESCRIPTOR' : _REMOVEREMOTECLUSTERRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) - }) +RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( + "RemoveRemoteClusterResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEREMOTECLUSTERRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) + }, +) _sym_db.RegisterMessage(RemoveRemoteClusterResponse) -ListClustersRequest = _reflection.GeneratedProtocolMessageType('ListClustersRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTCLUSTERSREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) - }) +ListClustersRequest = _reflection.GeneratedProtocolMessageType( + "ListClustersRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLUSTERSREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) + }, +) _sym_db.RegisterMessage(ListClustersRequest) -ListClustersResponse = _reflection.GeneratedProtocolMessageType('ListClustersResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTCLUSTERSRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) - }) +ListClustersResponse = _reflection.GeneratedProtocolMessageType( + "ListClustersResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLUSTERSRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) + }, +) _sym_db.RegisterMessage(ListClustersResponse) -ClusterMetadata = _reflection.GeneratedProtocolMessageType('ClusterMetadata', (_message.Message,), { - 'DESCRIPTOR' : _CLUSTERMETADATA, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) - }) +ClusterMetadata = _reflection.GeneratedProtocolMessageType( + "ClusterMetadata", + (_message.Message,), + { + "DESCRIPTOR": _CLUSTERMETADATA, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) + }, +) _sym_db.RegisterMessage(ClusterMetadata) -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('GetNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) - }) +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(GetNexusEndpointRequest) -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('GetNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETNEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) - }) +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(GetNexusEndpointResponse) -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) - }) +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(CreateNexusEndpointRequest) -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('CreateNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) - }) +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(CreateNexusEndpointResponse) -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) - }) +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(UpdateNexusEndpointRequest) -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('UpdateNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) - }) +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(UpdateNexusEndpointResponse) -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETENEXUSENDPOINTREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) - }) +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) + }, +) _sym_db.RegisterMessage(DeleteNexusEndpointRequest) -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType('DeleteNexusEndpointResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETENEXUSENDPOINTRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) - }) +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) + }, +) _sym_db.RegisterMessage(DeleteNexusEndpointResponse) -ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType('ListNexusEndpointsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTNEXUSENDPOINTSREQUEST, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) - }) +ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( + "ListNexusEndpointsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSENDPOINTSREQUEST, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) + }, +) _sym_db.RegisterMessage(ListNexusEndpointsRequest) -ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType('ListNexusEndpointsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTNEXUSENDPOINTSRESPONSE, - '__module__' : 'temporal.api.operatorservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) - }) +ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( + "ListNexusEndpointsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSENDPOINTSRESPONSE, + "__module__": "temporal.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) + }, +) _sym_db.RegisterMessage(ListNexusEndpointsResponse) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b'8\001' - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b'8\001' - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b'8\001' - _ADDSEARCHATTRIBUTESREQUEST._serialized_start=197 - _ADDSEARCHATTRIBUTESREQUEST._serialized_end=452 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start=356 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end=452 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_start=454 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_end=483 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_start=485 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_end=562 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start=564 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end=596 - _LISTSEARCHATTRIBUTESREQUEST._serialized_start=598 - _LISTSEARCHATTRIBUTESREQUEST._serialized_end=646 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_start=649 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_end=1259 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start=1011 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end=1107 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start=1109 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end=1205 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start=1207 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end=1259 - _DELETENAMESPACEREQUEST._serialized_start=1261 - _DELETENAMESPACEREQUEST._serialized_end=1385 - _DELETENAMESPACERESPONSE._serialized_start=1387 - _DELETENAMESPACERESPONSE._serialized_end=1439 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start=1442 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end=1574 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start=1576 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end=1610 - _REMOVEREMOTECLUSTERREQUEST._serialized_start=1612 - _REMOVEREMOTECLUSTERREQUEST._serialized_end=1662 - _REMOVEREMOTECLUSTERRESPONSE._serialized_start=1664 - _REMOVEREMOTECLUSTERRESPONSE._serialized_end=1693 - _LISTCLUSTERSREQUEST._serialized_start=1695 - _LISTCLUSTERSREQUEST._serialized_end=1760 - _LISTCLUSTERSRESPONSE._serialized_start=1762 - _LISTCLUSTERSRESPONSE._serialized_end=1877 - _CLUSTERMETADATA._serialized_start=1880 - _CLUSTERMETADATA._serialized_end=2072 - _GETNEXUSENDPOINTREQUEST._serialized_start=2074 - _GETNEXUSENDPOINTREQUEST._serialized_end=2111 - _GETNEXUSENDPOINTRESPONSE._serialized_start=2113 - _GETNEXUSENDPOINTRESPONSE._serialized_end=2190 - _CREATENEXUSENDPOINTREQUEST._serialized_start=2192 - _CREATENEXUSENDPOINTREQUEST._serialized_end=2271 - _CREATENEXUSENDPOINTRESPONSE._serialized_start=2273 - _CREATENEXUSENDPOINTRESPONSE._serialized_end=2353 - _UPDATENEXUSENDPOINTREQUEST._serialized_start=2355 - _UPDATENEXUSENDPOINTREQUEST._serialized_end=2463 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start=2465 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end=2545 - _DELETENEXUSENDPOINTREQUEST._serialized_start=2547 - _DELETENEXUSENDPOINTREQUEST._serialized_end=2604 - _DELETENEXUSENDPOINTRESPONSE._serialized_start=2606 - _DELETENEXUSENDPOINTRESPONSE._serialized_end=2635 - _LISTNEXUSENDPOINTSREQUEST._serialized_start=2637 - _LISTNEXUSENDPOINTSREQUEST._serialized_end=2722 - _LISTNEXUSENDPOINTSRESPONSE._serialized_start=2724 - _LISTNEXUSENDPOINTSRESPONSE._serialized_end=2829 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b"8\001" + _ADDSEARCHATTRIBUTESREQUEST._serialized_start = 197 + _ADDSEARCHATTRIBUTESREQUEST._serialized_end = 452 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start = 356 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end = 452 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_start = 454 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_end = 483 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_start = 485 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_end = 562 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start = 564 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end = 596 + _LISTSEARCHATTRIBUTESREQUEST._serialized_start = 598 + _LISTSEARCHATTRIBUTESREQUEST._serialized_end = 646 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_start = 649 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_end = 1259 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start = 1011 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end = 1107 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start = 1109 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end = 1205 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start = 1207 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end = 1259 + _DELETENAMESPACEREQUEST._serialized_start = 1261 + _DELETENAMESPACEREQUEST._serialized_end = 1385 + _DELETENAMESPACERESPONSE._serialized_start = 1387 + _DELETENAMESPACERESPONSE._serialized_end = 1439 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start = 1442 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end = 1574 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start = 1576 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end = 1610 + _REMOVEREMOTECLUSTERREQUEST._serialized_start = 1612 + _REMOVEREMOTECLUSTERREQUEST._serialized_end = 1662 + _REMOVEREMOTECLUSTERRESPONSE._serialized_start = 1664 + _REMOVEREMOTECLUSTERRESPONSE._serialized_end = 1693 + _LISTCLUSTERSREQUEST._serialized_start = 1695 + _LISTCLUSTERSREQUEST._serialized_end = 1760 + _LISTCLUSTERSRESPONSE._serialized_start = 1762 + _LISTCLUSTERSRESPONSE._serialized_end = 1877 + _CLUSTERMETADATA._serialized_start = 1880 + _CLUSTERMETADATA._serialized_end = 2072 + _GETNEXUSENDPOINTREQUEST._serialized_start = 2074 + _GETNEXUSENDPOINTREQUEST._serialized_end = 2111 + _GETNEXUSENDPOINTRESPONSE._serialized_start = 2113 + _GETNEXUSENDPOINTRESPONSE._serialized_end = 2190 + _CREATENEXUSENDPOINTREQUEST._serialized_start = 2192 + _CREATENEXUSENDPOINTREQUEST._serialized_end = 2271 + _CREATENEXUSENDPOINTRESPONSE._serialized_start = 2273 + _CREATENEXUSENDPOINTRESPONSE._serialized_end = 2353 + _UPDATENEXUSENDPOINTREQUEST._serialized_start = 2355 + _UPDATENEXUSENDPOINTREQUEST._serialized_end = 2463 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 2465 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 2545 + _DELETENEXUSENDPOINTREQUEST._serialized_start = 2547 + _DELETENEXUSENDPOINTREQUEST._serialized_end = 2604 + _DELETENEXUSENDPOINTRESPONSE._serialized_start = 2606 + _DELETENEXUSENDPOINTRESPONSE._serialized_end = 2635 + _LISTNEXUSENDPOINTSREQUEST._serialized_start = 2637 + _LISTNEXUSENDPOINTSREQUEST._serialized_end = 2722 + _LISTNEXUSENDPOINTSRESPONSE._serialized_start = 2724 + _LISTNEXUSENDPOINTSRESPONSE._serialized_end = 2829 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.pyi b/temporalio/api/operatorservice/v1/request_response_pb2.pyi index 3f8715a26..e1043b5e1 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.enums.v1.common_pb2 import temporalio.api.nexus.v1.message_pb2 @@ -37,21 +40,36 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @property - def search_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ]: """Mapping between search attribute name and its IndexedValueType.""" namespace: builtins.str def __init__( self, *, - search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., + search_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ] + | None = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "search_attributes", b"search_attributes"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "search_attributes", b"search_attributes" + ], + ) -> None: ... global___AddSearchAttributesRequest = AddSearchAttributesRequest @@ -70,7 +88,9 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @property - def search_attributes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Search attribute names to delete.""" namespace: builtins.str def __init__( @@ -79,7 +99,12 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): search_attributes: collections.abc.Iterable[builtins.str] | None = ..., namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "search_attributes", b"search_attributes"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "search_attributes", b"search_attributes" + ], + ) -> None: ... global___RemoveSearchAttributesRequest = RemoveSearchAttributesRequest @@ -102,7 +127,9 @@ class ListSearchAttributesRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["namespace", b"namespace"] + ) -> None: ... global___ListSearchAttributesRequest = ListSearchAttributesRequest @@ -122,7 +149,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class SystemAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -137,7 +167,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class StorageSchemaEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -152,28 +185,58 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... CUSTOM_ATTRIBUTES_FIELD_NUMBER: builtins.int SYSTEM_ATTRIBUTES_FIELD_NUMBER: builtins.int STORAGE_SCHEMA_FIELD_NUMBER: builtins.int @property - def custom_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: + def custom_attributes( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ]: """Mapping between custom (user-registered) search attribute name to its IndexedValueType.""" @property - def system_attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: + def system_attributes( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ]: """Mapping between system (predefined) search attribute name to its IndexedValueType.""" @property - def storage_schema(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def storage_schema( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Mapping from the attribute name to the visibility storage native type.""" def __init__( self, *, - custom_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., - system_attributes: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., - storage_schema: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + custom_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ] + | None = ..., + system_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ] + | None = ..., + storage_schema: collections.abc.Mapping[builtins.str, builtins.str] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "custom_attributes", + b"custom_attributes", + "storage_schema", + b"storage_schema", + "system_attributes", + b"system_attributes", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["custom_attributes", b"custom_attributes", "storage_schema", b"storage_schema", "system_attributes", b"system_attributes"]) -> None: ... global___ListSearchAttributesResponse = ListSearchAttributesResponse @@ -198,8 +261,23 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): namespace_id: builtins.str = ..., namespace_delete_delay: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["namespace_delete_delay", b"namespace_delete_delay"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "namespace_delete_delay", b"namespace_delete_delay", "namespace_id", b"namespace_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "namespace_delete_delay", b"namespace_delete_delay" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "namespace_delete_delay", + b"namespace_delete_delay", + "namespace_id", + b"namespace_id", + ], + ) -> None: ... global___DeleteNamespaceRequest = DeleteNamespaceRequest @@ -214,7 +292,12 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): *, deleted_namespace: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deleted_namespace", b"deleted_namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deleted_namespace", b"deleted_namespace" + ], + ) -> None: ... global___DeleteNamespaceResponse = DeleteNamespaceResponse @@ -239,7 +322,17 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): enable_remote_cluster_connection: builtins.bool = ..., frontend_http_address: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["enable_remote_cluster_connection", b"enable_remote_cluster_connection", "frontend_address", b"frontend_address", "frontend_http_address", b"frontend_http_address"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "enable_remote_cluster_connection", + b"enable_remote_cluster_connection", + "frontend_address", + b"frontend_address", + "frontend_http_address", + b"frontend_http_address", + ], + ) -> None: ... global___AddOrUpdateRemoteClusterRequest = AddOrUpdateRemoteClusterRequest @@ -263,7 +356,9 @@ class RemoveRemoteClusterRequest(google.protobuf.message.Message): *, cluster_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] + ) -> None: ... global___RemoveRemoteClusterRequest = RemoveRemoteClusterRequest @@ -289,7 +384,12 @@ class ListClustersRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "page_size", b"page_size" + ], + ) -> None: ... global___ListClustersRequest = ListClustersRequest @@ -299,7 +399,11 @@ class ListClustersResponse(google.protobuf.message.Message): CLUSTERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClusterMetadata]: + def clusters( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ClusterMetadata + ]: """List of all cluster information""" next_page_token: builtins.bytes def __init__( @@ -308,7 +412,12 @@ class ListClustersResponse(google.protobuf.message.Message): clusters: collections.abc.Iterable[global___ClusterMetadata] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["clusters", b"clusters", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "clusters", b"clusters", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListClustersResponse = ListClustersResponse @@ -347,7 +456,25 @@ class ClusterMetadata(google.protobuf.message.Message): history_shard_count: builtins.int = ..., is_connection_enabled: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["address", b"address", "cluster_id", b"cluster_id", "cluster_name", b"cluster_name", "history_shard_count", b"history_shard_count", "http_address", b"http_address", "initial_failover_version", b"initial_failover_version", "is_connection_enabled", b"is_connection_enabled"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "address", + b"address", + "cluster_id", + b"cluster_id", + "cluster_name", + b"cluster_name", + "history_shard_count", + b"history_shard_count", + "http_address", + b"http_address", + "initial_failover_version", + b"initial_failover_version", + "is_connection_enabled", + b"is_connection_enabled", + ], + ) -> None: ... global___ClusterMetadata = ClusterMetadata @@ -362,7 +489,9 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["id", b"id"] + ) -> None: ... global___GetNexusEndpointRequest = GetNexusEndpointRequest @@ -377,8 +506,12 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> None: ... global___GetNexusEndpointResponse = GetNexusEndpointResponse @@ -394,8 +527,12 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): *, spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> None: ... global___CreateNexusEndpointRequest = CreateNexusEndpointRequest @@ -411,8 +548,12 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> None: ... global___CreateNexusEndpointResponse = CreateNexusEndpointResponse @@ -435,8 +576,15 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): version: builtins.int = ..., spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "spec", b"spec", "version", b"version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "id", b"id", "spec", b"spec", "version", b"version" + ], + ) -> None: ... global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest @@ -452,8 +600,12 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoint", b"endpoint"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + ) -> None: ... global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse @@ -472,7 +624,9 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): id: builtins.str = ..., version: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"] + ) -> None: ... global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest @@ -509,7 +663,17 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "name", + b"name", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + ], + ) -> None: ... global___ListNexusEndpointsRequest = ListNexusEndpointsRequest @@ -521,13 +685,25 @@ class ListNexusEndpointsResponse(google.protobuf.message.Message): next_page_token: builtins.bytes """Token for getting the next page.""" @property - def endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.nexus.v1.message_pb2.Endpoint]: ... + def endpoints( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.nexus.v1.message_pb2.Endpoint + ]: ... def __init__( self, *, next_page_token: builtins.bytes = ..., - endpoints: collections.abc.Iterable[temporalio.api.nexus.v1.message_pb2.Endpoint] | None = ..., + endpoints: collections.abc.Iterable[ + temporalio.api.nexus.v1.message_pb2.Endpoint + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "endpoints", b"endpoints", "next_page_token", b"next_page_token" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["endpoints", b"endpoints", "next_page_token", b"next_page_token"]) -> None: ... global___ListNexusEndpointsResponse = ListNexusEndpointsResponse diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py index 2daafffeb..bf947056a 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +import grpc diff --git a/temporalio/api/operatorservice/v1/service_pb2.py b/temporalio/api/operatorservice/v1/service_pb2.py index b400974af..1e016243a 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.py +++ b/temporalio/api/operatorservice/v1/service_pb2.py @@ -2,41 +2,57 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/service.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.operatorservice.v1 import request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from temporalio.api.operatorservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse\"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse\"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse\"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse\"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse\"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse\"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse\"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse\"A\x82\xd3\xe4\x93\x02;\"\x18/cluster/nexus/endpoints:\x01*Z\x1c\"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse\"Y\x82\xd3\xe4\x93\x02S\"$/cluster/nexus/endpoints/{id}/update:\x01*Z(\"#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n\"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse"A\x82\xd3\xe4\x93\x02;"\x18/cluster/nexus/endpoints:\x01*Z\x1c"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse"Y\x82\xd3\xe4\x93\x02S"$/cluster/nexus/endpoints/{id}/update:\x01*Z("#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' +) - -_OPERATORSERVICE = DESCRIPTOR.services_by_name['OperatorService'] +_OPERATORSERVICE = DESCRIPTOR.services_by_name["OperatorService"] if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _OPERATORSERVICE.methods_by_name['ListSearchAttributes']._options = None - _OPERATORSERVICE.methods_by_name['ListSearchAttributes']._serialized_options = b'\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes' - _OPERATORSERVICE.methods_by_name['GetNexusEndpoint']._options = None - _OPERATORSERVICE.methods_by_name['GetNexusEndpoint']._serialized_options = b'\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}' - _OPERATORSERVICE.methods_by_name['CreateNexusEndpoint']._options = None - _OPERATORSERVICE.methods_by_name['CreateNexusEndpoint']._serialized_options = b'\202\323\344\223\002;\"\030/cluster/nexus/endpoints:\001*Z\034\"\027/api/v1/nexus/endpoints:\001*' - _OPERATORSERVICE.methods_by_name['UpdateNexusEndpoint']._options = None - _OPERATORSERVICE.methods_by_name['UpdateNexusEndpoint']._serialized_options = b'\202\323\344\223\002S\"$/cluster/nexus/endpoints/{id}/update:\001*Z(\"#/api/v1/nexus/endpoints/{id}/update:\001*' - _OPERATORSERVICE.methods_by_name['DeleteNexusEndpoint']._options = None - _OPERATORSERVICE.methods_by_name['DeleteNexusEndpoint']._serialized_options = b'\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}' - _OPERATORSERVICE.methods_by_name['ListNexusEndpoints']._options = None - _OPERATORSERVICE.methods_by_name['ListNexusEndpoints']._serialized_options = b'\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints' - _OPERATORSERVICE._serialized_start=169 - _OPERATORSERVICE._serialized_end=2415 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _OPERATORSERVICE.methods_by_name["ListSearchAttributes"]._options = None + _OPERATORSERVICE.methods_by_name[ + "ListSearchAttributes" + ]._serialized_options = b"\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes" + _OPERATORSERVICE.methods_by_name["GetNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ + "GetNexusEndpoint" + ]._serialized_options = b"\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}" + _OPERATORSERVICE.methods_by_name["CreateNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ + "CreateNexusEndpoint" + ]._serialized_options = b'\202\323\344\223\002;"\030/cluster/nexus/endpoints:\001*Z\034"\027/api/v1/nexus/endpoints:\001*' + _OPERATORSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ + "UpdateNexusEndpoint" + ]._serialized_options = b'\202\323\344\223\002S"$/cluster/nexus/endpoints/{id}/update:\001*Z("#/api/v1/nexus/endpoints/{id}/update:\001*' + _OPERATORSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ + "DeleteNexusEndpoint" + ]._serialized_options = b"\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}" + _OPERATORSERVICE.methods_by_name["ListNexusEndpoints"]._options = None + _OPERATORSERVICE.methods_by_name[ + "ListNexusEndpoints" + ]._serialized_options = b"\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints" + _OPERATORSERVICE._serialized_start = 169 + _OPERATORSERVICE._serialized_end = 2415 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/service_pb2.pyi b/temporalio/api/operatorservice/v1/service_pb2.pyi index e08fa11c2..dd854e288 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.py b/temporalio/api/operatorservice/v1/service_pb2_grpc.py index 5b5e00ba7..9dff1e089 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.py @@ -1,8 +1,11 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" + import grpc -from temporalio.api.operatorservice.v1 import request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2 +from temporalio.api.operatorservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, +) class OperatorServiceStub(object): @@ -20,65 +23,65 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AddSearchAttributes = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, + ) self.RemoveSearchAttributes = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, + ) self.ListSearchAttributes = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, + ) self.DeleteNamespace = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, + ) self.AddOrUpdateRemoteCluster = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, + ) self.RemoveRemoteCluster = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, + ) self.ListClusters = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/ListClusters', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/ListClusters", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, + ) self.GetNexusEndpoint = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, + ) self.CreateNexusEndpoint = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, + ) self.UpdateNexusEndpoint = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, + ) self.DeleteNexusEndpoint = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, + ) self.ListNexusEndpoints = channel.unary_unary( - '/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints', - request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, - ) + "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", + request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, + ) class OperatorServiceServicer(object): @@ -96,8 +99,8 @@ def AddSearchAttributes(self, request, context): Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RemoveSearchAttributes(self, request, context): """RemoveSearchAttributes removes custom search attributes. @@ -105,50 +108,44 @@ def RemoveSearchAttributes(self, request, context): Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListSearchAttributes(self, request, context): - """ListSearchAttributes returns comprehensive information about search attributes. - """ + """ListSearchAttributes returns comprehensive information about search attributes.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteNamespace(self, request, context): - """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources. - """ + """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddOrUpdateRemoteCluster(self, request, context): - """AddOrUpdateRemoteCluster adds or updates remote cluster. - """ + """AddOrUpdateRemoteCluster adds or updates remote cluster.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RemoveRemoteCluster(self, request, context): - """RemoveRemoteCluster removes remote cluster. - """ + """RemoveRemoteCluster removes remote cluster.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListClusters(self, request, context): - """ListClusters returns information about Temporal clusters. - """ + """ListClusters returns information about Temporal clusters.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetNexusEndpoint(self, request, context): - """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates. - """ + """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateNexusEndpoint(self, request, context): """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of @@ -156,8 +153,8 @@ def CreateNexusEndpoint(self, request, context): Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateNexusEndpoint(self, request, context): """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or @@ -167,15 +164,14 @@ def UpdateNexusEndpoint(self, request, context): need to increment the version yourself. The server will increment the version for you after each update. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteNexusEndpoint(self, request, context): - """Delete an incoming Nexus service by ID. - """ + """Delete an incoming Nexus service by ID.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListNexusEndpoints(self, request, context): """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the @@ -184,79 +180,80 @@ def ListNexusEndpoints(self, request, context): earlier than the previous page's last endpoint's ID may be missed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_OperatorServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'AddSearchAttributes': grpc.unary_unary_rpc_method_handler( - servicer.AddSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.SerializeToString, - ), - 'RemoveSearchAttributes': grpc.unary_unary_rpc_method_handler( - servicer.RemoveSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.SerializeToString, - ), - 'ListSearchAttributes': grpc.unary_unary_rpc_method_handler( - servicer.ListSearchAttributes, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.SerializeToString, - ), - 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( - servicer.DeleteNamespace, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.SerializeToString, - ), - 'AddOrUpdateRemoteCluster': grpc.unary_unary_rpc_method_handler( - servicer.AddOrUpdateRemoteCluster, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.SerializeToString, - ), - 'RemoveRemoteCluster': grpc.unary_unary_rpc_method_handler( - servicer.RemoveRemoteCluster, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.SerializeToString, - ), - 'ListClusters': grpc.unary_unary_rpc_method_handler( - servicer.ListClusters, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.SerializeToString, - ), - 'GetNexusEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.GetNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.SerializeToString, - ), - 'CreateNexusEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.CreateNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.SerializeToString, - ), - 'UpdateNexusEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.SerializeToString, - ), - 'DeleteNexusEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.DeleteNexusEndpoint, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.SerializeToString, - ), - 'ListNexusEndpoints': grpc.unary_unary_rpc_method_handler( - servicer.ListNexusEndpoints, - request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.FromString, - response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.SerializeToString, - ), + "AddSearchAttributes": grpc.unary_unary_rpc_method_handler( + servicer.AddSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.SerializeToString, + ), + "RemoveSearchAttributes": grpc.unary_unary_rpc_method_handler( + servicer.RemoveSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.SerializeToString, + ), + "ListSearchAttributes": grpc.unary_unary_rpc_method_handler( + servicer.ListSearchAttributes, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.SerializeToString, + ), + "DeleteNamespace": grpc.unary_unary_rpc_method_handler( + servicer.DeleteNamespace, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.SerializeToString, + ), + "AddOrUpdateRemoteCluster": grpc.unary_unary_rpc_method_handler( + servicer.AddOrUpdateRemoteCluster, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.SerializeToString, + ), + "RemoveRemoteCluster": grpc.unary_unary_rpc_method_handler( + servicer.RemoveRemoteCluster, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.SerializeToString, + ), + "ListClusters": grpc.unary_unary_rpc_method_handler( + servicer.ListClusters, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.SerializeToString, + ), + "GetNexusEndpoint": grpc.unary_unary_rpc_method_handler( + servicer.GetNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.SerializeToString, + ), + "CreateNexusEndpoint": grpc.unary_unary_rpc_method_handler( + servicer.CreateNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.SerializeToString, + ), + "UpdateNexusEndpoint": grpc.unary_unary_rpc_method_handler( + servicer.UpdateNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.SerializeToString, + ), + "DeleteNexusEndpoint": grpc.unary_unary_rpc_method_handler( + servicer.DeleteNexusEndpoint, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.SerializeToString, + ), + "ListNexusEndpoints": grpc.unary_unary_rpc_method_handler( + servicer.ListNexusEndpoints, + request_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.FromString, + response_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'temporal.api.operatorservice.v1.OperatorService', rpc_method_handlers) + "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class OperatorService(object): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. @@ -266,205 +263,349 @@ class OperatorService(object): """ @staticmethod - def AddSearchAttributes(request, + def AddSearchAttributes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes', + "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RemoveSearchAttributes(request, + def RemoveSearchAttributes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes', + "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListSearchAttributes(request, + def ListSearchAttributes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes', + "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteNamespace(request, + def DeleteNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace', + "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def AddOrUpdateRemoteCluster(request, + def AddOrUpdateRemoteCluster( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster', + "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RemoveRemoteCluster(request, + def RemoveRemoteCluster( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster', + "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListClusters(request, + def ListClusters( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListClusters', + "/temporal.api.operatorservice.v1.OperatorService/ListClusters", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetNexusEndpoint(request, + def GetNexusEndpoint( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint', + "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def CreateNexusEndpoint(request, + def CreateNexusEndpoint( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint', + "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateNexusEndpoint(request, + def UpdateNexusEndpoint( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint', + "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteNexusEndpoint(request, + def DeleteNexusEndpoint( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint', + "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListNexusEndpoints(request, + def ListNexusEndpoints( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints', + "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi index 154cc6396..c24abb239 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi @@ -2,8 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import abc + import grpc + import temporalio.api.operatorservice.v1.request_response_pb2 class OperatorServiceStub: @@ -164,7 +167,9 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse: + ) -> ( + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse + ): """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" @abc.abstractmethod def CreateNexusEndpoint( @@ -207,4 +212,6 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): earlier than the previous page's last endpoint's ID may be missed. """ -def add_OperatorServiceServicer_to_server(servicer: OperatorServiceServicer, server: grpc.Server) -> None: ... +def add_OperatorServiceServicer_to_server( + servicer: OperatorServiceServicer, server: grpc.Server +) -> None: ... diff --git a/temporalio/api/protocol/v1/message_pb2.py b/temporalio/api/protocol/v1/message_pb2.py index 30fb50893..ac643ab35 100644 --- a/temporalio/api/protocol/v1/message_pb2.py +++ b/temporalio/api/protocol/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/protocol/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,23 +16,26 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto\"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12\"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3') - - - -_MESSAGE = DESCRIPTOR.message_types_by_name['Message'] -Message = _reflection.GeneratedProtocolMessageType('Message', (_message.Message,), { - 'DESCRIPTOR' : _MESSAGE, - '__module__' : 'temporal.api.protocol.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3' +) + + +_MESSAGE = DESCRIPTOR.message_types_by_name["Message"] +Message = _reflection.GeneratedProtocolMessageType( + "Message", + (_message.Message,), + { + "DESCRIPTOR": _MESSAGE, + "__module__": "temporal.api.protocol.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) + }, +) _sym_db.RegisterMessage(Message) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z\'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1' - _MESSAGE._serialized_start=96 - _MESSAGE._serialized_end=245 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" + _MESSAGE._serialized_start = 96 + _MESSAGE._serialized_end = 245 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protocol/v1/message_pb2.pyi b/temporalio/api/protocol/v1/message_pb2.pyi index ba622d77d..24034c89e 100644 --- a/temporalio/api/protocol/v1/message_pb2.pyi +++ b/temporalio/api/protocol/v1/message_pb2.pyi @@ -2,11 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -17,7 +19,7 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor class Message(google.protobuf.message.Message): """(-- api-linter: core::0146::any=disabled - aip.dev/not-precedent: We want runtime extensibility for the body field --) + aip.dev/not-precedent: We want runtime extensibility for the body field --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -49,8 +51,38 @@ class Message(google.protobuf.message.Message): command_index: builtins.int = ..., body: google.protobuf.any_pb2.Any | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "sequencing_id", b"sequencing_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "id", b"id", "protocol_instance_id", b"protocol_instance_id", "sequencing_id", b"sequencing_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"]) -> typing_extensions.Literal["event_id", "command_index"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "body", + b"body", + "command_index", + b"command_index", + "event_id", + b"event_id", + "sequencing_id", + b"sequencing_id", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "body", + b"body", + "command_index", + b"command_index", + "event_id", + b"event_id", + "id", + b"id", + "protocol_instance_id", + b"protocol_instance_id", + "sequencing_id", + b"sequencing_id", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"] + ) -> typing_extensions.Literal["event_id", "command_index"] | None: ... global___Message = Message diff --git a/temporalio/api/query/v1/__init__.py b/temporalio/api/query/v1/__init__.py index a880fc6ca..2fc1d283b 100644 --- a/temporalio/api/query/v1/__init__.py +++ b/temporalio/api/query/v1/__init__.py @@ -1,6 +1,4 @@ -from .message_pb2 import WorkflowQuery -from .message_pb2 import WorkflowQueryResult -from .message_pb2 import QueryRejected +from .message_pb2 import QueryRejected, WorkflowQuery, WorkflowQueryResult __all__ = [ "QueryRejected", diff --git a/temporalio/api/query/v1/message_pb2.py b/temporalio/api/query/v1/message_pb2.py index 648307921..805b30f7e 100644 --- a/temporalio/api/query/v1/message_pb2.py +++ b/temporalio/api/query/v1/message_pb2.py @@ -2,58 +2,79 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/query/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.enums.v1 import query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 - +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3' +) - -_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name['WorkflowQuery'] -_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name['WorkflowQueryResult'] -_QUERYREJECTED = DESCRIPTOR.message_types_by_name['QueryRejected'] -WorkflowQuery = _reflection.GeneratedProtocolMessageType('WorkflowQuery', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWQUERY, - '__module__' : 'temporal.api.query.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) - }) +_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name["WorkflowQuery"] +_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name["WorkflowQueryResult"] +_QUERYREJECTED = DESCRIPTOR.message_types_by_name["QueryRejected"] +WorkflowQuery = _reflection.GeneratedProtocolMessageType( + "WorkflowQuery", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWQUERY, + "__module__": "temporal.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) + }, +) _sym_db.RegisterMessage(WorkflowQuery) -WorkflowQueryResult = _reflection.GeneratedProtocolMessageType('WorkflowQueryResult', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWQUERYRESULT, - '__module__' : 'temporal.api.query.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) - }) +WorkflowQueryResult = _reflection.GeneratedProtocolMessageType( + "WorkflowQueryResult", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWQUERYRESULT, + "__module__": "temporal.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) + }, +) _sym_db.RegisterMessage(WorkflowQueryResult) -QueryRejected = _reflection.GeneratedProtocolMessageType('QueryRejected', (_message.Message,), { - 'DESCRIPTOR' : _QUERYREJECTED, - '__module__' : 'temporal.api.query.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) - }) +QueryRejected = _reflection.GeneratedProtocolMessageType( + "QueryRejected", + (_message.Message,), + { + "DESCRIPTOR": _QUERYREJECTED, + "__module__": "temporal.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) + }, +) _sym_db.RegisterMessage(QueryRejected) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1' - _WORKFLOWQUERY._serialized_start=213 - _WORKFLOWQUERY._serialized_end=350 - _WORKFLOWQUERYRESULT._serialized_start=353 - _WORKFLOWQUERYRESULT._serialized_end=559 - _QUERYREJECTED._serialized_start=561 - _QUERYREJECTED._serialized_end=640 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" + _WORKFLOWQUERY._serialized_start = 213 + _WORKFLOWQUERY._serialized_end = 350 + _WORKFLOWQUERYRESULT._serialized_start = 353 + _WORKFLOWQUERYRESULT._serialized_end = 559 + _QUERYREJECTED._serialized_start = 561 + _QUERYREJECTED._serialized_end = 640 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/query/v1/message_pb2.pyi b/temporalio/api/query/v1/message_pb2.pyi index 4755def20..199c51b9a 100644 --- a/temporalio/api/query/v1/message_pb2.pyi +++ b/temporalio/api/query/v1/message_pb2.pyi @@ -2,10 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.query_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -43,8 +46,23 @@ class WorkflowQuery(google.protobuf.message.Message): query_args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "query_args", b"query_args"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "query_args", b"query_args", "query_type", b"query_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", b"header", "query_args", b"query_args" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "query_args", + b"query_args", + "query_type", + b"query_type", + ], + ) -> None: ... global___WorkflowQuery = WorkflowQuery @@ -82,8 +100,25 @@ class WorkflowQueryResult(google.protobuf.message.Message): error_message: builtins.str = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["answer", b"answer", "failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["answer", b"answer", "error_message", b"error_message", "failure", b"failure", "result_type", b"result_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "answer", b"answer", "failure", b"failure" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "answer", + b"answer", + "error_message", + b"error_message", + "failure", + b"failure", + "result_type", + b"result_type", + ], + ) -> None: ... global___WorkflowQueryResult = WorkflowQueryResult @@ -97,6 +132,8 @@ class QueryRejected(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] + ) -> None: ... global___QueryRejected = QueryRejected diff --git a/temporalio/api/replication/v1/__init__.py b/temporalio/api/replication/v1/__init__.py index 25d193971..0c97f5f9b 100644 --- a/temporalio/api/replication/v1/__init__.py +++ b/temporalio/api/replication/v1/__init__.py @@ -1,6 +1,8 @@ -from .message_pb2 import ClusterReplicationConfig -from .message_pb2 import NamespaceReplicationConfig -from .message_pb2 import FailoverStatus +from .message_pb2 import ( + ClusterReplicationConfig, + FailoverStatus, + NamespaceReplicationConfig, +) __all__ = [ "ClusterReplicationConfig", diff --git a/temporalio/api/replication/v1/message_pb2.py b/temporalio/api/replication/v1/message_pb2.py index 9f86d2632..7b5a4a158 100644 --- a/temporalio/api/replication/v1/message_pb2.py +++ b/temporalio/api/replication/v1/message_pb2.py @@ -2,56 +2,74 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/replication/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState\"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3' +) - -_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name['ClusterReplicationConfig'] -_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name['NamespaceReplicationConfig'] -_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name['FailoverStatus'] -ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType('ClusterReplicationConfig', (_message.Message,), { - 'DESCRIPTOR' : _CLUSTERREPLICATIONCONFIG, - '__module__' : 'temporal.api.replication.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) - }) +_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name["ClusterReplicationConfig"] +_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name[ + "NamespaceReplicationConfig" +] +_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name["FailoverStatus"] +ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType( + "ClusterReplicationConfig", + (_message.Message,), + { + "DESCRIPTOR": _CLUSTERREPLICATIONCONFIG, + "__module__": "temporal.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) + }, +) _sym_db.RegisterMessage(ClusterReplicationConfig) -NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType('NamespaceReplicationConfig', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEREPLICATIONCONFIG, - '__module__' : 'temporal.api.replication.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) - }) +NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType( + "NamespaceReplicationConfig", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEREPLICATIONCONFIG, + "__module__": "temporal.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) + }, +) _sym_db.RegisterMessage(NamespaceReplicationConfig) -FailoverStatus = _reflection.GeneratedProtocolMessageType('FailoverStatus', (_message.Message,), { - 'DESCRIPTOR' : _FAILOVERSTATUS, - '__module__' : 'temporal.api.replication.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) - }) +FailoverStatus = _reflection.GeneratedProtocolMessageType( + "FailoverStatus", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERSTATUS, + "__module__": "temporal.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) + }, +) _sym_db.RegisterMessage(FailoverStatus) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1' - _CLUSTERREPLICATIONCONFIG._serialized_start=146 - _CLUSTERREPLICATIONCONFIG._serialized_end=194 - _NAMESPACEREPLICATIONCONFIG._serialized_start=197 - _NAMESPACEREPLICATIONCONFIG._serialized_end=383 - _FAILOVERSTATUS._serialized_start=385 - _FAILOVERSTATUS._serialized_end=478 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" + _CLUSTERREPLICATIONCONFIG._serialized_start = 146 + _CLUSTERREPLICATIONCONFIG._serialized_end = 194 + _NAMESPACEREPLICATIONCONFIG._serialized_start = 197 + _NAMESPACEREPLICATIONCONFIG._serialized_end = 383 + _FAILOVERSTATUS._serialized_start = 385 + _FAILOVERSTATUS._serialized_end = 478 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/replication/v1/message_pb2.pyi b/temporalio/api/replication/v1/message_pb2.pyi index 9e3143eaf..e6f04334f 100644 --- a/temporalio/api/replication/v1/message_pb2.pyi +++ b/temporalio/api/replication/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.enums.v1.namespace_pb2 if sys.version_info >= (3, 8): @@ -28,7 +31,9 @@ class ClusterReplicationConfig(google.protobuf.message.Message): *, cluster_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] + ) -> None: ... global___ClusterReplicationConfig = ClusterReplicationConfig @@ -40,16 +45,31 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): STATE_FIELD_NUMBER: builtins.int active_cluster_name: builtins.str @property - def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClusterReplicationConfig]: ... + def clusters( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ClusterReplicationConfig + ]: ... state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType def __init__( self, *, active_cluster_name: builtins.str = ..., - clusters: collections.abc.Iterable[global___ClusterReplicationConfig] | None = ..., + clusters: collections.abc.Iterable[global___ClusterReplicationConfig] + | None = ..., state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["active_cluster_name", b"active_cluster_name", "clusters", b"clusters", "state", b"state"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "active_cluster_name", + b"active_cluster_name", + "clusters", + b"clusters", + "state", + b"state", + ], + ) -> None: ... global___NamespaceReplicationConfig = NamespaceReplicationConfig @@ -70,7 +90,14 @@ class FailoverStatus(google.protobuf.message.Message): failover_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., failover_version: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failover_time", b"failover_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failover_time", b"failover_time", "failover_version", b"failover_version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failover_time", b"failover_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failover_time", b"failover_time", "failover_version", b"failover_version" + ], + ) -> None: ... global___FailoverStatus = FailoverStatus diff --git a/temporalio/api/rules/v1/__init__.py b/temporalio/api/rules/v1/__init__.py index 2b140586b..b48e5b2bd 100644 --- a/temporalio/api/rules/v1/__init__.py +++ b/temporalio/api/rules/v1/__init__.py @@ -1,6 +1,4 @@ -from .message_pb2 import WorkflowRuleAction -from .message_pb2 import WorkflowRuleSpec -from .message_pb2 import WorkflowRule +from .message_pb2 import WorkflowRule, WorkflowRuleAction, WorkflowRuleSpec __all__ = [ "WorkflowRule", diff --git a/temporalio/api/rules/v1/message_pb2.py b/temporalio/api/rules/v1/message_pb2.py index a8d49fbc7..ce46e1684 100644 --- a/temporalio/api/rules/v1/message_pb2.py +++ b/temporalio/api/rules/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/rules/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,65 +16,84 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant\"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger\"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3') - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3' +) -_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name['WorkflowRuleAction'] -_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name['ActionActivityPause'] -_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name['WorkflowRuleSpec'] -_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name['ActivityStartingTrigger'] -_WORKFLOWRULE = DESCRIPTOR.message_types_by_name['WorkflowRule'] -WorkflowRuleAction = _reflection.GeneratedProtocolMessageType('WorkflowRuleAction', (_message.Message,), { - - 'ActionActivityPause' : _reflection.GeneratedProtocolMessageType('ActionActivityPause', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, - '__module__' : 'temporal.api.rules.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) - }) - , - 'DESCRIPTOR' : _WORKFLOWRULEACTION, - '__module__' : 'temporal.api.rules.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) - }) +_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name["WorkflowRuleAction"] +_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name[ + "ActionActivityPause" +] +_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name["WorkflowRuleSpec"] +_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name[ + "ActivityStartingTrigger" +] +_WORKFLOWRULE = DESCRIPTOR.message_types_by_name["WorkflowRule"] +WorkflowRuleAction = _reflection.GeneratedProtocolMessageType( + "WorkflowRuleAction", + (_message.Message,), + { + "ActionActivityPause": _reflection.GeneratedProtocolMessageType( + "ActionActivityPause", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, + "__module__": "temporal.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) + }, + ), + "DESCRIPTOR": _WORKFLOWRULEACTION, + "__module__": "temporal.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) + }, +) _sym_db.RegisterMessage(WorkflowRuleAction) _sym_db.RegisterMessage(WorkflowRuleAction.ActionActivityPause) -WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType('WorkflowRuleSpec', (_message.Message,), { - - 'ActivityStartingTrigger' : _reflection.GeneratedProtocolMessageType('ActivityStartingTrigger', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, - '__module__' : 'temporal.api.rules.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) - }) - , - 'DESCRIPTOR' : _WORKFLOWRULESPEC, - '__module__' : 'temporal.api.rules.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) - }) +WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType( + "WorkflowRuleSpec", + (_message.Message,), + { + "ActivityStartingTrigger": _reflection.GeneratedProtocolMessageType( + "ActivityStartingTrigger", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, + "__module__": "temporal.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) + }, + ), + "DESCRIPTOR": _WORKFLOWRULESPEC, + "__module__": "temporal.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) + }, +) _sym_db.RegisterMessage(WorkflowRuleSpec) _sym_db.RegisterMessage(WorkflowRuleSpec.ActivityStartingTrigger) -WorkflowRule = _reflection.GeneratedProtocolMessageType('WorkflowRule', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWRULE, - '__module__' : 'temporal.api.rules.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) - }) +WorkflowRule = _reflection.GeneratedProtocolMessageType( + "WorkflowRule", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULE, + "__module__": "temporal.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) + }, +) _sym_db.RegisterMessage(WorkflowRule) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1' - _WORKFLOWRULEACTION._serialized_start=96 - _WORKFLOWRULEACTION._serialized_end=239 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start=207 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end=228 - _WORKFLOWRULESPEC._serialized_start=242 - _WORKFLOWRULESPEC._serialized_end=559 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start=504 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end=548 - _WORKFLOWRULE._serialized_start=562 - _WORKFLOWRULE._serialized_end=730 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" + _WORKFLOWRULEACTION._serialized_start = 96 + _WORKFLOWRULEACTION._serialized_end = 239 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start = 207 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end = 228 + _WORKFLOWRULESPEC._serialized_start = 242 + _WORKFLOWRULESPEC._serialized_end = 559 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start = 504 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end = 548 + _WORKFLOWRULE._serialized_start = 562 + _WORKFLOWRULE._serialized_end = 730 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/rules/v1/message_pb2.pyi b/temporalio/api/rules/v1/message_pb2.pyi index 38ccbc933..ef036f554 100644 --- a/temporalio/api/rules/v1/message_pb2.pyi +++ b/temporalio/api/rules/v1/message_pb2.pyi @@ -2,13 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -35,9 +37,21 @@ class WorkflowRuleAction(google.protobuf.message.Message): *, activity_pause: global___WorkflowRuleAction.ActionActivityPause | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_pause", b"activity_pause", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_pause", b"activity_pause", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["activity_pause"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_pause", b"activity_pause", "variant", b"variant" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_pause", b"activity_pause", "variant", b"variant" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["activity_pause"] | None: ... global___WorkflowRuleAction = WorkflowRuleAction @@ -71,7 +85,9 @@ class WorkflowRuleSpec(google.protobuf.message.Message): *, predicate: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["predicate", b"predicate"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["predicate", b"predicate"] + ) -> None: ... ID_FIELD_NUMBER: builtins.int ACTIVITY_START_FIELD_NUMBER: builtins.int @@ -95,7 +111,11 @@ class WorkflowRuleSpec(google.protobuf.message.Message): - ExecutionStatus """ @property - def actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowRuleAction]: + def actions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowRuleAction + ]: """WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.""" @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -111,9 +131,37 @@ class WorkflowRuleSpec(google.protobuf.message.Message): actions: collections.abc.Iterable[global___WorkflowRuleAction] | None = ..., expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_start", b"activity_start", "expiration_time", b"expiration_time", "trigger", b"trigger"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["actions", b"actions", "activity_start", b"activity_start", "expiration_time", b"expiration_time", "id", b"id", "trigger", b"trigger", "visibility_query", b"visibility_query"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["trigger", b"trigger"]) -> typing_extensions.Literal["activity_start"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_start", + b"activity_start", + "expiration_time", + b"expiration_time", + "trigger", + b"trigger", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "actions", + b"actions", + "activity_start", + b"activity_start", + "expiration_time", + b"expiration_time", + "id", + b"id", + "trigger", + b"trigger", + "visibility_query", + b"visibility_query", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["trigger", b"trigger"] + ) -> typing_extensions.Literal["activity_start"] | None: ... global___WorkflowRuleSpec = WorkflowRuleSpec @@ -149,7 +197,24 @@ class WorkflowRule(google.protobuf.message.Message): created_by_identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "created_by_identity", b"created_by_identity", "description", b"description", "spec", b"spec"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "spec", b"spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "created_by_identity", + b"created_by_identity", + "description", + b"description", + "spec", + b"spec", + ], + ) -> None: ... global___WorkflowRule = WorkflowRule diff --git a/temporalio/api/schedule/v1/__init__.py b/temporalio/api/schedule/v1/__init__.py index f4761acfe..ad891bc99 100644 --- a/temporalio/api/schedule/v1/__init__.py +++ b/temporalio/api/schedule/v1/__init__.py @@ -1,19 +1,21 @@ -from .message_pb2 import CalendarSpec -from .message_pb2 import Range -from .message_pb2 import StructuredCalendarSpec -from .message_pb2 import IntervalSpec -from .message_pb2 import ScheduleSpec -from .message_pb2 import SchedulePolicies -from .message_pb2 import ScheduleAction -from .message_pb2 import ScheduleActionResult -from .message_pb2 import ScheduleState -from .message_pb2 import TriggerImmediatelyRequest -from .message_pb2 import BackfillRequest -from .message_pb2 import SchedulePatch -from .message_pb2 import ScheduleInfo -from .message_pb2 import Schedule -from .message_pb2 import ScheduleListInfo -from .message_pb2 import ScheduleListEntry +from .message_pb2 import ( + BackfillRequest, + CalendarSpec, + IntervalSpec, + Range, + Schedule, + ScheduleAction, + ScheduleActionResult, + ScheduleInfo, + ScheduleListEntry, + ScheduleListInfo, + SchedulePatch, + SchedulePolicies, + ScheduleSpec, + ScheduleState, + StructuredCalendarSpec, + TriggerImmediatelyRequest, +) __all__ = [ "BackfillRequest", diff --git a/temporalio/api/schedule/v1/message_pb2.py b/temporalio/api/schedule/v1/message_pb2.py index 10b5cbade..6180b37f9 100644 --- a/temporalio/api/schedule/v1/message_pb2.py +++ b/temporalio/api/schedule/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/schedule/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,182 +16,258 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import schedule_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_schedule__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto\"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05\"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c\"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08\"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion\"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03\"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t\"\xd6\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01\"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState\"\xa5\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3') - - - -_CALENDARSPEC = DESCRIPTOR.message_types_by_name['CalendarSpec'] -_RANGE = DESCRIPTOR.message_types_by_name['Range'] -_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name['StructuredCalendarSpec'] -_INTERVALSPEC = DESCRIPTOR.message_types_by_name['IntervalSpec'] -_SCHEDULESPEC = DESCRIPTOR.message_types_by_name['ScheduleSpec'] -_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name['SchedulePolicies'] -_SCHEDULEACTION = DESCRIPTOR.message_types_by_name['ScheduleAction'] -_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name['ScheduleActionResult'] -_SCHEDULESTATE = DESCRIPTOR.message_types_by_name['ScheduleState'] -_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name['TriggerImmediatelyRequest'] -_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name['BackfillRequest'] -_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name['SchedulePatch'] -_SCHEDULEINFO = DESCRIPTOR.message_types_by_name['ScheduleInfo'] -_SCHEDULE = DESCRIPTOR.message_types_by_name['Schedule'] -_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name['ScheduleListInfo'] -_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name['ScheduleListEntry'] -CalendarSpec = _reflection.GeneratedProtocolMessageType('CalendarSpec', (_message.Message,), { - 'DESCRIPTOR' : _CALENDARSPEC, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + schedule_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_schedule__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t"\xd6\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState"\xa5\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3' +) + + +_CALENDARSPEC = DESCRIPTOR.message_types_by_name["CalendarSpec"] +_RANGE = DESCRIPTOR.message_types_by_name["Range"] +_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name["StructuredCalendarSpec"] +_INTERVALSPEC = DESCRIPTOR.message_types_by_name["IntervalSpec"] +_SCHEDULESPEC = DESCRIPTOR.message_types_by_name["ScheduleSpec"] +_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name["SchedulePolicies"] +_SCHEDULEACTION = DESCRIPTOR.message_types_by_name["ScheduleAction"] +_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name["ScheduleActionResult"] +_SCHEDULESTATE = DESCRIPTOR.message_types_by_name["ScheduleState"] +_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name[ + "TriggerImmediatelyRequest" +] +_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name["BackfillRequest"] +_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name["SchedulePatch"] +_SCHEDULEINFO = DESCRIPTOR.message_types_by_name["ScheduleInfo"] +_SCHEDULE = DESCRIPTOR.message_types_by_name["Schedule"] +_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name["ScheduleListInfo"] +_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name["ScheduleListEntry"] +CalendarSpec = _reflection.GeneratedProtocolMessageType( + "CalendarSpec", + (_message.Message,), + { + "DESCRIPTOR": _CALENDARSPEC, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) + }, +) _sym_db.RegisterMessage(CalendarSpec) -Range = _reflection.GeneratedProtocolMessageType('Range', (_message.Message,), { - 'DESCRIPTOR' : _RANGE, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) - }) +Range = _reflection.GeneratedProtocolMessageType( + "Range", + (_message.Message,), + { + "DESCRIPTOR": _RANGE, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) + }, +) _sym_db.RegisterMessage(Range) -StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType('StructuredCalendarSpec', (_message.Message,), { - 'DESCRIPTOR' : _STRUCTUREDCALENDARSPEC, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) - }) +StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType( + "StructuredCalendarSpec", + (_message.Message,), + { + "DESCRIPTOR": _STRUCTUREDCALENDARSPEC, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) + }, +) _sym_db.RegisterMessage(StructuredCalendarSpec) -IntervalSpec = _reflection.GeneratedProtocolMessageType('IntervalSpec', (_message.Message,), { - 'DESCRIPTOR' : _INTERVALSPEC, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) - }) +IntervalSpec = _reflection.GeneratedProtocolMessageType( + "IntervalSpec", + (_message.Message,), + { + "DESCRIPTOR": _INTERVALSPEC, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) + }, +) _sym_db.RegisterMessage(IntervalSpec) -ScheduleSpec = _reflection.GeneratedProtocolMessageType('ScheduleSpec', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULESPEC, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) - }) +ScheduleSpec = _reflection.GeneratedProtocolMessageType( + "ScheduleSpec", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULESPEC, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) + }, +) _sym_db.RegisterMessage(ScheduleSpec) -SchedulePolicies = _reflection.GeneratedProtocolMessageType('SchedulePolicies', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEPOLICIES, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) - }) +SchedulePolicies = _reflection.GeneratedProtocolMessageType( + "SchedulePolicies", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEPOLICIES, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) + }, +) _sym_db.RegisterMessage(SchedulePolicies) -ScheduleAction = _reflection.GeneratedProtocolMessageType('ScheduleAction', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEACTION, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) - }) +ScheduleAction = _reflection.GeneratedProtocolMessageType( + "ScheduleAction", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTION, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) + }, +) _sym_db.RegisterMessage(ScheduleAction) -ScheduleActionResult = _reflection.GeneratedProtocolMessageType('ScheduleActionResult', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEACTIONRESULT, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) - }) +ScheduleActionResult = _reflection.GeneratedProtocolMessageType( + "ScheduleActionResult", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIONRESULT, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) + }, +) _sym_db.RegisterMessage(ScheduleActionResult) -ScheduleState = _reflection.GeneratedProtocolMessageType('ScheduleState', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULESTATE, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) - }) +ScheduleState = _reflection.GeneratedProtocolMessageType( + "ScheduleState", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULESTATE, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) + }, +) _sym_db.RegisterMessage(ScheduleState) -TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType('TriggerImmediatelyRequest', (_message.Message,), { - 'DESCRIPTOR' : _TRIGGERIMMEDIATELYREQUEST, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) - }) +TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType( + "TriggerImmediatelyRequest", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERIMMEDIATELYREQUEST, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) + }, +) _sym_db.RegisterMessage(TriggerImmediatelyRequest) -BackfillRequest = _reflection.GeneratedProtocolMessageType('BackfillRequest', (_message.Message,), { - 'DESCRIPTOR' : _BACKFILLREQUEST, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) - }) +BackfillRequest = _reflection.GeneratedProtocolMessageType( + "BackfillRequest", + (_message.Message,), + { + "DESCRIPTOR": _BACKFILLREQUEST, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) + }, +) _sym_db.RegisterMessage(BackfillRequest) -SchedulePatch = _reflection.GeneratedProtocolMessageType('SchedulePatch', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEPATCH, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) - }) +SchedulePatch = _reflection.GeneratedProtocolMessageType( + "SchedulePatch", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEPATCH, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) + }, +) _sym_db.RegisterMessage(SchedulePatch) -ScheduleInfo = _reflection.GeneratedProtocolMessageType('ScheduleInfo', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEINFO, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) - }) +ScheduleInfo = _reflection.GeneratedProtocolMessageType( + "ScheduleInfo", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEINFO, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) + }, +) _sym_db.RegisterMessage(ScheduleInfo) -Schedule = _reflection.GeneratedProtocolMessageType('Schedule', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULE, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) - }) +Schedule = _reflection.GeneratedProtocolMessageType( + "Schedule", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULE, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) + }, +) _sym_db.RegisterMessage(Schedule) -ScheduleListInfo = _reflection.GeneratedProtocolMessageType('ScheduleListInfo', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULELISTINFO, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) - }) +ScheduleListInfo = _reflection.GeneratedProtocolMessageType( + "ScheduleListInfo", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELISTINFO, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) + }, +) _sym_db.RegisterMessage(ScheduleListInfo) -ScheduleListEntry = _reflection.GeneratedProtocolMessageType('ScheduleListEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULELISTENTRY, - '__module__' : 'temporal.api.schedule.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) - }) +ScheduleListEntry = _reflection.GeneratedProtocolMessageType( + "ScheduleListEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELISTENTRY, + "__module__": "temporal.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) + }, +) _sym_db.RegisterMessage(ScheduleListEntry) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z\'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1' - _SCHEDULESPEC.fields_by_name['exclude_calendar']._options = None - _SCHEDULESPEC.fields_by_name['exclude_calendar']._serialized_options = b'\030\001' - _SCHEDULEINFO.fields_by_name['invalid_schedule_error']._options = None - _SCHEDULEINFO.fields_by_name['invalid_schedule_error']._serialized_options = b'\030\001' - _CALENDARSPEC._serialized_start=288 - _CALENDARSPEC._serialized_end=437 - _RANGE._serialized_start=439 - _RANGE._serialized_end=488 - _STRUCTUREDCALENDARSPEC._serialized_start=491 - _STRUCTUREDCALENDARSPEC._serialized_end=881 - _INTERVALSPEC._serialized_start=883 - _INTERVALSPEC._serialized_end=984 - _SCHEDULESPEC._serialized_start=987 - _SCHEDULESPEC._serialized_end=1557 - _SCHEDULEPOLICIES._serialized_start=1560 - _SCHEDULEPOLICIES._serialized_end=1760 - _SCHEDULEACTION._serialized_start=1762 - _SCHEDULEACTION._serialized_end=1866 - _SCHEDULEACTIONRESULT._serialized_start=1869 - _SCHEDULEACTIONRESULT._serialized_end=2144 - _SCHEDULESTATE._serialized_start=2146 - _SCHEDULESTATE._serialized_end=2244 - _TRIGGERIMMEDIATELYREQUEST._serialized_start=2247 - _TRIGGERIMMEDIATELYREQUEST._serialized_end=2396 - _BACKFILLREQUEST._serialized_start=2399 - _BACKFILLREQUEST._serialized_end=2580 - _SCHEDULEPATCH._serialized_start=2583 - _SCHEDULEPATCH._serialized_end=2781 - _SCHEDULEINFO._serialized_start=2784 - _SCHEDULEINFO._serialized_end=3254 - _SCHEDULE._serialized_start=3257 - _SCHEDULE._serialized_end=3497 - _SCHEDULELISTINFO._serialized_start=3500 - _SCHEDULELISTINFO._serialized_end=3793 - _SCHEDULELISTENTRY._serialized_start=3796 - _SCHEDULELISTENTRY._serialized_end=4007 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" + _SCHEDULESPEC.fields_by_name["exclude_calendar"]._options = None + _SCHEDULESPEC.fields_by_name["exclude_calendar"]._serialized_options = b"\030\001" + _SCHEDULEINFO.fields_by_name["invalid_schedule_error"]._options = None + _SCHEDULEINFO.fields_by_name[ + "invalid_schedule_error" + ]._serialized_options = b"\030\001" + _CALENDARSPEC._serialized_start = 288 + _CALENDARSPEC._serialized_end = 437 + _RANGE._serialized_start = 439 + _RANGE._serialized_end = 488 + _STRUCTUREDCALENDARSPEC._serialized_start = 491 + _STRUCTUREDCALENDARSPEC._serialized_end = 881 + _INTERVALSPEC._serialized_start = 883 + _INTERVALSPEC._serialized_end = 984 + _SCHEDULESPEC._serialized_start = 987 + _SCHEDULESPEC._serialized_end = 1557 + _SCHEDULEPOLICIES._serialized_start = 1560 + _SCHEDULEPOLICIES._serialized_end = 1760 + _SCHEDULEACTION._serialized_start = 1762 + _SCHEDULEACTION._serialized_end = 1866 + _SCHEDULEACTIONRESULT._serialized_start = 1869 + _SCHEDULEACTIONRESULT._serialized_end = 2144 + _SCHEDULESTATE._serialized_start = 2146 + _SCHEDULESTATE._serialized_end = 2244 + _TRIGGERIMMEDIATELYREQUEST._serialized_start = 2247 + _TRIGGERIMMEDIATELYREQUEST._serialized_end = 2396 + _BACKFILLREQUEST._serialized_start = 2399 + _BACKFILLREQUEST._serialized_end = 2580 + _SCHEDULEPATCH._serialized_start = 2583 + _SCHEDULEPATCH._serialized_end = 2781 + _SCHEDULEINFO._serialized_start = 2784 + _SCHEDULEINFO._serialized_end = 3254 + _SCHEDULE._serialized_start = 3257 + _SCHEDULE._serialized_end = 3497 + _SCHEDULELISTINFO._serialized_start = 3500 + _SCHEDULELISTINFO._serialized_end = 3793 + _SCHEDULELISTENTRY._serialized_start = 3796 + _SCHEDULELISTENTRY._serialized_end = 4007 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/schedule/v1/message_pb2.pyi b/temporalio/api/schedule/v1/message_pb2.pyi index dbeb7629c..b7a65ad0f 100644 --- a/temporalio/api/schedule/v1/message_pb2.pyi +++ b/temporalio/api/schedule/v1/message_pb2.pyi @@ -6,14 +6,17 @@ isort:skip_file (-- api-linter: core::0203::input-only=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.schedule_pb2 import temporalio.api.enums.v1.workflow_pb2 @@ -88,7 +91,27 @@ class CalendarSpec(google.protobuf.message.Message): day_of_week: builtins.str = ..., comment: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["comment", b"comment", "day_of_month", b"day_of_month", "day_of_week", b"day_of_week", "hour", b"hour", "minute", b"minute", "month", b"month", "second", b"second", "year", b"year"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "comment", + b"comment", + "day_of_month", + b"day_of_month", + "day_of_week", + b"day_of_week", + "hour", + b"hour", + "minute", + b"minute", + "month", + b"month", + "second", + b"second", + "year", + b"year", + ], + ) -> None: ... global___CalendarSpec = CalendarSpec @@ -117,7 +140,12 @@ class Range(google.protobuf.message.Message): end: builtins.int = ..., step: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["end", b"end", "start", b"start", "step", b"step"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end", b"end", "start", b"start", "step", b"step" + ], + ) -> None: ... global___Range = Range @@ -144,28 +172,56 @@ class StructuredCalendarSpec(google.protobuf.message.Message): DAY_OF_WEEK_FIELD_NUMBER: builtins.int COMMENT_FIELD_NUMBER: builtins.int @property - def second(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def second( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match seconds (0-59)""" @property - def minute(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def minute( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match minutes (0-59)""" @property - def hour(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def hour( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match hours (0-23)""" @property - def day_of_month(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def day_of_month( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match days of the month (1-31) (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: standard name of field --) """ @property - def month(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def month( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match months (1-12)""" @property - def year(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def year( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match years.""" @property - def day_of_week(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: + def day_of_week( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Range + ]: """Match days of the week (0-6; 0 is Sunday).""" comment: builtins.str """Free-form comment describing the intention of this spec.""" @@ -181,7 +237,27 @@ class StructuredCalendarSpec(google.protobuf.message.Message): day_of_week: collections.abc.Iterable[global___Range] | None = ..., comment: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["comment", b"comment", "day_of_month", b"day_of_month", "day_of_week", b"day_of_week", "hour", b"hour", "minute", b"minute", "month", b"month", "second", b"second", "year", b"year"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "comment", + b"comment", + "day_of_month", + b"day_of_month", + "day_of_week", + b"day_of_week", + "hour", + b"hour", + "minute", + b"minute", + "month", + b"month", + "second", + b"second", + "year", + b"year", + ], + ) -> None: ... global___StructuredCalendarSpec = StructuredCalendarSpec @@ -213,8 +289,18 @@ class IntervalSpec(google.protobuf.message.Message): interval: google.protobuf.duration_pb2.Duration | None = ..., phase: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["interval", b"interval", "phase", b"phase"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["interval", b"interval", "phase", b"phase"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "interval", b"interval", "phase", b"phase" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "interval", b"interval", "phase", b"phase" + ], + ) -> None: ... global___IntervalSpec = IntervalSpec @@ -253,10 +339,16 @@ class ScheduleSpec(google.protobuf.message.Message): TIMEZONE_NAME_FIELD_NUMBER: builtins.int TIMEZONE_DATA_FIELD_NUMBER: builtins.int @property - def structured_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StructuredCalendarSpec]: + def structured_calendar( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___StructuredCalendarSpec + ]: """Calendar-based specifications of times.""" @property - def cron_string(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def cron_string( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. @@ -279,18 +371,34 @@ class ScheduleSpec(google.protobuf.message.Message): with a unit suffix s, m, h, or d. """ @property - def calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CalendarSpec]: + def calendar( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___CalendarSpec + ]: """Calendar-based specifications of times.""" @property - def interval(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___IntervalSpec]: + def interval( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___IntervalSpec + ]: """Interval-based specifications of times.""" @property - def exclude_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CalendarSpec]: + def exclude_calendar( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___CalendarSpec + ]: """Any timestamps matching any of exclude_* will be skipped. Deprecated. Use exclude_structured_calendar. """ @property - def exclude_structured_calendar(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StructuredCalendarSpec]: ... + def exclude_structured_calendar( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___StructuredCalendarSpec + ]: ... @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If start_time is set, any timestamps before start_time will be skipped. @@ -332,20 +440,55 @@ class ScheduleSpec(google.protobuf.message.Message): def __init__( self, *, - structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] | None = ..., + structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] + | None = ..., cron_string: collections.abc.Iterable[builtins.str] | None = ..., calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., interval: collections.abc.Iterable[global___IntervalSpec] | None = ..., exclude_calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., - exclude_structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] | None = ..., + exclude_structured_calendar: collections.abc.Iterable[ + global___StructuredCalendarSpec + ] + | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., timezone_name: builtins.str = ..., timezone_data: builtins.bytes = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["calendar", b"calendar", "cron_string", b"cron_string", "end_time", b"end_time", "exclude_calendar", b"exclude_calendar", "exclude_structured_calendar", b"exclude_structured_calendar", "interval", b"interval", "jitter", b"jitter", "start_time", b"start_time", "structured_calendar", b"structured_calendar", "timezone_data", b"timezone_data", "timezone_name", b"timezone_name"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "calendar", + b"calendar", + "cron_string", + b"cron_string", + "end_time", + b"end_time", + "exclude_calendar", + b"exclude_calendar", + "exclude_structured_calendar", + b"exclude_structured_calendar", + "interval", + b"interval", + "jitter", + b"jitter", + "start_time", + b"start_time", + "structured_calendar", + b"structured_calendar", + "timezone_data", + b"timezone_data", + "timezone_name", + b"timezone_name", + ], + ) -> None: ... global___ScheduleSpec = ScheduleSpec @@ -387,8 +530,22 @@ class SchedulePolicies(google.protobuf.message.Message): pause_on_failure: builtins.bool = ..., keep_original_workflow_id: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window", "keep_original_workflow_id", b"keep_original_workflow_id", "overlap_policy", b"overlap_policy", "pause_on_failure", b"pause_on_failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "catchup_window", + b"catchup_window", + "keep_original_workflow_id", + b"keep_original_workflow_id", + "overlap_policy", + b"overlap_policy", + "pause_on_failure", + b"pause_on_failure", + ], + ) -> None: ... global___SchedulePolicies = SchedulePolicies @@ -397,7 +554,9 @@ class ScheduleAction(google.protobuf.message.Message): START_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow(self) -> temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo: + def start_workflow( + self, + ) -> temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo: """All fields of NewWorkflowExecutionInfo are valid except for: - workflow_id_reuse_policy - cron_schedule @@ -407,11 +566,24 @@ class ScheduleAction(google.protobuf.message.Message): def __init__( self, *, - start_workflow: temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo | None = ..., + start_workflow: temporalio.api.workflow.v1.message_pb2.NewWorkflowExecutionInfo + | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["action", b"action", "start_workflow", b"start_workflow"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["action", b"action", "start_workflow", b"start_workflow"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["action", b"action"]) -> typing_extensions.Literal["start_workflow"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "action", b"action", "start_workflow", b"start_workflow" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "action", b"action", "start_workflow", b"start_workflow" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["action", b"action"] + ) -> typing_extensions.Literal["start_workflow"] | None: ... global___ScheduleAction = ScheduleAction @@ -429,9 +601,13 @@ class ScheduleActionResult(google.protobuf.message.Message): def actual_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (real time).""" @property - def start_workflow_result(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def start_workflow_result( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """If action was start_workflow:""" - start_workflow_status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + start_workflow_status: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + ) """If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status. """ @@ -440,11 +616,34 @@ class ScheduleActionResult(google.protobuf.message.Message): *, schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., actual_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - start_workflow_result: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + start_workflow_result: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., start_workflow_status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["actual_time", b"actual_time", "schedule_time", b"schedule_time", "start_workflow_result", b"start_workflow_result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["actual_time", b"actual_time", "schedule_time", b"schedule_time", "start_workflow_result", b"start_workflow_result", "start_workflow_status", b"start_workflow_status"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "actual_time", + b"actual_time", + "schedule_time", + b"schedule_time", + "start_workflow_result", + b"start_workflow_result", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "actual_time", + b"actual_time", + "schedule_time", + b"schedule_time", + "start_workflow_result", + b"start_workflow_result", + "start_workflow_status", + b"start_workflow_status", + ], + ) -> None: ... global___ScheduleActionResult = ScheduleActionResult @@ -480,7 +679,19 @@ class ScheduleState(google.protobuf.message.Message): limited_actions: builtins.bool = ..., remaining_actions: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["limited_actions", b"limited_actions", "notes", b"notes", "paused", b"paused", "remaining_actions", b"remaining_actions"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "limited_actions", + b"limited_actions", + "notes", + b"notes", + "paused", + b"paused", + "remaining_actions", + b"remaining_actions", + ], + ) -> None: ... global___ScheduleState = ScheduleState @@ -502,8 +713,15 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time" + ], + ) -> None: ... global___TriggerImmediatelyRequest = TriggerImmediatelyRequest @@ -533,8 +751,23 @@ class BackfillRequest(google.protobuf.message.Message): end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "overlap_policy", b"overlap_policy", "start_time", b"start_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "end_time", b"end_time", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end_time", + b"end_time", + "overlap_policy", + b"overlap_policy", + "start_time", + b"start_time", + ], + ) -> None: ... global___BackfillRequest = BackfillRequest @@ -549,7 +782,11 @@ class SchedulePatch(google.protobuf.message.Message): def trigger_immediately(self) -> global___TriggerImmediatelyRequest: """If set, trigger one action immediately.""" @property - def backfill_request(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BackfillRequest]: + def backfill_request( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___BackfillRequest + ]: """If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill. @@ -563,12 +800,30 @@ class SchedulePatch(google.protobuf.message.Message): self, *, trigger_immediately: global___TriggerImmediatelyRequest | None = ..., - backfill_request: collections.abc.Iterable[global___BackfillRequest] | None = ..., + backfill_request: collections.abc.Iterable[global___BackfillRequest] + | None = ..., pause: builtins.str = ..., unpause: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["trigger_immediately", b"trigger_immediately"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["backfill_request", b"backfill_request", "pause", b"pause", "trigger_immediately", b"trigger_immediately", "unpause", b"unpause"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "trigger_immediately", b"trigger_immediately" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "backfill_request", + b"backfill_request", + "pause", + b"pause", + "trigger_immediately", + b"trigger_immediately", + "unpause", + b"unpause", + ], + ) -> None: ... global___SchedulePatch = SchedulePatch @@ -600,7 +855,11 @@ class ScheduleInfo(google.protobuf.message.Message): the normal schedule or a backfill. """ @property - def running_workflows(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.WorkflowExecution]: + def running_workflows( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.WorkflowExecution + ]: """Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as @@ -608,10 +867,18 @@ class ScheduleInfo(google.protobuf.message.Message): or were reset, they might still be running but with a different run_id. """ @property - def recent_actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScheduleActionResult]: + def recent_actions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ScheduleActionResult + ]: """Most recent ten actual action times (including manual triggers).""" @property - def future_action_times(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: + def future_action_times( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + google.protobuf.timestamp_pb2.Timestamp + ]: """Next ten scheduled action times.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -628,15 +895,53 @@ class ScheduleInfo(google.protobuf.message.Message): overlap_skipped: builtins.int = ..., buffer_dropped: builtins.int = ..., buffer_size: builtins.int = ..., - running_workflows: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.WorkflowExecution] | None = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., - future_action_times: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., + running_workflows: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.WorkflowExecution + ] + | None = ..., + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] + | None = ..., + future_action_times: collections.abc.Iterable[ + google.protobuf.timestamp_pb2.Timestamp + ] + | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., invalid_schedule_error: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "update_time", b"update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["action_count", b"action_count", "buffer_dropped", b"buffer_dropped", "buffer_size", b"buffer_size", "create_time", b"create_time", "future_action_times", b"future_action_times", "invalid_schedule_error", b"invalid_schedule_error", "missed_catchup_window", b"missed_catchup_window", "overlap_skipped", b"overlap_skipped", "recent_actions", b"recent_actions", "running_workflows", b"running_workflows", "update_time", b"update_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "update_time", b"update_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "action_count", + b"action_count", + "buffer_dropped", + b"buffer_dropped", + "buffer_size", + b"buffer_size", + "create_time", + b"create_time", + "future_action_times", + b"future_action_times", + "invalid_schedule_error", + b"invalid_schedule_error", + "missed_catchup_window", + b"missed_catchup_window", + "overlap_skipped", + b"overlap_skipped", + "recent_actions", + b"recent_actions", + "running_workflows", + b"running_workflows", + "update_time", + b"update_time", + ], + ) -> None: ... global___ScheduleInfo = ScheduleInfo @@ -663,8 +968,32 @@ class Schedule(google.protobuf.message.Message): policies: global___SchedulePolicies | None = ..., state: global___ScheduleState | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["action", b"action", "policies", b"policies", "spec", b"spec", "state", b"state"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["action", b"action", "policies", b"policies", "spec", b"spec", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "action", + b"action", + "policies", + b"policies", + "spec", + b"spec", + "state", + b"state", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "action", + b"action", + "policies", + b"policies", + "spec", + b"spec", + "state", + b"state", + ], + ) -> None: ... global___Schedule = Schedule @@ -696,10 +1025,18 @@ class ScheduleListInfo(google.protobuf.message.Message): """From state:""" paused: builtins.bool @property - def recent_actions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScheduleActionResult]: + def recent_actions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ScheduleActionResult + ]: """From info (maybe fewer entries):""" @property - def future_action_times(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... + def future_action_times( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + google.protobuf.timestamp_pb2.Timestamp + ]: ... def __init__( self, *, @@ -707,11 +1044,36 @@ class ScheduleListInfo(google.protobuf.message.Message): workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., notes: builtins.str = ..., paused: builtins.bool = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., - future_action_times: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] + | None = ..., + future_action_times: collections.abc.Iterable[ + google.protobuf.timestamp_pb2.Timestamp + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "spec", b"spec", "workflow_type", b"workflow_type" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "future_action_times", + b"future_action_times", + "notes", + b"notes", + "paused", + b"paused", + "recent_actions", + b"recent_actions", + "spec", + b"spec", + "workflow_type", + b"workflow_type", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["future_action_times", b"future_action_times", "notes", b"notes", "paused", b"paused", "recent_actions", b"recent_actions", "spec", b"spec", "workflow_type", b"workflow_type"]) -> None: ... global___ScheduleListInfo = ScheduleListInfo @@ -728,7 +1090,9 @@ class ScheduleListEntry(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def info(self) -> global___ScheduleListInfo: ... def __init__( @@ -736,10 +1100,28 @@ class ScheduleListEntry(google.protobuf.message.Message): *, schedule_id: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., info: global___ScheduleListInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "info", b"info", "memo", b"memo", "search_attributes", b"search_attributes" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "info", + b"info", + "memo", + b"memo", + "schedule_id", + b"schedule_id", + "search_attributes", + b"search_attributes", + ], + ) -> None: ... global___ScheduleListEntry = ScheduleListEntry diff --git a/temporalio/api/sdk/v1/__init__.py b/temporalio/api/sdk/v1/__init__.py index 277141816..2657df300 100644 --- a/temporalio/api/sdk/v1/__init__.py +++ b/temporalio/api/sdk/v1/__init__.py @@ -1,14 +1,18 @@ -from .enhanced_stack_trace_pb2 import EnhancedStackTrace -from .enhanced_stack_trace_pb2 import StackTraceSDKInfo -from .enhanced_stack_trace_pb2 import StackTraceFileSlice -from .enhanced_stack_trace_pb2 import StackTraceFileLocation -from .enhanced_stack_trace_pb2 import StackTrace +from .enhanced_stack_trace_pb2 import ( + EnhancedStackTrace, + StackTrace, + StackTraceFileLocation, + StackTraceFileSlice, + StackTraceSDKInfo, +) +from .task_complete_metadata_pb2 import WorkflowTaskCompletedMetadata from .user_metadata_pb2 import UserMetadata from .worker_config_pb2 import WorkerConfig -from .workflow_metadata_pb2 import WorkflowMetadata -from .workflow_metadata_pb2 import WorkflowDefinition -from .workflow_metadata_pb2 import WorkflowInteractionDefinition -from .task_complete_metadata_pb2 import WorkflowTaskCompletedMetadata +from .workflow_metadata_pb2 import ( + WorkflowDefinition, + WorkflowInteractionDefinition, + WorkflowMetadata, +) __all__ = [ "EnhancedStackTrace", diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py index 761f1221c..eaa8ff251 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py @@ -2,87 +2,111 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/enhanced_stack_trace.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1\"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01\"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08\"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') - - - -_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name['EnhancedStackTrace'] -_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name['SourcesEntry'] -_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name['StackTraceSDKInfo'] -_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name['StackTraceFileSlice'] -_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name['StackTraceFileLocation'] -_STACKTRACE = DESCRIPTOR.message_types_by_name['StackTrace'] -EnhancedStackTrace = _reflection.GeneratedProtocolMessageType('EnhancedStackTrace', (_message.Message,), { - - 'SourcesEntry' : _reflection.GeneratedProtocolMessageType('SourcesEntry', (_message.Message,), { - 'DESCRIPTOR' : _ENHANCEDSTACKTRACE_SOURCESENTRY, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) - }) - , - 'DESCRIPTOR' : _ENHANCEDSTACKTRACE, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) - }) +_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name["EnhancedStackTrace"] +_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name[ + "SourcesEntry" +] +_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name["StackTraceSDKInfo"] +_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name["StackTraceFileSlice"] +_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name["StackTraceFileLocation"] +_STACKTRACE = DESCRIPTOR.message_types_by_name["StackTrace"] +EnhancedStackTrace = _reflection.GeneratedProtocolMessageType( + "EnhancedStackTrace", + (_message.Message,), + { + "SourcesEntry": _reflection.GeneratedProtocolMessageType( + "SourcesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ENHANCEDSTACKTRACE_SOURCESENTRY, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) + }, + ), + "DESCRIPTOR": _ENHANCEDSTACKTRACE, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) + }, +) _sym_db.RegisterMessage(EnhancedStackTrace) _sym_db.RegisterMessage(EnhancedStackTrace.SourcesEntry) -StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType('StackTraceSDKInfo', (_message.Message,), { - 'DESCRIPTOR' : _STACKTRACESDKINFO, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) - }) +StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType( + "StackTraceSDKInfo", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACESDKINFO, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) + }, +) _sym_db.RegisterMessage(StackTraceSDKInfo) -StackTraceFileSlice = _reflection.GeneratedProtocolMessageType('StackTraceFileSlice', (_message.Message,), { - 'DESCRIPTOR' : _STACKTRACEFILESLICE, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) - }) +StackTraceFileSlice = _reflection.GeneratedProtocolMessageType( + "StackTraceFileSlice", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACEFILESLICE, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) + }, +) _sym_db.RegisterMessage(StackTraceFileSlice) -StackTraceFileLocation = _reflection.GeneratedProtocolMessageType('StackTraceFileLocation', (_message.Message,), { - 'DESCRIPTOR' : _STACKTRACEFILELOCATION, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) - }) +StackTraceFileLocation = _reflection.GeneratedProtocolMessageType( + "StackTraceFileLocation", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACEFILELOCATION, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) + }, +) _sym_db.RegisterMessage(StackTraceFileLocation) -StackTrace = _reflection.GeneratedProtocolMessageType('StackTrace', (_message.Message,), { - 'DESCRIPTOR' : _STACKTRACE, - '__module__' : 'temporal.api.sdk.v1.enhanced_stack_trace_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) - }) +StackTrace = _reflection.GeneratedProtocolMessageType( + "StackTrace", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACE, + "__module__": "temporal.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) + }, +) _sym_db.RegisterMessage(StackTrace) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' - _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b'8\001' - _ENHANCEDSTACKTRACE._serialized_start=72 - _ENHANCEDSTACKTRACE._serialized_end=355 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start=267 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end=355 - _STACKTRACESDKINFO._serialized_start=357 - _STACKTRACESDKINFO._serialized_end=407 - _STACKTRACEFILESLICE._serialized_start=409 - _STACKTRACEFILESLICE._serialized_end=468 - _STACKTRACEFILELOCATION._serialized_start=470 - _STACKTRACEFILELOCATION._serialized_end=589 - _STACKTRACE._serialized_start=591 - _STACKTRACE._serialized_end=667 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b"8\001" + _ENHANCEDSTACKTRACE._serialized_start = 72 + _ENHANCEDSTACKTRACE._serialized_end = 355 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start = 267 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end = 355 + _STACKTRACESDKINFO._serialized_start = 357 + _STACKTRACESDKINFO._serialized_end = 407 + _STACKTRACEFILESLICE._serialized_start = 409 + _STACKTRACEFILESLICE._serialized_end = 468 + _STACKTRACEFILELOCATION._serialized_start = 470 + _STACKTRACEFILELOCATION._serialized_end = 589 + _STACKTRACE._serialized_start = 591 + _STACKTRACE._serialized_end = 667 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi index b0f81016b..29767cbf8 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -35,8 +37,13 @@ class EnhancedStackTrace(google.protobuf.message.Message): key: builtins.str = ..., value: global___StackTraceFileSlice | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SDK_FIELD_NUMBER: builtins.int SOURCES_FIELD_NUMBER: builtins.int @@ -45,20 +52,36 @@ class EnhancedStackTrace(google.protobuf.message.Message): def sdk(self) -> global___StackTraceSDKInfo: """Information pertaining to the SDK that the trace has been captured from.""" @property - def sources(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StackTraceFileSlice]: + def sources( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___StackTraceFileSlice + ]: """Mapping of file path to file contents.""" @property - def stacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackTrace]: + def stacks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___StackTrace + ]: """Collection of stacks captured.""" def __init__( self, *, sdk: global___StackTraceSDKInfo | None = ..., - sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] | None = ..., + sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] + | None = ..., stacks: collections.abc.Iterable[global___StackTrace] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["sdk", b"sdk"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["sdk", b"sdk", "sources", b"sources", "stacks", b"stacks"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["sdk", b"sdk"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "sdk", b"sdk", "sources", b"sources", "stacks", b"stacks" + ], + ) -> None: ... global___EnhancedStackTrace = EnhancedStackTrace @@ -82,12 +105,15 @@ class StackTraceSDKInfo(google.protobuf.message.Message): name: builtins.str = ..., version: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["name", b"name", "version", b"version"], + ) -> None: ... global___StackTraceSDKInfo = StackTraceSDKInfo class StackTraceFileSlice(google.protobuf.message.Message): - """"Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" + """ "Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -107,7 +133,12 @@ class StackTraceFileSlice(google.protobuf.message.Message): line_offset: builtins.int = ..., content: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["content", b"content", "line_offset", b"line_offset"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "content", b"content", "line_offset", b"line_offset" + ], + ) -> None: ... global___StackTraceFileSlice = StackTraceFileSlice @@ -150,7 +181,21 @@ class StackTraceFileLocation(google.protobuf.message.Message): function_name: builtins.str = ..., internal_code: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["column", b"column", "file_path", b"file_path", "function_name", b"function_name", "internal_code", b"internal_code", "line", b"line"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "column", + b"column", + "file_path", + b"file_path", + "function_name", + b"function_name", + "internal_code", + b"internal_code", + "line", + b"line", + ], + ) -> None: ... global___StackTraceFileLocation = StackTraceFileLocation @@ -161,13 +206,20 @@ class StackTrace(google.protobuf.message.Message): LOCATIONS_FIELD_NUMBER: builtins.int @property - def locations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackTraceFileLocation]: + def locations( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___StackTraceFileLocation + ]: """Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.""" def __init__( self, *, - locations: collections.abc.Iterable[global___StackTraceFileLocation] | None = ..., + locations: collections.abc.Iterable[global___StackTraceFileLocation] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["locations", b"locations"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["locations", b"locations"]) -> None: ... global___StackTrace = StackTrace diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py index 348c4842a..4b3306d7e 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py @@ -2,34 +2,40 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/task_complete_metadata.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1\"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') - - - -_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name['WorkflowTaskCompletedMetadata'] -WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType('WorkflowTaskCompletedMetadata', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWTASKCOMPLETEDMETADATA, - '__module__' : 'temporal.api.sdk.v1.task_complete_metadata_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) - }) +_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskCompletedMetadata" +] +WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskCompletedMetadata", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDMETADATA, + "__module__": "temporal.api.sdk.v1.task_complete_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) + }, +) _sym_db.RegisterMessage(WorkflowTaskCompletedMetadata) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start=73 - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end=193 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start = 73 + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end = 193 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi index 28f145af2..2491881a3 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -24,7 +26,9 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): SDK_NAME_FIELD_NUMBER: builtins.int SDK_VERSION_FIELD_NUMBER: builtins.int @property - def core_used_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def core_used_flags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: @@ -46,7 +50,9 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): aip.dev/not-precedent: These really shouldn't have negative values. --) """ @property - def lang_used_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def lang_used_flags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. @@ -75,6 +81,18 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): sdk_name: builtins.str = ..., sdk_version: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["core_used_flags", b"core_used_flags", "lang_used_flags", b"lang_used_flags", "sdk_name", b"sdk_name", "sdk_version", b"sdk_version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "core_used_flags", + b"core_used_flags", + "lang_used_flags", + b"lang_used_flags", + "sdk_name", + b"sdk_name", + "sdk_version", + b"sdk_version", + ], + ) -> None: ... global___WorkflowTaskCompletedMetadata = WorkflowTaskCompletedMetadata diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.py b/temporalio/api/sdk/v1/user_metadata_pb2.py index a897f7d74..bbdb6882c 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.py +++ b/temporalio/api/sdk/v1/user_metadata_pb2.py @@ -2,35 +2,42 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/user_metadata.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 - +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" +) - -_USERMETADATA = DESCRIPTOR.message_types_by_name['UserMetadata'] -UserMetadata = _reflection.GeneratedProtocolMessageType('UserMetadata', (_message.Message,), { - 'DESCRIPTOR' : _USERMETADATA, - '__module__' : 'temporal.api.sdk.v1.user_metadata_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) - }) +_USERMETADATA = DESCRIPTOR.message_types_by_name["UserMetadata"] +UserMetadata = _reflection.GeneratedProtocolMessageType( + "UserMetadata", + (_message.Message,), + { + "DESCRIPTOR": _USERMETADATA, + "__module__": "temporal.api.sdk.v1.user_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) + }, +) _sym_db.RegisterMessage(UserMetadata) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' - _USERMETADATA._serialized_start=102 - _USERMETADATA._serialized_end=216 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _USERMETADATA._serialized_start = 102 + _USERMETADATA._serialized_end = 216 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.pyi b/temporalio/api/sdk/v1/user_metadata_pb2.pyi index 4e64c720a..d198be8a8 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/user_metadata_pb2.pyi @@ -2,10 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 if sys.version_info >= (3, 8): @@ -41,7 +44,17 @@ class UserMetadata(google.protobuf.message.Message): summary: temporalio.api.common.v1.message_pb2.Payload | None = ..., details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details", "summary", b"summary"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "summary", b"summary"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "summary", b"summary" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "summary", b"summary" + ], + ) -> None: ... global___UserMetadata = UserMetadata diff --git a/temporalio/api/sdk/v1/worker_config_pb2.py b/temporalio/api/sdk/v1/worker_config_pb2.py index ba7021193..c6f09582c 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.py +++ b/temporalio/api/sdk/v1/worker_config_pb2.py @@ -2,56 +2,68 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/worker_config.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') - - - -_WORKERCONFIG = DESCRIPTOR.message_types_by_name['WorkerConfig'] -_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name['SimplePollerBehavior'] -_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name['AutoscalingPollerBehavior'] -WorkerConfig = _reflection.GeneratedProtocolMessageType('WorkerConfig', (_message.Message,), { - - 'SimplePollerBehavior' : _reflection.GeneratedProtocolMessageType('SimplePollerBehavior', (_message.Message,), { - 'DESCRIPTOR' : _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, - '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) - }) - , - - 'AutoscalingPollerBehavior' : _reflection.GeneratedProtocolMessageType('AutoscalingPollerBehavior', (_message.Message,), { - 'DESCRIPTOR' : _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, - '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) - }) - , - 'DESCRIPTOR' : _WORKERCONFIG, - '__module__' : 'temporal.api.sdk.v1.worker_config_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) - }) +_WORKERCONFIG = DESCRIPTOR.message_types_by_name["WorkerConfig"] +_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ + "SimplePollerBehavior" +] +_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ + "AutoscalingPollerBehavior" +] +WorkerConfig = _reflection.GeneratedProtocolMessageType( + "WorkerConfig", + (_message.Message,), + { + "SimplePollerBehavior": _reflection.GeneratedProtocolMessageType( + "SimplePollerBehavior", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, + "__module__": "temporal.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) + }, + ), + "AutoscalingPollerBehavior": _reflection.GeneratedProtocolMessageType( + "AutoscalingPollerBehavior", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, + "__module__": "temporal.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) + }, + ), + "DESCRIPTOR": _WORKERCONFIG, + "__module__": "temporal.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) + }, +) _sym_db.RegisterMessage(WorkerConfig) _sym_db.RegisterMessage(WorkerConfig.SimplePollerBehavior) _sym_db.RegisterMessage(WorkerConfig.AutoscalingPollerBehavior) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' - _WORKERCONFIG._serialized_start=65 - _WORKERCONFIG._serialized_end=458 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start=300 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end=343 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start=345 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end=439 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKERCONFIG._serialized_start = 65 + _WORKERCONFIG._serialized_end = 458 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start = 300 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end = 343 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start = 345 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end = 439 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/worker_config_pb2.pyi b/temporalio/api/sdk/v1/worker_config_pb2.pyi index 50cd699fa..cc0906d24 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.pyi +++ b/temporalio/api/sdk/v1/worker_config_pb2.pyi @@ -2,10 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -27,7 +29,9 @@ class WorkerConfig(google.protobuf.message.Message): *, max_pollers: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"] + ) -> None: ... class AutoscalingPollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -52,7 +56,17 @@ class WorkerConfig(google.protobuf.message.Message): max_pollers: builtins.int = ..., initial_pollers: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["initial_pollers", b"initial_pollers", "max_pollers", b"max_pollers", "min_pollers", b"min_pollers"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initial_pollers", + b"initial_pollers", + "max_pollers", + b"max_pollers", + "min_pollers", + b"min_pollers", + ], + ) -> None: ... WORKFLOW_CACHE_SIZE_FIELD_NUMBER: builtins.int SIMPLE_POLLER_BEHAVIOR_FIELD_NUMBER: builtins.int @@ -61,16 +75,49 @@ class WorkerConfig(google.protobuf.message.Message): @property def simple_poller_behavior(self) -> global___WorkerConfig.SimplePollerBehavior: ... @property - def autoscaling_poller_behavior(self) -> global___WorkerConfig.AutoscalingPollerBehavior: ... + def autoscaling_poller_behavior( + self, + ) -> global___WorkerConfig.AutoscalingPollerBehavior: ... def __init__( self, *, workflow_cache_size: builtins.int = ..., simple_poller_behavior: global___WorkerConfig.SimplePollerBehavior | None = ..., - autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior | None = ..., + autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "autoscaling_poller_behavior", + b"autoscaling_poller_behavior", + "poller_behavior", + b"poller_behavior", + "simple_poller_behavior", + b"simple_poller_behavior", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "autoscaling_poller_behavior", + b"autoscaling_poller_behavior", + "poller_behavior", + b"poller_behavior", + "simple_poller_behavior", + b"simple_poller_behavior", + "workflow_cache_size", + b"workflow_cache_size", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", b"poller_behavior", "simple_poller_behavior", b"simple_poller_behavior"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", b"poller_behavior", "simple_poller_behavior", b"simple_poller_behavior", "workflow_cache_size", b"workflow_cache_size"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"]) -> typing_extensions.Literal["simple_poller_behavior", "autoscaling_poller_behavior"] | None: ... + def WhichOneof( + self, + oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"], + ) -> ( + typing_extensions.Literal[ + "simple_poller_behavior", "autoscaling_poller_behavior" + ] + | None + ): ... global___WorkerConfig = WorkerConfig diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.py b/temporalio/api/sdk/v1/workflow_metadata_pb2.py index b4e058545..fabbe9403 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.py +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.py @@ -2,54 +2,68 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/workflow_metadata.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1\"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t\"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3') - - - -_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name['WorkflowMetadata'] -_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name['WorkflowDefinition'] -_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name['WorkflowInteractionDefinition'] -WorkflowMetadata = _reflection.GeneratedProtocolMessageType('WorkflowMetadata', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWMETADATA, - '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) - }) +_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name["WorkflowMetadata"] +_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name["WorkflowDefinition"] +_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name[ + "WorkflowInteractionDefinition" +] +WorkflowMetadata = _reflection.GeneratedProtocolMessageType( + "WorkflowMetadata", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWMETADATA, + "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) + }, +) _sym_db.RegisterMessage(WorkflowMetadata) -WorkflowDefinition = _reflection.GeneratedProtocolMessageType('WorkflowDefinition', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWDEFINITION, - '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) - }) +WorkflowDefinition = _reflection.GeneratedProtocolMessageType( + "WorkflowDefinition", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWDEFINITION, + "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) + }, +) _sym_db.RegisterMessage(WorkflowDefinition) -WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType('WorkflowInteractionDefinition', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWINTERACTIONDEFINITION, - '__module__' : 'temporal.api.sdk.v1.workflow_metadata_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) - }) +WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType( + "WorkflowInteractionDefinition", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWINTERACTIONDEFINITION, + "__module__": "temporal.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) + }, +) _sym_db.RegisterMessage(WorkflowInteractionDefinition) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1' - _WORKFLOWMETADATA._serialized_start=68 - _WORKFLOWMETADATA._serialized_end=172 - _WORKFLOWDEFINITION._serialized_start=175 - _WORKFLOWDEFINITION._serialized_end=448 - _WORKFLOWINTERACTIONDEFINITION._serialized_start=450 - _WORKFLOWINTERACTIONDEFINITION._serialized_end=516 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKFLOWMETADATA._serialized_start = 68 + _WORKFLOWMETADATA._serialized_end = 172 + _WORKFLOWDEFINITION._serialized_start = 175 + _WORKFLOWDEFINITION._serialized_end = 448 + _WORKFLOWINTERACTIONDEFINITION._serialized_start = 450 + _WORKFLOWINTERACTIONDEFINITION._serialized_end = 516 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi index 2a41dfcfc..ded58390b 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -36,8 +38,15 @@ class WorkflowMetadata(google.protobuf.message.Message): definition: global___WorkflowDefinition | None = ..., current_details: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["definition", b"definition"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_details", b"current_details", "definition", b"definition"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["definition", b"definition"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_details", b"current_details", "definition", b"definition" + ], + ) -> None: ... global___WorkflowMetadata = WorkflowMetadata @@ -55,23 +64,56 @@ class WorkflowDefinition(google.protobuf.message.Message): If missing, this workflow is a dynamic workflow. """ @property - def query_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: + def query_definitions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowInteractionDefinition + ]: """Query definitions, sorted by name.""" @property - def signal_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: + def signal_definitions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowInteractionDefinition + ]: """Signal definitions, sorted by name.""" @property - def update_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowInteractionDefinition]: + def update_definitions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowInteractionDefinition + ]: """Update definitions, sorted by name.""" def __init__( self, *, type: builtins.str = ..., - query_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., - signal_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., - update_definitions: collections.abc.Iterable[global___WorkflowInteractionDefinition] | None = ..., + query_definitions: collections.abc.Iterable[ + global___WorkflowInteractionDefinition + ] + | None = ..., + signal_definitions: collections.abc.Iterable[ + global___WorkflowInteractionDefinition + ] + | None = ..., + update_definitions: collections.abc.Iterable[ + global___WorkflowInteractionDefinition + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "query_definitions", + b"query_definitions", + "signal_definitions", + b"signal_definitions", + "type", + b"type", + "update_definitions", + b"update_definitions", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["query_definitions", b"query_definitions", "signal_definitions", b"signal_definitions", "type", b"type", "update_definitions", b"update_definitions"]) -> None: ... global___WorkflowDefinition = WorkflowDefinition @@ -101,6 +143,11 @@ class WorkflowInteractionDefinition(google.protobuf.message.Message): name: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "description", b"description", "name", b"name" + ], + ) -> None: ... global___WorkflowInteractionDefinition = WorkflowInteractionDefinition diff --git a/temporalio/api/taskqueue/v1/__init__.py b/temporalio/api/taskqueue/v1/__init__.py index 4f1543d0d..888c7ff2a 100644 --- a/temporalio/api/taskqueue/v1/__init__.py +++ b/temporalio/api/taskqueue/v1/__init__.py @@ -1,28 +1,30 @@ -from .message_pb2 import TaskQueue -from .message_pb2 import TaskQueueMetadata -from .message_pb2 import TaskQueueVersioningInfo -from .message_pb2 import TaskQueueVersionSelection -from .message_pb2 import TaskQueueVersionInfo -from .message_pb2 import TaskQueueTypeInfo -from .message_pb2 import TaskQueueStats -from .message_pb2 import TaskQueueStatus -from .message_pb2 import TaskIdBlock -from .message_pb2 import TaskQueuePartitionMetadata -from .message_pb2 import PollerInfo -from .message_pb2 import StickyExecutionAttributes -from .message_pb2 import CompatibleVersionSet -from .message_pb2 import TaskQueueReachability -from .message_pb2 import BuildIdReachability -from .message_pb2 import RampByPercentage -from .message_pb2 import BuildIdAssignmentRule -from .message_pb2 import CompatibleBuildIdRedirectRule -from .message_pb2 import TimestampedBuildIdAssignmentRule -from .message_pb2 import TimestampedCompatibleBuildIdRedirectRule -from .message_pb2 import PollerScalingDecision -from .message_pb2 import RateLimit -from .message_pb2 import ConfigMetadata -from .message_pb2 import RateLimitConfig -from .message_pb2 import TaskQueueConfig +from .message_pb2 import ( + BuildIdAssignmentRule, + BuildIdReachability, + CompatibleBuildIdRedirectRule, + CompatibleVersionSet, + ConfigMetadata, + PollerInfo, + PollerScalingDecision, + RampByPercentage, + RateLimit, + RateLimitConfig, + StickyExecutionAttributes, + TaskIdBlock, + TaskQueue, + TaskQueueConfig, + TaskQueueMetadata, + TaskQueuePartitionMetadata, + TaskQueueReachability, + TaskQueueStats, + TaskQueueStatus, + TaskQueueTypeInfo, + TaskQueueVersionInfo, + TaskQueueVersioningInfo, + TaskQueueVersionSelection, + TimestampedBuildIdAssignmentRule, + TimestampedCompatibleBuildIdRedirectRule, +) __all__ = [ "BuildIdAssignmentRule", diff --git a/temporalio/api/taskqueue/v1/message_pb2.py b/temporalio/api/taskqueue/v1/message_pb2.py index ae047eede..3eccbd5cc 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.py +++ b/temporalio/api/taskqueue/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/taskqueue/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,286 +17,414 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08\"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01\"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02\"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock\"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability\"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02\"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp\"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t\"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05\"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata\"\xad\x01\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfigB\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3') - - - -_TASKQUEUE = DESCRIPTOR.message_types_by_name['TaskQueue'] -_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name['TaskQueueMetadata'] -_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name['TaskQueueVersioningInfo'] -_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name['TaskQueueVersionSelection'] -_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name['TaskQueueVersionInfo'] -_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name['TypesInfoEntry'] -_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name['TaskQueueTypeInfo'] -_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name['TaskQueueStats'] -_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name['TaskQueueStatus'] -_TASKIDBLOCK = DESCRIPTOR.message_types_by_name['TaskIdBlock'] -_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name['TaskQueuePartitionMetadata'] -_POLLERINFO = DESCRIPTOR.message_types_by_name['PollerInfo'] -_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name['StickyExecutionAttributes'] -_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name['CompatibleVersionSet'] -_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name['TaskQueueReachability'] -_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name['BuildIdReachability'] -_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name['RampByPercentage'] -_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name['BuildIdAssignmentRule'] -_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name['CompatibleBuildIdRedirectRule'] -_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name['TimestampedBuildIdAssignmentRule'] -_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name['TimestampedCompatibleBuildIdRedirectRule'] -_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name['PollerScalingDecision'] -_RATELIMIT = DESCRIPTOR.message_types_by_name['RateLimit'] -_CONFIGMETADATA = DESCRIPTOR.message_types_by_name['ConfigMetadata'] -_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name['RateLimitConfig'] -_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name['TaskQueueConfig'] -TaskQueue = _reflection.GeneratedProtocolMessageType('TaskQueue', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) - }) + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata"\xad\x01\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfigB\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3' +) + + +_TASKQUEUE = DESCRIPTOR.message_types_by_name["TaskQueue"] +_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name["TaskQueueMetadata"] +_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersioningInfo"] +_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name[ + "TaskQueueVersionSelection" +] +_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersionInfo"] +_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name[ + "TypesInfoEntry" +] +_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name["TaskQueueTypeInfo"] +_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name["TaskQueueStats"] +_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name["TaskQueueStatus"] +_TASKIDBLOCK = DESCRIPTOR.message_types_by_name["TaskIdBlock"] +_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name[ + "TaskQueuePartitionMetadata" +] +_POLLERINFO = DESCRIPTOR.message_types_by_name["PollerInfo"] +_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StickyExecutionAttributes" +] +_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name["CompatibleVersionSet"] +_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name["TaskQueueReachability"] +_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name["BuildIdReachability"] +_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name["RampByPercentage"] +_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name["BuildIdAssignmentRule"] +_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ + "CompatibleBuildIdRedirectRule" +] +_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name[ + "TimestampedBuildIdAssignmentRule" +] +_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ + "TimestampedCompatibleBuildIdRedirectRule" +] +_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name["PollerScalingDecision"] +_RATELIMIT = DESCRIPTOR.message_types_by_name["RateLimit"] +_CONFIGMETADATA = DESCRIPTOR.message_types_by_name["ConfigMetadata"] +_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name["RateLimitConfig"] +_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name["TaskQueueConfig"] +TaskQueue = _reflection.GeneratedProtocolMessageType( + "TaskQueue", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) + }, +) _sym_db.RegisterMessage(TaskQueue) -TaskQueueMetadata = _reflection.GeneratedProtocolMessageType('TaskQueueMetadata', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEMETADATA, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) - }) +TaskQueueMetadata = _reflection.GeneratedProtocolMessageType( + "TaskQueueMetadata", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEMETADATA, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) + }, +) _sym_db.RegisterMessage(TaskQueueMetadata) -TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType('TaskQueueVersioningInfo', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEVERSIONINGINFO, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) - }) +TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersioningInfo", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONINGINFO, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) + }, +) _sym_db.RegisterMessage(TaskQueueVersioningInfo) -TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType('TaskQueueVersionSelection', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEVERSIONSELECTION, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) - }) +TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersionSelection", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONSELECTION, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) + }, +) _sym_db.RegisterMessage(TaskQueueVersionSelection) -TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType('TaskQueueVersionInfo', (_message.Message,), { - - 'TypesInfoEntry' : _reflection.GeneratedProtocolMessageType('TypesInfoEntry', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) - }) - , - 'DESCRIPTOR' : _TASKQUEUEVERSIONINFO, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) - }) +TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersionInfo", + (_message.Message,), + { + "TypesInfoEntry": _reflection.GeneratedProtocolMessageType( + "TypesInfoEntry", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) + }, + ), + "DESCRIPTOR": _TASKQUEUEVERSIONINFO, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) + }, +) _sym_db.RegisterMessage(TaskQueueVersionInfo) _sym_db.RegisterMessage(TaskQueueVersionInfo.TypesInfoEntry) -TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType('TaskQueueTypeInfo', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUETYPEINFO, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) - }) +TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueTypeInfo", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUETYPEINFO, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) + }, +) _sym_db.RegisterMessage(TaskQueueTypeInfo) -TaskQueueStats = _reflection.GeneratedProtocolMessageType('TaskQueueStats', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUESTATS, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) - }) +TaskQueueStats = _reflection.GeneratedProtocolMessageType( + "TaskQueueStats", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUESTATS, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) + }, +) _sym_db.RegisterMessage(TaskQueueStats) -TaskQueueStatus = _reflection.GeneratedProtocolMessageType('TaskQueueStatus', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUESTATUS, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) - }) +TaskQueueStatus = _reflection.GeneratedProtocolMessageType( + "TaskQueueStatus", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUESTATUS, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) + }, +) _sym_db.RegisterMessage(TaskQueueStatus) -TaskIdBlock = _reflection.GeneratedProtocolMessageType('TaskIdBlock', (_message.Message,), { - 'DESCRIPTOR' : _TASKIDBLOCK, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) - }) +TaskIdBlock = _reflection.GeneratedProtocolMessageType( + "TaskIdBlock", + (_message.Message,), + { + "DESCRIPTOR": _TASKIDBLOCK, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) + }, +) _sym_db.RegisterMessage(TaskIdBlock) -TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType('TaskQueuePartitionMetadata', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEPARTITIONMETADATA, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) - }) +TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType( + "TaskQueuePartitionMetadata", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEPARTITIONMETADATA, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) + }, +) _sym_db.RegisterMessage(TaskQueuePartitionMetadata) -PollerInfo = _reflection.GeneratedProtocolMessageType('PollerInfo', (_message.Message,), { - 'DESCRIPTOR' : _POLLERINFO, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) - }) +PollerInfo = _reflection.GeneratedProtocolMessageType( + "PollerInfo", + (_message.Message,), + { + "DESCRIPTOR": _POLLERINFO, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) + }, +) _sym_db.RegisterMessage(PollerInfo) -StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType('StickyExecutionAttributes', (_message.Message,), { - 'DESCRIPTOR' : _STICKYEXECUTIONATTRIBUTES, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) - }) +StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType( + "StickyExecutionAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STICKYEXECUTIONATTRIBUTES, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) + }, +) _sym_db.RegisterMessage(StickyExecutionAttributes) -CompatibleVersionSet = _reflection.GeneratedProtocolMessageType('CompatibleVersionSet', (_message.Message,), { - 'DESCRIPTOR' : _COMPATIBLEVERSIONSET, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) - }) +CompatibleVersionSet = _reflection.GeneratedProtocolMessageType( + "CompatibleVersionSet", + (_message.Message,), + { + "DESCRIPTOR": _COMPATIBLEVERSIONSET, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) + }, +) _sym_db.RegisterMessage(CompatibleVersionSet) -TaskQueueReachability = _reflection.GeneratedProtocolMessageType('TaskQueueReachability', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUEREACHABILITY, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) - }) +TaskQueueReachability = _reflection.GeneratedProtocolMessageType( + "TaskQueueReachability", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEREACHABILITY, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) + }, +) _sym_db.RegisterMessage(TaskQueueReachability) -BuildIdReachability = _reflection.GeneratedProtocolMessageType('BuildIdReachability', (_message.Message,), { - 'DESCRIPTOR' : _BUILDIDREACHABILITY, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) - }) +BuildIdReachability = _reflection.GeneratedProtocolMessageType( + "BuildIdReachability", + (_message.Message,), + { + "DESCRIPTOR": _BUILDIDREACHABILITY, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) + }, +) _sym_db.RegisterMessage(BuildIdReachability) -RampByPercentage = _reflection.GeneratedProtocolMessageType('RampByPercentage', (_message.Message,), { - 'DESCRIPTOR' : _RAMPBYPERCENTAGE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) - }) +RampByPercentage = _reflection.GeneratedProtocolMessageType( + "RampByPercentage", + (_message.Message,), + { + "DESCRIPTOR": _RAMPBYPERCENTAGE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) + }, +) _sym_db.RegisterMessage(RampByPercentage) -BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType('BuildIdAssignmentRule', (_message.Message,), { - 'DESCRIPTOR' : _BUILDIDASSIGNMENTRULE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) - }) +BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( + "BuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _BUILDIDASSIGNMENTRULE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) + }, +) _sym_db.RegisterMessage(BuildIdAssignmentRule) -CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType('CompatibleBuildIdRedirectRule', (_message.Message,), { - 'DESCRIPTOR' : _COMPATIBLEBUILDIDREDIRECTRULE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) - }) +CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( + "CompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _COMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) + }, +) _sym_db.RegisterMessage(CompatibleBuildIdRedirectRule) -TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType('TimestampedBuildIdAssignmentRule', (_message.Message,), { - 'DESCRIPTOR' : _TIMESTAMPEDBUILDIDASSIGNMENTRULE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) - }) +TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( + "TimestampedBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _TIMESTAMPEDBUILDIDASSIGNMENTRULE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) + }, +) _sym_db.RegisterMessage(TimestampedBuildIdAssignmentRule) -TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType('TimestampedCompatibleBuildIdRedirectRule', (_message.Message,), { - 'DESCRIPTOR' : _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) - }) +TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( + "TimestampedCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) + }, +) _sym_db.RegisterMessage(TimestampedCompatibleBuildIdRedirectRule) -PollerScalingDecision = _reflection.GeneratedProtocolMessageType('PollerScalingDecision', (_message.Message,), { - 'DESCRIPTOR' : _POLLERSCALINGDECISION, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) - }) +PollerScalingDecision = _reflection.GeneratedProtocolMessageType( + "PollerScalingDecision", + (_message.Message,), + { + "DESCRIPTOR": _POLLERSCALINGDECISION, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) + }, +) _sym_db.RegisterMessage(PollerScalingDecision) -RateLimit = _reflection.GeneratedProtocolMessageType('RateLimit', (_message.Message,), { - 'DESCRIPTOR' : _RATELIMIT, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) - }) +RateLimit = _reflection.GeneratedProtocolMessageType( + "RateLimit", + (_message.Message,), + { + "DESCRIPTOR": _RATELIMIT, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) + }, +) _sym_db.RegisterMessage(RateLimit) -ConfigMetadata = _reflection.GeneratedProtocolMessageType('ConfigMetadata', (_message.Message,), { - 'DESCRIPTOR' : _CONFIGMETADATA, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) - }) +ConfigMetadata = _reflection.GeneratedProtocolMessageType( + "ConfigMetadata", + (_message.Message,), + { + "DESCRIPTOR": _CONFIGMETADATA, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) + }, +) _sym_db.RegisterMessage(ConfigMetadata) -RateLimitConfig = _reflection.GeneratedProtocolMessageType('RateLimitConfig', (_message.Message,), { - 'DESCRIPTOR' : _RATELIMITCONFIG, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) - }) +RateLimitConfig = _reflection.GeneratedProtocolMessageType( + "RateLimitConfig", + (_message.Message,), + { + "DESCRIPTOR": _RATELIMITCONFIG, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) + }, +) _sym_db.RegisterMessage(RateLimitConfig) -TaskQueueConfig = _reflection.GeneratedProtocolMessageType('TaskQueueConfig', (_message.Message,), { - 'DESCRIPTOR' : _TASKQUEUECONFIG, - '__module__' : 'temporal.api.taskqueue.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) - }) +TaskQueueConfig = _reflection.GeneratedProtocolMessageType( + "TaskQueueConfig", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUECONFIG, + "__module__": "temporal.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) + }, +) _sym_db.RegisterMessage(TaskQueueConfig) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1' - _TASKQUEUEVERSIONINGINFO.fields_by_name['current_version']._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name['current_version']._serialized_options = b'\030\001' - _TASKQUEUEVERSIONINGINFO.fields_by_name['ramping_version']._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name['ramping_version']._serialized_options = b'\030\001' - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b'8\001' - _POLLERINFO.fields_by_name['worker_version_capabilities']._options = None - _POLLERINFO.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' - _TASKQUEUE._serialized_start=287 - _TASKQUEUE._serialized_end=385 - _TASKQUEUEMETADATA._serialized_start=387 - _TASKQUEUEMETADATA._serialized_end=466 - _TASKQUEUEVERSIONINGINFO._serialized_start=469 - _TASKQUEUEVERSIONINGINFO._serialized_end=815 - _TASKQUEUEVERSIONSELECTION._serialized_start=817 - _TASKQUEUEVERSIONSELECTION._serialized_end=904 - _TASKQUEUEVERSIONINFO._serialized_start=907 - _TASKQUEUEVERSIONINFO._serialized_end=1184 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start=1090 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end=1184 - _TASKQUEUETYPEINFO._serialized_start=1187 - _TASKQUEUETYPEINFO._serialized_end=1320 - _TASKQUEUESTATS._serialized_start=1323 - _TASKQUEUESTATS._serialized_end=1487 - _TASKQUEUESTATUS._serialized_start=1490 - _TASKQUEUESTATUS._serialized_end=1662 - _TASKIDBLOCK._serialized_start=1664 - _TASKIDBLOCK._serialized_end=1711 - _TASKQUEUEPARTITIONMETADATA._serialized_start=1713 - _TASKQUEUEPARTITIONMETADATA._serialized_end=1779 - _POLLERINFO._serialized_start=1782 - _POLLERINFO._serialized_end=2064 - _STICKYEXECUTIONATTRIBUTES._serialized_start=2067 - _STICKYEXECUTIONATTRIBUTES._serialized_end=2221 - _COMPATIBLEVERSIONSET._serialized_start=2223 - _COMPATIBLEVERSIONSET._serialized_end=2264 - _TASKQUEUEREACHABILITY._serialized_start=2266 - _TASKQUEUEREACHABILITY._serialized_end=2372 - _BUILDIDREACHABILITY._serialized_start=2374 - _BUILDIDREACHABILITY._serialized_end=2496 - _RAMPBYPERCENTAGE._serialized_start=2498 - _RAMPBYPERCENTAGE._serialized_end=2541 - _BUILDIDASSIGNMENTRULE._serialized_start=2544 - _BUILDIDASSIGNMENTRULE._serialized_end=2672 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start=2674 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end=2755 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start=2758 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end=2905 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=2908 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=3071 - _POLLERSCALINGDECISION._serialized_start=3073 - _POLLERSCALINGDECISION._serialized_end=3135 - _RATELIMIT._serialized_start=3137 - _RATELIMIT._serialized_end=3177 - _CONFIGMETADATA._serialized_start=3179 - _CONFIGMETADATA._serialized_end=3285 - _RATELIMITCONFIG._serialized_start=3288 - _RATELIMITCONFIG._serialized_end=3424 - _TASKQUEUECONFIG._serialized_start=3427 - _TASKQUEUECONFIG._serialized_end=3600 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" + _TASKQUEUEVERSIONINGINFO.fields_by_name["current_version"]._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name[ + "current_version" + ]._serialized_options = b"\030\001" + _TASKQUEUEVERSIONINGINFO.fields_by_name["ramping_version"]._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name[ + "ramping_version" + ]._serialized_options = b"\030\001" + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b"8\001" + _POLLERINFO.fields_by_name["worker_version_capabilities"]._options = None + _POLLERINFO.fields_by_name[ + "worker_version_capabilities" + ]._serialized_options = b"\030\001" + _TASKQUEUE._serialized_start = 287 + _TASKQUEUE._serialized_end = 385 + _TASKQUEUEMETADATA._serialized_start = 387 + _TASKQUEUEMETADATA._serialized_end = 466 + _TASKQUEUEVERSIONINGINFO._serialized_start = 469 + _TASKQUEUEVERSIONINGINFO._serialized_end = 815 + _TASKQUEUEVERSIONSELECTION._serialized_start = 817 + _TASKQUEUEVERSIONSELECTION._serialized_end = 904 + _TASKQUEUEVERSIONINFO._serialized_start = 907 + _TASKQUEUEVERSIONINFO._serialized_end = 1184 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start = 1090 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end = 1184 + _TASKQUEUETYPEINFO._serialized_start = 1187 + _TASKQUEUETYPEINFO._serialized_end = 1320 + _TASKQUEUESTATS._serialized_start = 1323 + _TASKQUEUESTATS._serialized_end = 1487 + _TASKQUEUESTATUS._serialized_start = 1490 + _TASKQUEUESTATUS._serialized_end = 1662 + _TASKIDBLOCK._serialized_start = 1664 + _TASKIDBLOCK._serialized_end = 1711 + _TASKQUEUEPARTITIONMETADATA._serialized_start = 1713 + _TASKQUEUEPARTITIONMETADATA._serialized_end = 1779 + _POLLERINFO._serialized_start = 1782 + _POLLERINFO._serialized_end = 2064 + _STICKYEXECUTIONATTRIBUTES._serialized_start = 2067 + _STICKYEXECUTIONATTRIBUTES._serialized_end = 2221 + _COMPATIBLEVERSIONSET._serialized_start = 2223 + _COMPATIBLEVERSIONSET._serialized_end = 2264 + _TASKQUEUEREACHABILITY._serialized_start = 2266 + _TASKQUEUEREACHABILITY._serialized_end = 2372 + _BUILDIDREACHABILITY._serialized_start = 2374 + _BUILDIDREACHABILITY._serialized_end = 2496 + _RAMPBYPERCENTAGE._serialized_start = 2498 + _RAMPBYPERCENTAGE._serialized_end = 2541 + _BUILDIDASSIGNMENTRULE._serialized_start = 2544 + _BUILDIDASSIGNMENTRULE._serialized_end = 2672 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2674 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 2755 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start = 2758 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end = 2905 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2908 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 3071 + _POLLERSCALINGDECISION._serialized_start = 3073 + _POLLERSCALINGDECISION._serialized_end = 3135 + _RATELIMIT._serialized_start = 3137 + _RATELIMIT._serialized_end = 3177 + _CONFIGMETADATA._serialized_start = 3179 + _CONFIGMETADATA._serialized_end = 3285 + _RATELIMITCONFIG._serialized_start = 3288 + _RATELIMITCONFIG._serialized_end = 3424 + _TASKQUEUECONFIG._serialized_start = 3427 + _TASKQUEUECONFIG._serialized_end = 3600 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/taskqueue/v1/message_pb2.pyi b/temporalio/api/taskqueue/v1/message_pb2.pyi index d04b70dae..7ea6e9fdb 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.pyi +++ b/temporalio/api/taskqueue/v1/message_pb2.pyi @@ -2,15 +2,18 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 import google.protobuf.wrappers_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.task_queue_pb2 @@ -44,7 +47,12 @@ class TaskQueue(google.protobuf.message.Message): kind: temporalio.api.enums.v1.task_queue_pb2.TaskQueueKind.ValueType = ..., normal_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["kind", b"kind", "name", b"name", "normal_name", b"normal_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "kind", b"kind", "name", b"name", "normal_name", b"normal_name" + ], + ) -> None: ... global___TaskQueue = TaskQueue @@ -62,8 +70,18 @@ class TaskQueueMetadata(google.protobuf.message.Message): *, max_tasks_per_second: google.protobuf.wrappers_pb2.DoubleValue | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["max_tasks_per_second", b"max_tasks_per_second"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["max_tasks_per_second", b"max_tasks_per_second"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "max_tasks_per_second", b"max_tasks_per_second" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "max_tasks_per_second", b"max_tasks_per_second" + ], + ) -> None: ... global___TaskQueueMetadata = TaskQueueMetadata @@ -79,7 +97,9 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): RAMPING_VERSION_PERCENTAGE_FIELD_NUMBER: builtins.int UPDATE_TIME_FIELD_NUMBER: builtins.int @property - def current_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def current_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) @@ -89,7 +109,9 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): current_version: builtins.str """Deprecated. Use `current_deployment_version`.""" @property - def ramping_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def ramping_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. Must always be different from `current_deployment_version` unless both are nil. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) @@ -110,15 +132,43 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): def __init__( self, *, - current_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + current_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., current_version: builtins.str = ..., - ramping_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + ramping_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "ramping_deployment_version", b"ramping_deployment_version", "update_time", b"update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_deployment_version", b"current_deployment_version", "current_version", b"current_version", "ramping_deployment_version", b"ramping_deployment_version", "ramping_version", b"ramping_version", "ramping_version_percentage", b"ramping_version_percentage", "update_time", b"update_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_version", + b"current_deployment_version", + "ramping_deployment_version", + b"ramping_deployment_version", + "update_time", + b"update_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_version", + b"current_deployment_version", + "current_version", + b"current_version", + "ramping_deployment_version", + b"ramping_deployment_version", + "ramping_version", + b"ramping_version", + "ramping_version_percentage", + b"ramping_version_percentage", + "update_time", + b"update_time", + ], + ) -> None: ... global___TaskQueueVersioningInfo = TaskQueueVersioningInfo @@ -131,7 +181,9 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): UNVERSIONED_FIELD_NUMBER: builtins.int ALL_ACTIVE_FIELD_NUMBER: builtins.int @property - def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Include specific Build IDs.""" unversioned: builtins.bool """Include the unversioned queue.""" @@ -146,7 +198,17 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): unversioned: builtins.bool = ..., all_active: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["all_active", b"all_active", "build_ids", b"build_ids", "unversioned", b"unversioned"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "all_active", + b"all_active", + "build_ids", + b"build_ids", + "unversioned", + b"unversioned", + ], + ) -> None: ... global___TaskQueueVersionSelection = TaskQueueVersionSelection @@ -167,15 +229,26 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): key: builtins.int = ..., value: global___TaskQueueTypeInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... TYPES_INFO_FIELD_NUMBER: builtins.int TASK_REACHABILITY_FIELD_NUMBER: builtins.int @property - def types_info(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, global___TaskQueueTypeInfo]: + def types_info( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.int, global___TaskQueueTypeInfo + ]: """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" - task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType + task_reachability: ( + temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType + ) """Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. @@ -189,10 +262,16 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): def __init__( self, *, - types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] | None = ..., + types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] + | None = ..., task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["task_reachability", b"task_reachability", "types_info", b"types_info"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "task_reachability", b"task_reachability", "types_info", b"types_info" + ], + ) -> None: ... global___TaskQueueVersionInfo = TaskQueueVersionInfo @@ -202,7 +281,11 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): POLLERS_FIELD_NUMBER: builtins.int STATS_FIELD_NUMBER: builtins.int @property - def pollers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PollerInfo]: + def pollers( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___PollerInfo + ]: """Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID.""" @property def stats(self) -> global___TaskQueueStats: ... @@ -212,8 +295,13 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): pollers: collections.abc.Iterable[global___PollerInfo] | None = ..., stats: global___TaskQueueStats | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["stats", b"stats"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["stats", b"stats"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"], + ) -> None: ... global___TaskQueueTypeInfo = TaskQueueTypeInfo @@ -287,8 +375,25 @@ class TaskQueueStats(google.protobuf.message.Message): tasks_add_rate: builtins.float = ..., tasks_dispatch_rate: builtins.float = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["approximate_backlog_age", b"approximate_backlog_age"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["approximate_backlog_age", b"approximate_backlog_age", "approximate_backlog_count", b"approximate_backlog_count", "tasks_add_rate", b"tasks_add_rate", "tasks_dispatch_rate", b"tasks_dispatch_rate"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "approximate_backlog_age", b"approximate_backlog_age" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "approximate_backlog_age", + b"approximate_backlog_age", + "approximate_backlog_count", + b"approximate_backlog_count", + "tasks_add_rate", + b"tasks_add_rate", + "tasks_dispatch_rate", + b"tasks_dispatch_rate", + ], + ) -> None: ... global___TaskQueueStats = TaskQueueStats @@ -317,8 +422,24 @@ class TaskQueueStatus(google.protobuf.message.Message): rate_per_second: builtins.float = ..., task_id_block: global___TaskIdBlock | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["ack_level", b"ack_level", "backlog_count_hint", b"backlog_count_hint", "rate_per_second", b"rate_per_second", "read_level", b"read_level", "task_id_block", b"task_id_block"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "ack_level", + b"ack_level", + "backlog_count_hint", + b"backlog_count_hint", + "rate_per_second", + b"rate_per_second", + "read_level", + b"read_level", + "task_id_block", + b"task_id_block", + ], + ) -> None: ... global___TaskQueueStatus = TaskQueueStatus @@ -335,7 +456,12 @@ class TaskIdBlock(google.protobuf.message.Message): start_id: builtins.int = ..., end_id: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["end_id", b"end_id", "start_id", b"start_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end_id", b"end_id", "start_id", b"start_id" + ], + ) -> None: ... global___TaskIdBlock = TaskIdBlock @@ -352,7 +478,12 @@ class TaskQueuePartitionMetadata(google.protobuf.message.Message): key: builtins.str = ..., owner_host_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "owner_host_name", b"owner_host_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "key", b"key", "owner_host_name", b"owner_host_name" + ], + ) -> None: ... global___TaskQueuePartitionMetadata = TaskQueuePartitionMetadata @@ -369,13 +500,17 @@ class PollerInfo(google.protobuf.message.Message): identity: builtins.str rate_per_second: builtins.float @property - def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """If a worker has opted into the worker versioning feature while polling, its capabilities will appear here. Deprecated. Replaced by deployment_options. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that SDK sent to server.""" def __init__( self, @@ -383,11 +518,37 @@ class PollerInfo(google.protobuf.message.Message): last_access_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., identity: builtins.str = ..., rate_per_second: builtins.float = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities + | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "last_access_time", + b"last_access_time", + "worker_version_capabilities", + b"worker_version_capabilities", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "identity", + b"identity", + "last_access_time", + b"last_access_time", + "rate_per_second", + b"rate_per_second", + "worker_version_capabilities", + b"worker_version_capabilities", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "last_access_time", b"last_access_time", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "last_access_time", b"last_access_time", "rate_per_second", b"rate_per_second", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollerInfo = PollerInfo @@ -401,7 +562,7 @@ class StickyExecutionAttributes(google.protobuf.message.Message): @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """(-- api-linter: core::0140::prepositions=disabled - aip.dev/not-precedent: "to" is used to indicate interval. --) + aip.dev/not-precedent: "to" is used to indicate interval. --) """ def __init__( self, @@ -409,8 +570,24 @@ class StickyExecutionAttributes(google.protobuf.message.Message): worker_task_queue: global___TaskQueue | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", b"worker_task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", b"worker_task_queue"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "worker_task_queue", + b"worker_task_queue", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "worker_task_queue", + b"worker_task_queue", + ], + ) -> None: ... global___StickyExecutionAttributes = StickyExecutionAttributes @@ -423,14 +600,18 @@ class CompatibleVersionSet(google.protobuf.message.Message): BUILD_IDS_FIELD_NUMBER: builtins.int @property - def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """All the compatible versions, unordered, except for the last element, which is considered the set "default".""" def __init__( self, *, build_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_ids", b"build_ids"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["build_ids", b"build_ids"] + ) -> None: ... global___CompatibleVersionSet = CompatibleVersionSet @@ -443,7 +624,11 @@ class TaskQueueReachability(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int task_queue: builtins.str @property - def reachability(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType]: + def reachability( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType + ]: """Task reachability for a worker in a single task queue. See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. @@ -452,9 +637,17 @@ class TaskQueueReachability(google.protobuf.message.Message): self, *, task_queue: builtins.str = ..., - reachability: collections.abc.Iterable[temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType] | None = ..., + reachability: collections.abc.Iterable[ + temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "reachability", b"reachability", "task_queue", b"task_queue" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["reachability", b"reachability", "task_queue", b"task_queue"]) -> None: ... global___TaskQueueReachability = TaskQueueReachability @@ -468,15 +661,30 @@ class BuildIdReachability(google.protobuf.message.Message): build_id: builtins.str """A build id or empty if unversioned.""" @property - def task_queue_reachability(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TaskQueueReachability]: + def task_queue_reachability( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___TaskQueueReachability + ]: """Reachability per task queue.""" def __init__( self, *, build_id: builtins.str = ..., - task_queue_reachability: collections.abc.Iterable[global___TaskQueueReachability] | None = ..., + task_queue_reachability: collections.abc.Iterable[ + global___TaskQueueReachability + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "task_queue_reachability", + b"task_queue_reachability", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "task_queue_reachability", b"task_queue_reachability"]) -> None: ... global___BuildIdReachability = BuildIdReachability @@ -491,7 +699,10 @@ class RampByPercentage(google.protobuf.message.Message): *, ramp_percentage: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"], + ) -> None: ... global___RampByPercentage = RampByPercentage @@ -552,9 +763,26 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): target_build_id: builtins.str = ..., percentage_ramp: global___RampByPercentage | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["percentage_ramp", b"percentage_ramp", "ramp", b"ramp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["percentage_ramp", b"percentage_ramp", "ramp", b"ramp", "target_build_id", b"target_build_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["ramp", b"ramp"]) -> typing_extensions.Literal["percentage_ramp"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "percentage_ramp", b"percentage_ramp", "ramp", b"ramp" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "percentage_ramp", + b"percentage_ramp", + "ramp", + b"ramp", + "target_build_id", + b"target_build_id", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["ramp", b"ramp"] + ) -> typing_extensions.Literal["percentage_ramp"] | None: ... global___BuildIdAssignmentRule = BuildIdAssignmentRule @@ -598,7 +826,12 @@ class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): source_build_id: builtins.str = ..., target_build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["source_build_id", b"source_build_id", "target_build_id", b"target_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "source_build_id", b"source_build_id", "target_build_id", b"target_build_id" + ], + ) -> None: ... global___CompatibleBuildIdRedirectRule = CompatibleBuildIdRedirectRule @@ -617,8 +850,18 @@ class TimestampedBuildIdAssignmentRule(google.protobuf.message.Message): rule: global___BuildIdAssignmentRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], + ) -> None: ... global___TimestampedBuildIdAssignmentRule = TimestampedBuildIdAssignmentRule @@ -637,10 +880,22 @@ class TimestampedCompatibleBuildIdRedirectRule(google.protobuf.message.Message): rule: global___CompatibleBuildIdRedirectRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "rule", b"rule"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], + ) -> None: ... -global___TimestampedCompatibleBuildIdRedirectRule = TimestampedCompatibleBuildIdRedirectRule +global___TimestampedCompatibleBuildIdRedirectRule = ( + TimestampedCompatibleBuildIdRedirectRule +) class PollerScalingDecision(google.protobuf.message.Message): """Attached to task responses to give hints to the SDK about how it may adjust its number of @@ -663,7 +918,12 @@ class PollerScalingDecision(google.protobuf.message.Message): *, poll_request_delta_suggestion: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["poll_request_delta_suggestion", b"poll_request_delta_suggestion"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "poll_request_delta_suggestion", b"poll_request_delta_suggestion" + ], + ) -> None: ... global___PollerScalingDecision = PollerScalingDecision @@ -678,7 +938,12 @@ class RateLimit(google.protobuf.message.Message): *, requests_per_second: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["requests_per_second", b"requests_per_second"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "requests_per_second", b"requests_per_second" + ], + ) -> None: ... global___RateLimit = RateLimit @@ -704,8 +969,20 @@ class ConfigMetadata(google.protobuf.message.Message): update_identity: builtins.str = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_time", b"update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "update_identity", b"update_identity", "update_time", b"update_time"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["update_time", b"update_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "reason", + b"reason", + "update_identity", + b"update_identity", + "update_time", + b"update_time", + ], + ) -> None: ... global___ConfigMetadata = ConfigMetadata @@ -724,8 +1001,18 @@ class RateLimitConfig(google.protobuf.message.Message): rate_limit: global___RateLimit | None = ..., metadata: global___ConfigMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "rate_limit", b"rate_limit"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "rate_limit", b"rate_limit"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "metadata", b"metadata", "rate_limit", b"rate_limit" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "metadata", b"metadata", "rate_limit", b"rate_limit" + ], + ) -> None: ... global___RateLimitConfig = RateLimitConfig @@ -746,7 +1033,23 @@ class TaskQueueConfig(google.protobuf.message.Message): queue_rate_limit: global___RateLimitConfig | None = ..., fairness_keys_rate_limit_default: global___RateLimitConfig | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", b"queue_rate_limit"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", b"queue_rate_limit"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "fairness_keys_rate_limit_default", + b"fairness_keys_rate_limit_default", + "queue_rate_limit", + b"queue_rate_limit", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "fairness_keys_rate_limit_default", + b"fairness_keys_rate_limit_default", + "queue_rate_limit", + b"queue_rate_limit", + ], + ) -> None: ... global___TaskQueueConfig = TaskQueueConfig diff --git a/temporalio/api/testservice/v1/__init__.py b/temporalio/api/testservice/v1/__init__.py index 79c102049..8539030d3 100644 --- a/temporalio/api/testservice/v1/__init__.py +++ b/temporalio/api/testservice/v1/__init__.py @@ -1,11 +1,13 @@ -from .request_response_pb2 import LockTimeSkippingRequest -from .request_response_pb2 import LockTimeSkippingResponse -from .request_response_pb2 import UnlockTimeSkippingRequest -from .request_response_pb2 import UnlockTimeSkippingResponse -from .request_response_pb2 import SleepUntilRequest -from .request_response_pb2 import SleepRequest -from .request_response_pb2 import SleepResponse -from .request_response_pb2 import GetCurrentTimeResponse +from .request_response_pb2 import ( + GetCurrentTimeResponse, + LockTimeSkippingRequest, + LockTimeSkippingResponse, + SleepRequest, + SleepResponse, + SleepUntilRequest, + UnlockTimeSkippingRequest, + UnlockTimeSkippingResponse, +) __all__ = [ "GetCurrentTimeResponse", @@ -21,9 +23,15 @@ # gRPC is optional try: import grpc - from .service_pb2_grpc import add_TestServiceServicer_to_server - from .service_pb2_grpc import TestServiceStub - from .service_pb2_grpc import TestServiceServicer - __all__.extend(["TestServiceServicer", "TestServiceStub", "add_TestServiceServicer_to_server"]) + + from .service_pb2_grpc import ( + TestServiceServicer, + TestServiceStub, + add_TestServiceServicer_to_server, + ) + + __all__.extend( + ["TestServiceServicer", "TestServiceStub", "add_TestServiceServicer_to_server"] + ) except ImportError: - pass \ No newline at end of file + pass diff --git a/temporalio/api/testservice/v1/request_response_pb2.py b/temporalio/api/testservice/v1/request_response_pb2.py index 4ec71d0b9..51ef70f65 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.py +++ b/temporalio/api/testservice/v1/request_response_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/testservice/v1/request_response.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,93 +17,128 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x19\n\x17LockTimeSkippingRequest\"\x1a\n\x18LockTimeSkippingResponse\"\x1b\n\x19UnlockTimeSkippingRequest\"\x1c\n\x1aUnlockTimeSkippingResponse\"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x0f\n\rSleepResponse\"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3') - - - -_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name['LockTimeSkippingRequest'] -_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name['LockTimeSkippingResponse'] -_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name['UnlockTimeSkippingRequest'] -_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name['UnlockTimeSkippingResponse'] -_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name['SleepUntilRequest'] -_SLEEPREQUEST = DESCRIPTOR.message_types_by_name['SleepRequest'] -_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name['SleepResponse'] -_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name['GetCurrentTimeResponse'] -LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType('LockTimeSkippingRequest', (_message.Message,), { - 'DESCRIPTOR' : _LOCKTIMESKIPPINGREQUEST, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x19\n\x17LockTimeSkippingRequest"\x1a\n\x18LockTimeSkippingResponse"\x1b\n\x19UnlockTimeSkippingRequest"\x1c\n\x1aUnlockTimeSkippingResponse"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration"\x0f\n\rSleepResponse"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' +) + + +_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name["LockTimeSkippingRequest"] +_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name["LockTimeSkippingResponse"] +_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name[ + "UnlockTimeSkippingRequest" +] +_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UnlockTimeSkippingResponse" +] +_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name["SleepUntilRequest"] +_SLEEPREQUEST = DESCRIPTOR.message_types_by_name["SleepRequest"] +_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name["SleepResponse"] +_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name["GetCurrentTimeResponse"] +LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( + "LockTimeSkippingRequest", + (_message.Message,), + { + "DESCRIPTOR": _LOCKTIMESKIPPINGREQUEST, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) + }, +) _sym_db.RegisterMessage(LockTimeSkippingRequest) -LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType('LockTimeSkippingResponse', (_message.Message,), { - 'DESCRIPTOR' : _LOCKTIMESKIPPINGRESPONSE, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) - }) +LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( + "LockTimeSkippingResponse", + (_message.Message,), + { + "DESCRIPTOR": _LOCKTIMESKIPPINGRESPONSE, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) + }, +) _sym_db.RegisterMessage(LockTimeSkippingResponse) -UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType('UnlockTimeSkippingRequest', (_message.Message,), { - 'DESCRIPTOR' : _UNLOCKTIMESKIPPINGREQUEST, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) - }) +UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( + "UnlockTimeSkippingRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNLOCKTIMESKIPPINGREQUEST, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) + }, +) _sym_db.RegisterMessage(UnlockTimeSkippingRequest) -UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType('UnlockTimeSkippingResponse', (_message.Message,), { - 'DESCRIPTOR' : _UNLOCKTIMESKIPPINGRESPONSE, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) - }) +UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( + "UnlockTimeSkippingResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNLOCKTIMESKIPPINGRESPONSE, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) + }, +) _sym_db.RegisterMessage(UnlockTimeSkippingResponse) -SleepUntilRequest = _reflection.GeneratedProtocolMessageType('SleepUntilRequest', (_message.Message,), { - 'DESCRIPTOR' : _SLEEPUNTILREQUEST, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) - }) +SleepUntilRequest = _reflection.GeneratedProtocolMessageType( + "SleepUntilRequest", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPUNTILREQUEST, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) + }, +) _sym_db.RegisterMessage(SleepUntilRequest) -SleepRequest = _reflection.GeneratedProtocolMessageType('SleepRequest', (_message.Message,), { - 'DESCRIPTOR' : _SLEEPREQUEST, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) - }) +SleepRequest = _reflection.GeneratedProtocolMessageType( + "SleepRequest", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPREQUEST, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) + }, +) _sym_db.RegisterMessage(SleepRequest) -SleepResponse = _reflection.GeneratedProtocolMessageType('SleepResponse', (_message.Message,), { - 'DESCRIPTOR' : _SLEEPRESPONSE, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) - }) +SleepResponse = _reflection.GeneratedProtocolMessageType( + "SleepResponse", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPRESPONSE, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) + }, +) _sym_db.RegisterMessage(SleepResponse) -GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType('GetCurrentTimeResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETCURRENTTIMERESPONSE, - '__module__' : 'temporal.api.testservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) - }) +GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType( + "GetCurrentTimeResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTTIMERESPONSE, + "__module__": "temporal.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) + }, +) _sym_db.RegisterMessage(GetCurrentTimeResponse) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1' - _LOCKTIMESKIPPINGREQUEST._serialized_start=148 - _LOCKTIMESKIPPINGREQUEST._serialized_end=173 - _LOCKTIMESKIPPINGRESPONSE._serialized_start=175 - _LOCKTIMESKIPPINGRESPONSE._serialized_end=201 - _UNLOCKTIMESKIPPINGREQUEST._serialized_start=203 - _UNLOCKTIMESKIPPINGREQUEST._serialized_end=230 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_start=232 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_end=260 - _SLEEPUNTILREQUEST._serialized_start=262 - _SLEEPUNTILREQUEST._serialized_end=328 - _SLEEPREQUEST._serialized_start=330 - _SLEEPREQUEST._serialized_end=389 - _SLEEPRESPONSE._serialized_start=391 - _SLEEPRESPONSE._serialized_end=406 - _GETCURRENTTIMERESPONSE._serialized_start=408 - _GETCURRENTTIMERESPONSE._serialized_end=474 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _LOCKTIMESKIPPINGREQUEST._serialized_start = 148 + _LOCKTIMESKIPPINGREQUEST._serialized_end = 173 + _LOCKTIMESKIPPINGRESPONSE._serialized_start = 175 + _LOCKTIMESKIPPINGRESPONSE._serialized_end = 201 + _UNLOCKTIMESKIPPINGREQUEST._serialized_start = 203 + _UNLOCKTIMESKIPPINGREQUEST._serialized_end = 230 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_start = 232 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_end = 260 + _SLEEPUNTILREQUEST._serialized_start = 262 + _SLEEPUNTILREQUEST._serialized_end = 328 + _SLEEPREQUEST._serialized_start = 330 + _SLEEPREQUEST._serialized_end = 389 + _SLEEPRESPONSE._serialized_start = 391 + _SLEEPRESPONSE._serialized_end = 406 + _GETCURRENTTIMERESPONSE._serialized_start = 408 + _GETCURRENTTIMERESPONSE._serialized_end = 474 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/request_response_pb2.pyi b/temporalio/api/testservice/v1/request_response_pb2.pyi index 3b4806e31..e86bba03d 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2.pyi @@ -23,12 +23,14 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -84,8 +86,12 @@ class SleepUntilRequest(google.protobuf.message.Message): *, timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] + ) -> None: ... global___SleepUntilRequest = SleepUntilRequest @@ -100,8 +106,12 @@ class SleepRequest(google.protobuf.message.Message): *, duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["duration", b"duration"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["duration", b"duration"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["duration", b"duration"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["duration", b"duration"] + ) -> None: ... global___SleepRequest = SleepRequest @@ -125,7 +135,11 @@ class GetCurrentTimeResponse(google.protobuf.message.Message): *, time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["time", b"time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["time", b"time"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["time", b"time"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["time", b"time"] + ) -> None: ... global___GetCurrentTimeResponse = GetCurrentTimeResponse diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.py b/temporalio/api/testservice/v1/request_response_pb2_grpc.py index 2daafffeb..bf947056a 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +import grpc diff --git a/temporalio/api/testservice/v1/service_pb2.py b/temporalio/api/testservice/v1/service_pb2.py index 27b2149e4..86a4260fd 100644 --- a/temporalio/api/testservice/v1/service_pb2.py +++ b/temporalio/api/testservice/v1/service_pb2.py @@ -2,29 +2,33 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/testservice/v1/service.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.testservice.v1 import request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from temporalio.api.testservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse\"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse\"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse\"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse\"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' +) - -_TESTSERVICE = DESCRIPTOR.services_by_name['TestService'] +_TESTSERVICE = DESCRIPTOR.services_by_name["TestService"] if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1' - _TESTSERVICE._serialized_start=156 - _TESTSERVICE._serialized_end=862 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _TESTSERVICE._serialized_start = 156 + _TESTSERVICE._serialized_end = 862 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/service_pb2.pyi b/temporalio/api/testservice/v1/service_pb2.pyi index 7f4bb335b..39652214d 100644 --- a/temporalio/api/testservice/v1/service_pb2.pyi +++ b/temporalio/api/testservice/v1/service_pb2.pyi @@ -23,6 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.py b/temporalio/api/testservice/v1/service_pb2_grpc.py index 329d2cbef..56893d1d1 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.py +++ b/temporalio/api/testservice/v1/service_pb2_grpc.py @@ -1,9 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +import grpc from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.testservice.v1 import request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2 + +from temporalio.api.testservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, +) class TestServiceStub(object): @@ -20,35 +23,35 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.LockTimeSkipping = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/LockTimeSkipping', - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/LockTimeSkipping", + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, + ) self.UnlockTimeSkipping = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/UnlockTimeSkipping', - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, + ) self.Sleep = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/Sleep', - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/Sleep", + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.SleepUntil = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/SleepUntil', - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/SleepUntil", + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.UnlockTimeSkippingWithSleep = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep', - request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", + request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + ) self.GetCurrentTime = channel.unary_unary( - '/temporal.api.testservice.v1.TestService/GetCurrentTime', - request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, - ) + "/temporal.api.testservice.v1.TestService/GetCurrentTime", + request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, + ) class TestServiceServicer(object): @@ -68,8 +71,8 @@ def LockTimeSkipping(self, request, context): LockTimeSkipping and UnlockTimeSkipping calls are counted. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnlockTimeSkipping(self, request, context): """UnlockTimeSkipping decrements Time Locking Counter by one. @@ -81,16 +84,16 @@ def UnlockTimeSkipping(self, request, context): Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Sleep(self, request, context): """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SleepUntil(self, request, context): """This call returns only when the Test Server Time advances to the specified timestamp. @@ -98,8 +101,8 @@ def SleepUntil(self, request, context): This is an EXPERIMENTAL API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnlockTimeSkippingWithSleep(self, request, context): """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back @@ -113,8 +116,8 @@ def UnlockTimeSkippingWithSleep(self, request, context): - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetCurrentTime(self, request, context): """GetCurrentTime returns the current Temporal Test Server time @@ -122,49 +125,50 @@ def GetCurrentTime(self, request, context): This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_TestServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'LockTimeSkipping': grpc.unary_unary_rpc_method_handler( - servicer.LockTimeSkipping, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.SerializeToString, - ), - 'UnlockTimeSkipping': grpc.unary_unary_rpc_method_handler( - servicer.UnlockTimeSkipping, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.SerializeToString, - ), - 'Sleep': grpc.unary_unary_rpc_method_handler( - servicer.Sleep, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - 'SleepUntil': grpc.unary_unary_rpc_method_handler( - servicer.SleepUntil, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - 'UnlockTimeSkippingWithSleep': grpc.unary_unary_rpc_method_handler( - servicer.UnlockTimeSkippingWithSleep, - request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, - ), - 'GetCurrentTime': grpc.unary_unary_rpc_method_handler( - servicer.GetCurrentTime, - request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.SerializeToString, - ), + "LockTimeSkipping": grpc.unary_unary_rpc_method_handler( + servicer.LockTimeSkipping, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.SerializeToString, + ), + "UnlockTimeSkipping": grpc.unary_unary_rpc_method_handler( + servicer.UnlockTimeSkipping, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.SerializeToString, + ), + "Sleep": grpc.unary_unary_rpc_method_handler( + servicer.Sleep, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + "SleepUntil": grpc.unary_unary_rpc_method_handler( + servicer.SleepUntil, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + "UnlockTimeSkippingWithSleep": grpc.unary_unary_rpc_method_handler( + servicer.UnlockTimeSkippingWithSleep, + request_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.SerializeToString, + ), + "GetCurrentTime": grpc.unary_unary_rpc_method_handler( + servicer.GetCurrentTime, + request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + response_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'temporal.api.testservice.v1.TestService', rpc_method_handlers) + "temporal.api.testservice.v1.TestService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class TestService(object): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -173,103 +177,175 @@ class TestService(object): """ @staticmethod - def LockTimeSkipping(request, + def LockTimeSkipping( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/LockTimeSkipping', + "/temporal.api.testservice.v1.TestService/LockTimeSkipping", temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UnlockTimeSkipping(request, + def UnlockTimeSkipping( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/UnlockTimeSkipping', + "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def Sleep(request, + def Sleep( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/Sleep', + "/temporal.api.testservice.v1.TestService/Sleep", temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SleepUntil(request, + def SleepUntil( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/SleepUntil', + "/temporal.api.testservice.v1.TestService/SleepUntil", temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UnlockTimeSkippingWithSleep(request, + def UnlockTimeSkippingWithSleep( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep', + "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetCurrentTime(request, + def GetCurrentTime( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.testservice.v1.TestService/GetCurrentTime', + "/temporal.api.testservice.v1.TestService/GetCurrentTime", google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.pyi b/temporalio/api/testservice/v1/service_pb2_grpc.pyi index 24a2c9b16..f3162f003 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/service_pb2_grpc.pyi @@ -23,9 +23,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + import abc + import google.protobuf.empty_pb2 import grpc + import temporalio.api.testservice.v1.request_response_pb2 class TestServiceStub: @@ -179,4 +182,6 @@ class TestServiceServicer(metaclass=abc.ABCMeta): This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ -def add_TestServiceServicer_to_server(servicer: TestServiceServicer, server: grpc.Server) -> None: ... +def add_TestServiceServicer_to_server( + servicer: TestServiceServicer, server: grpc.Server +) -> None: ... diff --git a/temporalio/api/update/v1/__init__.py b/temporalio/api/update/v1/__init__.py index 9f86079b9..3cc0e6d21 100644 --- a/temporalio/api/update/v1/__init__.py +++ b/temporalio/api/update/v1/__init__.py @@ -1,12 +1,14 @@ -from .message_pb2 import WaitPolicy -from .message_pb2 import UpdateRef -from .message_pb2 import Outcome -from .message_pb2 import Meta -from .message_pb2 import Input -from .message_pb2 import Request -from .message_pb2 import Rejection -from .message_pb2 import Acceptance -from .message_pb2 import Response +from .message_pb2 import ( + Acceptance, + Input, + Meta, + Outcome, + Rejection, + Request, + Response, + UpdateRef, + WaitPolicy, +) __all__ = [ "Acceptance", diff --git a/temporalio/api/update/v1/message_pb2.py b/temporalio/api/update/v1/message_pb2.py index f5c7742e0..badea1dd1 100644 --- a/temporalio/api/update/v1/message_pb2.py +++ b/temporalio/api/update/v1/message_pb2.py @@ -2,117 +2,160 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/update/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto\"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t\"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"c\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input\"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3') - - - -_WAITPOLICY = DESCRIPTOR.message_types_by_name['WaitPolicy'] -_UPDATEREF = DESCRIPTOR.message_types_by_name['UpdateRef'] -_OUTCOME = DESCRIPTOR.message_types_by_name['Outcome'] -_META = DESCRIPTOR.message_types_by_name['Meta'] -_INPUT = DESCRIPTOR.message_types_by_name['Input'] -_REQUEST = DESCRIPTOR.message_types_by_name['Request'] -_REJECTION = DESCRIPTOR.message_types_by_name['Rejection'] -_ACCEPTANCE = DESCRIPTOR.message_types_by_name['Acceptance'] -_RESPONSE = DESCRIPTOR.message_types_by_name['Response'] -WaitPolicy = _reflection.GeneratedProtocolMessageType('WaitPolicy', (_message.Message,), { - 'DESCRIPTOR' : _WAITPOLICY, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) - }) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"c\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3' +) + + +_WAITPOLICY = DESCRIPTOR.message_types_by_name["WaitPolicy"] +_UPDATEREF = DESCRIPTOR.message_types_by_name["UpdateRef"] +_OUTCOME = DESCRIPTOR.message_types_by_name["Outcome"] +_META = DESCRIPTOR.message_types_by_name["Meta"] +_INPUT = DESCRIPTOR.message_types_by_name["Input"] +_REQUEST = DESCRIPTOR.message_types_by_name["Request"] +_REJECTION = DESCRIPTOR.message_types_by_name["Rejection"] +_ACCEPTANCE = DESCRIPTOR.message_types_by_name["Acceptance"] +_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] +WaitPolicy = _reflection.GeneratedProtocolMessageType( + "WaitPolicy", + (_message.Message,), + { + "DESCRIPTOR": _WAITPOLICY, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) + }, +) _sym_db.RegisterMessage(WaitPolicy) -UpdateRef = _reflection.GeneratedProtocolMessageType('UpdateRef', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEREF, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) - }) +UpdateRef = _reflection.GeneratedProtocolMessageType( + "UpdateRef", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEREF, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) + }, +) _sym_db.RegisterMessage(UpdateRef) -Outcome = _reflection.GeneratedProtocolMessageType('Outcome', (_message.Message,), { - 'DESCRIPTOR' : _OUTCOME, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) - }) +Outcome = _reflection.GeneratedProtocolMessageType( + "Outcome", + (_message.Message,), + { + "DESCRIPTOR": _OUTCOME, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) + }, +) _sym_db.RegisterMessage(Outcome) -Meta = _reflection.GeneratedProtocolMessageType('Meta', (_message.Message,), { - 'DESCRIPTOR' : _META, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) - }) +Meta = _reflection.GeneratedProtocolMessageType( + "Meta", + (_message.Message,), + { + "DESCRIPTOR": _META, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) + }, +) _sym_db.RegisterMessage(Meta) -Input = _reflection.GeneratedProtocolMessageType('Input', (_message.Message,), { - 'DESCRIPTOR' : _INPUT, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) - }) +Input = _reflection.GeneratedProtocolMessageType( + "Input", + (_message.Message,), + { + "DESCRIPTOR": _INPUT, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) + }, +) _sym_db.RegisterMessage(Input) -Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { - 'DESCRIPTOR' : _REQUEST, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) - }) +Request = _reflection.GeneratedProtocolMessageType( + "Request", + (_message.Message,), + { + "DESCRIPTOR": _REQUEST, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) + }, +) _sym_db.RegisterMessage(Request) -Rejection = _reflection.GeneratedProtocolMessageType('Rejection', (_message.Message,), { - 'DESCRIPTOR' : _REJECTION, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) - }) +Rejection = _reflection.GeneratedProtocolMessageType( + "Rejection", + (_message.Message,), + { + "DESCRIPTOR": _REJECTION, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) + }, +) _sym_db.RegisterMessage(Rejection) -Acceptance = _reflection.GeneratedProtocolMessageType('Acceptance', (_message.Message,), { - 'DESCRIPTOR' : _ACCEPTANCE, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) - }) +Acceptance = _reflection.GeneratedProtocolMessageType( + "Acceptance", + (_message.Message,), + { + "DESCRIPTOR": _ACCEPTANCE, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) + }, +) _sym_db.RegisterMessage(Acceptance) -Response = _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { - 'DESCRIPTOR' : _RESPONSE, - '__module__' : 'temporal.api.update.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) - }) +Response = _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE, + "__module__": "temporal.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) + }, +) _sym_db.RegisterMessage(Response) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1' - _WAITPOLICY._serialized_start=177 - _WAITPOLICY._serialized_end=276 - _UPDATEREF._serialized_start=278 - _UPDATEREF._serialized_end=379 - _OUTCOME._serialized_start=381 - _OUTCOME._serialized_end=505 - _META._serialized_start=507 - _META._serialized_end=550 - _INPUT._serialized_start=552 - _INPUT._serialized_end=669 - _REQUEST._serialized_start=671 - _REQUEST._serialized_end=770 - _REJECTION._serialized_start=773 - _REJECTION._serialized_end=977 - _ACCEPTANCE._serialized_start=980 - _ACCEPTANCE._serialized_end=1134 - _RESPONSE._serialized_start=1136 - _RESPONSE._serialized_end=1240 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" + _WAITPOLICY._serialized_start = 177 + _WAITPOLICY._serialized_end = 276 + _UPDATEREF._serialized_start = 278 + _UPDATEREF._serialized_end = 379 + _OUTCOME._serialized_start = 381 + _OUTCOME._serialized_end = 505 + _META._serialized_start = 507 + _META._serialized_end = 550 + _INPUT._serialized_start = 552 + _INPUT._serialized_end = 669 + _REQUEST._serialized_start = 671 + _REQUEST._serialized_end = 770 + _REJECTION._serialized_start = 773 + _REJECTION._serialized_end = 977 + _ACCEPTANCE._serialized_start = 980 + _ACCEPTANCE._serialized_end = 1134 + _RESPONSE._serialized_start = 1136 + _RESPONSE._serialized_end = 1240 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/update/v1/message_pb2.pyi b/temporalio/api/update/v1/message_pb2.pyi index f67d48bdf..072821a0c 100644 --- a/temporalio/api/update/v1/message_pb2.pyi +++ b/temporalio/api/update/v1/message_pb2.pyi @@ -2,10 +2,13 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.update_pb2 import temporalio.api.failure.v1.message_pb2 @@ -35,7 +38,10 @@ class WaitPolicy(google.protobuf.message.Message): *, lifecycle_stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"], + ) -> None: ... global___WaitPolicy = WaitPolicy @@ -47,16 +53,29 @@ class UpdateRef(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int UPDATE_ID_FIELD_NUMBER: builtins.int @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... update_id: builtins.str def __init__( self, *, - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., update_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["update_id", b"update_id", "workflow_execution", b"workflow_execution"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "update_id", b"update_id", "workflow_execution", b"workflow_execution" + ], + ) -> None: ... global___UpdateRef = UpdateRef @@ -77,9 +96,21 @@ class Outcome(google.protobuf.message.Message): success: temporalio.api.common.v1.message_pb2.Payloads | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "success", b"success", "value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "success", b"success", "value", b"value"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["success", "failure"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "success", b"success", "value", b"value" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "success", b"success", "value", b"value" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["value", b"value"] + ) -> typing_extensions.Literal["success", "failure"] | None: ... global___Outcome = Outcome @@ -100,7 +131,12 @@ class Meta(google.protobuf.message.Message): update_id: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "update_id", b"update_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", b"identity", "update_id", b"update_id" + ], + ) -> None: ... global___Meta = Meta @@ -127,8 +163,16 @@ class Input(google.protobuf.message.Message): name: builtins.str = ..., args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["args", b"args", "header", b"header"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "header", b"header", "name", b"name"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["args", b"args", "header", b"header"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "args", b"args", "header", b"header", "name", b"name" + ], + ) -> None: ... global___Input = Input @@ -149,8 +193,12 @@ class Request(google.protobuf.message.Message): meta: global___Meta | None = ..., input: global___Input | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] + ) -> None: ... global___Request = Request @@ -177,8 +225,25 @@ class Rejection(google.protobuf.message.Message): rejected_request: global___Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "rejected_request", b"rejected_request", "rejected_request_message_id", b"rejected_request_message_id", "rejected_request_sequencing_event_id", b"rejected_request_sequencing_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "rejected_request", b"rejected_request" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", + b"failure", + "rejected_request", + b"rejected_request", + "rejected_request_message_id", + b"rejected_request_message_id", + "rejected_request_sequencing_event_id", + b"rejected_request_sequencing_event_id", + ], + ) -> None: ... global___Rejection = Rejection @@ -203,8 +268,21 @@ class Acceptance(google.protobuf.message.Message): accepted_request_sequencing_event_id: builtins.int = ..., accepted_request: global___Request | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted_request", b"accepted_request", "accepted_request_message_id", b"accepted_request_message_id", "accepted_request_sequencing_event_id", b"accepted_request_sequencing_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted_request", + b"accepted_request", + "accepted_request_message_id", + b"accepted_request_message_id", + "accepted_request_sequencing_event_id", + b"accepted_request_sequencing_event_id", + ], + ) -> None: ... global___Acceptance = Acceptance @@ -227,7 +305,13 @@ class Response(google.protobuf.message.Message): meta: global___Meta | None = ..., outcome: global___Outcome | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + ) -> None: ... global___Response = Response diff --git a/temporalio/api/version/v1/__init__.py b/temporalio/api/version/v1/__init__.py index 6ac56355f..fc1ee059f 100644 --- a/temporalio/api/version/v1/__init__.py +++ b/temporalio/api/version/v1/__init__.py @@ -1,6 +1,4 @@ -from .message_pb2 import ReleaseInfo -from .message_pb2 import Alert -from .message_pb2 import VersionInfo +from .message_pb2 import Alert, ReleaseInfo, VersionInfo __all__ = [ "Alert", diff --git a/temporalio/api/version/v1/message_pb2.py b/temporalio/api/version/v1/message_pb2.py index 7ed02d923..de0b7a6ce 100644 --- a/temporalio/api/version/v1/message_pb2.py +++ b/temporalio/api/version/v1/message_pb2.py @@ -2,56 +2,72 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/version/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"temporal/api/enums/v1/common.proto\"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t\"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity\"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3' +) - -_RELEASEINFO = DESCRIPTOR.message_types_by_name['ReleaseInfo'] -_ALERT = DESCRIPTOR.message_types_by_name['Alert'] -_VERSIONINFO = DESCRIPTOR.message_types_by_name['VersionInfo'] -ReleaseInfo = _reflection.GeneratedProtocolMessageType('ReleaseInfo', (_message.Message,), { - 'DESCRIPTOR' : _RELEASEINFO, - '__module__' : 'temporal.api.version.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) - }) +_RELEASEINFO = DESCRIPTOR.message_types_by_name["ReleaseInfo"] +_ALERT = DESCRIPTOR.message_types_by_name["Alert"] +_VERSIONINFO = DESCRIPTOR.message_types_by_name["VersionInfo"] +ReleaseInfo = _reflection.GeneratedProtocolMessageType( + "ReleaseInfo", + (_message.Message,), + { + "DESCRIPTOR": _RELEASEINFO, + "__module__": "temporal.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) + }, +) _sym_db.RegisterMessage(ReleaseInfo) -Alert = _reflection.GeneratedProtocolMessageType('Alert', (_message.Message,), { - 'DESCRIPTOR' : _ALERT, - '__module__' : 'temporal.api.version.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) - }) +Alert = _reflection.GeneratedProtocolMessageType( + "Alert", + (_message.Message,), + { + "DESCRIPTOR": _ALERT, + "__module__": "temporal.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) + }, +) _sym_db.RegisterMessage(Alert) -VersionInfo = _reflection.GeneratedProtocolMessageType('VersionInfo', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONINFO, - '__module__' : 'temporal.api.version.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) - }) +VersionInfo = _reflection.GeneratedProtocolMessageType( + "VersionInfo", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONINFO, + "__module__": "temporal.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) + }, +) _sym_db.RegisterMessage(VersionInfo) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1' - _RELEASEINFO._serialized_start=135 - _RELEASEINFO._serialized_end=230 - _ALERT._serialized_start=232 - _ALERT._serialized_end=307 - _VERSIONINFO._serialized_start=310 - _VERSIONINFO._serialized_end=561 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" + _RELEASEINFO._serialized_start = 135 + _RELEASEINFO._serialized_end = 230 + _ALERT._serialized_start = 232 + _ALERT._serialized_end = 307 + _VERSIONINFO._serialized_start = 310 + _VERSIONINFO._serialized_end = 561 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/version/v1/message_pb2.pyi b/temporalio/api/version/v1/message_pb2.pyi index e098002a7..dc481aeda 100644 --- a/temporalio/api/version/v1/message_pb2.pyi +++ b/temporalio/api/version/v1/message_pb2.pyi @@ -2,13 +2,16 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.enums.v1.common_pb2 if sys.version_info >= (3, 8): @@ -37,8 +40,15 @@ class ReleaseInfo(google.protobuf.message.Message): release_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., notes: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["release_time", b"release_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["notes", b"notes", "release_time", b"release_time", "version", b"version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["release_time", b"release_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "notes", b"notes", "release_time", b"release_time", "version", b"version" + ], + ) -> None: ... global___ReleaseInfo = ReleaseInfo @@ -57,7 +67,12 @@ class Alert(google.protobuf.message.Message): message: builtins.str = ..., severity: temporalio.api.enums.v1.common_pb2.Severity.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "severity", b"severity"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "message", b"message", "severity", b"severity" + ], + ) -> None: ... global___Alert = Alert @@ -77,7 +92,11 @@ class VersionInfo(google.protobuf.message.Message): def recommended(self) -> global___ReleaseInfo: ... instructions: builtins.str @property - def alerts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Alert]: ... + def alerts( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Alert + ]: ... @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( @@ -89,7 +108,31 @@ class VersionInfo(google.protobuf.message.Message): alerts: collections.abc.Iterable[global___Alert] | None = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current", b"current", "last_update_time", b"last_update_time", "recommended", b"recommended"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["alerts", b"alerts", "current", b"current", "instructions", b"instructions", "last_update_time", b"last_update_time", "recommended", b"recommended"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current", + b"current", + "last_update_time", + b"last_update_time", + "recommended", + b"recommended", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "alerts", + b"alerts", + "current", + b"current", + "instructions", + b"instructions", + "last_update_time", + b"last_update_time", + "recommended", + b"recommended", + ], + ) -> None: ... global___VersionInfo = VersionInfo diff --git a/temporalio/api/worker/v1/__init__.py b/temporalio/api/worker/v1/__init__.py index 57ffd6aa8..ba261cbe3 100644 --- a/temporalio/api/worker/v1/__init__.py +++ b/temporalio/api/worker/v1/__init__.py @@ -1,9 +1,11 @@ -from .message_pb2 import WorkerPollerInfo -from .message_pb2 import WorkerSlotsInfo -from .message_pb2 import WorkerHostInfo -from .message_pb2 import WorkerHeartbeat -from .message_pb2 import WorkerInfo -from .message_pb2 import PluginInfo +from .message_pb2 import ( + PluginInfo, + WorkerHeartbeat, + WorkerHostInfo, + WorkerInfo, + WorkerPollerInfo, + WorkerSlotsInfo, +) __all__ = [ "PluginInfo", diff --git a/temporalio/api/worker/v1/message_pb2.py b/temporalio/api/worker/v1/message_pb2.py index 79ec1d01b..4a5820368 100644 --- a/temporalio/api/worker/v1/message_pb2.py +++ b/temporalio/api/worker/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/worker/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,76 +16,104 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08\"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05\"\x8c\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x13\n\x0bprocess_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02\"\xcf\t\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a"temporal/api/enums/v1/common.proto"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05"\x8c\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x13\n\x0bprocess_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02"\xcf\t\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3' +) - -_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name['WorkerPollerInfo'] -_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name['WorkerSlotsInfo'] -_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name['WorkerHostInfo'] -_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name['WorkerHeartbeat'] -_WORKERINFO = DESCRIPTOR.message_types_by_name['WorkerInfo'] -_PLUGININFO = DESCRIPTOR.message_types_by_name['PluginInfo'] -WorkerPollerInfo = _reflection.GeneratedProtocolMessageType('WorkerPollerInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKERPOLLERINFO, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) - }) +_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name["WorkerPollerInfo"] +_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name["WorkerSlotsInfo"] +_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name["WorkerHostInfo"] +_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name["WorkerHeartbeat"] +_WORKERINFO = DESCRIPTOR.message_types_by_name["WorkerInfo"] +_PLUGININFO = DESCRIPTOR.message_types_by_name["PluginInfo"] +WorkerPollerInfo = _reflection.GeneratedProtocolMessageType( + "WorkerPollerInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERPOLLERINFO, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) + }, +) _sym_db.RegisterMessage(WorkerPollerInfo) -WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType('WorkerSlotsInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKERSLOTSINFO, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) - }) +WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType( + "WorkerSlotsInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERSLOTSINFO, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) + }, +) _sym_db.RegisterMessage(WorkerSlotsInfo) -WorkerHostInfo = _reflection.GeneratedProtocolMessageType('WorkerHostInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKERHOSTINFO, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) - }) +WorkerHostInfo = _reflection.GeneratedProtocolMessageType( + "WorkerHostInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERHOSTINFO, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) + }, +) _sym_db.RegisterMessage(WorkerHostInfo) -WorkerHeartbeat = _reflection.GeneratedProtocolMessageType('WorkerHeartbeat', (_message.Message,), { - 'DESCRIPTOR' : _WORKERHEARTBEAT, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) - }) +WorkerHeartbeat = _reflection.GeneratedProtocolMessageType( + "WorkerHeartbeat", + (_message.Message,), + { + "DESCRIPTOR": _WORKERHEARTBEAT, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) + }, +) _sym_db.RegisterMessage(WorkerHeartbeat) -WorkerInfo = _reflection.GeneratedProtocolMessageType('WorkerInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKERINFO, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) - }) +WorkerInfo = _reflection.GeneratedProtocolMessageType( + "WorkerInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERINFO, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) + }, +) _sym_db.RegisterMessage(WorkerInfo) -PluginInfo = _reflection.GeneratedProtocolMessageType('PluginInfo', (_message.Message,), { - 'DESCRIPTOR' : _PLUGININFO, - '__module__' : 'temporal.api.worker.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) - }) +PluginInfo = _reflection.GeneratedProtocolMessageType( + "PluginInfo", + (_message.Message,), + { + "DESCRIPTOR": _PLUGININFO, + "__module__": "temporal.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) + }, +) _sym_db.RegisterMessage(PluginInfo) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1' - _WORKERPOLLERINFO._serialized_start=208 - _WORKERPOLLERINFO._serialized_end=338 - _WORKERSLOTSINFO._serialized_start=341 - _WORKERSLOTSINFO._serialized_end=582 - _WORKERHOSTINFO._serialized_start=585 - _WORKERHOSTINFO._serialized_end=725 - _WORKERHEARTBEAT._serialized_start=728 - _WORKERHEARTBEAT._serialized_end=1959 - _WORKERINFO._serialized_start=1961 - _WORKERINFO._serialized_end=2040 - _PLUGININFO._serialized_start=2042 - _PLUGININFO._serialized_end=2085 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" + _WORKERPOLLERINFO._serialized_start = 208 + _WORKERPOLLERINFO._serialized_end = 338 + _WORKERSLOTSINFO._serialized_start = 341 + _WORKERSLOTSINFO._serialized_end = 582 + _WORKERHOSTINFO._serialized_start = 585 + _WORKERHOSTINFO._serialized_end = 725 + _WORKERHEARTBEAT._serialized_start = 728 + _WORKERHEARTBEAT._serialized_end = 1959 + _WORKERINFO._serialized_start = 1961 + _WORKERINFO._serialized_end = 2040 + _PLUGININFO._serialized_start = 2042 + _PLUGININFO._serialized_end = 2085 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/worker/v1/message_pb2.pyi b/temporalio/api/worker/v1/message_pb2.pyi index a850627e1..e4c2a4725 100644 --- a/temporalio/api/worker/v1/message_pb2.pyi +++ b/temporalio/api/worker/v1/message_pb2.pyi @@ -2,14 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 @@ -39,8 +42,23 @@ class WorkerPollerInfo(google.protobuf.message.Message): last_successful_poll_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_autoscaling: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_successful_poll_time", b"last_successful_poll_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_pollers", b"current_pollers", "is_autoscaling", b"is_autoscaling", "last_successful_poll_time", b"last_successful_poll_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_successful_poll_time", b"last_successful_poll_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_pollers", + b"current_pollers", + "is_autoscaling", + b"is_autoscaling", + "last_successful_poll_time", + b"last_successful_poll_time", + ], + ) -> None: ... global___WorkerPollerInfo = WorkerPollerInfo @@ -88,7 +106,25 @@ class WorkerSlotsInfo(google.protobuf.message.Message): last_interval_processed_tasks: builtins.int = ..., last_interval_failure_tasks: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["current_available_slots", b"current_available_slots", "current_used_slots", b"current_used_slots", "last_interval_failure_tasks", b"last_interval_failure_tasks", "last_interval_processed_tasks", b"last_interval_processed_tasks", "slot_supplier_kind", b"slot_supplier_kind", "total_failed_tasks", b"total_failed_tasks", "total_processed_tasks", b"total_processed_tasks"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_available_slots", + b"current_available_slots", + "current_used_slots", + b"current_used_slots", + "last_interval_failure_tasks", + b"last_interval_failure_tasks", + "last_interval_processed_tasks", + b"last_interval_processed_tasks", + "slot_supplier_kind", + b"slot_supplier_kind", + "total_failed_tasks", + b"total_failed_tasks", + "total_processed_tasks", + b"total_processed_tasks", + ], + ) -> None: ... global___WorkerSlotsInfo = WorkerSlotsInfo @@ -132,7 +168,21 @@ class WorkerHostInfo(google.protobuf.message.Message): current_host_cpu_usage: builtins.float = ..., current_host_mem_usage: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["current_host_cpu_usage", b"current_host_cpu_usage", "current_host_mem_usage", b"current_host_mem_usage", "host_name", b"host_name", "process_id", b"process_id", "process_key", b"process_key"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_host_cpu_usage", + b"current_host_cpu_usage", + "current_host_mem_usage", + b"current_host_mem_usage", + "host_name", + b"host_name", + "process_id", + b"process_id", + "process_key", + b"process_key", + ], + ) -> None: ... global___WorkerHostInfo = WorkerHostInfo @@ -182,7 +232,9 @@ class WorkerHeartbeat(google.protobuf.message.Message): task_queue: builtins.str """Task queue this worker is polling for tasks.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... sdk_name: builtins.str sdk_version: builtins.str status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType @@ -223,7 +275,11 @@ class WorkerHeartbeat(google.protobuf.message.Message): current_sticky_cache_size: builtins.int """Current cache size, expressed in number of Workflow Executions.""" @property - def plugins(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PluginInfo]: + def plugins( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___PluginInfo + ]: """Plugins currently in use by this SDK.""" def __init__( self, @@ -232,13 +288,15 @@ class WorkerHeartbeat(google.protobuf.message.Message): worker_identity: builtins.str = ..., host_info: global___WorkerHostInfo | None = ..., task_queue: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., sdk_name: builtins.str = ..., sdk_version: builtins.str = ..., status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., heartbeat_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration | None = ..., + elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration + | None = ..., workflow_task_slots_info: global___WorkerSlotsInfo | None = ..., activity_task_slots_info: global___WorkerSlotsInfo | None = ..., nexus_task_slots_info: global___WorkerSlotsInfo | None = ..., @@ -252,8 +310,88 @@ class WorkerHeartbeat(google.protobuf.message.Message): current_sticky_cache_size: builtins.int = ..., plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_poller_info", b"activity_poller_info", "activity_task_slots_info", b"activity_task_slots_info", "deployment_version", b"deployment_version", "elapsed_since_last_heartbeat", b"elapsed_since_last_heartbeat", "heartbeat_time", b"heartbeat_time", "host_info", b"host_info", "local_activity_slots_info", b"local_activity_slots_info", "nexus_poller_info", b"nexus_poller_info", "nexus_task_slots_info", b"nexus_task_slots_info", "start_time", b"start_time", "workflow_poller_info", b"workflow_poller_info", "workflow_sticky_poller_info", b"workflow_sticky_poller_info", "workflow_task_slots_info", b"workflow_task_slots_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_poller_info", b"activity_poller_info", "activity_task_slots_info", b"activity_task_slots_info", "current_sticky_cache_size", b"current_sticky_cache_size", "deployment_version", b"deployment_version", "elapsed_since_last_heartbeat", b"elapsed_since_last_heartbeat", "heartbeat_time", b"heartbeat_time", "host_info", b"host_info", "local_activity_slots_info", b"local_activity_slots_info", "nexus_poller_info", b"nexus_poller_info", "nexus_task_slots_info", b"nexus_task_slots_info", "plugins", b"plugins", "sdk_name", b"sdk_name", "sdk_version", b"sdk_version", "start_time", b"start_time", "status", b"status", "task_queue", b"task_queue", "total_sticky_cache_hit", b"total_sticky_cache_hit", "total_sticky_cache_miss", b"total_sticky_cache_miss", "worker_identity", b"worker_identity", "worker_instance_key", b"worker_instance_key", "workflow_poller_info", b"workflow_poller_info", "workflow_sticky_poller_info", b"workflow_sticky_poller_info", "workflow_task_slots_info", b"workflow_task_slots_info"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_poller_info", + b"activity_poller_info", + "activity_task_slots_info", + b"activity_task_slots_info", + "deployment_version", + b"deployment_version", + "elapsed_since_last_heartbeat", + b"elapsed_since_last_heartbeat", + "heartbeat_time", + b"heartbeat_time", + "host_info", + b"host_info", + "local_activity_slots_info", + b"local_activity_slots_info", + "nexus_poller_info", + b"nexus_poller_info", + "nexus_task_slots_info", + b"nexus_task_slots_info", + "start_time", + b"start_time", + "workflow_poller_info", + b"workflow_poller_info", + "workflow_sticky_poller_info", + b"workflow_sticky_poller_info", + "workflow_task_slots_info", + b"workflow_task_slots_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_poller_info", + b"activity_poller_info", + "activity_task_slots_info", + b"activity_task_slots_info", + "current_sticky_cache_size", + b"current_sticky_cache_size", + "deployment_version", + b"deployment_version", + "elapsed_since_last_heartbeat", + b"elapsed_since_last_heartbeat", + "heartbeat_time", + b"heartbeat_time", + "host_info", + b"host_info", + "local_activity_slots_info", + b"local_activity_slots_info", + "nexus_poller_info", + b"nexus_poller_info", + "nexus_task_slots_info", + b"nexus_task_slots_info", + "plugins", + b"plugins", + "sdk_name", + b"sdk_name", + "sdk_version", + b"sdk_version", + "start_time", + b"start_time", + "status", + b"status", + "task_queue", + b"task_queue", + "total_sticky_cache_hit", + b"total_sticky_cache_hit", + "total_sticky_cache_miss", + b"total_sticky_cache_miss", + "worker_identity", + b"worker_identity", + "worker_instance_key", + b"worker_instance_key", + "workflow_poller_info", + b"workflow_poller_info", + "workflow_sticky_poller_info", + b"workflow_sticky_poller_info", + "workflow_task_slots_info", + b"workflow_task_slots_info", + ], + ) -> None: ... global___WorkerHeartbeat = WorkerHeartbeat @@ -268,8 +406,14 @@ class WorkerInfo(google.protobuf.message.Message): *, worker_heartbeat: global___WorkerHeartbeat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + ) -> None: ... global___WorkerInfo = WorkerInfo @@ -288,6 +432,9 @@ class PluginInfo(google.protobuf.message.Message): name: builtins.str = ..., version: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["name", b"name", "version", b"version"], + ) -> None: ... global___PluginInfo = PluginInfo diff --git a/temporalio/api/workflow/v1/__init__.py b/temporalio/api/workflow/v1/__init__.py index 7c3afc63e..30a251fa1 100644 --- a/temporalio/api/workflow/v1/__init__.py +++ b/temporalio/api/workflow/v1/__init__.py @@ -1,23 +1,25 @@ -from .message_pb2 import WorkflowExecutionInfo -from .message_pb2 import WorkflowExecutionExtendedInfo -from .message_pb2 import WorkflowExecutionVersioningInfo -from .message_pb2 import DeploymentTransition -from .message_pb2 import DeploymentVersionTransition -from .message_pb2 import WorkflowExecutionConfig -from .message_pb2 import PendingActivityInfo -from .message_pb2 import PendingChildExecutionInfo -from .message_pb2 import PendingWorkflowTaskInfo -from .message_pb2 import ResetPoints -from .message_pb2 import ResetPointInfo -from .message_pb2 import NewWorkflowExecutionInfo -from .message_pb2 import CallbackInfo -from .message_pb2 import PendingNexusOperationInfo -from .message_pb2 import NexusOperationCancellationInfo -from .message_pb2 import WorkflowExecutionOptions -from .message_pb2 import VersioningOverride -from .message_pb2 import OnConflictOptions -from .message_pb2 import RequestIdInfo -from .message_pb2 import PostResetOperation +from .message_pb2 import ( + CallbackInfo, + DeploymentTransition, + DeploymentVersionTransition, + NewWorkflowExecutionInfo, + NexusOperationCancellationInfo, + OnConflictOptions, + PendingActivityInfo, + PendingChildExecutionInfo, + PendingNexusOperationInfo, + PendingWorkflowTaskInfo, + PostResetOperation, + RequestIdInfo, + ResetPointInfo, + ResetPoints, + VersioningOverride, + WorkflowExecutionConfig, + WorkflowExecutionExtendedInfo, + WorkflowExecutionInfo, + WorkflowExecutionOptions, + WorkflowExecutionVersioningInfo, +) __all__ = [ "CallbackInfo", diff --git a/temporalio/api/workflow/v1/message_pb2.py b/temporalio/api/workflow/v1/message_pb2.py index c2221e36e..4e58a81c2 100644 --- a/temporalio/api/workflow/v1/message_pb2.py +++ b/temporalio/api/workflow/v1/message_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflow/v1/message.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,363 +16,541 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.enums.v1 import event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xab\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xfc\x03\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01\"\xf5\x03\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id\"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08\"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant\"\x92\x05\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\"e\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08\"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3') - - +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionInfo'] -_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionExtendedInfo'] -_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name['RequestIdInfosEntry'] -_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name['WorkflowExecutionVersioningInfo'] -_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name['DeploymentTransition'] -_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name['DeploymentVersionTransition'] -_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name['WorkflowExecutionConfig'] -_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name['PendingActivityInfo'] -_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name['PauseInfo'] -_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name['Manual'] -_PENDINGACTIVITYINFO_PAUSEINFO_RULE = _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name['Rule'] -_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name['PendingChildExecutionInfo'] -_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name['PendingWorkflowTaskInfo'] -_RESETPOINTS = DESCRIPTOR.message_types_by_name['ResetPoints'] -_RESETPOINTINFO = DESCRIPTOR.message_types_by_name['ResetPointInfo'] -_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name['NewWorkflowExecutionInfo'] -_CALLBACKINFO = DESCRIPTOR.message_types_by_name['CallbackInfo'] -_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name['WorkflowClosed'] -_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name['Trigger'] -_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name['PendingNexusOperationInfo'] -_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name['NexusOperationCancellationInfo'] -_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name['WorkflowExecutionOptions'] -_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name['VersioningOverride'] -_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name['PinnedOverride'] -_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name['OnConflictOptions'] -_REQUESTIDINFO = DESCRIPTOR.message_types_by_name['RequestIdInfo'] -_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name['PostResetOperation'] -_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name['SignalWorkflow'] -_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name['UpdateWorkflowOptions'] -_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name['PinnedOverrideBehavior'] -WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) - }) +from temporalio.api.activity.v1 import ( + message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, +) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.enums.v1 import ( + event_type_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_event__type__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xab\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xfc\x03\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01"\xf5\x03\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant"\x92\x05\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t"e\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3' +) + + +_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["WorkflowExecutionInfo"] +_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionExtendedInfo" +] +_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = ( + _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name["RequestIdInfosEntry"] +) +_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionVersioningInfo" +] +_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name["DeploymentTransition"] +_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name[ + "DeploymentVersionTransition" +] +_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name["WorkflowExecutionConfig"] +_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name["PendingActivityInfo"] +_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name["PauseInfo"] +_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = ( + _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Manual"] +) +_PENDINGACTIVITYINFO_PAUSEINFO_RULE = ( + _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Rule"] +) +_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ + "PendingChildExecutionInfo" +] +_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name["PendingWorkflowTaskInfo"] +_RESETPOINTS = DESCRIPTOR.message_types_by_name["ResetPoints"] +_RESETPOINTINFO = DESCRIPTOR.message_types_by_name["ResetPointInfo"] +_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["NewWorkflowExecutionInfo"] +_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] +_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name["WorkflowClosed"] +_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] +_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name[ + "PendingNexusOperationInfo" +] +_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancellationInfo" +] +_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutionOptions"] +_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name["VersioningOverride"] +_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name[ + "PinnedOverride" +] +_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] +_REQUESTIDINFO = DESCRIPTOR.message_types_by_name["RequestIdInfo"] +_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name["PostResetOperation"] +_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name[ + "SignalWorkflow" +] +_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name[ + "UpdateWorkflowOptions" +] +_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name[ + "PinnedOverrideBehavior" +] +WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) + }, +) _sym_db.RegisterMessage(WorkflowExecutionInfo) -WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionExtendedInfo', (_message.Message,), { - - 'RequestIdInfosEntry' : _reflection.GeneratedProtocolMessageType('RequestIdInfosEntry', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) - }) - , - 'DESCRIPTOR' : _WORKFLOWEXECUTIONEXTENDEDINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) - }) +WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionExtendedInfo", + (_message.Message,), + { + "RequestIdInfosEntry": _reflection.GeneratedProtocolMessageType( + "RequestIdInfosEntry", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) + }, + ), + "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) + }, +) _sym_db.RegisterMessage(WorkflowExecutionExtendedInfo) _sym_db.RegisterMessage(WorkflowExecutionExtendedInfo.RequestIdInfosEntry) -WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionVersioningInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONVERSIONINGINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) - }) +WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionVersioningInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONVERSIONINGINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) + }, +) _sym_db.RegisterMessage(WorkflowExecutionVersioningInfo) -DeploymentTransition = _reflection.GeneratedProtocolMessageType('DeploymentTransition', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENTTRANSITION, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) - }) +DeploymentTransition = _reflection.GeneratedProtocolMessageType( + "DeploymentTransition", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTTRANSITION, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) + }, +) _sym_db.RegisterMessage(DeploymentTransition) -DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType('DeploymentVersionTransition', (_message.Message,), { - 'DESCRIPTOR' : _DEPLOYMENTVERSIONTRANSITION, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) - }) +DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType( + "DeploymentVersionTransition", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTVERSIONTRANSITION, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) + }, +) _sym_db.RegisterMessage(DeploymentVersionTransition) -WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType('WorkflowExecutionConfig', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONFIG, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) - }) +WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionConfig", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCONFIG, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) + }, +) _sym_db.RegisterMessage(WorkflowExecutionConfig) -PendingActivityInfo = _reflection.GeneratedProtocolMessageType('PendingActivityInfo', (_message.Message,), { - - 'PauseInfo' : _reflection.GeneratedProtocolMessageType('PauseInfo', (_message.Message,), { - - 'Manual' : _reflection.GeneratedProtocolMessageType('Manual', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) - }) - , - - 'Rule' : _reflection.GeneratedProtocolMessageType('Rule', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO_RULE, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) - }) - , - 'DESCRIPTOR' : _PENDINGACTIVITYINFO_PAUSEINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) - }) - , - 'DESCRIPTOR' : _PENDINGACTIVITYINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) - }) +PendingActivityInfo = _reflection.GeneratedProtocolMessageType( + "PendingActivityInfo", + (_message.Message,), + { + "PauseInfo": _reflection.GeneratedProtocolMessageType( + "PauseInfo", + (_message.Message,), + { + "Manual": _reflection.GeneratedProtocolMessageType( + "Manual", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) + }, + ), + "Rule": _reflection.GeneratedProtocolMessageType( + "Rule", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_RULE, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) + }, + ), + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) + }, + ), + "DESCRIPTOR": _PENDINGACTIVITYINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) + }, +) _sym_db.RegisterMessage(PendingActivityInfo) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Manual) _sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Rule) -PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType('PendingChildExecutionInfo', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHILDEXECUTIONINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) - }) +PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType( + "PendingChildExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGCHILDEXECUTIONINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) + }, +) _sym_db.RegisterMessage(PendingChildExecutionInfo) -PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType('PendingWorkflowTaskInfo', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGWORKFLOWTASKINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) - }) +PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType( + "PendingWorkflowTaskInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGWORKFLOWTASKINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) + }, +) _sym_db.RegisterMessage(PendingWorkflowTaskInfo) -ResetPoints = _reflection.GeneratedProtocolMessageType('ResetPoints', (_message.Message,), { - 'DESCRIPTOR' : _RESETPOINTS, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) - }) +ResetPoints = _reflection.GeneratedProtocolMessageType( + "ResetPoints", + (_message.Message,), + { + "DESCRIPTOR": _RESETPOINTS, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) + }, +) _sym_db.RegisterMessage(ResetPoints) -ResetPointInfo = _reflection.GeneratedProtocolMessageType('ResetPointInfo', (_message.Message,), { - 'DESCRIPTOR' : _RESETPOINTINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) - }) +ResetPointInfo = _reflection.GeneratedProtocolMessageType( + "ResetPointInfo", + (_message.Message,), + { + "DESCRIPTOR": _RESETPOINTINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) + }, +) _sym_db.RegisterMessage(ResetPointInfo) -NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType('NewWorkflowExecutionInfo', (_message.Message,), { - 'DESCRIPTOR' : _NEWWORKFLOWEXECUTIONINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) - }) +NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( + "NewWorkflowExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEWWORKFLOWEXECUTIONINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) + }, +) _sym_db.RegisterMessage(NewWorkflowExecutionInfo) -CallbackInfo = _reflection.GeneratedProtocolMessageType('CallbackInfo', (_message.Message,), { - - 'WorkflowClosed' : _reflection.GeneratedProtocolMessageType('WorkflowClosed', (_message.Message,), { - 'DESCRIPTOR' : _CALLBACKINFO_WORKFLOWCLOSED, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) - }) - , - - 'Trigger' : _reflection.GeneratedProtocolMessageType('Trigger', (_message.Message,), { - 'DESCRIPTOR' : _CALLBACKINFO_TRIGGER, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) - }) - , - 'DESCRIPTOR' : _CALLBACKINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) - }) +CallbackInfo = _reflection.GeneratedProtocolMessageType( + "CallbackInfo", + (_message.Message,), + { + "WorkflowClosed": _reflection.GeneratedProtocolMessageType( + "WorkflowClosed", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_WORKFLOWCLOSED, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) + }, + ), + "Trigger": _reflection.GeneratedProtocolMessageType( + "Trigger", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_TRIGGER, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) + }, + ), + "DESCRIPTOR": _CALLBACKINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) + }, +) _sym_db.RegisterMessage(CallbackInfo) _sym_db.RegisterMessage(CallbackInfo.WorkflowClosed) _sym_db.RegisterMessage(CallbackInfo.Trigger) -PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType('PendingNexusOperationInfo', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGNEXUSOPERATIONINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) - }) +PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType( + "PendingNexusOperationInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGNEXUSOPERATIONINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) + }, +) _sym_db.RegisterMessage(PendingNexusOperationInfo) -NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType('NexusOperationCancellationInfo', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONCANCELLATIONINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) - }) +NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationCancellationInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELLATIONINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) + }, +) _sym_db.RegisterMessage(NexusOperationCancellationInfo) -WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType('WorkflowExecutionOptions', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWEXECUTIONOPTIONS, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) - }) +WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionOptions", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONS, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) + }, +) _sym_db.RegisterMessage(WorkflowExecutionOptions) -VersioningOverride = _reflection.GeneratedProtocolMessageType('VersioningOverride', (_message.Message,), { - - 'PinnedOverride' : _reflection.GeneratedProtocolMessageType('PinnedOverride', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONINGOVERRIDE_PINNEDOVERRIDE, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) - }) - , - 'DESCRIPTOR' : _VERSIONINGOVERRIDE, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) - }) +VersioningOverride = _reflection.GeneratedProtocolMessageType( + "VersioningOverride", + (_message.Message,), + { + "PinnedOverride": _reflection.GeneratedProtocolMessageType( + "PinnedOverride", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONINGOVERRIDE_PINNEDOVERRIDE, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) + }, + ), + "DESCRIPTOR": _VERSIONINGOVERRIDE, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) + }, +) _sym_db.RegisterMessage(VersioningOverride) _sym_db.RegisterMessage(VersioningOverride.PinnedOverride) -OnConflictOptions = _reflection.GeneratedProtocolMessageType('OnConflictOptions', (_message.Message,), { - 'DESCRIPTOR' : _ONCONFLICTOPTIONS, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) - }) +OnConflictOptions = _reflection.GeneratedProtocolMessageType( + "OnConflictOptions", + (_message.Message,), + { + "DESCRIPTOR": _ONCONFLICTOPTIONS, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) + }, +) _sym_db.RegisterMessage(OnConflictOptions) -RequestIdInfo = _reflection.GeneratedProtocolMessageType('RequestIdInfo', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTIDINFO, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) - }) +RequestIdInfo = _reflection.GeneratedProtocolMessageType( + "RequestIdInfo", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTIDINFO, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) + }, +) _sym_db.RegisterMessage(RequestIdInfo) -PostResetOperation = _reflection.GeneratedProtocolMessageType('PostResetOperation', (_message.Message,), { - - 'SignalWorkflow' : _reflection.GeneratedProtocolMessageType('SignalWorkflow', (_message.Message,), { - 'DESCRIPTOR' : _POSTRESETOPERATION_SIGNALWORKFLOW, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) - }) - , - - 'UpdateWorkflowOptions' : _reflection.GeneratedProtocolMessageType('UpdateWorkflowOptions', (_message.Message,), { - 'DESCRIPTOR' : _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) - }) - , - 'DESCRIPTOR' : _POSTRESETOPERATION, - '__module__' : 'temporal.api.workflow.v1.message_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) - }) +PostResetOperation = _reflection.GeneratedProtocolMessageType( + "PostResetOperation", + (_message.Message,), + { + "SignalWorkflow": _reflection.GeneratedProtocolMessageType( + "SignalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _POSTRESETOPERATION_SIGNALWORKFLOW, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) + }, + ), + "UpdateWorkflowOptions": _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowOptions", + (_message.Message,), + { + "DESCRIPTOR": _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) + }, + ), + "DESCRIPTOR": _POSTRESETOPERATION, + "__module__": "temporal.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) + }, +) _sym_db.RegisterMessage(PostResetOperation) _sym_db.RegisterMessage(PostResetOperation.SignalWorkflow) _sym_db.RegisterMessage(PostResetOperation.UpdateWorkflowOptions) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z\'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1' - _WORKFLOWEXECUTIONINFO.fields_by_name['most_recent_worker_version_stamp']._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name['most_recent_worker_version_stamp']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONINFO.fields_by_name['assigned_build_id']._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name['assigned_build_id']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONINFO.fields_by_name['inherited_build_id']._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name['inherited_build_id']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b'8\001' - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment']._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['version']._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['version']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment_transition']._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name['deployment_transition']._serialized_options = b'\030\001' - _DEPLOYMENTVERSIONTRANSITION.fields_by_name['version']._options = None - _DEPLOYMENTVERSIONTRANSITION.fields_by_name['version']._serialized_options = b'\030\001' - _PENDINGACTIVITYINFO.fields_by_name['use_workflow_build_id']._options = None - _PENDINGACTIVITYINFO.fields_by_name['use_workflow_build_id']._serialized_options = b'\030\001' - _PENDINGACTIVITYINFO.fields_by_name['last_independently_assigned_build_id']._options = None - _PENDINGACTIVITYINFO.fields_by_name['last_independently_assigned_build_id']._serialized_options = b'\030\001' - _PENDINGACTIVITYINFO.fields_by_name['last_worker_version_stamp']._options = None - _PENDINGACTIVITYINFO.fields_by_name['last_worker_version_stamp']._serialized_options = b'\030\001' - _PENDINGACTIVITYINFO.fields_by_name['last_deployment']._options = None - _PENDINGACTIVITYINFO.fields_by_name['last_deployment']._serialized_options = b'\030\001' - _PENDINGACTIVITYINFO.fields_by_name['last_worker_deployment_version']._options = None - _PENDINGACTIVITYINFO.fields_by_name['last_worker_deployment_version']._serialized_options = b'\030\001' - _RESETPOINTINFO.fields_by_name['binary_checksum']._options = None - _RESETPOINTINFO.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _PENDINGNEXUSOPERATIONINFO.fields_by_name['operation_id']._options = None - _PENDINGNEXUSOPERATIONINFO.fields_by_name['operation_id']._serialized_options = b'\030\001' - _VERSIONINGOVERRIDE.fields_by_name['behavior']._options = None - _VERSIONINGOVERRIDE.fields_by_name['behavior']._serialized_options = b'\030\001' - _VERSIONINGOVERRIDE.fields_by_name['deployment']._options = None - _VERSIONINGOVERRIDE.fields_by_name['deployment']._serialized_options = b'\030\001' - _VERSIONINGOVERRIDE.fields_by_name['pinned_version']._options = None - _VERSIONINGOVERRIDE.fields_by_name['pinned_version']._serialized_options = b'\030\001' - _WORKFLOWEXECUTIONINFO._serialized_start=552 - _WORKFLOWEXECUTIONINFO._serialized_end=1747 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start=1750 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end=2258 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start=2164 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end=2258 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start=2261 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end=2762 - _DEPLOYMENTTRANSITION._serialized_start=2764 - _DEPLOYMENTTRANSITION._serialized_end=2846 - _DEPLOYMENTVERSIONTRANSITION._serialized_start=2849 - _DEPLOYMENTVERSIONTRANSITION._serialized_end=2980 - _WORKFLOWEXECUTIONCONFIG._serialized_start=2983 - _WORKFLOWEXECUTIONCONFIG._serialized_end=3310 - _PENDINGACTIVITYINFO._serialized_start=3313 - _PENDINGACTIVITYINFO._serialized_end=5038 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start=4682 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end=5017 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start=4903 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end=4945 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start=4947 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end=5004 - _PENDINGCHILDEXECUTIONINFO._serialized_start=5041 - _PENDINGCHILDEXECUTIONINFO._serialized_end=5226 - _PENDINGWORKFLOWTASKINFO._serialized_start=5229 - _PENDINGWORKFLOWTASKINFO._serialized_end=5498 - _RESETPOINTS._serialized_start=5500 - _RESETPOINTS._serialized_end=5571 - _RESETPOINTINFO._serialized_start=5574 - _RESETPOINTINFO._serialized_end=5813 - _NEWWORKFLOWEXECUTIONINFO._serialized_start=5816 - _NEWWORKFLOWEXECUTIONINFO._serialized_end=6717 - _CALLBACKINFO._serialized_start=6720 - _CALLBACKINFO._serialized_end=7314 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_start=7194 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_end=7210 - _CALLBACKINFO_TRIGGER._serialized_start=7212 - _CALLBACKINFO_TRIGGER._serialized_end=7314 - _PENDINGNEXUSOPERATIONINFO._serialized_start=7317 - _PENDINGNEXUSOPERATIONINFO._serialized_end=7975 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_start=7978 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_end=8366 - _WORKFLOWEXECUTIONOPTIONS._serialized_start=8368 - _WORKFLOWEXECUTIONOPTIONS._serialized_end=8469 - _VERSIONINGOVERRIDE._serialized_start=8472 - _VERSIONINGOVERRIDE._serialized_end=9045 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start=8755 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end=8928 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start=8930 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end=9033 - _ONCONFLICTOPTIONS._serialized_start=9047 - _ONCONFLICTOPTIONS._serialized_end=9152 - _REQUESTIDINFO._serialized_start=9154 - _REQUESTIDINFO._serialized_end=9259 - _POSTRESETOPERATION._serialized_start=9262 - _POSTRESETOPERATION._serialized_end=9829 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start=9476 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end=9655 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start=9658 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end=9818 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" + _WORKFLOWEXECUTIONINFO.fields_by_name[ + "most_recent_worker_version_stamp" + ]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ + "most_recent_worker_version_stamp" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONINFO.fields_by_name["assigned_build_id"]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ + "assigned_build_id" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONINFO.fields_by_name["inherited_build_id"]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ + "inherited_build_id" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b"8\001" + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["deployment"]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["version"]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + "deployment_transition" + ]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + "deployment_transition" + ]._serialized_options = b"\030\001" + _DEPLOYMENTVERSIONTRANSITION.fields_by_name["version"]._options = None + _DEPLOYMENTVERSIONTRANSITION.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _PENDINGACTIVITYINFO.fields_by_name["use_workflow_build_id"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ + "use_workflow_build_id" + ]._serialized_options = b"\030\001" + _PENDINGACTIVITYINFO.fields_by_name[ + "last_independently_assigned_build_id" + ]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ + "last_independently_assigned_build_id" + ]._serialized_options = b"\030\001" + _PENDINGACTIVITYINFO.fields_by_name["last_worker_version_stamp"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ + "last_worker_version_stamp" + ]._serialized_options = b"\030\001" + _PENDINGACTIVITYINFO.fields_by_name["last_deployment"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ + "last_deployment" + ]._serialized_options = b"\030\001" + _PENDINGACTIVITYINFO.fields_by_name[ + "last_worker_deployment_version" + ]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ + "last_worker_deployment_version" + ]._serialized_options = b"\030\001" + _RESETPOINTINFO.fields_by_name["binary_checksum"]._options = None + _RESETPOINTINFO.fields_by_name["binary_checksum"]._serialized_options = b"\030\001" + _PENDINGNEXUSOPERATIONINFO.fields_by_name["operation_id"]._options = None + _PENDINGNEXUSOPERATIONINFO.fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _VERSIONINGOVERRIDE.fields_by_name["behavior"]._options = None + _VERSIONINGOVERRIDE.fields_by_name["behavior"]._serialized_options = b"\030\001" + _VERSIONINGOVERRIDE.fields_by_name["deployment"]._options = None + _VERSIONINGOVERRIDE.fields_by_name["deployment"]._serialized_options = b"\030\001" + _VERSIONINGOVERRIDE.fields_by_name["pinned_version"]._options = None + _VERSIONINGOVERRIDE.fields_by_name[ + "pinned_version" + ]._serialized_options = b"\030\001" + _WORKFLOWEXECUTIONINFO._serialized_start = 552 + _WORKFLOWEXECUTIONINFO._serialized_end = 1747 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start = 1750 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end = 2258 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start = 2164 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end = 2258 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start = 2261 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end = 2762 + _DEPLOYMENTTRANSITION._serialized_start = 2764 + _DEPLOYMENTTRANSITION._serialized_end = 2846 + _DEPLOYMENTVERSIONTRANSITION._serialized_start = 2849 + _DEPLOYMENTVERSIONTRANSITION._serialized_end = 2980 + _WORKFLOWEXECUTIONCONFIG._serialized_start = 2983 + _WORKFLOWEXECUTIONCONFIG._serialized_end = 3310 + _PENDINGACTIVITYINFO._serialized_start = 3313 + _PENDINGACTIVITYINFO._serialized_end = 5038 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start = 4682 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end = 5017 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start = 4903 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end = 4945 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start = 4947 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end = 5004 + _PENDINGCHILDEXECUTIONINFO._serialized_start = 5041 + _PENDINGCHILDEXECUTIONINFO._serialized_end = 5226 + _PENDINGWORKFLOWTASKINFO._serialized_start = 5229 + _PENDINGWORKFLOWTASKINFO._serialized_end = 5498 + _RESETPOINTS._serialized_start = 5500 + _RESETPOINTS._serialized_end = 5571 + _RESETPOINTINFO._serialized_start = 5574 + _RESETPOINTINFO._serialized_end = 5813 + _NEWWORKFLOWEXECUTIONINFO._serialized_start = 5816 + _NEWWORKFLOWEXECUTIONINFO._serialized_end = 6717 + _CALLBACKINFO._serialized_start = 6720 + _CALLBACKINFO._serialized_end = 7314 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_start = 7194 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_end = 7210 + _CALLBACKINFO_TRIGGER._serialized_start = 7212 + _CALLBACKINFO_TRIGGER._serialized_end = 7314 + _PENDINGNEXUSOPERATIONINFO._serialized_start = 7317 + _PENDINGNEXUSOPERATIONINFO._serialized_end = 7975 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_start = 7978 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_end = 8366 + _WORKFLOWEXECUTIONOPTIONS._serialized_start = 8368 + _WORKFLOWEXECUTIONOPTIONS._serialized_end = 8469 + _VERSIONINGOVERRIDE._serialized_start = 8472 + _VERSIONINGOVERRIDE._serialized_end = 9045 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start = 8755 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end = 8928 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start = 8930 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end = 9033 + _ONCONFLICTOPTIONS._serialized_start = 9047 + _ONCONFLICTOPTIONS._serialized_end = 9152 + _REQUESTIDINFO._serialized_start = 9154 + _REQUESTIDINFO._serialized_end = 9259 + _POSTRESETOPERATION._serialized_start = 9262 + _POSTRESETOPERATION._serialized_end = 9829 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start = 9476 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end = 9655 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start = 9658 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end = 9818 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflow/v1/message_pb2.pyi b/temporalio/api/workflow/v1/message_pb2.pyi index 9d9800eca..869790809 100644 --- a/temporalio/api/workflow/v1/message_pb2.pyi +++ b/temporalio/api/workflow/v1/message_pb2.pyi @@ -2,8 +2,12 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 @@ -12,7 +16,7 @@ import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.activity.v1.message_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 @@ -22,7 +26,6 @@ import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -74,20 +77,26 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): history_length: builtins.int parent_namespace_id: builtins.str @property - def parent_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def parent_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def execution_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def auto_reset_points(self) -> global___ResetPoints: ... task_queue: builtins.str state_transition_count: builtins.int history_size_bytes: builtins.int @property - def most_recent_worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def most_recent_worker_version_stamp( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @@ -161,17 +170,21 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., history_length: builtins.int = ..., parent_namespace_id: builtins.str = ..., - parent_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + parent_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., execution_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., auto_reset_points: global___ResetPoints | None = ..., task_queue: builtins.str = ..., state_transition_count: builtins.int = ..., history_size_bytes: builtins.int = ..., - most_recent_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + most_recent_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., execution_duration: google.protobuf.duration_pb2.Duration | None = ..., - root_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + root_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., assigned_build_id: builtins.str = ..., inherited_build_id: builtins.str = ..., first_run_id: builtins.str = ..., @@ -179,8 +192,92 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): worker_deployment_name: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["auto_reset_points", b"auto_reset_points", "close_time", b"close_time", "execution", b"execution", "execution_duration", b"execution_duration", "execution_time", b"execution_time", "memo", b"memo", "most_recent_worker_version_stamp", b"most_recent_worker_version_stamp", "parent_execution", b"parent_execution", "priority", b"priority", "root_execution", b"root_execution", "search_attributes", b"search_attributes", "start_time", b"start_time", "type", b"type", "versioning_info", b"versioning_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["assigned_build_id", b"assigned_build_id", "auto_reset_points", b"auto_reset_points", "close_time", b"close_time", "execution", b"execution", "execution_duration", b"execution_duration", "execution_time", b"execution_time", "first_run_id", b"first_run_id", "history_length", b"history_length", "history_size_bytes", b"history_size_bytes", "inherited_build_id", b"inherited_build_id", "memo", b"memo", "most_recent_worker_version_stamp", b"most_recent_worker_version_stamp", "parent_execution", b"parent_execution", "parent_namespace_id", b"parent_namespace_id", "priority", b"priority", "root_execution", b"root_execution", "search_attributes", b"search_attributes", "start_time", b"start_time", "state_transition_count", b"state_transition_count", "status", b"status", "task_queue", b"task_queue", "type", b"type", "versioning_info", b"versioning_info", "worker_deployment_name", b"worker_deployment_name"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "auto_reset_points", + b"auto_reset_points", + "close_time", + b"close_time", + "execution", + b"execution", + "execution_duration", + b"execution_duration", + "execution_time", + b"execution_time", + "memo", + b"memo", + "most_recent_worker_version_stamp", + b"most_recent_worker_version_stamp", + "parent_execution", + b"parent_execution", + "priority", + b"priority", + "root_execution", + b"root_execution", + "search_attributes", + b"search_attributes", + "start_time", + b"start_time", + "type", + b"type", + "versioning_info", + b"versioning_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "assigned_build_id", + b"assigned_build_id", + "auto_reset_points", + b"auto_reset_points", + "close_time", + b"close_time", + "execution", + b"execution", + "execution_duration", + b"execution_duration", + "execution_time", + b"execution_time", + "first_run_id", + b"first_run_id", + "history_length", + b"history_length", + "history_size_bytes", + b"history_size_bytes", + "inherited_build_id", + b"inherited_build_id", + "memo", + b"memo", + "most_recent_worker_version_stamp", + b"most_recent_worker_version_stamp", + "parent_execution", + b"parent_execution", + "parent_namespace_id", + b"parent_namespace_id", + "priority", + b"priority", + "root_execution", + b"root_execution", + "search_attributes", + b"search_attributes", + "start_time", + b"start_time", + "state_transition_count", + b"state_transition_count", + "status", + b"status", + "task_queue", + b"task_queue", + "type", + b"type", + "versioning_info", + b"versioning_info", + "worker_deployment_name", + b"worker_deployment_name", + ], + ) -> None: ... global___WorkflowExecutionInfo = WorkflowExecutionInfo @@ -203,8 +300,13 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): key: builtins.str = ..., value: global___RequestIdInfo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... EXECUTION_EXPIRATION_TIME_FIELD_NUMBER: builtins.int RUN_EXPIRATION_TIME_FIELD_NUMBER: builtins.int @@ -232,7 +334,11 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): reset_run_id: builtins.str """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" @property - def request_id_infos(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___RequestIdInfo]: + def request_id_infos( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, global___RequestIdInfo + ]: """Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is @@ -247,10 +353,41 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): last_reset_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., original_start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., reset_run_id: builtins.str = ..., - request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] | None = ..., + request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution_expiration_time", + b"execution_expiration_time", + "last_reset_time", + b"last_reset_time", + "original_start_time", + b"original_start_time", + "run_expiration_time", + b"run_expiration_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_requested", + b"cancel_requested", + "execution_expiration_time", + b"execution_expiration_time", + "last_reset_time", + b"last_reset_time", + "original_start_time", + b"original_start_time", + "request_id_infos", + b"request_id_infos", + "reset_run_id", + b"reset_run_id", + "run_expiration_time", + b"run_expiration_time", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution_expiration_time", b"execution_expiration_time", "last_reset_time", b"last_reset_time", "original_start_time", b"original_start_time", "run_expiration_time", b"run_expiration_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_requested", b"cancel_requested", "execution_expiration_time", b"execution_expiration_time", "last_reset_time", b"last_reset_time", "original_start_time", b"original_start_time", "request_id_infos", b"request_id_infos", "reset_run_id", b"reset_run_id", "run_expiration_time", b"run_expiration_time"]) -> None: ... global___WorkflowExecutionExtendedInfo = WorkflowExecutionExtendedInfo @@ -294,7 +431,9 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version that completed the last workflow task of this workflow execution. An absent value means no workflow task is completed, or the workflow is unversioned. If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed @@ -362,13 +501,46 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., versioning_override: global___VersioningOverride | None = ..., deployment_transition: global___DeploymentTransition | None = ..., version_transition: global___DeploymentVersionTransition | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_transition", b"deployment_transition", "deployment_version", b"deployment_version", "version_transition", b"version_transition", "versioning_override", b"versioning_override"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["behavior", b"behavior", "deployment", b"deployment", "deployment_transition", b"deployment_transition", "deployment_version", b"deployment_version", "version", b"version", "version_transition", b"version_transition", "versioning_override", b"versioning_override"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_transition", + b"deployment_transition", + "deployment_version", + b"deployment_version", + "version_transition", + b"version_transition", + "versioning_override", + b"versioning_override", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "behavior", + b"behavior", + "deployment", + b"deployment", + "deployment_transition", + b"deployment_transition", + "deployment_version", + b"deployment_version", + "version", + b"version", + "version_transition", + b"version_transition", + "versioning_override", + b"versioning_override", + ], + ) -> None: ... global___WorkflowExecutionVersioningInfo = WorkflowExecutionVersioningInfo @@ -390,8 +562,12 @@ class DeploymentTransition(google.protobuf.message.Message): *, deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["deployment", b"deployment"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["deployment", b"deployment"] + ) -> None: ... global___DeploymentTransition = DeploymentTransition @@ -408,7 +584,9 @@ class DeploymentVersionTransition(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The target Version of the transition. If nil, a so-far-versioned workflow is transitioning to unversioned workers. """ @@ -416,10 +594,21 @@ class DeploymentVersionTransition(google.protobuf.message.Message): self, *, version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version", "version", b"version" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "version", b"version"]) -> None: ... global___DeploymentVersionTransition = DeploymentVersionTransition @@ -438,7 +627,9 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: ... @property - def default_workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: ... + def default_workflow_task_timeout( + self, + ) -> google.protobuf.duration_pb2.Duration: ... @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """User metadata provided on start workflow.""" @@ -448,11 +639,41 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., - default_workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + default_workflow_task_timeout: google.protobuf.duration_pb2.Duration + | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "default_workflow_task_timeout", + b"default_workflow_task_timeout", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "default_workflow_task_timeout", + b"default_workflow_task_timeout", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout"]) -> None: ... global___WorkflowExecutionConfig = WorkflowExecutionConfig @@ -477,7 +698,12 @@ class PendingActivityInfo(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "reason", b"reason"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", b"identity", "reason", b"reason" + ], + ) -> None: ... class Rule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -498,7 +724,12 @@ class PendingActivityInfo(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "reason", b"reason", "rule_id", b"rule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", b"identity", "reason", b"reason", "rule_id", b"rule_id" + ], + ) -> None: ... PAUSE_TIME_FIELD_NUMBER: builtins.int MANUAL_FIELD_NUMBER: builtins.int @@ -519,9 +750,35 @@ class PendingActivityInfo(google.protobuf.message.Message): manual: global___PendingActivityInfo.PauseInfo.Manual | None = ..., rule: global___PendingActivityInfo.PauseInfo.Rule | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["manual", b"manual", "pause_time", b"pause_time", "paused_by", b"paused_by", "rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["manual", b"manual", "pause_time", b"pause_time", "paused_by", b"paused_by", "rule", b"rule"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"]) -> typing_extensions.Literal["manual", "rule"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "manual", + b"manual", + "pause_time", + b"pause_time", + "paused_by", + b"paused_by", + "rule", + b"rule", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "manual", + b"manual", + "pause_time", + b"pause_time", + "paused_by", + b"paused_by", + "rule", + b"rule", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"] + ) -> typing_extensions.Literal["manual", "rule"] | None: ... ACTIVITY_ID_FIELD_NUMBER: builtins.int ACTIVITY_TYPE_FIELD_NUMBER: builtins.int @@ -577,7 +834,9 @@ class PendingActivityInfo(google.protobuf.message.Message): rules. """ @property - def last_worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def last_worker_version_stamp( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ @@ -609,7 +868,9 @@ class PendingActivityInfo(google.protobuf.message.Message): Deprecated. Use `last_deployment_version`. """ @property - def last_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def last_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ @@ -619,7 +880,9 @@ class PendingActivityInfo(google.protobuf.message.Message): @property def pause_info(self) -> global___PendingActivityInfo.PauseInfo: ... @property - def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Current activity options. May be different from the one used to start the activity.""" def __init__( self, @@ -638,21 +901,135 @@ class PendingActivityInfo(google.protobuf.message.Message): last_worker_identity: builtins.str = ..., use_workflow_build_id: google.protobuf.empty_pb2.Empty | None = ..., last_independently_assigned_build_id: builtins.str = ..., - last_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + last_worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., current_retry_interval: google.protobuf.duration_pb2.Duration | None = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., paused: builtins.bool = ..., - last_deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., + last_deployment: temporalio.api.deployment.v1.message_pb2.Deployment + | None = ..., last_worker_deployment_version: builtins.str = ..., - last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., pause_info: global___PendingActivityInfo.PauseInfo | None = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions + | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options", "activity_type", b"activity_type", "assigned_build_id", b"assigned_build_id", "current_retry_interval", b"current_retry_interval", "expiration_time", b"expiration_time", "heartbeat_details", b"heartbeat_details", "last_attempt_complete_time", b"last_attempt_complete_time", "last_deployment", b"last_deployment", "last_deployment_version", b"last_deployment_version", "last_failure", b"last_failure", "last_heartbeat_time", b"last_heartbeat_time", "last_independently_assigned_build_id", b"last_independently_assigned_build_id", "last_started_time", b"last_started_time", "last_worker_version_stamp", b"last_worker_version_stamp", "next_attempt_schedule_time", b"next_attempt_schedule_time", "pause_info", b"pause_info", "priority", b"priority", "scheduled_time", b"scheduled_time", "use_workflow_build_id", b"use_workflow_build_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_options", b"activity_options", "activity_type", b"activity_type", "assigned_build_id", b"assigned_build_id", "attempt", b"attempt", "current_retry_interval", b"current_retry_interval", "expiration_time", b"expiration_time", "heartbeat_details", b"heartbeat_details", "last_attempt_complete_time", b"last_attempt_complete_time", "last_deployment", b"last_deployment", "last_deployment_version", b"last_deployment_version", "last_failure", b"last_failure", "last_heartbeat_time", b"last_heartbeat_time", "last_independently_assigned_build_id", b"last_independently_assigned_build_id", "last_started_time", b"last_started_time", "last_worker_deployment_version", b"last_worker_deployment_version", "last_worker_identity", b"last_worker_identity", "last_worker_version_stamp", b"last_worker_version_stamp", "maximum_attempts", b"maximum_attempts", "next_attempt_schedule_time", b"next_attempt_schedule_time", "pause_info", b"pause_info", "paused", b"paused", "priority", b"priority", "scheduled_time", b"scheduled_time", "state", b"state", "use_workflow_build_id", b"use_workflow_build_id"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["assigned_build_id", b"assigned_build_id"]) -> typing_extensions.Literal["use_workflow_build_id", "last_independently_assigned_build_id"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_options", + b"activity_options", + "activity_type", + b"activity_type", + "assigned_build_id", + b"assigned_build_id", + "current_retry_interval", + b"current_retry_interval", + "expiration_time", + b"expiration_time", + "heartbeat_details", + b"heartbeat_details", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_deployment", + b"last_deployment", + "last_deployment_version", + b"last_deployment_version", + "last_failure", + b"last_failure", + "last_heartbeat_time", + b"last_heartbeat_time", + "last_independently_assigned_build_id", + b"last_independently_assigned_build_id", + "last_started_time", + b"last_started_time", + "last_worker_version_stamp", + b"last_worker_version_stamp", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "pause_info", + b"pause_info", + "priority", + b"priority", + "scheduled_time", + b"scheduled_time", + "use_workflow_build_id", + b"use_workflow_build_id", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_options", + b"activity_options", + "activity_type", + b"activity_type", + "assigned_build_id", + b"assigned_build_id", + "attempt", + b"attempt", + "current_retry_interval", + b"current_retry_interval", + "expiration_time", + b"expiration_time", + "heartbeat_details", + b"heartbeat_details", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_deployment", + b"last_deployment", + "last_deployment_version", + b"last_deployment_version", + "last_failure", + b"last_failure", + "last_heartbeat_time", + b"last_heartbeat_time", + "last_independently_assigned_build_id", + b"last_independently_assigned_build_id", + "last_started_time", + b"last_started_time", + "last_worker_deployment_version", + b"last_worker_deployment_version", + "last_worker_identity", + b"last_worker_identity", + "last_worker_version_stamp", + b"last_worker_version_stamp", + "maximum_attempts", + b"maximum_attempts", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "pause_info", + b"pause_info", + "paused", + b"paused", + "priority", + b"priority", + "scheduled_time", + b"scheduled_time", + "state", + b"state", + "use_workflow_build_id", + b"use_workflow_build_id", + ], + ) -> None: ... + def WhichOneof( + self, + oneof_group: typing_extensions.Literal[ + "assigned_build_id", b"assigned_build_id" + ], + ) -> ( + typing_extensions.Literal[ + "use_workflow_build_id", "last_independently_assigned_build_id" + ] + | None + ): ... global___PendingActivityInfo = PendingActivityInfo @@ -668,7 +1045,9 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): run_id: builtins.str workflow_type_name: builtins.str initiated_id: builtins.int - parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) """Default: PARENT_CLOSE_POLICY_TERMINATE.""" def __init__( self, @@ -679,7 +1058,21 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): initiated_id: builtins.int = ..., parent_close_policy: temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["initiated_id", b"initiated_id", "parent_close_policy", b"parent_close_policy", "run_id", b"run_id", "workflow_id", b"workflow_id", "workflow_type_name", b"workflow_type_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "initiated_id", + b"initiated_id", + "parent_close_policy", + b"parent_close_policy", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + "workflow_type_name", + b"workflow_type_name", + ], + ) -> None: ... global___PendingChildExecutionInfo = PendingChildExecutionInfo @@ -713,8 +1106,32 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["original_scheduled_time", b"original_scheduled_time", "scheduled_time", b"scheduled_time", "started_time", b"started_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "original_scheduled_time", b"original_scheduled_time", "scheduled_time", b"scheduled_time", "started_time", b"started_time", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "original_scheduled_time", + b"original_scheduled_time", + "scheduled_time", + b"scheduled_time", + "started_time", + b"started_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "original_scheduled_time", + b"original_scheduled_time", + "scheduled_time", + b"scheduled_time", + "started_time", + b"started_time", + "state", + b"state", + ], + ) -> None: ... global___PendingWorkflowTaskInfo = PendingWorkflowTaskInfo @@ -723,13 +1140,19 @@ class ResetPoints(google.protobuf.message.Message): POINTS_FIELD_NUMBER: builtins.int @property - def points(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResetPointInfo]: ... + def points( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ResetPointInfo + ]: ... def __init__( self, *, points: collections.abc.Iterable[global___ResetPointInfo] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["points", b"points"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["points", b"points"] + ) -> None: ... global___ResetPoints = ResetPoints @@ -777,8 +1200,31 @@ class ResetPointInfo(google.protobuf.message.Message): expire_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., resettable: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "expire_time", b"expire_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "build_id", b"build_id", "create_time", b"create_time", "expire_time", b"expire_time", "first_workflow_task_completed_id", b"first_workflow_task_completed_id", "resettable", b"resettable", "run_id", b"run_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "expire_time", b"expire_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "binary_checksum", + b"binary_checksum", + "build_id", + b"build_id", + "create_time", + b"create_time", + "expire_time", + b"expire_time", + "first_workflow_task_completed_id", + b"first_workflow_task_completed_id", + "resettable", + b"resettable", + "run_id", + b"run_id", + ], + ) -> None: ... global___ResetPointInfo = ResetPointInfo @@ -822,7 +1268,9 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: @@ -832,7 +1280,9 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -863,14 +1313,82 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., versioning_override: global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cron_schedule", b"cron_schedule", "header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "memo", + b"memo", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cron_schedule", + b"cron_schedule", + "header", + b"header", + "input", + b"input", + "memo", + b"memo", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___NewWorkflowExecutionInfo = NewWorkflowExecutionInfo @@ -899,9 +1417,21 @@ class CallbackInfo(google.protobuf.message.Message): *, workflow_closed: global___CallbackInfo.WorkflowClosed | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["variant", b"variant", "workflow_closed", b"workflow_closed"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["variant", b"variant", "workflow_closed", b"workflow_closed"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["workflow_closed"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "variant", b"variant", "workflow_closed", b"workflow_closed" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "variant", b"variant", "workflow_closed", b"workflow_closed" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["workflow_closed"] | None: ... CALLBACK_FIELD_NUMBER: builtins.int TRIGGER_FIELD_NUMBER: builtins.int @@ -945,13 +1475,54 @@ class CallbackInfo(google.protobuf.message.Message): registration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure + | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., blocked_reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["callback", b"callback", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "registration_time", b"registration_time", "trigger", b"trigger"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "callback", b"callback", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "registration_time", b"registration_time", "state", b"state", "trigger", b"trigger"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "callback", + b"callback", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "registration_time", + b"registration_time", + "trigger", + b"trigger", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "blocked_reason", + b"blocked_reason", + "callback", + b"callback", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "registration_time", + b"registration_time", + "state", + b"state", + "trigger", + b"trigger", + ], + ) -> None: ... global___CallbackInfo = CallbackInfo @@ -1033,16 +1604,69 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure + | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., cancellation_info: global___NexusOperationCancellationInfo | None = ..., scheduled_event_id: builtins.int = ..., blocked_reason: builtins.str = ..., operation_token: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancellation_info", b"cancellation_info", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "cancellation_info", b"cancellation_info", "endpoint", b"endpoint", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "operation", b"operation", "operation_id", b"operation_id", "operation_token", b"operation_token", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_event_id", b"scheduled_event_id", "scheduled_time", b"scheduled_time", "service", b"service", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancellation_info", + b"cancellation_info", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_time", + b"scheduled_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "blocked_reason", + b"blocked_reason", + "cancellation_info", + b"cancellation_info", + "endpoint", + b"endpoint", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "operation", + b"operation", + "operation_id", + b"operation_id", + "operation_token", + b"operation_token", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_event_id", + b"scheduled_event_id", + "scheduled_time", + b"scheduled_time", + "service", + b"service", + "state", + b"state", + ], + ) -> None: ... global___PendingNexusOperationInfo = PendingNexusOperationInfo @@ -1083,13 +1707,46 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): requested_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType = ..., attempt: builtins.int = ..., - last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_attempt_complete_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + last_attempt_failure: temporalio.api.failure.v1.message_pb2.Failure + | None = ..., + next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., blocked_reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "requested_time", b"requested_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "blocked_reason", b"blocked_reason", "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", b"last_attempt_failure", "next_attempt_schedule_time", b"next_attempt_schedule_time", "requested_time", b"requested_time", "state", b"state"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "requested_time", + b"requested_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "blocked_reason", + b"blocked_reason", + "last_attempt_complete_time", + b"last_attempt_complete_time", + "last_attempt_failure", + b"last_attempt_failure", + "next_attempt_schedule_time", + b"next_attempt_schedule_time", + "requested_time", + b"requested_time", + "state", + b"state", + ], + ) -> None: ... global___NexusOperationCancellationInfo = NexusOperationCancellationInfo @@ -1105,8 +1762,18 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): *, versioning_override: global___VersioningOverride | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["versioning_override", b"versioning_override"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "versioning_override", b"versioning_override" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "versioning_override", b"versioning_override" + ], + ) -> None: ... global___WorkflowExecutionOptions = WorkflowExecutionOptions @@ -1126,19 +1793,34 @@ class VersioningOverride(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _PinnedOverrideBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[VersioningOverride._PinnedOverrideBehavior.ValueType], builtins.type): # noqa: F821 + class _PinnedOverrideBehaviorEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + VersioningOverride._PinnedOverrideBehavior.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: VersioningOverride._PinnedOverrideBehavior.ValueType # 0 + PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( + VersioningOverride._PinnedOverrideBehavior.ValueType + ) # 0 """Unspecified.""" - PINNED_OVERRIDE_BEHAVIOR_PINNED: VersioningOverride._PinnedOverrideBehavior.ValueType # 1 + PINNED_OVERRIDE_BEHAVIOR_PINNED: ( + VersioningOverride._PinnedOverrideBehavior.ValueType + ) # 1 """Override workflow behavior to be Pinned.""" - class PinnedOverrideBehavior(_PinnedOverrideBehavior, metaclass=_PinnedOverrideBehaviorEnumTypeWrapper): + class PinnedOverrideBehavior( + _PinnedOverrideBehavior, metaclass=_PinnedOverrideBehaviorEnumTypeWrapper + ): """Used to specify different sub-types of Pinned override that we plan to add in the future.""" - PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: VersioningOverride.PinnedOverrideBehavior.ValueType # 0 + PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( + VersioningOverride.PinnedOverrideBehavior.ValueType + ) # 0 """Unspecified.""" - PINNED_OVERRIDE_BEHAVIOR_PINNED: VersioningOverride.PinnedOverrideBehavior.ValueType # 1 + PINNED_OVERRIDE_BEHAVIOR_PINNED: ( + VersioningOverride.PinnedOverrideBehavior.ValueType + ) # 1 """Override workflow behavior to be Pinned.""" class PinnedOverride(google.protobuf.message.Message): @@ -1151,16 +1833,26 @@ class VersioningOverride(google.protobuf.message.Message): See `PinnedOverrideBehavior` for details. """ @property - def version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" def __init__( self, *, behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., - version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["version", b"version"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "behavior", b"behavior", "version", b"version" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["version", b"version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["behavior", b"behavior", "version", b"version"]) -> None: ... PINNED_FIELD_NUMBER: builtins.int AUTO_UPGRADE_FIELD_NUMBER: builtins.int @@ -1199,9 +1891,39 @@ class VersioningOverride(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., pinned_version: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["auto_upgrade", b"auto_upgrade", "deployment", b"deployment", "override", b"override", "pinned", b"pinned"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["auto_upgrade", b"auto_upgrade", "behavior", b"behavior", "deployment", b"deployment", "override", b"override", "pinned", b"pinned", "pinned_version", b"pinned_version"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["override", b"override"]) -> typing_extensions.Literal["pinned", "auto_upgrade"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "auto_upgrade", + b"auto_upgrade", + "deployment", + b"deployment", + "override", + b"override", + "pinned", + b"pinned", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "auto_upgrade", + b"auto_upgrade", + "behavior", + b"behavior", + "deployment", + b"deployment", + "override", + b"override", + "pinned", + b"pinned", + "pinned_version", + b"pinned_version", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["override", b"override"] + ) -> typing_extensions.Literal["pinned", "auto_upgrade"] | None: ... global___VersioningOverride = VersioningOverride @@ -1230,7 +1952,17 @@ class OnConflictOptions(google.protobuf.message.Message): attach_completion_callbacks: builtins.bool = ..., attach_links: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", b"attach_links", "attach_request_id", b"attach_request_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attach_completion_callbacks", + b"attach_completion_callbacks", + "attach_links", + b"attach_links", + "attach_request_id", + b"attach_request_id", + ], + ) -> None: ... global___OnConflictOptions = OnConflictOptions @@ -1260,7 +1992,17 @@ class RequestIdInfo(google.protobuf.message.Message): event_id: builtins.int = ..., buffered: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["buffered", b"buffered", "event_id", b"event_id", "event_type", b"event_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "buffered", + b"buffered", + "event_id", + b"event_id", + "event_type", + b"event_type", + ], + ) -> None: ... global___RequestIdInfo = RequestIdInfo @@ -1289,7 +2031,11 @@ class PostResetOperation(google.protobuf.message.Message): def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow.""" @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the WorkflowExecutionSignaled event.""" def __init__( self, @@ -1297,10 +2043,28 @@ class PostResetOperation(google.protobuf.message.Message): signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", b"header", "input", b"input" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "links", + b"links", + "signal_name", + b"signal_name", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "links", b"links", "signal_name", b"signal_name"]) -> None: ... class UpdateWorkflowOptions(google.protobuf.message.Message): """UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. @@ -1325,23 +2089,66 @@ class PostResetOperation(google.protobuf.message.Message): workflow_execution_options: global___WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "update_mask", + b"update_mask", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "update_mask", + b"update_mask", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> None: ... SIGNAL_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_OPTIONS_FIELD_NUMBER: builtins.int @property def signal_workflow(self) -> global___PostResetOperation.SignalWorkflow: ... @property - def update_workflow_options(self) -> global___PostResetOperation.UpdateWorkflowOptions: ... + def update_workflow_options( + self, + ) -> global___PostResetOperation.UpdateWorkflowOptions: ... def __init__( self, *, signal_workflow: global___PostResetOperation.SignalWorkflow | None = ..., - update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions | None = ..., + update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "signal_workflow", + b"signal_workflow", + "update_workflow_options", + b"update_workflow_options", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "signal_workflow", + b"signal_workflow", + "update_workflow_options", + b"update_workflow_options", + "variant", + b"variant", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["signal_workflow", b"signal_workflow", "update_workflow_options", b"update_workflow_options", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["signal_workflow", b"signal_workflow", "update_workflow_options", b"update_workflow_options", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None + ): ... global___PostResetOperation = PostResetOperation diff --git a/temporalio/api/workflowservice/v1/__init__.py b/temporalio/api/workflowservice/v1/__init__.py index 91ecf8d61..8f82668cb 100644 --- a/temporalio/api/workflowservice/v1/__init__.py +++ b/temporalio/api/workflowservice/v1/__init__.py @@ -1,187 +1,189 @@ -from .request_response_pb2 import RegisterNamespaceRequest -from .request_response_pb2 import RegisterNamespaceResponse -from .request_response_pb2 import ListNamespacesRequest -from .request_response_pb2 import ListNamespacesResponse -from .request_response_pb2 import DescribeNamespaceRequest -from .request_response_pb2 import DescribeNamespaceResponse -from .request_response_pb2 import UpdateNamespaceRequest -from .request_response_pb2 import UpdateNamespaceResponse -from .request_response_pb2 import DeprecateNamespaceRequest -from .request_response_pb2 import DeprecateNamespaceResponse -from .request_response_pb2 import StartWorkflowExecutionRequest -from .request_response_pb2 import StartWorkflowExecutionResponse -from .request_response_pb2 import GetWorkflowExecutionHistoryRequest -from .request_response_pb2 import GetWorkflowExecutionHistoryResponse -from .request_response_pb2 import GetWorkflowExecutionHistoryReverseRequest -from .request_response_pb2 import GetWorkflowExecutionHistoryReverseResponse -from .request_response_pb2 import PollWorkflowTaskQueueRequest -from .request_response_pb2 import PollWorkflowTaskQueueResponse -from .request_response_pb2 import RespondWorkflowTaskCompletedRequest -from .request_response_pb2 import RespondWorkflowTaskCompletedResponse -from .request_response_pb2 import RespondWorkflowTaskFailedRequest -from .request_response_pb2 import RespondWorkflowTaskFailedResponse -from .request_response_pb2 import PollActivityTaskQueueRequest -from .request_response_pb2 import PollActivityTaskQueueResponse -from .request_response_pb2 import RecordActivityTaskHeartbeatRequest -from .request_response_pb2 import RecordActivityTaskHeartbeatResponse -from .request_response_pb2 import RecordActivityTaskHeartbeatByIdRequest -from .request_response_pb2 import RecordActivityTaskHeartbeatByIdResponse -from .request_response_pb2 import RespondActivityTaskCompletedRequest -from .request_response_pb2 import RespondActivityTaskCompletedResponse -from .request_response_pb2 import RespondActivityTaskCompletedByIdRequest -from .request_response_pb2 import RespondActivityTaskCompletedByIdResponse -from .request_response_pb2 import RespondActivityTaskFailedRequest -from .request_response_pb2 import RespondActivityTaskFailedResponse -from .request_response_pb2 import RespondActivityTaskFailedByIdRequest -from .request_response_pb2 import RespondActivityTaskFailedByIdResponse -from .request_response_pb2 import RespondActivityTaskCanceledRequest -from .request_response_pb2 import RespondActivityTaskCanceledResponse -from .request_response_pb2 import RespondActivityTaskCanceledByIdRequest -from .request_response_pb2 import RespondActivityTaskCanceledByIdResponse -from .request_response_pb2 import RequestCancelWorkflowExecutionRequest -from .request_response_pb2 import RequestCancelWorkflowExecutionResponse -from .request_response_pb2 import SignalWorkflowExecutionRequest -from .request_response_pb2 import SignalWorkflowExecutionResponse -from .request_response_pb2 import SignalWithStartWorkflowExecutionRequest -from .request_response_pb2 import SignalWithStartWorkflowExecutionResponse -from .request_response_pb2 import ResetWorkflowExecutionRequest -from .request_response_pb2 import ResetWorkflowExecutionResponse -from .request_response_pb2 import TerminateWorkflowExecutionRequest -from .request_response_pb2 import TerminateWorkflowExecutionResponse -from .request_response_pb2 import DeleteWorkflowExecutionRequest -from .request_response_pb2 import DeleteWorkflowExecutionResponse -from .request_response_pb2 import ListOpenWorkflowExecutionsRequest -from .request_response_pb2 import ListOpenWorkflowExecutionsResponse -from .request_response_pb2 import ListClosedWorkflowExecutionsRequest -from .request_response_pb2 import ListClosedWorkflowExecutionsResponse -from .request_response_pb2 import ListWorkflowExecutionsRequest -from .request_response_pb2 import ListWorkflowExecutionsResponse -from .request_response_pb2 import ListArchivedWorkflowExecutionsRequest -from .request_response_pb2 import ListArchivedWorkflowExecutionsResponse -from .request_response_pb2 import ScanWorkflowExecutionsRequest -from .request_response_pb2 import ScanWorkflowExecutionsResponse -from .request_response_pb2 import CountWorkflowExecutionsRequest -from .request_response_pb2 import CountWorkflowExecutionsResponse -from .request_response_pb2 import GetSearchAttributesRequest -from .request_response_pb2 import GetSearchAttributesResponse -from .request_response_pb2 import RespondQueryTaskCompletedRequest -from .request_response_pb2 import RespondQueryTaskCompletedResponse -from .request_response_pb2 import ResetStickyTaskQueueRequest -from .request_response_pb2 import ResetStickyTaskQueueResponse -from .request_response_pb2 import ShutdownWorkerRequest -from .request_response_pb2 import ShutdownWorkerResponse -from .request_response_pb2 import QueryWorkflowRequest -from .request_response_pb2 import QueryWorkflowResponse -from .request_response_pb2 import DescribeWorkflowExecutionRequest -from .request_response_pb2 import DescribeWorkflowExecutionResponse -from .request_response_pb2 import DescribeTaskQueueRequest -from .request_response_pb2 import DescribeTaskQueueResponse -from .request_response_pb2 import GetClusterInfoRequest -from .request_response_pb2 import GetClusterInfoResponse -from .request_response_pb2 import GetSystemInfoRequest -from .request_response_pb2 import GetSystemInfoResponse -from .request_response_pb2 import ListTaskQueuePartitionsRequest -from .request_response_pb2 import ListTaskQueuePartitionsResponse -from .request_response_pb2 import CreateScheduleRequest -from .request_response_pb2 import CreateScheduleResponse -from .request_response_pb2 import DescribeScheduleRequest -from .request_response_pb2 import DescribeScheduleResponse -from .request_response_pb2 import UpdateScheduleRequest -from .request_response_pb2 import UpdateScheduleResponse -from .request_response_pb2 import PatchScheduleRequest -from .request_response_pb2 import PatchScheduleResponse -from .request_response_pb2 import ListScheduleMatchingTimesRequest -from .request_response_pb2 import ListScheduleMatchingTimesResponse -from .request_response_pb2 import DeleteScheduleRequest -from .request_response_pb2 import DeleteScheduleResponse -from .request_response_pb2 import ListSchedulesRequest -from .request_response_pb2 import ListSchedulesResponse -from .request_response_pb2 import UpdateWorkerBuildIdCompatibilityRequest -from .request_response_pb2 import UpdateWorkerBuildIdCompatibilityResponse -from .request_response_pb2 import GetWorkerBuildIdCompatibilityRequest -from .request_response_pb2 import GetWorkerBuildIdCompatibilityResponse -from .request_response_pb2 import UpdateWorkerVersioningRulesRequest -from .request_response_pb2 import UpdateWorkerVersioningRulesResponse -from .request_response_pb2 import GetWorkerVersioningRulesRequest -from .request_response_pb2 import GetWorkerVersioningRulesResponse -from .request_response_pb2 import GetWorkerTaskReachabilityRequest -from .request_response_pb2 import GetWorkerTaskReachabilityResponse -from .request_response_pb2 import UpdateWorkflowExecutionRequest -from .request_response_pb2 import UpdateWorkflowExecutionResponse -from .request_response_pb2 import StartBatchOperationRequest -from .request_response_pb2 import StartBatchOperationResponse -from .request_response_pb2 import StopBatchOperationRequest -from .request_response_pb2 import StopBatchOperationResponse -from .request_response_pb2 import DescribeBatchOperationRequest -from .request_response_pb2 import DescribeBatchOperationResponse -from .request_response_pb2 import ListBatchOperationsRequest -from .request_response_pb2 import ListBatchOperationsResponse -from .request_response_pb2 import PollWorkflowExecutionUpdateRequest -from .request_response_pb2 import PollWorkflowExecutionUpdateResponse -from .request_response_pb2 import PollNexusTaskQueueRequest -from .request_response_pb2 import PollNexusTaskQueueResponse -from .request_response_pb2 import RespondNexusTaskCompletedRequest -from .request_response_pb2 import RespondNexusTaskCompletedResponse -from .request_response_pb2 import RespondNexusTaskFailedRequest -from .request_response_pb2 import RespondNexusTaskFailedResponse -from .request_response_pb2 import ExecuteMultiOperationRequest -from .request_response_pb2 import ExecuteMultiOperationResponse -from .request_response_pb2 import UpdateActivityOptionsRequest -from .request_response_pb2 import UpdateActivityOptionsResponse -from .request_response_pb2 import PauseActivityRequest -from .request_response_pb2 import PauseActivityResponse -from .request_response_pb2 import UnpauseActivityRequest -from .request_response_pb2 import UnpauseActivityResponse -from .request_response_pb2 import ResetActivityRequest -from .request_response_pb2 import ResetActivityResponse -from .request_response_pb2 import UpdateWorkflowExecutionOptionsRequest -from .request_response_pb2 import UpdateWorkflowExecutionOptionsResponse -from .request_response_pb2 import DescribeDeploymentRequest -from .request_response_pb2 import DescribeDeploymentResponse -from .request_response_pb2 import DescribeWorkerDeploymentVersionRequest -from .request_response_pb2 import DescribeWorkerDeploymentVersionResponse -from .request_response_pb2 import DescribeWorkerDeploymentRequest -from .request_response_pb2 import DescribeWorkerDeploymentResponse -from .request_response_pb2 import ListDeploymentsRequest -from .request_response_pb2 import ListDeploymentsResponse -from .request_response_pb2 import SetCurrentDeploymentRequest -from .request_response_pb2 import SetCurrentDeploymentResponse -from .request_response_pb2 import SetWorkerDeploymentCurrentVersionRequest -from .request_response_pb2 import SetWorkerDeploymentCurrentVersionResponse -from .request_response_pb2 import SetWorkerDeploymentRampingVersionRequest -from .request_response_pb2 import SetWorkerDeploymentRampingVersionResponse -from .request_response_pb2 import ListWorkerDeploymentsRequest -from .request_response_pb2 import ListWorkerDeploymentsResponse -from .request_response_pb2 import DeleteWorkerDeploymentVersionRequest -from .request_response_pb2 import DeleteWorkerDeploymentVersionResponse -from .request_response_pb2 import DeleteWorkerDeploymentRequest -from .request_response_pb2 import DeleteWorkerDeploymentResponse -from .request_response_pb2 import UpdateWorkerDeploymentVersionMetadataRequest -from .request_response_pb2 import UpdateWorkerDeploymentVersionMetadataResponse -from .request_response_pb2 import GetCurrentDeploymentRequest -from .request_response_pb2 import GetCurrentDeploymentResponse -from .request_response_pb2 import GetDeploymentReachabilityRequest -from .request_response_pb2 import GetDeploymentReachabilityResponse -from .request_response_pb2 import CreateWorkflowRuleRequest -from .request_response_pb2 import CreateWorkflowRuleResponse -from .request_response_pb2 import DescribeWorkflowRuleRequest -from .request_response_pb2 import DescribeWorkflowRuleResponse -from .request_response_pb2 import DeleteWorkflowRuleRequest -from .request_response_pb2 import DeleteWorkflowRuleResponse -from .request_response_pb2 import ListWorkflowRulesRequest -from .request_response_pb2 import ListWorkflowRulesResponse -from .request_response_pb2 import TriggerWorkflowRuleRequest -from .request_response_pb2 import TriggerWorkflowRuleResponse -from .request_response_pb2 import RecordWorkerHeartbeatRequest -from .request_response_pb2 import RecordWorkerHeartbeatResponse -from .request_response_pb2 import ListWorkersRequest -from .request_response_pb2 import ListWorkersResponse -from .request_response_pb2 import UpdateTaskQueueConfigRequest -from .request_response_pb2 import UpdateTaskQueueConfigResponse -from .request_response_pb2 import FetchWorkerConfigRequest -from .request_response_pb2 import FetchWorkerConfigResponse -from .request_response_pb2 import UpdateWorkerConfigRequest -from .request_response_pb2 import UpdateWorkerConfigResponse +from .request_response_pb2 import ( + CountWorkflowExecutionsRequest, + CountWorkflowExecutionsResponse, + CreateScheduleRequest, + CreateScheduleResponse, + CreateWorkflowRuleRequest, + CreateWorkflowRuleResponse, + DeleteScheduleRequest, + DeleteScheduleResponse, + DeleteWorkerDeploymentRequest, + DeleteWorkerDeploymentResponse, + DeleteWorkerDeploymentVersionRequest, + DeleteWorkerDeploymentVersionResponse, + DeleteWorkflowExecutionRequest, + DeleteWorkflowExecutionResponse, + DeleteWorkflowRuleRequest, + DeleteWorkflowRuleResponse, + DeprecateNamespaceRequest, + DeprecateNamespaceResponse, + DescribeBatchOperationRequest, + DescribeBatchOperationResponse, + DescribeDeploymentRequest, + DescribeDeploymentResponse, + DescribeNamespaceRequest, + DescribeNamespaceResponse, + DescribeScheduleRequest, + DescribeScheduleResponse, + DescribeTaskQueueRequest, + DescribeTaskQueueResponse, + DescribeWorkerDeploymentRequest, + DescribeWorkerDeploymentResponse, + DescribeWorkerDeploymentVersionRequest, + DescribeWorkerDeploymentVersionResponse, + DescribeWorkflowExecutionRequest, + DescribeWorkflowExecutionResponse, + DescribeWorkflowRuleRequest, + DescribeWorkflowRuleResponse, + ExecuteMultiOperationRequest, + ExecuteMultiOperationResponse, + FetchWorkerConfigRequest, + FetchWorkerConfigResponse, + GetClusterInfoRequest, + GetClusterInfoResponse, + GetCurrentDeploymentRequest, + GetCurrentDeploymentResponse, + GetDeploymentReachabilityRequest, + GetDeploymentReachabilityResponse, + GetSearchAttributesRequest, + GetSearchAttributesResponse, + GetSystemInfoRequest, + GetSystemInfoResponse, + GetWorkerBuildIdCompatibilityRequest, + GetWorkerBuildIdCompatibilityResponse, + GetWorkerTaskReachabilityRequest, + GetWorkerTaskReachabilityResponse, + GetWorkerVersioningRulesRequest, + GetWorkerVersioningRulesResponse, + GetWorkflowExecutionHistoryRequest, + GetWorkflowExecutionHistoryResponse, + GetWorkflowExecutionHistoryReverseRequest, + GetWorkflowExecutionHistoryReverseResponse, + ListArchivedWorkflowExecutionsRequest, + ListArchivedWorkflowExecutionsResponse, + ListBatchOperationsRequest, + ListBatchOperationsResponse, + ListClosedWorkflowExecutionsRequest, + ListClosedWorkflowExecutionsResponse, + ListDeploymentsRequest, + ListDeploymentsResponse, + ListNamespacesRequest, + ListNamespacesResponse, + ListOpenWorkflowExecutionsRequest, + ListOpenWorkflowExecutionsResponse, + ListScheduleMatchingTimesRequest, + ListScheduleMatchingTimesResponse, + ListSchedulesRequest, + ListSchedulesResponse, + ListTaskQueuePartitionsRequest, + ListTaskQueuePartitionsResponse, + ListWorkerDeploymentsRequest, + ListWorkerDeploymentsResponse, + ListWorkersRequest, + ListWorkersResponse, + ListWorkflowExecutionsRequest, + ListWorkflowExecutionsResponse, + ListWorkflowRulesRequest, + ListWorkflowRulesResponse, + PatchScheduleRequest, + PatchScheduleResponse, + PauseActivityRequest, + PauseActivityResponse, + PollActivityTaskQueueRequest, + PollActivityTaskQueueResponse, + PollNexusTaskQueueRequest, + PollNexusTaskQueueResponse, + PollWorkflowExecutionUpdateRequest, + PollWorkflowExecutionUpdateResponse, + PollWorkflowTaskQueueRequest, + PollWorkflowTaskQueueResponse, + QueryWorkflowRequest, + QueryWorkflowResponse, + RecordActivityTaskHeartbeatByIdRequest, + RecordActivityTaskHeartbeatByIdResponse, + RecordActivityTaskHeartbeatRequest, + RecordActivityTaskHeartbeatResponse, + RecordWorkerHeartbeatRequest, + RecordWorkerHeartbeatResponse, + RegisterNamespaceRequest, + RegisterNamespaceResponse, + RequestCancelWorkflowExecutionRequest, + RequestCancelWorkflowExecutionResponse, + ResetActivityRequest, + ResetActivityResponse, + ResetStickyTaskQueueRequest, + ResetStickyTaskQueueResponse, + ResetWorkflowExecutionRequest, + ResetWorkflowExecutionResponse, + RespondActivityTaskCanceledByIdRequest, + RespondActivityTaskCanceledByIdResponse, + RespondActivityTaskCanceledRequest, + RespondActivityTaskCanceledResponse, + RespondActivityTaskCompletedByIdRequest, + RespondActivityTaskCompletedByIdResponse, + RespondActivityTaskCompletedRequest, + RespondActivityTaskCompletedResponse, + RespondActivityTaskFailedByIdRequest, + RespondActivityTaskFailedByIdResponse, + RespondActivityTaskFailedRequest, + RespondActivityTaskFailedResponse, + RespondNexusTaskCompletedRequest, + RespondNexusTaskCompletedResponse, + RespondNexusTaskFailedRequest, + RespondNexusTaskFailedResponse, + RespondQueryTaskCompletedRequest, + RespondQueryTaskCompletedResponse, + RespondWorkflowTaskCompletedRequest, + RespondWorkflowTaskCompletedResponse, + RespondWorkflowTaskFailedRequest, + RespondWorkflowTaskFailedResponse, + ScanWorkflowExecutionsRequest, + ScanWorkflowExecutionsResponse, + SetCurrentDeploymentRequest, + SetCurrentDeploymentResponse, + SetWorkerDeploymentCurrentVersionRequest, + SetWorkerDeploymentCurrentVersionResponse, + SetWorkerDeploymentRampingVersionRequest, + SetWorkerDeploymentRampingVersionResponse, + ShutdownWorkerRequest, + ShutdownWorkerResponse, + SignalWithStartWorkflowExecutionRequest, + SignalWithStartWorkflowExecutionResponse, + SignalWorkflowExecutionRequest, + SignalWorkflowExecutionResponse, + StartBatchOperationRequest, + StartBatchOperationResponse, + StartWorkflowExecutionRequest, + StartWorkflowExecutionResponse, + StopBatchOperationRequest, + StopBatchOperationResponse, + TerminateWorkflowExecutionRequest, + TerminateWorkflowExecutionResponse, + TriggerWorkflowRuleRequest, + TriggerWorkflowRuleResponse, + UnpauseActivityRequest, + UnpauseActivityResponse, + UpdateActivityOptionsRequest, + UpdateActivityOptionsResponse, + UpdateNamespaceRequest, + UpdateNamespaceResponse, + UpdateScheduleRequest, + UpdateScheduleResponse, + UpdateTaskQueueConfigRequest, + UpdateTaskQueueConfigResponse, + UpdateWorkerBuildIdCompatibilityRequest, + UpdateWorkerBuildIdCompatibilityResponse, + UpdateWorkerConfigRequest, + UpdateWorkerConfigResponse, + UpdateWorkerDeploymentVersionMetadataRequest, + UpdateWorkerDeploymentVersionMetadataResponse, + UpdateWorkerVersioningRulesRequest, + UpdateWorkerVersioningRulesResponse, + UpdateWorkflowExecutionOptionsRequest, + UpdateWorkflowExecutionOptionsResponse, + UpdateWorkflowExecutionRequest, + UpdateWorkflowExecutionResponse, +) __all__ = [ "CountWorkflowExecutionsRequest", @@ -373,9 +375,19 @@ # gRPC is optional try: import grpc - from .service_pb2_grpc import add_WorkflowServiceServicer_to_server - from .service_pb2_grpc import WorkflowServiceStub - from .service_pb2_grpc import WorkflowServiceServicer - __all__.extend(["WorkflowServiceServicer", "WorkflowServiceStub", "add_WorkflowServiceServicer_to_server"]) + + from .service_pb2_grpc import ( + WorkflowServiceServicer, + WorkflowServiceStub, + add_WorkflowServiceServicer_to_server, + ) + + __all__.extend( + [ + "WorkflowServiceServicer", + "WorkflowServiceStub", + "add_WorkflowServiceServicer_to_server", + ] + ) except ImportError: - pass \ No newline at end of file + pass diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.py b/temporalio/api/workflowservice/v1/request_response_pb2.py index 50ad0e600..5fd33bb8f 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2.py @@ -2,2283 +2,3613 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/request_response.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.enums.v1 import batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2 -from temporalio.api.enums.v1 import common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.enums.v1 import namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2 -from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 -from temporalio.api.enums.v1 import query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2 -from temporalio.api.enums.v1 import reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2 -from temporalio.api.enums.v1 import task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2 -from temporalio.api.enums.v1 import deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2 -from temporalio.api.enums.v1 import update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2 -from temporalio.api.activity.v1 import message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.history.v1 import message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2 -from temporalio.api.workflow.v1 import message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2 -from temporalio.api.command.v1 import message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2 -from temporalio.api.deployment.v1 import message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.filter.v1 import message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2 -from temporalio.api.protocol.v1 import message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2 -from temporalio.api.namespace.v1 import message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2 -from temporalio.api.query.v1 import message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2 -from temporalio.api.replication.v1 import message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2 -from temporalio.api.rules.v1 import message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2 -from temporalio.api.schedule.v1 import message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2 -from temporalio.api.taskqueue.v1 import message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2 -from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 -from temporalio.api.version.v1 import message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2 -from temporalio.api.batch.v1 import message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2 -from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 -from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 -from temporalio.api.worker.v1 import message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19RegisterNamespaceResponse\"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter\"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08\"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65precateNamespaceResponse\"\xa9\x0b\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xaa\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x8a\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x91\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01\"\xb5\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08\"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03\"\xf8\x03\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xb8\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xef\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\x90\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xe9\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"&\n$RespondActivityTaskCompletedResponse\"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xa9\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfa\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xe9\x02\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"%\n#RespondActivityTaskCanceledResponse\"\x8b\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\")\n\'RespondActivityTaskCanceledByIdResponse\"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"(\n&RequestCancelWorkflowExecutionResponse\"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n\"!\n\x1fSignalWorkflowExecutionResponse\"\xf1\t\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x15\x10\x16\"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"$\n\"TerminateWorkflowExecutionResponse\"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"!\n\x1f\x44\x65leteWorkflowExecutionResponse\"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"\x82\x01\n\"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\xd0\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\x04\x08\x05\x10\x06\"#\n!RespondQueryTaskCompletedResponse\"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x1e\n\x1cResetStickyTaskQueueResponse\"\xaa\x01\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x18\n\x16ShutdownWorkerResponse\"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition\"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected\"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo\"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01\"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01\"\x17\n\x15GetClusterInfoRequest\"\x8b\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14GetSystemInfoRequest\"\xf4\x03\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\xe7\x02\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n\"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12\"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\"\xf8\x01\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x18\n\x16UpdateScheduleResponse\"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\x17\n\x15PatchScheduleResponse\"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteScheduleResponse\"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation\"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id\"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05\"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet\"\xb5\r\n\"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation\"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability\"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation\"\x1d\n\x1bStartBatchOperationResponse\"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x1c\n\x1aStopBatchOperationResponse\"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t\"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb9\x01\n\"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\"\xea\x02\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\"#\n!RespondNexusTaskCompletedResponse\"\x8c\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x32\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerError\" \n\x1eRespondNexusTaskFailedResponse\"\xdf\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation\"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response\"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity\"\x17\n\x15PauseActivityResponse\"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x19\n\x17UnpauseActivityResponse\"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x8a\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08\"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo\"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t\"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo\"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata\"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xcb\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\"\xbb\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xdf\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\"\xd8\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x13previous_percentage\x18\x03 \x01(\x02\"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t\"\'\n%DeleteWorkerDeploymentVersionResponse\"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\" \n\x1e\x44\x65leteWorkerDeploymentResponse\"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t\"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse\"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule\".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08\"\x86\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x1f\n\x1dRecordWorkerHeartbeatResponse\"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"h\n\x13ListWorkersResponse\x12\x38\n\x0cworkers_info\x18\x01 \x03(\x0b\x32\".temporal.api.worker.v1.WorkerInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xe2\x03\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\"\x89\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\"\xf5\x01\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08responseB\xbe\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3') - - - -_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['RegisterNamespaceRequest'] -_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name['DataEntry'] -_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['RegisterNamespaceResponse'] -_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['ListNamespacesRequest'] -_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['ListNamespacesResponse'] -_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DescribeNamespaceRequest'] -_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DescribeNamespaceResponse'] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamespaceRequest'] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamespaceResponse'] -_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeprecateNamespaceRequest'] -_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['DeprecateNamespaceResponse'] -_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['StartWorkflowExecutionRequest'] -_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['StartWorkflowExecutionResponse'] -_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryRequest'] -_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryResponse'] -_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryReverseRequest'] -_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryReverseResponse'] -_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollWorkflowTaskQueueRequest'] -_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollWorkflowTaskQueueResponse'] -_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name['QueriesEntry'] -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskCompletedRequest'] -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name['QueryResultsEntry'] -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name['Capabilities'] -_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskCompletedResponse'] -_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskFailedRequest'] -_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondWorkflowTaskFailedResponse'] -_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollActivityTaskQueueRequest'] -_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollActivityTaskQueueResponse'] -_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatRequest'] -_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatResponse'] -_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIdRequest'] -_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIdResponse'] -_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedRequest'] -_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedResponse'] -_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIdRequest'] -_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIdResponse'] -_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedRequest'] -_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedResponse'] -_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIdRequest'] -_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIdResponse'] -_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledRequest'] -_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledResponse'] -_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIdRequest'] -_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIdResponse'] -_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionRequest'] -_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionResponse'] -_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionRequest'] -_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionResponse'] -_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionRequest'] -_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionResponse'] -_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionRequest'] -_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionResponse'] -_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionRequest'] -_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionResponse'] -_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkflowExecutionRequest'] -_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkflowExecutionResponse'] -_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsRequest'] -_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsResponse'] -_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsRequest'] -_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsResponse'] -_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsRequest'] -_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsResponse'] -_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsRequest'] -_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsResponse'] -_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsRequest'] -_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsResponse'] -_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsRequest'] -_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsResponse'] -_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name['AggregationGroup'] -_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name['GetSearchAttributesRequest'] -_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name['GetSearchAttributesResponse'] -_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name['KeysEntry'] -_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedRequest'] -_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedResponse'] -_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['ResetStickyTaskQueueRequest'] -_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['ResetStickyTaskQueueResponse'] -_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name['ShutdownWorkerRequest'] -_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name['ShutdownWorkerResponse'] -_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name['QueryWorkflowRequest'] -_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name['QueryWorkflowResponse'] -_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionRequest'] -_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionResponse'] -_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['DescribeTaskQueueRequest'] -_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['DescribeTaskQueueResponse'] -_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['StatsByPriorityKeyEntry'] -_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['EffectiveRateLimit'] -_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = _DESCRIBETASKQUEUERESPONSE.nested_types_by_name['VersionsInfoEntry'] -_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name['GetClusterInfoRequest'] -_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name['GetClusterInfoResponse'] -_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = _GETCLUSTERINFORESPONSE.nested_types_by_name['SupportedClientsEntry'] -_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name['GetSystemInfoRequest'] -_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name['GetSystemInfoResponse'] -_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name['Capabilities'] -_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name['ListTaskQueuePartitionsRequest'] -_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListTaskQueuePartitionsResponse'] -_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['CreateScheduleRequest'] -_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['CreateScheduleResponse'] -_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['DescribeScheduleRequest'] -_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['DescribeScheduleResponse'] -_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['UpdateScheduleRequest'] -_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['UpdateScheduleResponse'] -_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['PatchScheduleRequest'] -_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['PatchScheduleResponse'] -_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name['ListScheduleMatchingTimesRequest'] -_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name['ListScheduleMatchingTimesResponse'] -_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteScheduleRequest'] -_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteScheduleResponse'] -_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name['ListSchedulesRequest'] -_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name['ListSchedulesResponse'] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerBuildIdCompatibilityRequest'] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name['AddNewCompatibleVersion'] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name['MergeSets'] -_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerBuildIdCompatibilityResponse'] -_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerBuildIdCompatibilityRequest'] -_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerBuildIdCompatibilityResponse'] -_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerVersioningRulesRequest'] -_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['InsertBuildIdAssignmentRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['ReplaceBuildIdAssignmentRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['DeleteBuildIdAssignmentRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['AddCompatibleBuildIdRedirectRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['ReplaceCompatibleBuildIdRedirectRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['DeleteCompatibleBuildIdRedirectRule'] -_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name['CommitBuildId'] -_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerVersioningRulesResponse'] -_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerVersioningRulesRequest'] -_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerVersioningRulesResponse'] -_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name['GetWorkerTaskReachabilityRequest'] -_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkerTaskReachabilityResponse'] -_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionRequest'] -_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionResponse'] -_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StartBatchOperationRequest'] -_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StartBatchOperationResponse'] -_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['StopBatchOperationRequest'] -_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['StopBatchOperationResponse'] -_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeBatchOperationRequest'] -_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeBatchOperationResponse'] -_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name['ListBatchOperationsRequest'] -_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListBatchOperationsResponse'] -_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name['PollWorkflowExecutionUpdateRequest'] -_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name['PollWorkflowExecutionUpdateResponse'] -_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name['PollNexusTaskQueueRequest'] -_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name['PollNexusTaskQueueResponse'] -_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name['RespondNexusTaskCompletedRequest'] -_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondNexusTaskCompletedResponse'] -_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name['RespondNexusTaskFailedRequest'] -_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name['RespondNexusTaskFailedResponse'] -_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name['ExecuteMultiOperationRequest'] -_EXECUTEMULTIOPERATIONREQUEST_OPERATION = _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name['Operation'] -_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name['ExecuteMultiOperationResponse'] -_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name['Response'] -_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name['UpdateActivityOptionsRequest'] -_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateActivityOptionsResponse'] -_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['PauseActivityRequest'] -_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['PauseActivityResponse'] -_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['UnpauseActivityRequest'] -_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['UnpauseActivityResponse'] -_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name['ResetActivityRequest'] -_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name['ResetActivityResponse'] -_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionOptionsRequest'] -_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkflowExecutionOptionsResponse'] -_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DescribeDeploymentRequest'] -_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DescribeDeploymentResponse'] -_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentVersionRequest'] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentVersionResponse'] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name['VersionTaskQueue'] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name['StatsByPriorityKeyEntry'] -_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentRequest'] -_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkerDeploymentResponse'] -_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name['ListDeploymentsRequest'] -_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name['ListDeploymentsResponse'] -_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['SetCurrentDeploymentRequest'] -_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['SetCurrentDeploymentResponse'] -_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentCurrentVersionRequest'] -_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentCurrentVersionResponse'] -_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentRampingVersionRequest'] -_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['SetWorkerDeploymentRampingVersionResponse'] -_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkerDeploymentsRequest'] -_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkerDeploymentsResponse'] -_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name['WorkerDeploymentSummary'] -_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentVersionRequest'] -_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentVersionResponse'] -_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentRequest'] -_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkerDeploymentResponse'] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerDeploymentVersionMetadataRequest'] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name['UpsertEntriesEntry'] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerDeploymentVersionMetadataResponse'] -_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name['GetCurrentDeploymentRequest'] -_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name['GetCurrentDeploymentResponse'] -_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name['GetDeploymentReachabilityRequest'] -_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name['GetDeploymentReachabilityResponse'] -_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['CreateWorkflowRuleRequest'] -_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['CreateWorkflowRuleResponse'] -_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['DescribeWorkflowRuleRequest'] -_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['DescribeWorkflowRuleResponse'] -_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['DeleteWorkflowRuleRequest'] -_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['DeleteWorkflowRuleResponse'] -_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name['ListWorkflowRulesRequest'] -_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkflowRulesResponse'] -_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name['TriggerWorkflowRuleRequest'] -_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name['TriggerWorkflowRuleResponse'] -_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name['RecordWorkerHeartbeatRequest'] -_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name['RecordWorkerHeartbeatResponse'] -_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name['ListWorkersRequest'] -_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name['ListWorkersResponse'] -_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name['UpdateTaskQueueConfigRequest'] -_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name['RateLimitUpdate'] -_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name['UpdateTaskQueueConfigResponse'] -_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name['FetchWorkerConfigRequest'] -_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['FetchWorkerConfigResponse'] -_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name['UpdateWorkerConfigRequest'] -_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['UpdateWorkerConfigResponse'] -RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType('RegisterNamespaceRequest', (_message.Message,), { - - 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { - 'DESCRIPTOR' : _REGISTERNAMESPACEREQUEST_DATAENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) - }) - , - 'DESCRIPTOR' : _REGISTERNAMESPACEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) - }) +from temporalio.api.activity.v1 import ( + message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, +) +from temporalio.api.batch.v1 import ( + message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, +) +from temporalio.api.command.v1 import ( + message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, +) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, +) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.enums.v1 import ( + deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, +) +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +) +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +) +from temporalio.api.enums.v1 import ( + query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, +) +from temporalio.api.enums.v1 import ( + reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, +) +from temporalio.api.enums.v1 import ( + task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, +) +from temporalio.api.enums.v1 import ( + update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.filter.v1 import ( + message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, +) +from temporalio.api.history.v1 import ( + message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, +) +from temporalio.api.namespace.v1 import ( + message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, +) +from temporalio.api.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, +) +from temporalio.api.protocol.v1 import ( + message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, +) +from temporalio.api.query.v1 import ( + message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, +) +from temporalio.api.replication.v1 import ( + message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, +) +from temporalio.api.rules.v1 import ( + message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, +) +from temporalio.api.schedule.v1 import ( + message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.api.sdk.v1 import ( + worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) +from temporalio.api.update.v1 import ( + message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, +) +from temporalio.api.version.v1 import ( + message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, +) +from temporalio.api.worker.v1 import ( + message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, +) +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xa9\x0b\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x8a\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x91\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\xb5\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\xf8\x03\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xb8\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xef\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x90\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xe9\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xa9\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfa\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xe9\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\x8b\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"!\n\x1fSignalWorkflowExecutionResponse"\xf1\t\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x15\x10\x16"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xd0\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\xaa\x01\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\x8b\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\xf4\x03\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\xe7\x02\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xf8\x01\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xea\x02\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response"#\n!RespondNexusTaskCompletedResponse"\x8c\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x32\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerError" \n\x1eRespondNexusTaskFailedResponse"\xdf\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity"\x17\n\x15PauseActivityResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x19\n\x17UnpauseActivityResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x17\n\x15ResetActivityResponse"\x8a\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xcb\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08"\xbb\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xdf\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08"\xd8\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12X\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x13previous_percentage\x18\x03 \x01(\x02"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x86\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x1f\n\x1dRecordWorkerHeartbeatResponse"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"h\n\x13ListWorkersResponse\x12\x38\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xe2\x03\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x89\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\xf5\x01\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08responseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' +) + + +_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["RegisterNamespaceRequest"] +_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name[ + "DataEntry" +] +_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "RegisterNamespaceResponse" +] +_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["ListNamespacesRequest"] +_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["ListNamespacesResponse"] +_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DescribeNamespaceRequest"] +_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeNamespaceResponse" +] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] +_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeprecateNamespaceRequest" +] +_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeprecateNamespaceResponse" +] +_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartWorkflowExecutionRequest" +] +_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartWorkflowExecutionResponse" +] +_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryRequest" +] +_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryResponse" +] +_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryReverseRequest" +] +_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryReverseResponse" +] +_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollWorkflowTaskQueueRequest" +] +_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollWorkflowTaskQueueResponse" +] +_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = ( + _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name["QueriesEntry"] +) +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskCompletedRequest" +] +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = ( + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["QueryResultsEntry"] +) +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = ( + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["Capabilities"] +) +_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskCompletedResponse" +] +_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskFailedRequest" +] +_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskFailedResponse" +] +_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollActivityTaskQueueRequest" +] +_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollActivityTaskQueueResponse" +] +_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatRequest" +] +_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatResponse" +] +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatByIdRequest" +] +_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatByIdResponse" +] +_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedRequest" +] +_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedResponse" +] +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedByIdRequest" +] +_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedByIdResponse" +] +_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedRequest" +] +_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedResponse" +] +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedByIdRequest" +] +_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedByIdResponse" +] +_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledRequest" +] +_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledResponse" +] +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledByIdRequest" +] +_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledByIdResponse" +] +_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "RequestCancelWorkflowExecutionRequest" +] +_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "RequestCancelWorkflowExecutionResponse" +] +_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SignalWorkflowExecutionRequest" +] +_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SignalWorkflowExecutionResponse" +] +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SignalWithStartWorkflowExecutionRequest" +] +_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SignalWithStartWorkflowExecutionResponse" +] +_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "ResetWorkflowExecutionRequest" +] +_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "ResetWorkflowExecutionResponse" +] +_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "TerminateWorkflowExecutionRequest" +] +_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "TerminateWorkflowExecutionResponse" +] +_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowExecutionRequest" +] +_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowExecutionResponse" +] +_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListOpenWorkflowExecutionsRequest" +] +_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListOpenWorkflowExecutionsResponse" +] +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListClosedWorkflowExecutionsRequest" +] +_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListClosedWorkflowExecutionsResponse" +] +_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListWorkflowExecutionsRequest" +] +_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkflowExecutionsResponse" +] +_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListArchivedWorkflowExecutionsRequest" +] +_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListArchivedWorkflowExecutionsResponse" +] +_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ScanWorkflowExecutionsRequest" +] +_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ScanWorkflowExecutionsResponse" +] +_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "CountWorkflowExecutionsRequest" +] +_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "CountWorkflowExecutionsResponse" +] +_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( + _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] +) +_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetSearchAttributesRequest" +] +_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetSearchAttributesResponse" +] +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = ( + _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name["KeysEntry"] +) +_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondQueryTaskCompletedRequest" +] +_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondQueryTaskCompletedResponse" +] +_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "ResetStickyTaskQueueRequest" +] +_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "ResetStickyTaskQueueResponse" +] +_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name["ShutdownWorkerRequest"] +_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name["ShutdownWorkerResponse"] +_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name["QueryWorkflowRequest"] +_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name["QueryWorkflowResponse"] +_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowExecutionRequest" +] +_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowExecutionResponse" +] +_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name["DescribeTaskQueueRequest"] +_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeTaskQueueResponse" +] +_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["StatsByPriorityKeyEntry"] +) +_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["EffectiveRateLimit"] +) +_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["VersionsInfoEntry"] +) +_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name["GetClusterInfoRequest"] +_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name["GetClusterInfoResponse"] +_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = ( + _GETCLUSTERINFORESPONSE.nested_types_by_name["SupportedClientsEntry"] +) +_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name["GetSystemInfoRequest"] +_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name["GetSystemInfoResponse"] +_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name[ + "Capabilities" +] +_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListTaskQueuePartitionsRequest" +] +_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListTaskQueuePartitionsResponse" +] +_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["CreateScheduleRequest"] +_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["CreateScheduleResponse"] +_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DescribeScheduleRequest"] +_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DescribeScheduleResponse"] +_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["UpdateScheduleRequest"] +_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["UpdateScheduleResponse"] +_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["PatchScheduleRequest"] +_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["PatchScheduleResponse"] +_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name[ + "ListScheduleMatchingTimesRequest" +] +_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListScheduleMatchingTimesResponse" +] +_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DeleteScheduleRequest"] +_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DeleteScheduleResponse"] +_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["ListSchedulesRequest"] +_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["ListSchedulesResponse"] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerBuildIdCompatibilityRequest" +] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = ( + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name[ + "AddNewCompatibleVersion" + ] +) +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = ( + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name["MergeSets"] +) +_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerBuildIdCompatibilityResponse" +] +_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerBuildIdCompatibilityRequest" +] +_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerBuildIdCompatibilityResponse" +] +_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerVersioningRulesRequest" +] +_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "InsertBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "ReplaceBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "DeleteBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "AddCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "ReplaceCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "DeleteCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name["CommitBuildId"] +) +_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerVersioningRulesResponse" +] +_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerVersioningRulesRequest" +] +_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerVersioningRulesResponse" +] +_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerTaskReachabilityRequest" +] +_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerTaskReachabilityResponse" +] +_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionRequest" +] +_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionResponse" +] +_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartBatchOperationRequest" +] +_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartBatchOperationResponse" +] +_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StopBatchOperationRequest" +] +_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StopBatchOperationResponse" +] +_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeBatchOperationRequest" +] +_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeBatchOperationResponse" +] +_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListBatchOperationsRequest" +] +_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListBatchOperationsResponse" +] +_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollWorkflowExecutionUpdateRequest" +] +_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollWorkflowExecutionUpdateResponse" +] +_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollNexusTaskQueueRequest" +] +_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollNexusTaskQueueResponse" +] +_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskCompletedRequest" +] +_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskCompletedResponse" +] +_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskFailedRequest" +] +_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskFailedResponse" +] +_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "ExecuteMultiOperationRequest" +] +_EXECUTEMULTIOPERATIONREQUEST_OPERATION = ( + _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name["Operation"] +) +_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "ExecuteMultiOperationResponse" +] +_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = ( + _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name["Response"] +) +_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateActivityOptionsRequest" +] +_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateActivityOptionsResponse" +] +_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["PauseActivityRequest"] +_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["PauseActivityResponse"] +_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["UnpauseActivityRequest"] +_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["UnpauseActivityResponse"] +_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["ResetActivityRequest"] +_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["ResetActivityResponse"] +_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionOptionsRequest" +] +_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionOptionsResponse" +] +_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeDeploymentRequest" +] +_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeDeploymentResponse" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentVersionRequest" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentVersionResponse" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = ( + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name["VersionTaskQueue"] +) +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = ( + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name[ + "StatsByPriorityKeyEntry" + ] +) +_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentRequest" +] +_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentResponse" +] +_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name["ListDeploymentsRequest"] +_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name["ListDeploymentsResponse"] +_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "SetCurrentDeploymentRequest" +] +_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetCurrentDeploymentResponse" +] +_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentCurrentVersionRequest" +] +_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentCurrentVersionResponse" +] +_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentRampingVersionRequest" +] +_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentRampingVersionResponse" +] +_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListWorkerDeploymentsRequest" +] +_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkerDeploymentsResponse" +] +_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = ( + _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name["WorkerDeploymentSummary"] +) +_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentVersionRequest" +] +_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentVersionResponse" +] +_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentRequest" +] +_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentResponse" +] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionMetadataRequest" +] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = ( + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name[ + "UpsertEntriesEntry" + ] +) +_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionMetadataResponse" +] +_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "GetCurrentDeploymentRequest" +] +_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetCurrentDeploymentResponse" +] +_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetDeploymentReachabilityRequest" +] +_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetDeploymentReachabilityResponse" +] +_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateWorkflowRuleRequest" +] +_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateWorkflowRuleResponse" +] +_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowRuleRequest" +] +_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowRuleResponse" +] +_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowRuleRequest" +] +_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowRuleResponse" +] +_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name["ListWorkflowRulesRequest"] +_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkflowRulesResponse" +] +_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "TriggerWorkflowRuleRequest" +] +_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "TriggerWorkflowRuleResponse" +] +_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordWorkerHeartbeatRequest" +] +_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordWorkerHeartbeatResponse" +] +_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name["ListWorkersRequest"] +_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name["ListWorkersResponse"] +_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateTaskQueueConfigRequest" +] +_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = ( + _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name["RateLimitUpdate"] +) +_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateTaskQueueConfigResponse" +] +_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name["FetchWorkerConfigRequest"] +_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "FetchWorkerConfigResponse" +] +_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerConfigRequest" +] +_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerConfigResponse" +] +RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "RegisterNamespaceRequest", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _REGISTERNAMESPACEREQUEST_DATAENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) + }, + ), + "DESCRIPTOR": _REGISTERNAMESPACEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) + }, +) _sym_db.RegisterMessage(RegisterNamespaceRequest) _sym_db.RegisterMessage(RegisterNamespaceRequest.DataEntry) -RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType('RegisterNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _REGISTERNAMESPACERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) - }) +RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "RegisterNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _REGISTERNAMESPACERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) + }, +) _sym_db.RegisterMessage(RegisterNamespaceResponse) -ListNamespacesRequest = _reflection.GeneratedProtocolMessageType('ListNamespacesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTNAMESPACESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) - }) +ListNamespacesRequest = _reflection.GeneratedProtocolMessageType( + "ListNamespacesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTNAMESPACESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) + }, +) _sym_db.RegisterMessage(ListNamespacesRequest) -ListNamespacesResponse = _reflection.GeneratedProtocolMessageType('ListNamespacesResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTNAMESPACESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) - }) +ListNamespacesResponse = _reflection.GeneratedProtocolMessageType( + "ListNamespacesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTNAMESPACESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) + }, +) _sym_db.RegisterMessage(ListNamespacesResponse) -DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType('DescribeNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBENAMESPACEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) - }) +DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DescribeNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENAMESPACEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) + }, +) _sym_db.RegisterMessage(DescribeNamespaceRequest) -DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType('DescribeNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBENAMESPACERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) - }) +DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DescribeNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENAMESPACERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) + }, +) _sym_db.RegisterMessage(DescribeNamespaceResponse) -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType('UpdateNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) - }) +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) + }, +) _sym_db.RegisterMessage(UpdateNamespaceRequest) -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType('UpdateNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATENAMESPACERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) - }) +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) + }, +) _sym_db.RegisterMessage(UpdateNamespaceResponse) -DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType('DeprecateNamespaceRequest', (_message.Message,), { - 'DESCRIPTOR' : _DEPRECATENAMESPACEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) - }) +DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeprecateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DEPRECATENAMESPACEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) + }, +) _sym_db.RegisterMessage(DeprecateNamespaceRequest) -DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType('DeprecateNamespaceResponse', (_message.Message,), { - 'DESCRIPTOR' : _DEPRECATENAMESPACERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) - }) +DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeprecateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DEPRECATENAMESPACERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) + }, +) _sym_db.RegisterMessage(DeprecateNamespaceResponse) -StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) - }) +StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "StartWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _STARTWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(StartWorkflowExecutionRequest) -StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) - }) +StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "StartWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(StartWorkflowExecutionResponse) -GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) - }) +GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) + }, +) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryRequest) -GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) - }) +GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) + }, +) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryResponse) -GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryReverseRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) - }) +GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryReverseRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) + }, +) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseRequest) -GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryReverseResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) - }) +GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryReverseResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) + }, +) _sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseResponse) -PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollWorkflowTaskQueueRequest', (_message.Message,), { - 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) - }) +PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollWorkflowTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) + }, +) _sym_db.RegisterMessage(PollWorkflowTaskQueueRequest) -PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollWorkflowTaskQueueResponse', (_message.Message,), { - - 'QueriesEntry' : _reflection.GeneratedProtocolMessageType('QueriesEntry', (_message.Message,), { - 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) - }) - , - 'DESCRIPTOR' : _POLLWORKFLOWTASKQUEUERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) - }) +PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollWorkflowTaskQueueResponse", + (_message.Message,), + { + "QueriesEntry": _reflection.GeneratedProtocolMessageType( + "QueriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) + }, + ), + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) + }, +) _sym_db.RegisterMessage(PollWorkflowTaskQueueResponse) _sym_db.RegisterMessage(PollWorkflowTaskQueueResponse.QueriesEntry) -RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskCompletedRequest', (_message.Message,), { - - 'QueryResultsEntry' : _reflection.GeneratedProtocolMessageType('QueryResultsEntry', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) - }) - , - - 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) - }) - , - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) - }) +RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskCompletedRequest", + (_message.Message,), + { + "QueryResultsEntry": _reflection.GeneratedProtocolMessageType( + "QueryResultsEntry", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) + }, + ), + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) + }, + ), + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) + }, +) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.QueryResultsEntry) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.Capabilities) -RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskCompletedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) - }) +RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) + }, +) _sym_db.RegisterMessage(RespondWorkflowTaskCompletedResponse) -RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskFailedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKFAILEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) - }) +RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) + }, +) _sym_db.RegisterMessage(RespondWorkflowTaskFailedRequest) -RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondWorkflowTaskFailedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDWORKFLOWTASKFAILEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) - }) +RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) + }, +) _sym_db.RegisterMessage(RespondWorkflowTaskFailedResponse) -PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollActivityTaskQueueRequest', (_message.Message,), { - 'DESCRIPTOR' : _POLLACTIVITYTASKQUEUEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) - }) +PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollActivityTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYTASKQUEUEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) + }, +) _sym_db.RegisterMessage(PollActivityTaskQueueRequest) -PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollActivityTaskQueueResponse', (_message.Message,), { - 'DESCRIPTOR' : _POLLACTIVITYTASKQUEUERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) - }) +PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollActivityTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYTASKQUEUERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) + }, +) _sym_db.RegisterMessage(PollActivityTaskQueueResponse) -RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatRequest', (_message.Message,), { - 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) - }) +RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) + }, +) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatRequest) -RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatResponse', (_message.Message,), { - 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) - }) +RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) + }, +) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatResponse) -RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIdRequest', (_message.Message,), { - 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) - }) +RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) + }, +) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdRequest) -RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIdResponse', (_message.Message,), { - 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) - }) +RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) + }, +) _sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdResponse) -RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) - }) +RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCompletedRequest) -RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) - }) +RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCompletedResponse) -RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIdRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) - }) +RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCompletedByIdRequest) -RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIdResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) - }) +RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCompletedByIdResponse) -RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) - }) +RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskFailedRequest) -RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) - }) +RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskFailedResponse) -RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIdRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) - }) +RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskFailedByIdRequest) -RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIdResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) - }) +RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskFailedByIdResponse) -RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) - }) +RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCanceledRequest) -RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) - }) +RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCanceledResponse) -RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIdRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) - }) +RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCanceledByIdRequest) -RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIdResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) - }) +RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) + }, +) _sym_db.RegisterMessage(RespondActivityTaskCanceledByIdResponse) -RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) - }) +RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "RequestCancelWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(RequestCancelWorkflowExecutionRequest) -RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) - }) +RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "RequestCancelWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(RequestCancelWorkflowExecutionResponse) -SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) - }) +SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "SignalWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(SignalWorkflowExecutionRequest) -SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) - }) +SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "SignalWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(SignalWorkflowExecutionResponse) -SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) - }) +SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "SignalWithStartWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(SignalWithStartWorkflowExecutionRequest) -SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) - }) +SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "SignalWithStartWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(SignalWithStartWorkflowExecutionResponse) -ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) - }) +ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(ResetWorkflowExecutionRequest) -ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) - }) +ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(ResetWorkflowExecutionResponse) -TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) - }) +TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "TerminateWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(TerminateWorkflowExecutionRequest) -TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) - }) +TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "TerminateWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(TerminateWorkflowExecutionResponse) -DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) - }) +DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(DeleteWorkflowExecutionRequest) -DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) - }) +DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(DeleteWorkflowExecutionResponse) -ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) - }) +ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListOpenWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(ListOpenWorkflowExecutionsRequest) -ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) - }) +ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListOpenWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(ListOpenWorkflowExecutionsResponse) -ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) - }) +ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListClosedWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(ListClosedWorkflowExecutionsRequest) -ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) - }) +ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListClosedWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(ListClosedWorkflowExecutionsResponse) -ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) - }) +ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(ListWorkflowExecutionsRequest) -ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) - }) +ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(ListWorkflowExecutionsResponse) -ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) - }) +ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListArchivedWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(ListArchivedWorkflowExecutionsRequest) -ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) - }) +ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListArchivedWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(ListArchivedWorkflowExecutionsResponse) -ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) - }) +ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ScanWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(ScanWorkflowExecutionsRequest) -ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) - }) +ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ScanWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(ScanWorkflowExecutionsResponse) -CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) - }) +CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "CountWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) + }, +) _sym_db.RegisterMessage(CountWorkflowExecutionsRequest) -CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsResponse', (_message.Message,), { - - 'AggregationGroup' : _reflection.GeneratedProtocolMessageType('AggregationGroup', (_message.Message,), { - 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) - }) - , - 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) - }) +CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "CountWorkflowExecutionsResponse", + (_message.Message,), + { + "AggregationGroup": _reflection.GeneratedProtocolMessageType( + "AggregationGroup", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) + }, + ), + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) + }, +) _sym_db.RegisterMessage(CountWorkflowExecutionsResponse) _sym_db.RegisterMessage(CountWorkflowExecutionsResponse.AggregationGroup) -GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('GetSearchAttributesRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETSEARCHATTRIBUTESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) - }) +GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "GetSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSEARCHATTRIBUTESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) + }, +) _sym_db.RegisterMessage(GetSearchAttributesRequest) -GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('GetSearchAttributesResponse', (_message.Message,), { - - 'KeysEntry' : _reflection.GeneratedProtocolMessageType('KeysEntry', (_message.Message,), { - 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) - }) - , - 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) - }) +GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "GetSearchAttributesResponse", + (_message.Message,), + { + "KeysEntry": _reflection.GeneratedProtocolMessageType( + "KeysEntry", + (_message.Message,), + { + "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) + }, + ), + "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) + }, +) _sym_db.RegisterMessage(GetSearchAttributesResponse) _sym_db.RegisterMessage(GetSearchAttributesResponse.KeysEntry) -RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) - }) +RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondQueryTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) + }, +) _sym_db.RegisterMessage(RespondQueryTaskCompletedRequest) -RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) - }) +RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondQueryTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) + }, +) _sym_db.RegisterMessage(RespondQueryTaskCompletedResponse) -ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType('ResetStickyTaskQueueRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESETSTICKYTASKQUEUEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) - }) +ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "ResetStickyTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETSTICKYTASKQUEUEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) + }, +) _sym_db.RegisterMessage(ResetStickyTaskQueueRequest) -ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType('ResetStickyTaskQueueResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESETSTICKYTASKQUEUERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) - }) +ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "ResetStickyTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETSTICKYTASKQUEUERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) + }, +) _sym_db.RegisterMessage(ResetStickyTaskQueueResponse) -ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType('ShutdownWorkerRequest', (_message.Message,), { - 'DESCRIPTOR' : _SHUTDOWNWORKERREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) - }) +ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType( + "ShutdownWorkerRequest", + (_message.Message,), + { + "DESCRIPTOR": _SHUTDOWNWORKERREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) + }, +) _sym_db.RegisterMessage(ShutdownWorkerRequest) -ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType('ShutdownWorkerResponse', (_message.Message,), { - 'DESCRIPTOR' : _SHUTDOWNWORKERRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) - }) +ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType( + "ShutdownWorkerResponse", + (_message.Message,), + { + "DESCRIPTOR": _SHUTDOWNWORKERRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) + }, +) _sym_db.RegisterMessage(ShutdownWorkerResponse) -QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType('QueryWorkflowRequest', (_message.Message,), { - 'DESCRIPTOR' : _QUERYWORKFLOWREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) - }) +QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType( + "QueryWorkflowRequest", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOWREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) + }, +) _sym_db.RegisterMessage(QueryWorkflowRequest) -QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType('QueryWorkflowResponse', (_message.Message,), { - 'DESCRIPTOR' : _QUERYWORKFLOWRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) - }) +QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType( + "QueryWorkflowResponse", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOWRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) + }, +) _sym_db.RegisterMessage(QueryWorkflowResponse) -DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) - }) +DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) -DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) - }) +DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) -DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType('DescribeTaskQueueRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBETASKQUEUEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) - }) +DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "DescribeTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) + }, +) _sym_db.RegisterMessage(DescribeTaskQueueRequest) -DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType('DescribeTaskQueueResponse', (_message.Message,), { - - 'StatsByPriorityKeyEntry' : _reflection.GeneratedProtocolMessageType('StatsByPriorityKeyEntry', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) - }) - , - - 'EffectiveRateLimit' : _reflection.GeneratedProtocolMessageType('EffectiveRateLimit', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) - }) - , - - 'VersionsInfoEntry' : _reflection.GeneratedProtocolMessageType('VersionsInfoEntry', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) - }) - , - 'DESCRIPTOR' : _DESCRIBETASKQUEUERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) - }) +DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "DescribeTaskQueueResponse", + (_message.Message,), + { + "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( + "StatsByPriorityKeyEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) + }, + ), + "EffectiveRateLimit": _reflection.GeneratedProtocolMessageType( + "EffectiveRateLimit", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) + }, + ), + "VersionsInfoEntry": _reflection.GeneratedProtocolMessageType( + "VersionsInfoEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) + }, + ), + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) + }, +) _sym_db.RegisterMessage(DescribeTaskQueueResponse) _sym_db.RegisterMessage(DescribeTaskQueueResponse.StatsByPriorityKeyEntry) _sym_db.RegisterMessage(DescribeTaskQueueResponse.EffectiveRateLimit) _sym_db.RegisterMessage(DescribeTaskQueueResponse.VersionsInfoEntry) -GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType('GetClusterInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETCLUSTERINFOREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) - }) +GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType( + "GetClusterInfoRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCLUSTERINFOREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) + }, +) _sym_db.RegisterMessage(GetClusterInfoRequest) -GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType('GetClusterInfoResponse', (_message.Message,), { - - 'SupportedClientsEntry' : _reflection.GeneratedProtocolMessageType('SupportedClientsEntry', (_message.Message,), { - 'DESCRIPTOR' : _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) - }) - , - 'DESCRIPTOR' : _GETCLUSTERINFORESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) - }) +GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType( + "GetClusterInfoResponse", + (_message.Message,), + { + "SupportedClientsEntry": _reflection.GeneratedProtocolMessageType( + "SupportedClientsEntry", + (_message.Message,), + { + "DESCRIPTOR": _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) + }, + ), + "DESCRIPTOR": _GETCLUSTERINFORESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) + }, +) _sym_db.RegisterMessage(GetClusterInfoResponse) _sym_db.RegisterMessage(GetClusterInfoResponse.SupportedClientsEntry) -GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType('GetSystemInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETSYSTEMINFOREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) - }) +GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType( + "GetSystemInfoRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSYSTEMINFOREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) + }, +) _sym_db.RegisterMessage(GetSystemInfoRequest) -GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType('GetSystemInfoResponse', (_message.Message,), { - - 'Capabilities' : _reflection.GeneratedProtocolMessageType('Capabilities', (_message.Message,), { - 'DESCRIPTOR' : _GETSYSTEMINFORESPONSE_CAPABILITIES, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) - }) - , - 'DESCRIPTOR' : _GETSYSTEMINFORESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) - }) +GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType( + "GetSystemInfoResponse", + (_message.Message,), + { + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _GETSYSTEMINFORESPONSE_CAPABILITIES, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) + }, + ), + "DESCRIPTOR": _GETSYSTEMINFORESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) + }, +) _sym_db.RegisterMessage(GetSystemInfoResponse) _sym_db.RegisterMessage(GetSystemInfoResponse.Capabilities) -ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType('ListTaskQueuePartitionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTTASKQUEUEPARTITIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) - }) +ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType( + "ListTaskQueuePartitionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) + }, +) _sym_db.RegisterMessage(ListTaskQueuePartitionsRequest) -ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType('ListTaskQueuePartitionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTTASKQUEUEPARTITIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) - }) +ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType( + "ListTaskQueuePartitionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) + }, +) _sym_db.RegisterMessage(ListTaskQueuePartitionsResponse) -CreateScheduleRequest = _reflection.GeneratedProtocolMessageType('CreateScheduleRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATESCHEDULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) - }) +CreateScheduleRequest = _reflection.GeneratedProtocolMessageType( + "CreateScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATESCHEDULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) + }, +) _sym_db.RegisterMessage(CreateScheduleRequest) -CreateScheduleResponse = _reflection.GeneratedProtocolMessageType('CreateScheduleResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATESCHEDULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) - }) +CreateScheduleResponse = _reflection.GeneratedProtocolMessageType( + "CreateScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATESCHEDULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) + }, +) _sym_db.RegisterMessage(CreateScheduleResponse) -DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType('DescribeScheduleRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBESCHEDULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) - }) +DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType( + "DescribeScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBESCHEDULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) + }, +) _sym_db.RegisterMessage(DescribeScheduleRequest) -DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType('DescribeScheduleResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBESCHEDULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) - }) +DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType( + "DescribeScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBESCHEDULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) + }, +) _sym_db.RegisterMessage(DescribeScheduleResponse) -UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType('UpdateScheduleRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATESCHEDULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) - }) +UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType( + "UpdateScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESCHEDULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) + }, +) _sym_db.RegisterMessage(UpdateScheduleRequest) -UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType('UpdateScheduleResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATESCHEDULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) - }) +UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType( + "UpdateScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESCHEDULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) + }, +) _sym_db.RegisterMessage(UpdateScheduleResponse) -PatchScheduleRequest = _reflection.GeneratedProtocolMessageType('PatchScheduleRequest', (_message.Message,), { - 'DESCRIPTOR' : _PATCHSCHEDULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) - }) +PatchScheduleRequest = _reflection.GeneratedProtocolMessageType( + "PatchScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _PATCHSCHEDULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) + }, +) _sym_db.RegisterMessage(PatchScheduleRequest) -PatchScheduleResponse = _reflection.GeneratedProtocolMessageType('PatchScheduleResponse', (_message.Message,), { - 'DESCRIPTOR' : _PATCHSCHEDULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) - }) +PatchScheduleResponse = _reflection.GeneratedProtocolMessageType( + "PatchScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _PATCHSCHEDULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) + }, +) _sym_db.RegisterMessage(PatchScheduleResponse) -ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType('ListScheduleMatchingTimesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTSCHEDULEMATCHINGTIMESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) - }) +ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType( + "ListScheduleMatchingTimesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) + }, +) _sym_db.RegisterMessage(ListScheduleMatchingTimesRequest) -ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType('ListScheduleMatchingTimesResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTSCHEDULEMATCHINGTIMESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) - }) +ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType( + "ListScheduleMatchingTimesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) + }, +) _sym_db.RegisterMessage(ListScheduleMatchingTimesResponse) -DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType('DeleteScheduleRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETESCHEDULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) - }) +DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETESCHEDULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) + }, +) _sym_db.RegisterMessage(DeleteScheduleRequest) -DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType('DeleteScheduleResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETESCHEDULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) - }) +DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETESCHEDULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) + }, +) _sym_db.RegisterMessage(DeleteScheduleResponse) -ListSchedulesRequest = _reflection.GeneratedProtocolMessageType('ListSchedulesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTSCHEDULESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) - }) +ListSchedulesRequest = _reflection.GeneratedProtocolMessageType( + "ListSchedulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) + }, +) _sym_db.RegisterMessage(ListSchedulesRequest) -ListSchedulesResponse = _reflection.GeneratedProtocolMessageType('ListSchedulesResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTSCHEDULESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) - }) +ListSchedulesResponse = _reflection.GeneratedProtocolMessageType( + "ListSchedulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) + }, +) _sym_db.RegisterMessage(ListSchedulesResponse) -UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerBuildIdCompatibilityRequest', (_message.Message,), { - - 'AddNewCompatibleVersion' : _reflection.GeneratedProtocolMessageType('AddNewCompatibleVersion', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) - }) - , - - 'MergeSets' : _reflection.GeneratedProtocolMessageType('MergeSets', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) - }) - , - 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) - }) +UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerBuildIdCompatibilityRequest", + (_message.Message,), + { + "AddNewCompatibleVersion": _reflection.GeneratedProtocolMessageType( + "AddNewCompatibleVersion", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) + }, + ), + "MergeSets": _reflection.GeneratedProtocolMessageType( + "MergeSets", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) + }, + ), + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.MergeSets) -UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerBuildIdCompatibilityResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) - }) +UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerBuildIdCompatibilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) + }, +) _sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityResponse) -GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType('GetWorkerBuildIdCompatibilityRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERBUILDIDCOMPATIBILITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) - }) +GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerBuildIdCompatibilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) + }, +) _sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityRequest) -GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType('GetWorkerBuildIdCompatibilityResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) - }) +GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerBuildIdCompatibilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) + }, +) _sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityResponse) -UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerVersioningRulesRequest', (_message.Message,), { - - 'InsertBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('InsertBuildIdAssignmentRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) - }) - , - - 'ReplaceBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('ReplaceBuildIdAssignmentRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) - }) - , - - 'DeleteBuildIdAssignmentRule' : _reflection.GeneratedProtocolMessageType('DeleteBuildIdAssignmentRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) - }) - , - - 'AddCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('AddCompatibleBuildIdRedirectRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) - }) - , - - 'ReplaceCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('ReplaceCompatibleBuildIdRedirectRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) - }) - , - - 'DeleteCompatibleBuildIdRedirectRule' : _reflection.GeneratedProtocolMessageType('DeleteCompatibleBuildIdRedirectRule', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) - }) - , - - 'CommitBuildId' : _reflection.GeneratedProtocolMessageType('CommitBuildId', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) - }) - , - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) - }) +UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerVersioningRulesRequest", + (_message.Message,), + { + "InsertBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "InsertBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) + }, + ), + "ReplaceBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "ReplaceBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) + }, + ), + "DeleteBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "DeleteBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) + }, + ), + "AddCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "AddCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) + }, + ), + "ReplaceCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "ReplaceCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) + }, + ), + "DeleteCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "DeleteCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) + }, + ), + "CommitBuildId": _reflection.GeneratedProtocolMessageType( + "CommitBuildId", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) + }, + ), + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule +) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule +) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule +) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.CommitBuildId) -UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerVersioningRulesResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERVERSIONINGRULESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) - }) +UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerVersioningRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) + }, +) _sym_db.RegisterMessage(UpdateWorkerVersioningRulesResponse) -GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType('GetWorkerVersioningRulesRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERVERSIONINGRULESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) - }) +GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerVersioningRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERVERSIONINGRULESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) + }, +) _sym_db.RegisterMessage(GetWorkerVersioningRulesRequest) -GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType('GetWorkerVersioningRulesResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERVERSIONINGRULESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) - }) +GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerVersioningRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERVERSIONINGRULESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) + }, +) _sym_db.RegisterMessage(GetWorkerVersioningRulesResponse) -GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType('GetWorkerTaskReachabilityRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERTASKREACHABILITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) - }) +GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerTaskReachabilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERTASKREACHABILITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) + }, +) _sym_db.RegisterMessage(GetWorkerTaskReachabilityRequest) -GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType('GetWorkerTaskReachabilityResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETWORKERTASKREACHABILITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) - }) +GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerTaskReachabilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERTASKREACHABILITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) + }, +) _sym_db.RegisterMessage(GetWorkerTaskReachabilityResponse) -UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) - }) +UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkflowExecutionRequest) -UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) - }) +UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) + }, +) _sym_db.RegisterMessage(UpdateWorkflowExecutionResponse) -StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType('StartBatchOperationRequest', (_message.Message,), { - 'DESCRIPTOR' : _STARTBATCHOPERATIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) - }) +StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "StartBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _STARTBATCHOPERATIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) + }, +) _sym_db.RegisterMessage(StartBatchOperationRequest) -StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType('StartBatchOperationResponse', (_message.Message,), { - 'DESCRIPTOR' : _STARTBATCHOPERATIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) - }) +StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "StartBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTBATCHOPERATIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) + }, +) _sym_db.RegisterMessage(StartBatchOperationResponse) -StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType('StopBatchOperationRequest', (_message.Message,), { - 'DESCRIPTOR' : _STOPBATCHOPERATIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) - }) +StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "StopBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _STOPBATCHOPERATIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) + }, +) _sym_db.RegisterMessage(StopBatchOperationRequest) -StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType('StopBatchOperationResponse', (_message.Message,), { - 'DESCRIPTOR' : _STOPBATCHOPERATIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) - }) +StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "StopBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _STOPBATCHOPERATIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) + }, +) _sym_db.RegisterMessage(StopBatchOperationResponse) -DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType('DescribeBatchOperationRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEBATCHOPERATIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) - }) +DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "DescribeBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEBATCHOPERATIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) + }, +) _sym_db.RegisterMessage(DescribeBatchOperationRequest) -DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType('DescribeBatchOperationResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEBATCHOPERATIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) - }) +DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "DescribeBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEBATCHOPERATIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) + }, +) _sym_db.RegisterMessage(DescribeBatchOperationResponse) -ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType('ListBatchOperationsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTBATCHOPERATIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) - }) +ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType( + "ListBatchOperationsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTBATCHOPERATIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) + }, +) _sym_db.RegisterMessage(ListBatchOperationsRequest) -ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType('ListBatchOperationsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTBATCHOPERATIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) - }) +ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType( + "ListBatchOperationsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTBATCHOPERATIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) + }, +) _sym_db.RegisterMessage(ListBatchOperationsResponse) -PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType('PollWorkflowExecutionUpdateRequest', (_message.Message,), { - 'DESCRIPTOR' : _POLLWORKFLOWEXECUTIONUPDATEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) - }) +PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType( + "PollWorkflowExecutionUpdateRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) + }, +) _sym_db.RegisterMessage(PollWorkflowExecutionUpdateRequest) -PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType('PollWorkflowExecutionUpdateResponse', (_message.Message,), { - 'DESCRIPTOR' : _POLLWORKFLOWEXECUTIONUPDATERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) - }) +PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType( + "PollWorkflowExecutionUpdateResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) + }, +) _sym_db.RegisterMessage(PollWorkflowExecutionUpdateResponse) -PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType('PollNexusTaskQueueRequest', (_message.Message,), { - 'DESCRIPTOR' : _POLLNEXUSTASKQUEUEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) - }) +PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollNexusTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSTASKQUEUEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) + }, +) _sym_db.RegisterMessage(PollNexusTaskQueueRequest) -PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType('PollNexusTaskQueueResponse', (_message.Message,), { - 'DESCRIPTOR' : _POLLNEXUSTASKQUEUERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) - }) +PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollNexusTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSTASKQUEUERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) + }, +) _sym_db.RegisterMessage(PollNexusTaskQueueResponse) -RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondNexusTaskCompletedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDNEXUSTASKCOMPLETEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) - }) +RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) + }, +) _sym_db.RegisterMessage(RespondNexusTaskCompletedRequest) -RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondNexusTaskCompletedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDNEXUSTASKCOMPLETEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) - }) +RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) + }, +) _sym_db.RegisterMessage(RespondNexusTaskCompletedResponse) -RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondNexusTaskFailedRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDNEXUSTASKFAILEDREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) - }) +RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) + }, +) _sym_db.RegisterMessage(RespondNexusTaskFailedRequest) -RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondNexusTaskFailedResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESPONDNEXUSTASKFAILEDRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) - }) +RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) + }, +) _sym_db.RegisterMessage(RespondNexusTaskFailedResponse) -ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType('ExecuteMultiOperationRequest', (_message.Message,), { - - 'Operation' : _reflection.GeneratedProtocolMessageType('Operation', (_message.Message,), { - 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONREQUEST_OPERATION, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) - }) - , - 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) - }) +ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType( + "ExecuteMultiOperationRequest", + (_message.Message,), + { + "Operation": _reflection.GeneratedProtocolMessageType( + "Operation", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST_OPERATION, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) + }, + ), + "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) + }, +) _sym_db.RegisterMessage(ExecuteMultiOperationRequest) _sym_db.RegisterMessage(ExecuteMultiOperationRequest.Operation) -ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType('ExecuteMultiOperationResponse', (_message.Message,), { - - 'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { - 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) - }) - , - 'DESCRIPTOR' : _EXECUTEMULTIOPERATIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) - }) +ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType( + "ExecuteMultiOperationResponse", + (_message.Message,), + { + "Response": _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) + }, + ), + "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) + }, +) _sym_db.RegisterMessage(ExecuteMultiOperationResponse) _sym_db.RegisterMessage(ExecuteMultiOperationResponse.Response) -UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType('UpdateActivityOptionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEACTIVITYOPTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) - }) +UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateActivityOptionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYOPTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) + }, +) _sym_db.RegisterMessage(UpdateActivityOptionsRequest) -UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType('UpdateActivityOptionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEACTIVITYOPTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) - }) +UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateActivityOptionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYOPTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) + }, +) _sym_db.RegisterMessage(UpdateActivityOptionsResponse) -PauseActivityRequest = _reflection.GeneratedProtocolMessageType('PauseActivityRequest', (_message.Message,), { - 'DESCRIPTOR' : _PAUSEACTIVITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) - }) +PauseActivityRequest = _reflection.GeneratedProtocolMessageType( + "PauseActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) + }, +) _sym_db.RegisterMessage(PauseActivityRequest) -PauseActivityResponse = _reflection.GeneratedProtocolMessageType('PauseActivityResponse', (_message.Message,), { - 'DESCRIPTOR' : _PAUSEACTIVITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) - }) +PauseActivityResponse = _reflection.GeneratedProtocolMessageType( + "PauseActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) + }, +) _sym_db.RegisterMessage(PauseActivityResponse) -UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType('UnpauseActivityRequest', (_message.Message,), { - 'DESCRIPTOR' : _UNPAUSEACTIVITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) - }) +UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) + }, +) _sym_db.RegisterMessage(UnpauseActivityRequest) -UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType('UnpauseActivityResponse', (_message.Message,), { - 'DESCRIPTOR' : _UNPAUSEACTIVITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) - }) +UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) + }, +) _sym_db.RegisterMessage(UnpauseActivityResponse) -ResetActivityRequest = _reflection.GeneratedProtocolMessageType('ResetActivityRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESETACTIVITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) - }) +ResetActivityRequest = _reflection.GeneratedProtocolMessageType( + "ResetActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) + }, +) _sym_db.RegisterMessage(ResetActivityRequest) -ResetActivityResponse = _reflection.GeneratedProtocolMessageType('ResetActivityResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESETACTIVITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) - }) +ResetActivityResponse = _reflection.GeneratedProtocolMessageType( + "ResetActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) + }, +) _sym_db.RegisterMessage(ResetActivityResponse) -UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionOptionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) - }) +UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionOptionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsRequest) -UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkflowExecutionOptionsResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) - }) +UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionOptionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) + }, +) _sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsResponse) -DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType('DescribeDeploymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEDEPLOYMENTREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) - }) +DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DescribeDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEDEPLOYMENTREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) + }, +) _sym_db.RegisterMessage(DescribeDeploymentRequest) -DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType('DescribeDeploymentResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEDEPLOYMENTRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) - }) +DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DescribeDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEDEPLOYMENTRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) + }, +) _sym_db.RegisterMessage(DescribeDeploymentResponse) -DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentVersionRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) - }) +DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) + }, +) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionRequest) -DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentVersionResponse', (_message.Message,), { - - 'VersionTaskQueue' : _reflection.GeneratedProtocolMessageType('VersionTaskQueue', (_message.Message,), { - - 'StatsByPriorityKeyEntry' : _reflection.GeneratedProtocolMessageType('StatsByPriorityKeyEntry', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) - }) - , - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) - }) - , - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) - }) +DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentVersionResponse", + (_message.Message,), + { + "VersionTaskQueue": _reflection.GeneratedProtocolMessageType( + "VersionTaskQueue", + (_message.Message,), + { + "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( + "StatsByPriorityKeyEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) + }, + ), + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) + }, + ), + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) + }, +) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse) _sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) -_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) - -DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) - }) +_sym_db.RegisterMessage( + DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry +) + +DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) + }, +) _sym_db.RegisterMessage(DescribeWorkerDeploymentRequest) -DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkerDeploymentResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKERDEPLOYMENTRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) - }) +DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) + }, +) _sym_db.RegisterMessage(DescribeWorkerDeploymentResponse) -ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType('ListDeploymentsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTDEPLOYMENTSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) - }) +ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType( + "ListDeploymentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTDEPLOYMENTSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) + }, +) _sym_db.RegisterMessage(ListDeploymentsRequest) -ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType('ListDeploymentsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTDEPLOYMENTSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) - }) +ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType( + "ListDeploymentsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTDEPLOYMENTSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) + }, +) _sym_db.RegisterMessage(ListDeploymentsResponse) -SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType('SetCurrentDeploymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETCURRENTDEPLOYMENTREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) - }) +SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "SetCurrentDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETCURRENTDEPLOYMENTREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) + }, +) _sym_db.RegisterMessage(SetCurrentDeploymentRequest) -SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType('SetCurrentDeploymentResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETCURRENTDEPLOYMENTRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) - }) +SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "SetCurrentDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETCURRENTDEPLOYMENTRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) + }, +) _sym_db.RegisterMessage(SetCurrentDeploymentResponse) -SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentCurrentVersionRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) - }) +SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentCurrentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) + }, +) _sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionRequest) -SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentCurrentVersionResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) - }) +SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentCurrentVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) + }, +) _sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionResponse) -SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentRampingVersionRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) - }) +SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentRampingVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) + }, +) _sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionRequest) -SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType('SetWorkerDeploymentRampingVersionResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) - }) +SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentRampingVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) + }, +) _sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionResponse) -ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType('ListWorkerDeploymentsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) - }) +ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkerDeploymentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) + }, +) _sym_db.RegisterMessage(ListWorkerDeploymentsRequest) -ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType('ListWorkerDeploymentsResponse', (_message.Message,), { - - 'WorkerDeploymentSummary' : _reflection.GeneratedProtocolMessageType('WorkerDeploymentSummary', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) - }) - , - 'DESCRIPTOR' : _LISTWORKERDEPLOYMENTSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) - }) +ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkerDeploymentsResponse", + (_message.Message,), + { + "WorkerDeploymentSummary": _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentSummary", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) + }, + ), + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) + }, +) _sym_db.RegisterMessage(ListWorkerDeploymentsResponse) _sym_db.RegisterMessage(ListWorkerDeploymentsResponse.WorkerDeploymentSummary) -DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentVersionRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTVERSIONREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) - }) +DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) + }, +) _sym_db.RegisterMessage(DeleteWorkerDeploymentVersionRequest) -DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentVersionResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) - }) +DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) + }, +) _sym_db.RegisterMessage(DeleteWorkerDeploymentVersionResponse) -DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) - }) +DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) + }, +) _sym_db.RegisterMessage(DeleteWorkerDeploymentRequest) -DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkerDeploymentResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKERDEPLOYMENTRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) - }) +DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) + }, +) _sym_db.RegisterMessage(DeleteWorkerDeploymentResponse) -UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerDeploymentVersionMetadataRequest', (_message.Message,), { - - 'UpsertEntriesEntry' : _reflection.GeneratedProtocolMessageType('UpsertEntriesEntry', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) - }) - , - 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) - }) +UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionMetadataRequest", + (_message.Message,), + { + "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( + "UpsertEntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) + }, + ), + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) -UpdateWorkerDeploymentVersionMetadataResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerDeploymentVersionMetadataResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) - }) +UpdateWorkerDeploymentVersionMetadataResponse = ( + _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionMetadataResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) + }, + ) +) _sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataResponse) -GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType('GetCurrentDeploymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETCURRENTDEPLOYMENTREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) - }) +GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "GetCurrentDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTDEPLOYMENTREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) + }, +) _sym_db.RegisterMessage(GetCurrentDeploymentRequest) -GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType('GetCurrentDeploymentResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETCURRENTDEPLOYMENTRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) - }) +GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "GetCurrentDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTDEPLOYMENTRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) + }, +) _sym_db.RegisterMessage(GetCurrentDeploymentResponse) -GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType('GetDeploymentReachabilityRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETDEPLOYMENTREACHABILITYREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) - }) +GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType( + "GetDeploymentReachabilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) + }, +) _sym_db.RegisterMessage(GetDeploymentReachabilityRequest) -GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType('GetDeploymentReachabilityResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETDEPLOYMENTREACHABILITYRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) - }) +GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType( + "GetDeploymentReachabilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) + }, +) _sym_db.RegisterMessage(GetDeploymentReachabilityResponse) -CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('CreateWorkflowRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEWORKFLOWRULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) - }) +CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "CreateWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKFLOWRULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) + }, +) _sym_db.RegisterMessage(CreateWorkflowRuleRequest) -CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('CreateWorkflowRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATEWORKFLOWRULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) - }) +CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "CreateWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKFLOWRULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) + }, +) _sym_db.RegisterMessage(CreateWorkflowRuleResponse) -DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKFLOWRULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) - }) +DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWRULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) + }, +) _sym_db.RegisterMessage(DescribeWorkflowRuleRequest) -DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _DESCRIBEWORKFLOWRULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) - }) +DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWRULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) + }, +) _sym_db.RegisterMessage(DescribeWorkflowRuleResponse) -DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkflowRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKFLOWRULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) - }) +DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWRULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) + }, +) _sym_db.RegisterMessage(DeleteWorkflowRuleRequest) -DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkflowRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEWORKFLOWRULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) - }) +DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWRULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) + }, +) _sym_db.RegisterMessage(DeleteWorkflowRuleResponse) -ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType('ListWorkflowRulesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKFLOWRULESREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) - }) +ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkflowRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWRULESREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) + }, +) _sym_db.RegisterMessage(ListWorkflowRulesRequest) -ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType('ListWorkflowRulesResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKFLOWRULESRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) - }) +ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkflowRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWRULESRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) + }, +) _sym_db.RegisterMessage(ListWorkflowRulesResponse) -TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType('TriggerWorkflowRuleRequest', (_message.Message,), { - 'DESCRIPTOR' : _TRIGGERWORKFLOWRULEREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) - }) +TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "TriggerWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERWORKFLOWRULEREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) + }, +) _sym_db.RegisterMessage(TriggerWorkflowRuleRequest) -TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType('TriggerWorkflowRuleResponse', (_message.Message,), { - 'DESCRIPTOR' : _TRIGGERWORKFLOWRULERESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) - }) +TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "TriggerWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERWORKFLOWRULERESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) + }, +) _sym_db.RegisterMessage(TriggerWorkflowRuleResponse) -RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType('RecordWorkerHeartbeatRequest', (_message.Message,), { - 'DESCRIPTOR' : _RECORDWORKERHEARTBEATREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) - }) +RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType( + "RecordWorkerHeartbeatRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDWORKERHEARTBEATREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) + }, +) _sym_db.RegisterMessage(RecordWorkerHeartbeatRequest) -RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType('RecordWorkerHeartbeatResponse', (_message.Message,), { - 'DESCRIPTOR' : _RECORDWORKERHEARTBEATRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) - }) +RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType( + "RecordWorkerHeartbeatResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDWORKERHEARTBEATRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) + }, +) _sym_db.RegisterMessage(RecordWorkerHeartbeatResponse) -ListWorkersRequest = _reflection.GeneratedProtocolMessageType('ListWorkersRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKERSREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) - }) +ListWorkersRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkersRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERSREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) + }, +) _sym_db.RegisterMessage(ListWorkersRequest) -ListWorkersResponse = _reflection.GeneratedProtocolMessageType('ListWorkersResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTWORKERSRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) - }) +ListWorkersResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkersResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERSRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) + }, +) _sym_db.RegisterMessage(ListWorkersResponse) -UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateTaskQueueConfigRequest', (_message.Message,), { - - 'RateLimitUpdate' : _reflection.GeneratedProtocolMessageType('RateLimitUpdate', (_message.Message,), { - 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) - }) - , - 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) - }) +UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType( + "UpdateTaskQueueConfigRequest", + (_message.Message,), + { + "RateLimitUpdate": _reflection.GeneratedProtocolMessageType( + "RateLimitUpdate", + (_message.Message,), + { + "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) + }, + ), + "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) + }, +) _sym_db.RegisterMessage(UpdateTaskQueueConfigRequest) _sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.RateLimitUpdate) -UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateTaskQueueConfigResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATETASKQUEUECONFIGRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) - }) +UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType( + "UpdateTaskQueueConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATETASKQUEUECONFIGRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) + }, +) _sym_db.RegisterMessage(UpdateTaskQueueConfigResponse) -FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType('FetchWorkerConfigRequest', (_message.Message,), { - 'DESCRIPTOR' : _FETCHWORKERCONFIGREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) - }) +FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( + "FetchWorkerConfigRequest", + (_message.Message,), + { + "DESCRIPTOR": _FETCHWORKERCONFIGREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) + }, +) _sym_db.RegisterMessage(FetchWorkerConfigRequest) -FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType('FetchWorkerConfigResponse', (_message.Message,), { - 'DESCRIPTOR' : _FETCHWORKERCONFIGRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) - }) +FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( + "FetchWorkerConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _FETCHWORKERCONFIGRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) + }, +) _sym_db.RegisterMessage(FetchWorkerConfigResponse) -UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateWorkerConfigRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERCONFIGREQUEST, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) - }) +UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerConfigRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERCONFIGREQUEST, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) + }, +) _sym_db.RegisterMessage(UpdateWorkerConfigRequest) -UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateWorkerConfigResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEWORKERCONFIGRESPONSE, - '__module__' : 'temporal.api.workflowservice.v1.request_response_pb2' - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) - }) +UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERCONFIGRESPONSE, + "__module__": "temporal.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) + }, +) _sym_db.RegisterMessage(UpdateWorkerConfigResponse) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b'8\001' - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['binary_checksum']._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b'8\001' - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = b'8\001' - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['binary_checksum']._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['worker_version_stamp']._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['worker_version_stamp']._serialized_options = b'\030\001' - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['deployment']._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['binary_checksum']._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['binary_checksum']._serialized_options = b'\030\001' - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['worker_version']._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['deployment']._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['worker_version']._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['deployment']._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['worker_version']._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['deployment']._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['worker_version']._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['worker_version']._serialized_options = b'\030\001' - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['deployment']._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['deployment']._serialized_options = b'\030\001' - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._options = None - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._serialized_options = b'\030\001' - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._options = None - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['control']._serialized_options = b'\030\001' - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name['reset_reapply_type']._options = None - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name['reset_reapply_type']._serialized_options = b'\030\001' - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b'8\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['include_task_queue_status']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['include_task_queue_status']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['api_mode']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['api_mode']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['versions']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['versions']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['task_queue_types']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['task_queue_types']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_pollers']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_pollers']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_task_reachability']._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name['report_task_reachability']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b'8\001' - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b'8\001' - _DESCRIBETASKQUEUERESPONSE.fields_by_name['task_queue_status']._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name['task_queue_status']._serialized_options = b'\030\001' - _DESCRIBETASKQUEUERESPONSE.fields_by_name['versions_info']._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name['versions_info']._serialized_options = b'\030\001' - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b'8\001' - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._options = None - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name['worker_version_capabilities']._serialized_options = b'\030\001' - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b'8\001' - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name['version']._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name['previous_version']._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name['previous_version']._serialized_options = b'\030\001' - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name['version']._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name['previous_version']._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name['previous_version']._serialized_options = b'\030\001' - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._options = None - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name['version']._serialized_options = b'\030\001' - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b'8\001' - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name['version']._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name['version']._serialized_options = b'\030\001' - _REGISTERNAMESPACEREQUEST._serialized_start=1492 - _REGISTERNAMESPACEREQUEST._serialized_end=2140 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start=2097 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end=2140 - _REGISTERNAMESPACERESPONSE._serialized_start=2142 - _REGISTERNAMESPACERESPONSE._serialized_end=2169 - _LISTNAMESPACESREQUEST._serialized_start=2172 - _LISTNAMESPACESREQUEST._serialized_end=2309 - _LISTNAMESPACESRESPONSE._serialized_start=2312 - _LISTNAMESPACESRESPONSE._serialized_end=2441 - _DESCRIBENAMESPACEREQUEST._serialized_start=2443 - _DESCRIBENAMESPACEREQUEST._serialized_end=2500 - _DESCRIBENAMESPACERESPONSE._serialized_start=2503 - _DESCRIBENAMESPACERESPONSE._serialized_end=2867 - _UPDATENAMESPACEREQUEST._serialized_start=2870 - _UPDATENAMESPACEREQUEST._serialized_end=3205 - _UPDATENAMESPACERESPONSE._serialized_start=3208 - _UPDATENAMESPACERESPONSE._serialized_end=3499 - _DEPRECATENAMESPACEREQUEST._serialized_start=3501 - _DEPRECATENAMESPACEREQUEST._serialized_end=3571 - _DEPRECATENAMESPACERESPONSE._serialized_start=3573 - _DEPRECATENAMESPACERESPONSE._serialized_end=3601 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_start=3604 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_end=5053 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start=5056 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end=5322 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start=5325 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end=5623 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start=5626 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end=5812 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start=5815 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end=5991 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start=5993 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end=6113 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start=6116 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end=6510 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start=6513 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end=7426 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start=7342 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end=7426 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start=7429 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end=8634 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start=8468 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end=8563 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start=8565 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end=8634 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start=8637 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end=8882 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start=8885 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end=9389 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start=9391 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end=9426 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_start=9429 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_end=9869 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_start=9872 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_end=10879 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start=10882 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end=11026 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start=11028 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end=11140 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start=11143 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end=11329 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start=11331 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end=11447 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start=11450 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end=11811 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start=11813 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end=11851 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start=11854 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end=12040 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start=12042 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end=12084 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start=12087 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end=12512 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start=12514 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end=12601 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start=12604 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end=12854 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start=12856 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end=12947 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start=12950 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end=13311 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start=13313 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end=13350 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start=13353 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end=13620 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start=13622 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end=13663 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start=13666 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end=13926 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start=13928 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end=13968 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start=13971 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end=14321 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start=14323 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end=14356 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start=14359 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end=15624 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start=15626 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end=15701 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_start=15704 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_end=16153 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start=16155 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end=16203 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start=16206 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end=16493 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start=16495 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end=16531 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start=16533 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end=16655 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start=16657 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end=16690 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start=16693 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end=17022 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start=17025 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end=17155 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start=17158 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end=17552 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start=17555 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end=17687 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start=17689 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end=17798 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start=17800 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end=17926 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start=17928 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end=18045 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start=18048 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end=18182 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start=18184 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end=18293 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start=18295 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end=18421 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start=18423 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end=18489 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start=18492 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end=18729 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start=18641 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end=18729 - _GETSEARCHATTRIBUTESREQUEST._serialized_start=18731 - _GETSEARCHATTRIBUTESREQUEST._serialized_end=18759 - _GETSEARCHATTRIBUTESRESPONSE._serialized_start=18762 - _GETSEARCHATTRIBUTESRESPONSE._serialized_end=18963 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start=18879 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end=18963 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start=18966 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end=19302 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start=19304 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end=19339 - _RESETSTICKYTASKQUEUEREQUEST._serialized_start=19341 - _RESETSTICKYTASKQUEUEREQUEST._serialized_end=19451 - _RESETSTICKYTASKQUEUERESPONSE._serialized_start=19453 - _RESETSTICKYTASKQUEUERESPONSE._serialized_end=19483 - _SHUTDOWNWORKERREQUEST._serialized_start=19486 - _SHUTDOWNWORKERREQUEST._serialized_end=19656 - _SHUTDOWNWORKERRESPONSE._serialized_start=19658 - _SHUTDOWNWORKERRESPONSE._serialized_end=19682 - _QUERYWORKFLOWREQUEST._serialized_start=19685 - _QUERYWORKFLOWREQUEST._serialized_end=19918 - _QUERYWORKFLOWRESPONSE._serialized_start=19921 - _QUERYWORKFLOWRESPONSE._serialized_end=20062 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start=20064 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end=20179 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start=20182 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end=20847 - _DESCRIBETASKQUEUEREQUEST._serialized_start=20850 - _DESCRIBETASKQUEUEREQUEST._serialized_end=21378 - _DESCRIBETASKQUEUERESPONSE._serialized_start=21381 - _DESCRIBETASKQUEUERESPONSE._serialized_end=22385 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start=22065 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end=22165 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start=22167 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end=22283 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start=22285 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end=22385 - _GETCLUSTERINFOREQUEST._serialized_start=22387 - _GETCLUSTERINFOREQUEST._serialized_end=22410 - _GETCLUSTERINFORESPONSE._serialized_start=22413 - _GETCLUSTERINFORESPONSE._serialized_end=22808 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start=22753 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end=22808 - _GETSYSTEMINFOREQUEST._serialized_start=22810 - _GETSYSTEMINFOREQUEST._serialized_end=22832 - _GETSYSTEMINFORESPONSE._serialized_start=22835 - _GETSYSTEMINFORESPONSE._serialized_end=23335 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start=22976 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end=23335 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start=23337 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end=23446 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start=23449 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end=23672 - _CREATESCHEDULEREQUEST._serialized_start=23675 - _CREATESCHEDULEREQUEST._serialized_end=24007 - _CREATESCHEDULERESPONSE._serialized_start=24009 - _CREATESCHEDULERESPONSE._serialized_end=24057 - _DESCRIBESCHEDULEREQUEST._serialized_start=24059 - _DESCRIBESCHEDULEREQUEST._serialized_end=24124 - _DESCRIBESCHEDULERESPONSE._serialized_start=24127 - _DESCRIBESCHEDULERESPONSE._serialized_end=24398 - _UPDATESCHEDULEREQUEST._serialized_start=24401 - _UPDATESCHEDULEREQUEST._serialized_end=24649 - _UPDATESCHEDULERESPONSE._serialized_start=24651 - _UPDATESCHEDULERESPONSE._serialized_end=24675 - _PATCHSCHEDULEREQUEST._serialized_start=24678 - _PATCHSCHEDULEREQUEST._serialized_end=24834 - _PATCHSCHEDULERESPONSE._serialized_start=24836 - _PATCHSCHEDULERESPONSE._serialized_end=24859 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start=24862 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end=25030 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start=25032 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end=25115 - _DELETESCHEDULEREQUEST._serialized_start=25117 - _DELETESCHEDULEREQUEST._serialized_end=25198 - _DELETESCHEDULERESPONSE._serialized_start=25200 - _DELETESCHEDULERESPONSE._serialized_end=25224 - _LISTSCHEDULESREQUEST._serialized_start=25226 - _LISTSCHEDULESREQUEST._serialized_end=25334 - _LISTSCHEDULESRESPONSE._serialized_start=25336 - _LISTSCHEDULESRESPONSE._serialized_end=25448 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start=25451 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end=26097 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start=25898 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end=26009 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start=26011 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end=26084 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start=26099 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end=26163 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start=26165 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end=26260 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start=26262 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end=26378 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start=26381 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end=28098 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start=27433 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end=27546 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start=27549 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end=27678 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start=27680 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end=27744 - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27746 - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=27852 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27854 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=27964 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start=27966 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end=28028 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start=28030 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end=28085 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start=28101 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end=28353 - _GETWORKERVERSIONINGRULESREQUEST._serialized_start=28355 - _GETWORKERVERSIONINGRULESREQUEST._serialized_end=28427 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_start=28430 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_end=28679 - _GETWORKERTASKREACHABILITYREQUEST._serialized_start=28682 - _GETWORKERTASKREACHABILITYREQUEST._serialized_end=28838 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_start=28840 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_end=28954 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start=28957 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end=29218 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start=29221 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end=29436 - _STARTBATCHOPERATIONREQUEST._serialized_start=29439 - _STARTBATCHOPERATIONREQUEST._serialized_end=30451 - _STARTBATCHOPERATIONRESPONSE._serialized_start=30453 - _STARTBATCHOPERATIONRESPONSE._serialized_end=30482 - _STOPBATCHOPERATIONREQUEST._serialized_start=30484 - _STOPBATCHOPERATIONREQUEST._serialized_end=30580 - _STOPBATCHOPERATIONRESPONSE._serialized_start=30582 - _STOPBATCHOPERATIONRESPONSE._serialized_end=30610 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_start=30612 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_end=30678 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start=30681 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end=31083 - _LISTBATCHOPERATIONSREQUEST._serialized_start=31085 - _LISTBATCHOPERATIONSREQUEST._serialized_end=31176 - _LISTBATCHOPERATIONSRESPONSE._serialized_start=31178 - _LISTBATCHOPERATIONSRESPONSE._serialized_end=31299 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start=31302 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end=31487 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start=31490 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end=31709 - _POLLNEXUSTASKQUEUEREQUEST._serialized_start=31712 - _POLLNEXUSTASKQUEUEREQUEST._serialized_end=32074 - _POLLNEXUSTASKQUEUERESPONSE._serialized_start=32077 - _POLLNEXUSTASKQUEUERESPONSE._serialized_end=32257 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start=32260 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end=32402 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start=32404 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end=32439 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start=32442 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end=32582 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start=32584 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end=32616 - _EXECUTEMULTIOPERATIONREQUEST._serialized_start=32619 - _EXECUTEMULTIOPERATIONREQUEST._serialized_end=32970 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start=32764 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end=32970 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_start=32973 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_end=33305 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start=33099 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end=33305 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_start=33308 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_end=33644 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start=33646 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end=33746 - _PAUSEACTIVITYREQUEST._serialized_start=33749 - _PAUSEACTIVITYREQUEST._serialized_end=33928 - _PAUSEACTIVITYRESPONSE._serialized_start=33930 - _PAUSEACTIVITYRESPONSE._serialized_end=33953 - _UNPAUSEACTIVITYREQUEST._serialized_start=33956 - _UNPAUSEACTIVITYREQUEST._serialized_end=34236 - _UNPAUSEACTIVITYRESPONSE._serialized_start=34238 - _UNPAUSEACTIVITYRESPONSE._serialized_end=34263 - _RESETACTIVITYREQUEST._serialized_start=34266 - _RESETACTIVITYREQUEST._serialized_end=34573 - _RESETACTIVITYRESPONSE._serialized_start=34575 - _RESETACTIVITYRESPONSE._serialized_end=34598 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start=34601 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end=34867 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start=34870 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end=34998 - _DESCRIBEDEPLOYMENTREQUEST._serialized_start=35000 - _DESCRIBEDEPLOYMENTREQUEST._serialized_end=35106 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_start=35108 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_end=35205 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start=35208 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end=35402 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start=35405 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end=36057 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start=35666 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end=36057 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start=22065 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end=22165 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start=36059 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end=36136 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start=36139 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end=36279 - _LISTDEPLOYMENTSREQUEST._serialized_start=36281 - _LISTDEPLOYMENTSREQUEST._serialized_end=36389 - _LISTDEPLOYMENTSRESPONSE._serialized_start=36391 - _LISTDEPLOYMENTSRESPONSE._serialized_end=36510 - _SETCURRENTDEPLOYMENTREQUEST._serialized_start=36513 - _SETCURRENTDEPLOYMENTREQUEST._serialized_end=36718 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_start=36721 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_end=36906 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start=36909 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end=37112 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start=37115 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end=37302 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start=37305 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end=37528 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start=37531 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end=37747 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_start=37749 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_end=37842 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start=37845 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end=38516 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start=38020 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end=38516 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start=38519 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end=38719 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start=38721 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end=38760 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_start=38762 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_end=38855 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start=38857 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end=38889 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start=38892 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end=39310 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start=39225 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end=39310 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start=39312 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end=39422 - _GETCURRENTDEPLOYMENTREQUEST._serialized_start=39424 - _GETCURRENTDEPLOYMENTREQUEST._serialized_end=39493 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_start=39495 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_end=39602 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start=39604 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end=39717 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start=39720 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end=39947 - _CREATEWORKFLOWRULEREQUEST._serialized_start=39950 - _CREATEWORKFLOWRULEREQUEST._serialized_end=40130 - _CREATEWORKFLOWRULERESPONSE._serialized_start=40132 - _CREATEWORKFLOWRULERESPONSE._serialized_end=40227 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_start=40229 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_end=40294 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_start=40296 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_end=40377 - _DELETEWORKFLOWRULEREQUEST._serialized_start=40379 - _DELETEWORKFLOWRULEREQUEST._serialized_end=40442 - _DELETEWORKFLOWRULERESPONSE._serialized_start=40444 - _DELETEWORKFLOWRULERESPONSE._serialized_end=40472 - _LISTWORKFLOWRULESREQUEST._serialized_start=40474 - _LISTWORKFLOWRULESREQUEST._serialized_end=40544 - _LISTWORKFLOWRULESRESPONSE._serialized_start=40546 - _LISTWORKFLOWRULESRESPONSE._serialized_end=40650 - _TRIGGERWORKFLOWRULEREQUEST._serialized_start=40653 - _TRIGGERWORKFLOWRULEREQUEST._serialized_end=40859 - _TRIGGERWORKFLOWRULERESPONSE._serialized_start=40861 - _TRIGGERWORKFLOWRULERESPONSE._serialized_end=40907 - _RECORDWORKERHEARTBEATREQUEST._serialized_start=40910 - _RECORDWORKERHEARTBEATREQUEST._serialized_end=41044 - _RECORDWORKERHEARTBEATRESPONSE._serialized_start=41046 - _RECORDWORKERHEARTBEATRESPONSE._serialized_end=41077 - _LISTWORKERSREQUEST._serialized_start=41079 - _LISTWORKERSREQUEST._serialized_end=41177 - _LISTWORKERSRESPONSE._serialized_start=41179 - _LISTWORKERSRESPONSE._serialized_end=41283 - _UPDATETASKQUEUECONFIGREQUEST._serialized_start=41286 - _UPDATETASKQUEUECONFIGREQUEST._serialized_end=41768 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start=41677 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end=41768 - _UPDATETASKQUEUECONFIGRESPONSE._serialized_start=41770 - _UPDATETASKQUEUECONFIGRESPONSE._serialized_end=41861 - _FETCHWORKERCONFIGREQUEST._serialized_start=41864 - _FETCHWORKERCONFIGREQUEST._serialized_end=42001 - _FETCHWORKERCONFIGRESPONSE._serialized_start=42003 - _FETCHWORKERCONFIGRESPONSE._serialized_end=42088 - _UPDATEWORKERCONFIGREQUEST._serialized_start=42091 - _UPDATEWORKERCONFIGREQUEST._serialized_end=42336 - _UPDATEWORKERCONFIGRESPONSE._serialized_start=42338 - _UPDATEWORKERCONFIGRESPONSE._serialized_end=42438 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b"8\001" + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name["binary_checksum"]._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._serialized_options = b"\030\001" + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b"8\001" + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = ( + b"8\001" + ) + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + "binary_checksum" + ]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + "worker_version_stamp" + ]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + "worker_version_stamp" + ]._serialized_options = b"\030\001" + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["binary_checksum"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._options = None + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + "worker_version" + ]._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ + "worker_version" + ]._serialized_options = b"\030\001" + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name["reset_reapply_type"]._options = None + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name[ + "reset_reapply_type" + ]._serialized_options = b"\030\001" + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "include_task_queue_status" + ]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "include_task_queue_status" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name["api_mode"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "api_mode" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name["versions"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "versions" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name["task_queue_types"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "task_queue_types" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_pollers"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "report_pollers" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_task_reachability"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + "report_task_reachability" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUERESPONSE.fields_by_name["task_queue_status"]._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name[ + "task_queue_status" + ]._serialized_options = b"\030\001" + _DESCRIBETASKQUEUERESPONSE.fields_by_name["versions_info"]._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name[ + "versions_info" + ]._serialized_options = b"\030\001" + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b"8\001" + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._options = None + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ + "worker_version_capabilities" + ]._serialized_options = b"\030\001" + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name["version"]._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + "previous_version" + ]._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + "previous_version" + ]._serialized_options = b"\030\001" + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name["version"]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + "previous_version" + ]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + "previous_version" + ]._serialized_options = b"\030\001" + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b"8\001" + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ + "version" + ]._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ + "version" + ]._serialized_options = b"\030\001" + _REGISTERNAMESPACEREQUEST._serialized_start = 1492 + _REGISTERNAMESPACEREQUEST._serialized_end = 2140 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start = 2097 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end = 2140 + _REGISTERNAMESPACERESPONSE._serialized_start = 2142 + _REGISTERNAMESPACERESPONSE._serialized_end = 2169 + _LISTNAMESPACESREQUEST._serialized_start = 2172 + _LISTNAMESPACESREQUEST._serialized_end = 2309 + _LISTNAMESPACESRESPONSE._serialized_start = 2312 + _LISTNAMESPACESRESPONSE._serialized_end = 2441 + _DESCRIBENAMESPACEREQUEST._serialized_start = 2443 + _DESCRIBENAMESPACEREQUEST._serialized_end = 2500 + _DESCRIBENAMESPACERESPONSE._serialized_start = 2503 + _DESCRIBENAMESPACERESPONSE._serialized_end = 2867 + _UPDATENAMESPACEREQUEST._serialized_start = 2870 + _UPDATENAMESPACEREQUEST._serialized_end = 3205 + _UPDATENAMESPACERESPONSE._serialized_start = 3208 + _UPDATENAMESPACERESPONSE._serialized_end = 3499 + _DEPRECATENAMESPACEREQUEST._serialized_start = 3501 + _DEPRECATENAMESPACEREQUEST._serialized_end = 3571 + _DEPRECATENAMESPACERESPONSE._serialized_start = 3573 + _DEPRECATENAMESPACERESPONSE._serialized_end = 3601 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_start = 3604 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_end = 5053 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 5056 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 5322 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start = 5325 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end = 5623 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start = 5626 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end = 5812 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start = 5815 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end = 5991 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start = 5993 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end = 6113 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start = 6116 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end = 6510 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start = 6513 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end = 7426 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start = 7342 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end = 7426 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start = 7429 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end = 8634 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start = 8468 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end = 8563 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start = 8565 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end = 8634 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start = 8637 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end = 8882 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start = 8885 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end = 9389 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start = 9391 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end = 9426 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_start = 9429 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_end = 9869 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_start = 9872 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_end = 10879 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start = 10882 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end = 11026 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start = 11028 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end = 11140 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start = 11143 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end = 11329 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start = 11331 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end = 11447 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start = 11450 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end = 11811 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start = 11813 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end = 11851 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start = 11854 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end = 12040 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start = 12042 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end = 12084 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start = 12087 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end = 12512 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start = 12514 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end = 12601 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start = 12604 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end = 12854 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start = 12856 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end = 12947 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start = 12950 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end = 13311 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start = 13313 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end = 13350 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start = 13353 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end = 13620 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start = 13622 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end = 13663 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start = 13666 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end = 13926 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start = 13928 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end = 13968 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start = 13971 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end = 14321 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start = 14323 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end = 14356 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start = 14359 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end = 15624 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 15626 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 15701 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_start = 15704 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_end = 16153 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start = 16155 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end = 16203 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start = 16206 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end = 16493 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 16495 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 16531 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start = 16533 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end = 16655 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start = 16657 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end = 16690 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start = 16693 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end = 17022 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17025 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17155 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 17158 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 17552 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17555 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17687 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start = 17689 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end = 17798 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 17800 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 17926 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 17928 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 18045 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18048 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18182 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start = 18184 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end = 18293 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18295 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18421 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start = 18423 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end = 18489 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18492 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18729 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 18641 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 18729 + _GETSEARCHATTRIBUTESREQUEST._serialized_start = 18731 + _GETSEARCHATTRIBUTESREQUEST._serialized_end = 18759 + _GETSEARCHATTRIBUTESRESPONSE._serialized_start = 18762 + _GETSEARCHATTRIBUTESRESPONSE._serialized_end = 18963 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start = 18879 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end = 18963 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start = 18966 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end = 19302 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start = 19304 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end = 19339 + _RESETSTICKYTASKQUEUEREQUEST._serialized_start = 19341 + _RESETSTICKYTASKQUEUEREQUEST._serialized_end = 19451 + _RESETSTICKYTASKQUEUERESPONSE._serialized_start = 19453 + _RESETSTICKYTASKQUEUERESPONSE._serialized_end = 19483 + _SHUTDOWNWORKERREQUEST._serialized_start = 19486 + _SHUTDOWNWORKERREQUEST._serialized_end = 19656 + _SHUTDOWNWORKERRESPONSE._serialized_start = 19658 + _SHUTDOWNWORKERRESPONSE._serialized_end = 19682 + _QUERYWORKFLOWREQUEST._serialized_start = 19685 + _QUERYWORKFLOWREQUEST._serialized_end = 19918 + _QUERYWORKFLOWRESPONSE._serialized_start = 19921 + _QUERYWORKFLOWRESPONSE._serialized_end = 20062 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start = 20064 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end = 20179 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start = 20182 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end = 20847 + _DESCRIBETASKQUEUEREQUEST._serialized_start = 20850 + _DESCRIBETASKQUEUEREQUEST._serialized_end = 21378 + _DESCRIBETASKQUEUERESPONSE._serialized_start = 21381 + _DESCRIBETASKQUEUERESPONSE._serialized_end = 22385 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start = 22065 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end = 22165 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start = 22167 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end = 22283 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start = 22285 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end = 22385 + _GETCLUSTERINFOREQUEST._serialized_start = 22387 + _GETCLUSTERINFOREQUEST._serialized_end = 22410 + _GETCLUSTERINFORESPONSE._serialized_start = 22413 + _GETCLUSTERINFORESPONSE._serialized_end = 22808 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start = 22753 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end = 22808 + _GETSYSTEMINFOREQUEST._serialized_start = 22810 + _GETSYSTEMINFOREQUEST._serialized_end = 22832 + _GETSYSTEMINFORESPONSE._serialized_start = 22835 + _GETSYSTEMINFORESPONSE._serialized_end = 23335 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start = 22976 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end = 23335 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start = 23337 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end = 23446 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start = 23449 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end = 23672 + _CREATESCHEDULEREQUEST._serialized_start = 23675 + _CREATESCHEDULEREQUEST._serialized_end = 24007 + _CREATESCHEDULERESPONSE._serialized_start = 24009 + _CREATESCHEDULERESPONSE._serialized_end = 24057 + _DESCRIBESCHEDULEREQUEST._serialized_start = 24059 + _DESCRIBESCHEDULEREQUEST._serialized_end = 24124 + _DESCRIBESCHEDULERESPONSE._serialized_start = 24127 + _DESCRIBESCHEDULERESPONSE._serialized_end = 24398 + _UPDATESCHEDULEREQUEST._serialized_start = 24401 + _UPDATESCHEDULEREQUEST._serialized_end = 24649 + _UPDATESCHEDULERESPONSE._serialized_start = 24651 + _UPDATESCHEDULERESPONSE._serialized_end = 24675 + _PATCHSCHEDULEREQUEST._serialized_start = 24678 + _PATCHSCHEDULEREQUEST._serialized_end = 24834 + _PATCHSCHEDULERESPONSE._serialized_start = 24836 + _PATCHSCHEDULERESPONSE._serialized_end = 24859 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start = 24862 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end = 25030 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start = 25032 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end = 25115 + _DELETESCHEDULEREQUEST._serialized_start = 25117 + _DELETESCHEDULEREQUEST._serialized_end = 25198 + _DELETESCHEDULERESPONSE._serialized_start = 25200 + _DELETESCHEDULERESPONSE._serialized_end = 25224 + _LISTSCHEDULESREQUEST._serialized_start = 25226 + _LISTSCHEDULESREQUEST._serialized_end = 25334 + _LISTSCHEDULESRESPONSE._serialized_start = 25336 + _LISTSCHEDULESRESPONSE._serialized_end = 25448 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 25451 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 26097 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start = 25898 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end = ( + 26009 + ) + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start = 26011 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end = 26084 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 26099 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 26163 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 26165 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 26260 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 26262 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 26378 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start = 26381 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end = 28098 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start = 27433 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end = ( + 27546 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start = 27549 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end = ( + 27678 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start = 27680 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end = ( + 27744 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27746 + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 27852 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27854 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 27964 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 27966 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 28028 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start = 28030 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end = 28085 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start = 28101 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end = 28353 + _GETWORKERVERSIONINGRULESREQUEST._serialized_start = 28355 + _GETWORKERVERSIONINGRULESREQUEST._serialized_end = 28427 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_start = 28430 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_end = 28679 + _GETWORKERTASKREACHABILITYREQUEST._serialized_start = 28682 + _GETWORKERTASKREACHABILITYREQUEST._serialized_end = 28838 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_start = 28840 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_end = 28954 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start = 28957 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end = 29218 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 29221 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 29436 + _STARTBATCHOPERATIONREQUEST._serialized_start = 29439 + _STARTBATCHOPERATIONREQUEST._serialized_end = 30451 + _STARTBATCHOPERATIONRESPONSE._serialized_start = 30453 + _STARTBATCHOPERATIONRESPONSE._serialized_end = 30482 + _STOPBATCHOPERATIONREQUEST._serialized_start = 30484 + _STOPBATCHOPERATIONREQUEST._serialized_end = 30580 + _STOPBATCHOPERATIONRESPONSE._serialized_start = 30582 + _STOPBATCHOPERATIONRESPONSE._serialized_end = 30610 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_start = 30612 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_end = 30678 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start = 30681 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end = 31083 + _LISTBATCHOPERATIONSREQUEST._serialized_start = 31085 + _LISTBATCHOPERATIONSREQUEST._serialized_end = 31176 + _LISTBATCHOPERATIONSRESPONSE._serialized_start = 31178 + _LISTBATCHOPERATIONSRESPONSE._serialized_end = 31299 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start = 31302 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end = 31487 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start = 31490 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end = 31709 + _POLLNEXUSTASKQUEUEREQUEST._serialized_start = 31712 + _POLLNEXUSTASKQUEUEREQUEST._serialized_end = 32074 + _POLLNEXUSTASKQUEUERESPONSE._serialized_start = 32077 + _POLLNEXUSTASKQUEUERESPONSE._serialized_end = 32257 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start = 32260 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end = 32402 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start = 32404 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end = 32439 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start = 32442 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end = 32582 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start = 32584 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end = 32616 + _EXECUTEMULTIOPERATIONREQUEST._serialized_start = 32619 + _EXECUTEMULTIOPERATIONREQUEST._serialized_end = 32970 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start = 32764 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end = 32970 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_start = 32973 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_end = 33305 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start = 33099 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end = 33305 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_start = 33308 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_end = 33644 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start = 33646 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end = 33746 + _PAUSEACTIVITYREQUEST._serialized_start = 33749 + _PAUSEACTIVITYREQUEST._serialized_end = 33928 + _PAUSEACTIVITYRESPONSE._serialized_start = 33930 + _PAUSEACTIVITYRESPONSE._serialized_end = 33953 + _UNPAUSEACTIVITYREQUEST._serialized_start = 33956 + _UNPAUSEACTIVITYREQUEST._serialized_end = 34236 + _UNPAUSEACTIVITYRESPONSE._serialized_start = 34238 + _UNPAUSEACTIVITYRESPONSE._serialized_end = 34263 + _RESETACTIVITYREQUEST._serialized_start = 34266 + _RESETACTIVITYREQUEST._serialized_end = 34573 + _RESETACTIVITYRESPONSE._serialized_start = 34575 + _RESETACTIVITYRESPONSE._serialized_end = 34598 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start = 34601 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end = 34867 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start = 34870 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end = 34998 + _DESCRIBEDEPLOYMENTREQUEST._serialized_start = 35000 + _DESCRIBEDEPLOYMENTREQUEST._serialized_end = 35106 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_start = 35108 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_end = 35205 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 35208 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 35402 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 35405 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 36057 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start = 35666 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end = 36057 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start = 22065 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end = 22165 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start = 36059 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end = 36136 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start = 36139 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end = 36279 + _LISTDEPLOYMENTSREQUEST._serialized_start = 36281 + _LISTDEPLOYMENTSREQUEST._serialized_end = 36389 + _LISTDEPLOYMENTSRESPONSE._serialized_start = 36391 + _LISTDEPLOYMENTSRESPONSE._serialized_end = 36510 + _SETCURRENTDEPLOYMENTREQUEST._serialized_start = 36513 + _SETCURRENTDEPLOYMENTREQUEST._serialized_end = 36718 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_start = 36721 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_end = 36906 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start = 36909 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end = 37112 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start = 37115 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end = 37302 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start = 37305 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end = 37528 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start = 37531 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end = 37747 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_start = 37749 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_end = 37842 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start = 37845 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end = 38516 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start = 38020 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end = 38516 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 38519 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 38719 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 38721 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 38760 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_start = 38762 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_end = 38855 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start = 38857 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end = 38889 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start = 38892 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end = 39310 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start = 39225 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end = ( + 39310 + ) + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start = 39312 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end = 39422 + _GETCURRENTDEPLOYMENTREQUEST._serialized_start = 39424 + _GETCURRENTDEPLOYMENTREQUEST._serialized_end = 39493 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_start = 39495 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_end = 39602 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start = 39604 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end = 39717 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start = 39720 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end = 39947 + _CREATEWORKFLOWRULEREQUEST._serialized_start = 39950 + _CREATEWORKFLOWRULEREQUEST._serialized_end = 40130 + _CREATEWORKFLOWRULERESPONSE._serialized_start = 40132 + _CREATEWORKFLOWRULERESPONSE._serialized_end = 40227 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_start = 40229 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_end = 40294 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_start = 40296 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_end = 40377 + _DELETEWORKFLOWRULEREQUEST._serialized_start = 40379 + _DELETEWORKFLOWRULEREQUEST._serialized_end = 40442 + _DELETEWORKFLOWRULERESPONSE._serialized_start = 40444 + _DELETEWORKFLOWRULERESPONSE._serialized_end = 40472 + _LISTWORKFLOWRULESREQUEST._serialized_start = 40474 + _LISTWORKFLOWRULESREQUEST._serialized_end = 40544 + _LISTWORKFLOWRULESRESPONSE._serialized_start = 40546 + _LISTWORKFLOWRULESRESPONSE._serialized_end = 40650 + _TRIGGERWORKFLOWRULEREQUEST._serialized_start = 40653 + _TRIGGERWORKFLOWRULEREQUEST._serialized_end = 40859 + _TRIGGERWORKFLOWRULERESPONSE._serialized_start = 40861 + _TRIGGERWORKFLOWRULERESPONSE._serialized_end = 40907 + _RECORDWORKERHEARTBEATREQUEST._serialized_start = 40910 + _RECORDWORKERHEARTBEATREQUEST._serialized_end = 41044 + _RECORDWORKERHEARTBEATRESPONSE._serialized_start = 41046 + _RECORDWORKERHEARTBEATRESPONSE._serialized_end = 41077 + _LISTWORKERSREQUEST._serialized_start = 41079 + _LISTWORKERSREQUEST._serialized_end = 41177 + _LISTWORKERSRESPONSE._serialized_start = 41179 + _LISTWORKERSRESPONSE._serialized_end = 41283 + _UPDATETASKQUEUECONFIGREQUEST._serialized_start = 41286 + _UPDATETASKQUEUECONFIGREQUEST._serialized_end = 41768 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start = 41677 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end = 41768 + _UPDATETASKQUEUECONFIGRESPONSE._serialized_start = 41770 + _UPDATETASKQUEUECONFIGRESPONSE._serialized_end = 41861 + _FETCHWORKERCONFIGREQUEST._serialized_start = 41864 + _FETCHWORKERCONFIGREQUEST._serialized_end = 42001 + _FETCHWORKERCONFIGRESPONSE._serialized_start = 42003 + _FETCHWORKERCONFIGRESPONSE._serialized_end = 42088 + _UPDATEWORKERCONFIGREQUEST._serialized_start = 42091 + _UPDATEWORKERCONFIGREQUEST._serialized_end = 42336 + _UPDATEWORKERCONFIGRESPONSE._serialized_start = 42338 + _UPDATEWORKERCONFIGRESPONSE._serialized_end = 42438 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.pyi b/temporalio/api/workflowservice/v1/request_response_pb2.pyi index 052f3a182..a0be16462 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2.pyi @@ -2,15 +2,18 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.field_mask_pb2 import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.activity.v1.message_pb2 import temporalio.api.batch.v1.message_pb2 import temporalio.api.command.v1.message_pb2 @@ -68,7 +71,10 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int @@ -87,19 +93,31 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): description: builtins.str owner_email: builtins.str @property - def workflow_execution_retention_period(self) -> google.protobuf.duration_pb2.Duration: ... + def workflow_execution_retention_period( + self, + ) -> google.protobuf.duration_pb2.Duration: ... @property - def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig]: ... + def clusters( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig + ]: ... active_cluster_name: builtins.str @property - def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def data( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" security_token: builtins.str is_global_namespace: builtins.bool - history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + history_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" history_archival_uri: builtins.str - visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + visibility_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str def __init__( @@ -108,8 +126,12 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., description: builtins.str = ..., owner_email: builtins.str = ..., - workflow_execution_retention_period: google.protobuf.duration_pb2.Duration | None = ..., - clusters: collections.abc.Iterable[temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig] | None = ..., + workflow_execution_retention_period: google.protobuf.duration_pb2.Duration + | None = ..., + clusters: collections.abc.Iterable[ + temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig + ] + | None = ..., active_cluster_name: builtins.str = ..., data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., security_token: builtins.str = ..., @@ -119,8 +141,44 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., visibility_archival_uri: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution_retention_period", b"workflow_execution_retention_period"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["active_cluster_name", b"active_cluster_name", "clusters", b"clusters", "data", b"data", "description", b"description", "history_archival_state", b"history_archival_state", "history_archival_uri", b"history_archival_uri", "is_global_namespace", b"is_global_namespace", "namespace", b"namespace", "owner_email", b"owner_email", "security_token", b"security_token", "visibility_archival_state", b"visibility_archival_state", "visibility_archival_uri", b"visibility_archival_uri", "workflow_execution_retention_period", b"workflow_execution_retention_period"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution_retention_period", + b"workflow_execution_retention_period", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "active_cluster_name", + b"active_cluster_name", + "clusters", + b"clusters", + "data", + b"data", + "description", + b"description", + "history_archival_state", + b"history_archival_state", + "history_archival_uri", + b"history_archival_uri", + "is_global_namespace", + b"is_global_namespace", + "namespace", + b"namespace", + "owner_email", + b"owner_email", + "security_token", + b"security_token", + "visibility_archival_state", + b"visibility_archival_state", + "visibility_archival_uri", + b"visibility_archival_uri", + "workflow_execution_retention_period", + b"workflow_execution_retention_period", + ], + ) -> None: ... global___RegisterNamespaceRequest = RegisterNamespaceRequest @@ -142,16 +200,32 @@ class ListNamespacesRequest(google.protobuf.message.Message): page_size: builtins.int next_page_token: builtins.bytes @property - def namespace_filter(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceFilter: ... + def namespace_filter( + self, + ) -> temporalio.api.namespace.v1.message_pb2.NamespaceFilter: ... def __init__( self, *, page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - namespace_filter: temporalio.api.namespace.v1.message_pb2.NamespaceFilter | None = ..., + namespace_filter: temporalio.api.namespace.v1.message_pb2.NamespaceFilter + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace_filter", + b"namespace_filter", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... global___ListNamespacesRequest = ListNamespacesRequest @@ -161,15 +235,25 @@ class ListNamespacesResponse(google.protobuf.message.Message): NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def namespaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeNamespaceResponse]: ... + def namespaces( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___DescribeNamespaceResponse + ]: ... next_page_token: builtins.bytes def __init__( self, *, - namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] | None = ..., + namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespaces", b"namespaces", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListNamespacesResponse = ListNamespacesResponse @@ -186,7 +270,10 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["id", b"id", "namespace", b"namespace"], + ) -> None: ... global___DescribeNamespaceRequest = DescribeNamespaceRequest @@ -200,30 +287,69 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int FAILOVER_HISTORY_FIELD_NUMBER: builtins.int @property - def namespace_info(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... + def namespace_info( + self, + ) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config( + self, + ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... failover_version: builtins.int is_global_namespace: builtins.bool @property - def failover_history(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.replication.v1.message_pb2.FailoverStatus]: + def failover_history( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.replication.v1.message_pb2.FailoverStatus + ]: """Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. """ def __init__( self, *, - namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo | None = ..., + namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo + | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig + | None = ..., failover_version: builtins.int = ..., is_global_namespace: builtins.bool = ..., - failover_history: collections.abc.Iterable[temporalio.api.replication.v1.message_pb2.FailoverStatus] | None = ..., + failover_history: collections.abc.Iterable[ + temporalio.api.replication.v1.message_pb2.FailoverStatus + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "namespace_info", + b"namespace_info", + "replication_config", + b"replication_config", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "failover_history", + b"failover_history", + "failover_version", + b"failover_version", + "is_global_namespace", + b"is_global_namespace", + "namespace_info", + b"namespace_info", + "replication_config", + b"replication_config", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "failover_history", b"failover_history", "failover_version", b"failover_version", "is_global_namespace", b"is_global_namespace", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> None: ... global___DescribeNamespaceResponse = DescribeNamespaceResponse @@ -239,11 +365,15 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): PROMOTE_NAMESPACE_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def update_info(self) -> temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo: ... + def update_info( + self, + ) -> temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config( + self, + ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... security_token: builtins.str delete_bad_binary: builtins.str promote_namespace: builtins.bool @@ -252,15 +382,45 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - update_info: temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo | None = ..., + update_info: temporalio.api.namespace.v1.message_pb2.UpdateNamespaceInfo + | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig + | None = ..., security_token: builtins.str = ..., delete_bad_binary: builtins.str = ..., promote_namespace: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config", "replication_config", b"replication_config", "update_info", b"update_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "delete_bad_binary", b"delete_bad_binary", "namespace", b"namespace", "promote_namespace", b"promote_namespace", "replication_config", b"replication_config", "security_token", b"security_token", "update_info", b"update_info"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "replication_config", + b"replication_config", + "update_info", + b"update_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "delete_bad_binary", + b"delete_bad_binary", + "namespace", + b"namespace", + "promote_namespace", + b"promote_namespace", + "replication_config", + b"replication_config", + "security_token", + b"security_token", + "update_info", + b"update_info", + ], + ) -> None: ... global___UpdateNamespaceRequest = UpdateNamespaceRequest @@ -273,24 +433,54 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): FAILOVER_VERSION_FIELD_NUMBER: builtins.int IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int @property - def namespace_info(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... + def namespace_info( + self, + ) -> temporalio.api.namespace.v1.message_pb2.NamespaceInfo: ... @property def config(self) -> temporalio.api.namespace.v1.message_pb2.NamespaceConfig: ... @property - def replication_config(self) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + def replication_config( + self, + ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... failover_version: builtins.int is_global_namespace: builtins.bool def __init__( self, *, - namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo | None = ..., + namespace_info: temporalio.api.namespace.v1.message_pb2.NamespaceInfo + | None = ..., config: temporalio.api.namespace.v1.message_pb2.NamespaceConfig | None = ..., - replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig | None = ..., + replication_config: temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig + | None = ..., failover_version: builtins.int = ..., is_global_namespace: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "failover_version", b"failover_version", "is_global_namespace", b"is_global_namespace", "namespace_info", b"namespace_info", "replication_config", b"replication_config"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "namespace_info", + b"namespace_info", + "replication_config", + b"replication_config", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "failover_version", + b"failover_version", + "is_global_namespace", + b"is_global_namespace", + "namespace_info", + b"namespace_info", + "replication_config", + b"replication_config", + ], + ) -> None: ... global___UpdateNamespaceResponse = UpdateNamespaceResponse @@ -309,7 +499,12 @@ class DeprecateNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., security_token: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "security_token", b"security_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "security_token", b"security_token" + ], + ) -> None: ... global___DeprecateNamespaceRequest = DeprecateNamespaceRequest @@ -376,13 +571,17 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): """The identity of the client who initiated this request""" request_id: builtins.str """A unique identifier for this start request. Typically UUIDv4.""" - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow. """ - workflow_id_conflict_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType + workflow_id_conflict_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType + ) """Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. @@ -396,7 +595,9 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... request_eager_execution: builtins.bool @@ -413,7 +614,9 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): StartWorkflowExecution. """ @property - def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + def last_completion_result( + self, + ) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. @@ -421,7 +624,11 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): of the delay will be ignored. """ @property - def completion_callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Callback]: + def completion_callbacks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Callback + ]: """Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration. @@ -433,15 +640,23 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): workflow. """ @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the workflow.""" @property - def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override( + self, + ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ @property - def on_conflict_options(self) -> temporalio.api.workflow.v1.message_pb2.OnConflictOptions: + def on_conflict_options( + self, + ) -> temporalio.api.workflow.v1.message_pb2.OnConflictOptions: """Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a empty object (ie., all options with default value), it won't do anything to the existing @@ -468,21 +683,126 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., request_eager_execution: builtins.bool = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., workflow_start_delay: google.protobuf.duration_pb2.Duration | None = ..., - completion_callbacks: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Callback] | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., - on_conflict_options: temporalio.api.workflow.v1.message_pb2.OnConflictOptions | None = ..., + completion_callbacks: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Callback + ] + | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride + | None = ..., + on_conflict_options: temporalio.api.workflow.v1.message_pb2.OnConflictOptions + | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "header", b"header", "input", b"input", "last_completion_result", b"last_completion_result", "memo", b"memo", "on_conflict_options", b"on_conflict_options", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["completion_callbacks", b"completion_callbacks", "continued_failure", b"continued_failure", "cron_schedule", b"cron_schedule", "header", b"header", "identity", b"identity", "input", b"input", "last_completion_result", b"last_completion_result", "links", b"links", "memo", b"memo", "namespace", b"namespace", "on_conflict_options", b"on_conflict_options", "priority", b"priority", "request_eager_execution", b"request_eager_execution", "request_id", b"request_id", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_conflict_policy", b"workflow_id_conflict_policy", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "continued_failure", + b"continued_failure", + "header", + b"header", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "on_conflict_options", + b"on_conflict_options", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_start_delay", + b"workflow_start_delay", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "completion_callbacks", + b"completion_callbacks", + "continued_failure", + b"continued_failure", + "cron_schedule", + b"cron_schedule", + "header", + b"header", + "identity", + b"identity", + "input", + b"input", + "last_completion_result", + b"last_completion_result", + "links", + b"links", + "memo", + b"memo", + "namespace", + b"namespace", + "on_conflict_options", + b"on_conflict_options", + "priority", + b"priority", + "request_eager_execution", + b"request_eager_execution", + "request_id", + b"request_id", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_conflict_policy", + b"workflow_id_conflict_policy", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_start_delay", + b"workflow_start_delay", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___StartWorkflowExecutionRequest = StartWorkflowExecutionRequest @@ -520,8 +840,27 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): eager_workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["eager_workflow_task", b"eager_workflow_task", "link", b"link"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["eager_workflow_task", b"eager_workflow_task", "link", b"link", "run_id", b"run_id", "started", b"started", "status", b"status"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "eager_workflow_task", b"eager_workflow_task", "link", b"link" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "eager_workflow_task", + b"eager_workflow_task", + "link", + b"link", + "run_id", + b"run_id", + "started", + b"started", + "status", + b"status", + ], + ) -> None: ... global___StartWorkflowExecutionResponse = StartWorkflowExecutionResponse @@ -547,7 +886,9 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): """If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit. """ - history_event_filter_type: temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType + history_event_filter_type: ( + temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType + ) """Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT. """ @@ -563,8 +904,28 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): history_event_filter_type: temporalio.api.enums.v1.workflow_pb2.HistoryEventFilterType.ValueType = ..., skip_archival: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "history_event_filter_type", b"history_event_filter_type", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "skip_archival", b"skip_archival", "wait_new_event", b"wait_new_event"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["execution", b"execution"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", + b"execution", + "history_event_filter_type", + b"history_event_filter_type", + "maximum_page_size", + b"maximum_page_size", + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "skip_archival", + b"skip_archival", + "wait_new_event", + b"wait_new_event", + ], + ) -> None: ... global___GetWorkflowExecutionHistoryRequest = GetWorkflowExecutionHistoryRequest @@ -578,7 +939,11 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): @property def history(self) -> temporalio.api.history.v1.message_pb2.History: ... @property - def raw_history(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.DataBlob]: + def raw_history( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.DataBlob + ]: """Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. """ @@ -589,12 +954,29 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): self, *, history: temporalio.api.history.v1.message_pb2.History | None = ..., - raw_history: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.DataBlob] | None = ..., + raw_history: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.DataBlob + ] + | None = ..., next_page_token: builtins.bytes = ..., archived: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["archived", b"archived", "history", b"history", "next_page_token", b"next_page_token", "raw_history", b"raw_history"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["history", b"history"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "archived", + b"archived", + "history", + b"history", + "next_page_token", + b"next_page_token", + "raw_history", + b"raw_history", + ], + ) -> None: ... global___GetWorkflowExecutionHistoryResponse = GetWorkflowExecutionHistoryResponse @@ -618,10 +1000,26 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["execution", b"execution"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", + b"execution", + "maximum_page_size", + b"maximum_page_size", + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + ], + ) -> None: ... -global___GetWorkflowExecutionHistoryReverseRequest = GetWorkflowExecutionHistoryReverseRequest +global___GetWorkflowExecutionHistoryReverseRequest = ( + GetWorkflowExecutionHistoryReverseRequest +) class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -638,10 +1036,19 @@ class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message history: temporalio.api.history.v1.message_pb2.History | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["history", b"history"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["history", b"history", "next_page_token", b"next_page_token"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["history", b"history"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "history", b"history", "next_page_token", b"next_page_token" + ], + ) -> None: ... -global___GetWorkflowExecutionHistoryReverseResponse = GetWorkflowExecutionHistoryReverseResponse +global___GetWorkflowExecutionHistoryReverseResponse = ( + GetWorkflowExecutionHistoryReverseResponse +) class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -664,13 +1071,17 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): "checksum" in this field name isn't very accurate, it should be though of as an id. """ @property - def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Deprecated. Use deployment_options instead. Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker. Experimental. Worker Deployments are experimental and might significantly change in the future. """ @@ -684,12 +1095,45 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., identity: builtins.str = ..., binary_checksum: builtins.str = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities + | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "task_queue", + b"task_queue", + "worker_heartbeat", + b"worker_heartbeat", + "worker_version_capabilities", + b"worker_version_capabilities", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "binary_checksum", + b"binary_checksum", + "deployment_options", + b"deployment_options", + "identity", + b"identity", + "namespace", + b"namespace", + "task_queue", + b"task_queue", + "worker_heartbeat", + b"worker_heartbeat", + "worker_version_capabilities", + b"worker_version_capabilities", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollWorkflowTaskQueueRequest = PollWorkflowTaskQueueRequest @@ -710,8 +1154,13 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int @@ -732,7 +1181,9 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): task_token: builtins.bytes """A unique identifier for this task""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... previous_started_event_id: builtins.int @@ -777,7 +1228,9 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): may also be populated if this task originates on a non-sticky queue. """ @property - def workflow_execution_task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + def workflow_execution_task_queue( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue. """ @@ -788,21 +1241,32 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the current workflow task started event was generated, meaning the current attempt.""" @property - def queries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery]: + def queries( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery + ]: """Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results` """ @property - def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: + def messages( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.protocol.v1.message_pb2.Message + ]: """Protocol messages piggybacking on a WFT as a transport""" @property - def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" def __init__( self, *, task_token: builtins.bytes = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., previous_started_event_id: builtins.int = ..., started_event_id: builtins.int = ..., @@ -811,15 +1275,79 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): history: temporalio.api.history.v1.message_pb2.History | None = ..., next_page_token: builtins.bytes = ..., query: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., - workflow_execution_task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., + workflow_execution_task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue + | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - queries: collections.abc.Mapping[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery] | None = ..., - messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., + queries: collections.abc.Mapping[ + builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQuery + ] + | None = ..., + messages: collections.abc.Iterable[ + temporalio.api.protocol.v1.message_pb2.Message + ] + | None = ..., + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "history", + b"history", + "poller_scaling_decision", + b"poller_scaling_decision", + "query", + b"query", + "scheduled_time", + b"scheduled_time", + "started_time", + b"started_time", + "workflow_execution", + b"workflow_execution", + "workflow_execution_task_queue", + b"workflow_execution_task_queue", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "backlog_count_hint", + b"backlog_count_hint", + "history", + b"history", + "messages", + b"messages", + "next_page_token", + b"next_page_token", + "poller_scaling_decision", + b"poller_scaling_decision", + "previous_started_event_id", + b"previous_started_event_id", + "queries", + b"queries", + "query", + b"query", + "scheduled_time", + b"scheduled_time", + "started_event_id", + b"started_event_id", + "started_time", + b"started_time", + "task_token", + b"task_token", + "workflow_execution", + b"workflow_execution", + "workflow_execution_task_queue", + b"workflow_execution_task_queue", + "workflow_type", + b"workflow_type", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["history", b"history", "poller_scaling_decision", b"poller_scaling_decision", "query", b"query", "scheduled_time", b"scheduled_time", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_execution_task_queue", b"workflow_execution_task_queue", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "backlog_count_hint", b"backlog_count_hint", "history", b"history", "messages", b"messages", "next_page_token", b"next_page_token", "poller_scaling_decision", b"poller_scaling_decision", "previous_started_event_id", b"previous_started_event_id", "queries", b"queries", "query", b"query", "scheduled_time", b"scheduled_time", "started_event_id", b"started_event_id", "started_time", b"started_time", "task_token", b"task_token", "workflow_execution", b"workflow_execution", "workflow_execution_task_queue", b"workflow_execution_task_queue", "workflow_type", b"workflow_type"]) -> None: ... global___PollWorkflowTaskQueueResponse = PollWorkflowTaskQueueResponse @@ -840,8 +1368,13 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.query.v1.message_pb2.WorkflowQueryResult | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class Capabilities(google.protobuf.message.Message): """SDK capability details.""" @@ -862,7 +1395,13 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): *, discard_speculative_workflow_task_with_events: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["discard_speculative_workflow_task_with_events", b"discard_speculative_workflow_task_with_events"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "discard_speculative_workflow_task_with_events", + b"discard_speculative_workflow_task_with_events", + ], + ) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int COMMANDS_FIELD_NUMBER: builtins.int @@ -884,12 +1423,18 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): task_token: builtins.bytes """The task token as received in `PollWorkflowTaskQueueResponse`""" @property - def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.command.v1.message_pb2.Command]: + def commands( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.command.v1.message_pb2.Command + ]: """A list of commands generated when driving the workflow code in response to the new task""" identity: builtins.str """The identity of the worker/client""" @property - def sticky_attributes(self) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: + def sticky_attributes( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: """May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue. """ @@ -908,26 +1453,40 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): Worker process' unique binary id """ @property - def query_results(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult]: + def query_results( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult + ]: """Responses to the `queries` field in the task being responded to""" namespace: builtins.str @property - def worker_version_stamp(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + def worker_version_stamp( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead. """ @property - def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: + def messages( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.protocol.v1.message_pb2.Message + ]: """Protocol messages piggybacking on a WFT as a transport""" @property - def sdk_metadata(self) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: + def sdk_metadata( + self, + ) -> temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata: """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ @property - def metering_metadata(self) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: + def metering_metadata( + self, + ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data collected for metering""" @property def capabilities(self) -> global___RespondWorkflowTaskCompletedRequest.Capabilities: @@ -938,36 +1497,111 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) """Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, *, task_token: builtins.bytes = ..., - commands: collections.abc.Iterable[temporalio.api.command.v1.message_pb2.Command] | None = ..., + commands: collections.abc.Iterable[ + temporalio.api.command.v1.message_pb2.Command + ] + | None = ..., identity: builtins.str = ..., - sticky_attributes: temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes | None = ..., + sticky_attributes: temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes + | None = ..., return_new_workflow_task: builtins.bool = ..., force_create_new_workflow_task: builtins.bool = ..., binary_checksum: builtins.str = ..., - query_results: collections.abc.Mapping[builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult] | None = ..., + query_results: collections.abc.Mapping[ + builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult + ] + | None = ..., namespace: builtins.str = ..., - worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., - messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., - sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata | None = ..., - metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., - capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities | None = ..., + worker_version_stamp: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., + messages: collections.abc.Iterable[ + temporalio.api.protocol.v1.message_pb2.Message + ] + | None = ..., + sdk_metadata: temporalio.api.sdk.v1.task_complete_metadata_pb2.WorkflowTaskCompletedMetadata + | None = ..., + metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata + | None = ..., + capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "capabilities", + b"capabilities", + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "metering_metadata", + b"metering_metadata", + "sdk_metadata", + b"sdk_metadata", + "sticky_attributes", + b"sticky_attributes", + "worker_version_stamp", + b"worker_version_stamp", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "binary_checksum", + b"binary_checksum", + "capabilities", + b"capabilities", + "commands", + b"commands", + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "force_create_new_workflow_task", + b"force_create_new_workflow_task", + "identity", + b"identity", + "messages", + b"messages", + "metering_metadata", + b"metering_metadata", + "namespace", + b"namespace", + "query_results", + b"query_results", + "return_new_workflow_task", + b"return_new_workflow_task", + "sdk_metadata", + b"sdk_metadata", + "sticky_attributes", + b"sticky_attributes", + "task_token", + b"task_token", + "versioning_behavior", + b"versioning_behavior", + "worker_version_stamp", + b"worker_version_stamp", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "deployment", b"deployment", "deployment_options", b"deployment_options", "metering_metadata", b"metering_metadata", "sdk_metadata", b"sdk_metadata", "sticky_attributes", b"sticky_attributes", "worker_version_stamp", b"worker_version_stamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "capabilities", b"capabilities", "commands", b"commands", "deployment", b"deployment", "deployment_options", b"deployment_options", "force_create_new_workflow_task", b"force_create_new_workflow_task", "identity", b"identity", "messages", b"messages", "metering_metadata", b"metering_metadata", "namespace", b"namespace", "query_results", b"query_results", "return_new_workflow_task", b"return_new_workflow_task", "sdk_metadata", b"sdk_metadata", "sticky_attributes", b"sticky_attributes", "task_token", b"task_token", "versioning_behavior", b"versioning_behavior", "worker_version_stamp", b"worker_version_stamp"]) -> None: ... global___RespondWorkflowTaskCompletedRequest = RespondWorkflowTaskCompletedRequest @@ -981,7 +1615,11 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): def workflow_task(self) -> global___PollWorkflowTaskQueueResponse: """See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`""" @property - def activity_tasks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PollActivityTaskQueueResponse]: + def activity_tasks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___PollActivityTaskQueueResponse + ]: """See `ScheduleActivityTaskCommandAttributes::request_eager_execution`""" reset_history_event_id: builtins.int """If non zero, indicates the server has discarded the workflow task that was being responded to. @@ -992,11 +1630,24 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): self, *, workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., - activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] | None = ..., + activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] + | None = ..., reset_history_event_id: builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_tasks", b"activity_tasks", "reset_history_event_id", b"reset_history_event_id", "workflow_task", b"workflow_task"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_tasks", + b"activity_tasks", + "reset_history_event_id", + b"reset_history_event_id", + "workflow_task", + b"workflow_task", + ], + ) -> None: ... global___RespondWorkflowTaskCompletedResponse = RespondWorkflowTaskCompletedResponse @@ -1030,7 +1681,11 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): """ namespace: builtins.str @property - def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.protocol.v1.message_pb2.Message]: + def messages( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.protocol.v1.message_pb2.Message + ]: """Protocol messages piggybacking on a WFT as a transport""" @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: @@ -1046,7 +1701,9 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1057,13 +1714,54 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): identity: builtins.str = ..., binary_checksum: builtins.str = ..., namespace: builtins.str = ..., - messages: collections.abc.Iterable[temporalio.api.protocol.v1.message_pb2.Message] | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + messages: collections.abc.Iterable[ + temporalio.api.protocol.v1.message_pb2.Message + ] + | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "failure", + b"failure", + "worker_version", + b"worker_version", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "binary_checksum", + b"binary_checksum", + "cause", + b"cause", + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "failure", + b"failure", + "identity", + b"identity", + "messages", + b"messages", + "namespace", + b"namespace", + "task_token", + b"task_token", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["binary_checksum", b"binary_checksum", "cause", b"cause", "deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "identity", b"identity", "messages", b"messages", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondWorkflowTaskFailedRequest = RespondWorkflowTaskFailedRequest @@ -1092,15 +1790,21 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the worker/client""" @property - def task_queue_metadata(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... + def task_queue_metadata( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... @property - def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" @property def worker_heartbeat(self) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: @@ -1111,13 +1815,49 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., identity: builtins.str = ..., - task_queue_metadata: temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata | None = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., + task_queue_metadata: temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata + | None = ..., + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities + | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "task_queue", + b"task_queue", + "task_queue_metadata", + b"task_queue_metadata", + "worker_heartbeat", + b"worker_heartbeat", + "worker_version_capabilities", + b"worker_version_capabilities", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "identity", + b"identity", + "namespace", + b"namespace", + "task_queue", + b"task_queue", + "task_queue_metadata", + b"task_queue_metadata", + "worker_heartbeat", + b"worker_heartbeat", + "worker_version_capabilities", + b"worker_version_capabilities", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "task_queue_metadata", b"task_queue_metadata", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "task_queue_metadata", b"task_queue_metadata", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollActivityTaskQueueRequest = PollActivityTaskQueueRequest @@ -1151,7 +1891,9 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """Type of the requesting workflow""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the requesting workflow""" @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @@ -1208,7 +1950,9 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): values are not specified or exceed configured system limits. """ @property - def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -1219,25 +1963,104 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): task_token: builtins.bytes = ..., workflow_namespace: builtins.str = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., activity_type: temporalio.api.common.v1.message_pb2.ActivityType | None = ..., activity_id: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision + | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header", b"header", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "poller_scaling_decision", b"poller_scaling_decision", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header", b"header", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "poller_scaling_decision", b"poller_scaling_decision", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "task_token", b"task_token", "workflow_execution", b"workflow_execution", "workflow_namespace", b"workflow_namespace", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity_type", + b"activity_type", + "current_attempt_scheduled_time", + b"current_attempt_scheduled_time", + "header", + b"header", + "heartbeat_details", + b"heartbeat_details", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "poller_scaling_decision", + b"poller_scaling_decision", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_time", + b"scheduled_time", + "start_to_close_timeout", + b"start_to_close_timeout", + "started_time", + b"started_time", + "workflow_execution", + b"workflow_execution", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "attempt", + b"attempt", + "current_attempt_scheduled_time", + b"current_attempt_scheduled_time", + "header", + b"header", + "heartbeat_details", + b"heartbeat_details", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "poller_scaling_decision", + b"poller_scaling_decision", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_time", + b"scheduled_time", + "start_to_close_timeout", + b"start_to_close_timeout", + "started_time", + b"started_time", + "task_token", + b"task_token", + "workflow_execution", + b"workflow_execution", + "workflow_namespace", + b"workflow_namespace", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___PollActivityTaskQueueResponse = PollActivityTaskQueueResponse @@ -1264,8 +2087,22 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): identity: builtins.str = ..., namespace: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "identity", + b"identity", + "namespace", + b"namespace", + "task_token", + b"task_token", + ], + ) -> None: ... global___RecordActivityTaskHeartbeatRequest = RecordActivityTaskHeartbeatRequest @@ -1292,7 +2129,17 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): activity_paused: builtins.bool = ..., activity_reset: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_paused", b"activity_paused", "activity_reset", b"activity_reset", "cancel_requested", b"cancel_requested"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_paused", + b"activity_paused", + "activity_reset", + b"activity_reset", + "cancel_requested", + b"cancel_requested", + ], + ) -> None: ... global___RecordActivityTaskHeartbeatResponse = RecordActivityTaskHeartbeatResponse @@ -1328,8 +2175,26 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "details", b"details", "identity", b"identity", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "details", + b"details", + "identity", + b"identity", + "namespace", + b"namespace", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], + ) -> None: ... global___RecordActivityTaskHeartbeatByIdRequest = RecordActivityTaskHeartbeatByIdRequest @@ -1356,9 +2221,21 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): activity_paused: builtins.bool = ..., activity_reset: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_paused", b"activity_paused", "activity_reset", b"activity_reset", "cancel_requested", b"cancel_requested"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_paused", + b"activity_paused", + "activity_reset", + b"activity_reset", + "cancel_requested", + b"cancel_requested", + ], + ) -> None: ... -global___RecordActivityTaskHeartbeatByIdResponse = RecordActivityTaskHeartbeatByIdResponse +global___RecordActivityTaskHeartbeatByIdResponse = ( + RecordActivityTaskHeartbeatByIdResponse +) class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1392,7 +2269,9 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1401,12 +2280,44 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "result", + b"result", + "worker_version", + b"worker_version", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "identity", + b"identity", + "namespace", + b"namespace", + "result", + b"result", + "task_token", + b"task_token", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "result", b"result", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "result", b"result", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskCompletedRequest = RespondActivityTaskCompletedRequest @@ -1451,10 +2362,30 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "identity", b"identity", "namespace", b"namespace", "result", b"result", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... - -global___RespondActivityTaskCompletedByIdRequest = RespondActivityTaskCompletedByIdRequest + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "identity", + b"identity", + "namespace", + b"namespace", + "result", + b"result", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], + ) -> None: ... + +global___RespondActivityTaskCompletedByIdRequest = ( + RespondActivityTaskCompletedByIdRequest +) class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1463,7 +2394,9 @@ class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCompletedByIdResponse = RespondActivityTaskCompletedByIdResponse +global___RespondActivityTaskCompletedByIdResponse = ( + RespondActivityTaskCompletedByIdResponse +) class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1501,7 +2434,9 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1510,13 +2445,50 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "failure", + b"failure", + "last_heartbeat_details", + b"last_heartbeat_details", + "worker_version", + b"worker_version", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "failure", + b"failure", + "identity", + b"identity", + "last_heartbeat_details", + b"last_heartbeat_details", + "namespace", + b"namespace", + "task_token", + b"task_token", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "failure", b"failure", "identity", b"identity", "last_heartbeat_details", b"last_heartbeat_details", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskFailedRequest = RespondActivityTaskFailedRequest @@ -1525,16 +2497,25 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): FAILURES_FIELD_NUMBER: builtins.int @property - def failures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.failure.v1.message_pb2.Failure]: + def failures( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.failure.v1.message_pb2.Failure + ]: """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ def __init__( self, *, - failures: collections.abc.Iterable[temporalio.api.failure.v1.message_pb2.Failure] | None = ..., + failures: collections.abc.Iterable[ + temporalio.api.failure.v1.message_pb2.Failure + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failures", b"failures"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["failures", b"failures"]) -> None: ... global___RespondActivityTaskFailedResponse = RespondActivityTaskFailedResponse @@ -1573,10 +2554,34 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): activity_id: builtins.str = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., identity: builtins.str = ..., - last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_heartbeat_details: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "failure", + b"failure", + "identity", + b"identity", + "last_heartbeat_details", + b"last_heartbeat_details", + "namespace", + b"namespace", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "failure", b"failure", "identity", b"identity", "last_heartbeat_details", b"last_heartbeat_details", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___RespondActivityTaskFailedByIdRequest = RespondActivityTaskFailedByIdRequest @@ -1585,16 +2590,25 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): FAILURES_FIELD_NUMBER: builtins.int @property - def failures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.failure.v1.message_pb2.Failure]: + def failures( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.failure.v1.message_pb2.Failure + ]: """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ def __init__( self, *, - failures: collections.abc.Iterable[temporalio.api.failure.v1.message_pb2.Failure] | None = ..., + failures: collections.abc.Iterable[ + temporalio.api.failure.v1.message_pb2.Failure + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failures", b"failures"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["failures", b"failures"]) -> None: ... global___RespondActivityTaskFailedByIdResponse = RespondActivityTaskFailedByIdResponse @@ -1630,7 +2644,9 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): Deprecated. Replaced with `deployment_options`. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1639,12 +2655,44 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., namespace: builtins.str = ..., - worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp | None = ..., + worker_version: temporalio.api.common.v1.message_pb2.WorkerVersionStamp + | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "details", + b"details", + "worker_version", + b"worker_version", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "deployment_options", + b"deployment_options", + "details", + b"details", + "identity", + b"identity", + "namespace", + b"namespace", + "task_token", + b"task_token", + "worker_version", + b"worker_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "details", b"details", "worker_version", b"worker_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "deployment_options", b"deployment_options", "details", b"details", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token", "worker_version", b"worker_version"]) -> None: ... global___RespondActivityTaskCanceledRequest = RespondActivityTaskCanceledRequest @@ -1681,7 +2729,9 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the worker/client""" @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" def __init__( self, @@ -1692,10 +2742,34 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): activity_id: builtins.str = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", b"deployment_options", "details", b"details" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "deployment_options", + b"deployment_options", + "details", + b"details", + "identity", + b"identity", + "namespace", + b"namespace", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "deployment_options", b"deployment_options", "details", b"details", "identity", b"identity", "namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... global___RespondActivityTaskCanceledByIdRequest = RespondActivityTaskCanceledByIdRequest @@ -1706,7 +2780,9 @@ class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCanceledByIdResponse = RespondActivityTaskCanceledByIdResponse +global___RespondActivityTaskCanceledByIdResponse = ( + RespondActivityTaskCanceledByIdResponse +) class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1720,7 +2796,9 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -1733,21 +2811,50 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): reason: builtins.str """Reason for requesting the cancellation""" @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the WorkflowExecutionCanceled event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., first_execution_run_id: builtins.str = ..., reason: builtins.str = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "first_execution_run_id", + b"first_execution_run_id", + "identity", + b"identity", + "links", + b"links", + "namespace", + b"namespace", + "reason", + b"reason", + "request_id", + b"request_id", + "workflow_execution", + b"workflow_execution", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["first_execution_run_id", b"first_execution_run_id", "identity", b"identity", "links", b"links", "namespace", b"namespace", "reason", b"reason", "request_id", b"request_id", "workflow_execution", b"workflow_execution"]) -> None: ... global___RequestCancelWorkflowExecutionRequest = RequestCancelWorkflowExecutionRequest @@ -1762,8 +2869,8 @@ global___RequestCancelWorkflowExecutionResponse = RequestCancelWorkflowExecution class SignalWorkflowExecutionRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - - temporalio.api.batch.v1.BatchOperationSignal. - - temporalio.api.workflow.v1.PostResetOperation.SignalWorkflow. + - temporalio.api.batch.v1.BatchOperationSignal. + - temporalio.api.workflow.v1.PostResetOperation.SignalWorkflow. """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1779,7 +2886,9 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" @property @@ -1797,23 +2906,61 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): These can include things like auth or tracing tokens. """ @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the WorkflowExecutionSignaled event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., signal_name: builtins.str = ..., input: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., control: builtins.str = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "workflow_execution", + b"workflow_execution", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "control", + b"control", + "header", + b"header", + "identity", + b"identity", + "input", + b"input", + "links", + b"links", + "namespace", + b"namespace", + "request_id", + b"request_id", + "signal_name", + b"signal_name", + "workflow_execution", + b"workflow_execution", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "header", b"header", "identity", b"identity", "input", b"input", "links", b"links", "namespace", b"namespace", "request_id", b"request_id", "signal_name", b"signal_name", "workflow_execution", b"workflow_execution"]) -> None: ... global___SignalWorkflowExecutionRequest = SignalWorkflowExecutionRequest @@ -1877,13 +3024,17 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """The identity of the worker/client""" request_id: builtins.str """Used to de-dupe signal w/ start requests""" - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *running* workflow. """ - workflow_id_conflict_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType + workflow_id_conflict_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdConflictPolicy.ValueType + ) """Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING. Note that WORKFLOW_ID_CONFLICT_POLICY_FAIL is an invalid option. @@ -1905,7 +3056,9 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -1923,10 +3076,16 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): workflow. """ @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events.""" @property - def versioning_override(self) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: + def versioning_override( + self, + ) -> temporalio.api.workflow.v1.message_pb2.VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ @@ -1954,18 +3113,112 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., header: temporalio.api.common.v1.message_pb2.Header | None = ..., workflow_start_delay: google.protobuf.duration_pb2.Duration | None = ..., - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., - versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride + | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["header", b"header", "input", b"input", "memo", b"memo", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "signal_input", b"signal_input", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["control", b"control", "cron_schedule", b"cron_schedule", "header", b"header", "identity", b"identity", "input", b"input", "links", b"links", "memo", b"memo", "namespace", b"namespace", "priority", b"priority", "request_id", b"request_id", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "signal_input", b"signal_input", "signal_name", b"signal_name", "task_queue", b"task_queue", "user_metadata", b"user_metadata", "versioning_override", b"versioning_override", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_conflict_policy", b"workflow_id_conflict_policy", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_start_delay", b"workflow_start_delay", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... - -global___SignalWithStartWorkflowExecutionRequest = SignalWithStartWorkflowExecutionRequest + def HasField( + self, + field_name: typing_extensions.Literal[ + "header", + b"header", + "input", + b"input", + "memo", + b"memo", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "signal_input", + b"signal_input", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_start_delay", + b"workflow_start_delay", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "control", + b"control", + "cron_schedule", + b"cron_schedule", + "header", + b"header", + "identity", + b"identity", + "input", + b"input", + "links", + b"links", + "memo", + b"memo", + "namespace", + b"namespace", + "priority", + b"priority", + "request_id", + b"request_id", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "signal_input", + b"signal_input", + "signal_name", + b"signal_name", + "task_queue", + b"task_queue", + "user_metadata", + b"user_metadata", + "versioning_override", + b"versioning_override", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_conflict_policy", + b"workflow_id_conflict_policy", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_start_delay", + b"workflow_start_delay", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... + +global___SignalWithStartWorkflowExecutionRequest = ( + SignalWithStartWorkflowExecutionRequest +) class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1982,9 +3235,16 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): run_id: builtins.str = ..., started: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id", "started", b"started"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "started", b"started" + ], + ) -> None: ... -global___SignalWithStartWorkflowExecutionResponse = SignalWithStartWorkflowExecutionResponse +global___SignalWithStartWorkflowExecutionResponse = ( + SignalWithStartWorkflowExecutionResponse +) class ResetWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2000,7 +3260,9 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow to reset. If this contains a run ID then the workflow will be reset back to the provided event ID in that run. Otherwise it will be reset to the provided event ID in the current run. In all cases the current run will be terminated and a new run started. @@ -2017,10 +3279,18 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): Default: RESET_REAPPLY_TYPE_SIGNAL """ @property - def reset_reapply_exclude_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType]: + def reset_reapply_exclude_types( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType + ]: """Event types not to be reapplied""" @property - def post_reset_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PostResetOperation]: + def post_reset_operations( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.PostResetOperation + ]: """Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated @@ -2031,17 +3301,51 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., reason: builtins.str = ..., workflow_task_finish_event_id: builtins.int = ..., request_id: builtins.str = ..., reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ..., - reset_reapply_exclude_types: collections.abc.Iterable[temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType] | None = ..., - post_reset_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PostResetOperation] | None = ..., + reset_reapply_exclude_types: collections.abc.Iterable[ + temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType + ] + | None = ..., + post_reset_operations: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.PostResetOperation + ] + | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "post_reset_operations", b"post_reset_operations", "reason", b"reason", "request_id", b"request_id", "reset_reapply_exclude_types", b"reset_reapply_exclude_types", "reset_reapply_type", b"reset_reapply_type", "workflow_execution", b"workflow_execution", "workflow_task_finish_event_id", b"workflow_task_finish_event_id"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "post_reset_operations", + b"post_reset_operations", + "reason", + b"reason", + "request_id", + b"request_id", + "reset_reapply_exclude_types", + b"reset_reapply_exclude_types", + "reset_reapply_type", + b"reset_reapply_type", + "workflow_execution", + b"workflow_execution", + "workflow_task_finish_event_id", + b"workflow_task_finish_event_id", + ], + ) -> None: ... global___ResetWorkflowExecutionRequest = ResetWorkflowExecutionRequest @@ -2055,7 +3359,9 @@ class ResetWorkflowExecutionResponse(google.protobuf.message.Message): *, run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["run_id", b"run_id"] + ) -> None: ... global___ResetWorkflowExecutionResponse = ResetWorkflowExecutionResponse @@ -2071,7 +3377,9 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... reason: builtins.str @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: @@ -2084,21 +3392,50 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): execution chain as this id. """ @property - def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Link]: + def links( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Link + ]: """Links to be associated with the WorkflowExecutionTerminated event.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., reason: builtins.str = ..., details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., identity: builtins.str = ..., first_execution_run_id: builtins.str = ..., - links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., + links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", + b"details", + "first_execution_run_id", + b"first_execution_run_id", + "identity", + b"identity", + "links", + b"links", + "namespace", + b"namespace", + "reason", + b"reason", + "workflow_execution", + b"workflow_execution", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "first_execution_run_id", b"first_execution_run_id", "identity", b"identity", "links", b"links", "namespace", b"namespace", "reason", b"reason", "workflow_execution", b"workflow_execution"]) -> None: ... global___TerminateWorkflowExecutionRequest = TerminateWorkflowExecutionRequest @@ -2118,16 +3455,29 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Workflow Execution to delete. If run_id is not specified, the latest one is used.""" def __init__( self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "workflow_execution", b"workflow_execution" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "workflow_execution", b"workflow_execution"]) -> None: ... global___DeleteWorkflowExecutionRequest = DeleteWorkflowExecutionRequest @@ -2153,24 +3503,65 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): maximum_page_size: builtins.int next_page_token: builtins.bytes @property - def start_time_filter(self) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... + def start_time_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... @property - def execution_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... + def execution_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... @property - def type_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... + def type_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... def __init__( self, *, namespace: builtins.str = ..., maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter | None = ..., - execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter | None = ..., - type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "start_time_filter", b"start_time_filter", "type_filter", b"type_filter"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "start_time_filter", b"start_time_filter", "type_filter", b"type_filter"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["filters", b"filters"]) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... + start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter + | None = ..., + execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter + | None = ..., + type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution_filter", + b"execution_filter", + "filters", + b"filters", + "start_time_filter", + b"start_time_filter", + "type_filter", + b"type_filter", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution_filter", + b"execution_filter", + "filters", + b"filters", + "maximum_page_size", + b"maximum_page_size", + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "start_time_filter", + b"start_time_filter", + "type_filter", + b"type_filter", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["filters", b"filters"] + ) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... global___ListOpenWorkflowExecutionsRequest = ListOpenWorkflowExecutionsRequest @@ -2180,15 +3571,27 @@ class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "executions", b"executions", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListOpenWorkflowExecutionsResponse = ListOpenWorkflowExecutionsResponse @@ -2206,11 +3609,17 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): maximum_page_size: builtins.int next_page_token: builtins.bytes @property - def start_time_filter(self) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... + def start_time_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.StartTimeFilter: ... @property - def execution_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... + def execution_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter: ... @property - def type_filter(self) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... + def type_filter( + self, + ) -> temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter: ... @property def status_filter(self) -> temporalio.api.filter.v1.message_pb2.StatusFilter: ... def __init__( @@ -2219,14 +3628,56 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., maximum_page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., - start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter | None = ..., - execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter | None = ..., - type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter | None = ..., + start_time_filter: temporalio.api.filter.v1.message_pb2.StartTimeFilter + | None = ..., + execution_filter: temporalio.api.filter.v1.message_pb2.WorkflowExecutionFilter + | None = ..., + type_filter: temporalio.api.filter.v1.message_pb2.WorkflowTypeFilter + | None = ..., status_filter: temporalio.api.filter.v1.message_pb2.StatusFilter | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "start_time_filter", b"start_time_filter", "status_filter", b"status_filter", "type_filter", b"type_filter"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution_filter", b"execution_filter", "filters", b"filters", "maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "start_time_filter", b"start_time_filter", "status_filter", b"status_filter", "type_filter", b"type_filter"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["filters", b"filters"]) -> typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution_filter", + b"execution_filter", + "filters", + b"filters", + "start_time_filter", + b"start_time_filter", + "status_filter", + b"status_filter", + "type_filter", + b"type_filter", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution_filter", + b"execution_filter", + "filters", + b"filters", + "maximum_page_size", + b"maximum_page_size", + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "start_time_filter", + b"start_time_filter", + "status_filter", + b"status_filter", + "type_filter", + b"type_filter", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["filters", b"filters"] + ) -> ( + typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] + | None + ): ... global___ListClosedWorkflowExecutionsRequest = ListClosedWorkflowExecutionsRequest @@ -2236,15 +3687,27 @@ class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "executions", b"executions", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListClosedWorkflowExecutionsResponse = ListClosedWorkflowExecutionsResponse @@ -2267,7 +3730,19 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + "query", + b"query", + ], + ) -> None: ... global___ListWorkflowExecutionsRequest = ListWorkflowExecutionsRequest @@ -2277,15 +3752,27 @@ class ListWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "executions", b"executions", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListWorkflowExecutionsResponse = ListWorkflowExecutionsResponse @@ -2308,7 +3795,19 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + "query", + b"query", + ], + ) -> None: ... global___ListArchivedWorkflowExecutionsRequest = ListArchivedWorkflowExecutionsRequest @@ -2318,15 +3817,27 @@ class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "executions", b"executions", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListArchivedWorkflowExecutionsResponse = ListArchivedWorkflowExecutionsResponse @@ -2351,7 +3862,19 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + "query", + b"query", + ], + ) -> None: ... global___ScanWorkflowExecutionsRequest = ScanWorkflowExecutionsRequest @@ -2363,15 +3886,27 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo]: ... + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ]: ... next_page_token: builtins.bytes def __init__( self, *, - executions: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "executions", b"executions", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ScanWorkflowExecutionsResponse = ScanWorkflowExecutionsResponse @@ -2388,7 +3923,12 @@ class CountWorkflowExecutionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "query", b"query" + ], + ) -> None: ... global___CountWorkflowExecutionsRequest = CountWorkflowExecutionsRequest @@ -2401,15 +3941,27 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int @property - def group_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... + def group_values( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: ... count: builtins.int def __init__( self, *, - group_values: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + group_values: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., count: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["count", b"count", "group_values", b"group_values"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "count", b"count", "group_values", b"group_values" + ], + ) -> None: ... COUNT_FIELD_NUMBER: builtins.int GROUPS_FIELD_NUMBER: builtins.int @@ -2421,7 +3973,11 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): total number of workflows matching the query. """ @property - def groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CountWorkflowExecutionsResponse.AggregationGroup]: + def groups( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___CountWorkflowExecutionsResponse.AggregationGroup + ]: """`groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ @@ -2429,9 +3985,15 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): self, *, count: builtins.int = ..., - groups: collections.abc.Iterable[global___CountWorkflowExecutionsResponse.AggregationGroup] | None = ..., + groups: collections.abc.Iterable[ + global___CountWorkflowExecutionsResponse.AggregationGroup + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"]) -> None: ... global___CountWorkflowExecutionsResponse = CountWorkflowExecutionsResponse @@ -2460,17 +4022,29 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... KEYS_FIELD_NUMBER: builtins.int @property - def keys(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType]: ... + def keys( + self, + ) -> google.protobuf.internal.containers.ScalarMap[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ]: ... def __init__( self, *, - keys: collections.abc.Mapping[builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType] | None = ..., + keys: collections.abc.Mapping[ + builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["keys", b"keys"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["keys", b"keys"]) -> None: ... global___GetSearchAttributesResponse = GetSearchAttributesResponse @@ -2523,8 +4097,31 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure", "query_result", b"query_result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "completed_type", b"completed_type", "error_message", b"error_message", "failure", b"failure", "namespace", b"namespace", "query_result", b"query_result", "task_token", b"task_token"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "query_result", b"query_result" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "completed_type", + b"completed_type", + "error_message", + b"error_message", + "failure", + b"failure", + "namespace", + b"namespace", + "query_result", + b"query_result", + "task_token", + b"task_token", + ], + ) -> None: ... global___RespondQueryTaskCompletedRequest = RespondQueryTaskCompletedRequest @@ -2551,8 +4148,15 @@ class ResetStickyTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["execution", b"execution"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "namespace", b"namespace" + ], + ) -> None: ... global___ResetStickyTaskQueueRequest = ResetStickyTaskQueueRequest @@ -2578,7 +4182,9 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): identity: builtins.str reason: builtins.str @property - def worker_heartbeat(self) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... + def worker_heartbeat( + self, + ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... def __init__( self, *, @@ -2586,10 +4192,28 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): sticky_task_queue: builtins.str = ..., identity: builtins.str = ..., reason: builtins.str = ..., - worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat | None = ..., + worker_heartbeat: temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "reason", + b"reason", + "sticky_task_queue", + b"sticky_task_queue", + "worker_heartbeat", + b"worker_heartbeat", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "sticky_task_queue", b"sticky_task_queue", "worker_heartbeat", b"worker_heartbeat"]) -> None: ... global___ShutdownWorkerRequest = ShutdownWorkerRequest @@ -2614,7 +4238,9 @@ class QueryWorkflowRequest(google.protobuf.message.Message): def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... - query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType + query_reject_condition: ( + temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType + ) """QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. """ @@ -2626,8 +4252,25 @@ class QueryWorkflowRequest(google.protobuf.message.Message): query: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "query", b"query"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace", "query", b"query", "query_reject_condition", b"query_reject_condition"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "query", b"query" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", + b"execution", + "namespace", + b"namespace", + "query", + b"query", + "query_reject_condition", + b"query_reject_condition", + ], + ) -> None: ... global___QueryWorkflowRequest = QueryWorkflowRequest @@ -2646,8 +4289,18 @@ class QueryWorkflowResponse(google.protobuf.message.Message): query_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., query_rejected: temporalio.api.query.v1.message_pb2.QueryRejected | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["query_rejected", b"query_rejected", "query_result", b"query_result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["query_rejected", b"query_rejected", "query_result", b"query_result"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "query_rejected", b"query_rejected", "query_result", b"query_result" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "query_rejected", b"query_rejected", "query_result", b"query_result" + ], + ) -> None: ... global___QueryWorkflowResponse = QueryWorkflowResponse @@ -2665,8 +4318,15 @@ class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["execution", b"execution"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "namespace", b"namespace" + ], + ) -> None: ... global___DescribeWorkflowExecutionRequest = DescribeWorkflowExecutionRequest @@ -2682,41 +4342,113 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): PENDING_NEXUS_OPERATIONS_FIELD_NUMBER: builtins.int WORKFLOW_EXTENDED_INFO_FIELD_NUMBER: builtins.int @property - def execution_config(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig: ... - @property - def workflow_execution_info(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo: ... - @property - def pending_activities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingActivityInfo]: ... - @property - def pending_children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo]: ... - @property - def pending_workflow_task(self) -> temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo: ... - @property - def callbacks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.CallbackInfo]: ... - @property - def pending_nexus_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo]: ... - @property - def workflow_extended_info(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo: ... - def __init__( - self, - *, - execution_config: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig | None = ..., - workflow_execution_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo | None = ..., - pending_activities: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingActivityInfo] | None = ..., - pending_children: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo] | None = ..., - pending_workflow_task: temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo | None = ..., - callbacks: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.CallbackInfo] | None = ..., - pending_nexus_operations: collections.abc.Iterable[temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo] | None = ..., - workflow_extended_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo | None = ..., + def execution_config( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig: ... + @property + def workflow_execution_info( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo: ... + @property + def pending_activities( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.PendingActivityInfo + ]: ... + @property + def pending_children( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo + ]: ... + @property + def pending_workflow_task( + self, + ) -> temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo: ... + @property + def callbacks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.CallbackInfo + ]: ... + @property + def pending_nexus_operations( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo + ]: ... + @property + def workflow_extended_info( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo: ... + def __init__( + self, + *, + execution_config: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionConfig + | None = ..., + workflow_execution_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo + | None = ..., + pending_activities: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.PendingActivityInfo + ] + | None = ..., + pending_children: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.PendingChildExecutionInfo + ] + | None = ..., + pending_workflow_task: temporalio.api.workflow.v1.message_pb2.PendingWorkflowTaskInfo + | None = ..., + callbacks: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.CallbackInfo + ] + | None = ..., + pending_nexus_operations: collections.abc.Iterable[ + temporalio.api.workflow.v1.message_pb2.PendingNexusOperationInfo + ] + | None = ..., + workflow_extended_info: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionExtendedInfo + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution_config", + b"execution_config", + "pending_workflow_task", + b"pending_workflow_task", + "workflow_execution_info", + b"workflow_execution_info", + "workflow_extended_info", + b"workflow_extended_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "callbacks", + b"callbacks", + "execution_config", + b"execution_config", + "pending_activities", + b"pending_activities", + "pending_children", + b"pending_children", + "pending_nexus_operations", + b"pending_nexus_operations", + "pending_workflow_task", + b"pending_workflow_task", + "workflow_execution_info", + b"workflow_execution_info", + "workflow_extended_info", + b"workflow_extended_info", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution_config", b"execution_config", "pending_workflow_task", b"pending_workflow_task", "workflow_execution_info", b"workflow_execution_info", "workflow_extended_info", b"workflow_extended_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["callbacks", b"callbacks", "execution_config", b"execution_config", "pending_activities", b"pending_activities", "pending_children", b"pending_children", "pending_nexus_operations", b"pending_nexus_operations", "pending_workflow_task", b"pending_workflow_task", "workflow_execution_info", b"workflow_execution_info", "workflow_extended_info", b"workflow_extended_info"]) -> None: ... global___DescribeWorkflowExecutionResponse = DescribeWorkflowExecutionResponse class DescribeTaskQueueRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled - aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) + aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2754,7 +4486,9 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): Consult the documentation for each field to understand which mode it is supported in. """ @property - def versions(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection: + def versions( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection: """Deprecated (as part of the ENHANCED mode deprecation). Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the @@ -2762,7 +4496,11 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions --) """ @property - def task_queue_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType]: + def task_queue_types( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType + ]: """Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered. """ @@ -2785,13 +4523,48 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): report_config: builtins.bool = ..., include_task_queue_status: builtins.bool = ..., api_mode: temporalio.api.enums.v1.task_queue_pb2.DescribeTaskQueueMode.ValueType = ..., - versions: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection | None = ..., - task_queue_types: collections.abc.Iterable[temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType] | None = ..., + versions: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionSelection + | None = ..., + task_queue_types: collections.abc.Iterable[ + temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType + ] + | None = ..., report_pollers: builtins.bool = ..., report_task_reachability: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["task_queue", b"task_queue", "versions", b"versions"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["api_mode", b"api_mode", "include_task_queue_status", b"include_task_queue_status", "namespace", b"namespace", "report_config", b"report_config", "report_pollers", b"report_pollers", "report_stats", b"report_stats", "report_task_reachability", b"report_task_reachability", "task_queue", b"task_queue", "task_queue_type", b"task_queue_type", "task_queue_types", b"task_queue_types", "versions", b"versions"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "task_queue", b"task_queue", "versions", b"versions" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "api_mode", + b"api_mode", + "include_task_queue_status", + b"include_task_queue_status", + "namespace", + b"namespace", + "report_config", + b"report_config", + "report_pollers", + b"report_pollers", + "report_stats", + b"report_stats", + "report_task_reachability", + b"report_task_reachability", + "task_queue", + b"task_queue", + "task_queue_type", + b"task_queue_type", + "task_queue_types", + b"task_queue_types", + "versions", + b"versions", + ], + ) -> None: ... global___DescribeTaskQueueRequest = DescribeTaskQueueRequest @@ -2812,8 +4585,13 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): key: builtins.int = ..., value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class EffectiveRateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2822,7 +4600,9 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): RATE_LIMIT_SOURCE_FIELD_NUMBER: builtins.int requests_per_second: builtins.float """The effective rate limit for the task queue.""" - rate_limit_source: temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType + rate_limit_source: ( + temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType + ) """Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api. - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond. @@ -2834,7 +4614,15 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): requests_per_second: builtins.float = ..., rate_limit_source: temporalio.api.enums.v1.task_queue_pb2.RateLimitSource.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["rate_limit_source", b"rate_limit_source", "requests_per_second", b"requests_per_second"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "rate_limit_source", + b"rate_limit_source", + "requests_per_second", + b"requests_per_second", + ], + ) -> None: ... class VersionsInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2843,15 +4631,23 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo: ... + def value( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo: ... def __init__( self, *, key: builtins.str = ..., - value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo | None = ..., + value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... POLLERS_FIELD_NUMBER: builtins.int STATS_FIELD_NUMBER: builtins.int @@ -2862,21 +4658,31 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): TASK_QUEUE_STATUS_FIELD_NUMBER: builtins.int VERSIONS_INFO_FIELD_NUMBER: builtins.int @property - def pollers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.PollerInfo]: ... + def pollers( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.PollerInfo + ]: ... @property def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Statistics for the task queue. Only set if `report_stats` is set on the request. """ @property - def stats_by_priority_key(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats]: + def stats_by_priority_key( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats + ]: """Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_stats` is set on the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --) """ @property - def versioning_info(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo: + def versioning_info( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo: """Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to. When not present, it means the tasks are routed to Unversioned workers (workers with UNVERSIONED or unspecified WorkerVersioningMode.) @@ -2891,14 +4697,22 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): def config(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig: """Only populated if report_task_queue_config is set to true.""" @property - def effective_rate_limit(self) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... + def effective_rate_limit( + self, + ) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... @property - def task_queue_status(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus: + def task_queue_status( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus: """Deprecated. Status of the task queue. Only populated when `include_task_queue_status` is set to true in the request. """ @property - def versions_info(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo]: + def versions_info( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo + ]: """Deprecated. Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. @@ -2906,17 +4720,63 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): def __init__( self, *, - pollers: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.PollerInfo] | None = ..., + pollers: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.PollerInfo + ] + | None = ..., stats: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., - stats_by_priority_key: collections.abc.Mapping[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats] | None = ..., - versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo | None = ..., + stats_by_priority_key: collections.abc.Mapping[ + builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats + ] + | None = ..., + versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo + | None = ..., config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., - effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit | None = ..., - task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus | None = ..., - versions_info: collections.abc.Mapping[builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo] | None = ..., + effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit + | None = ..., + task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus + | None = ..., + versions_info: collections.abc.Mapping[ + builtins.str, temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersionInfo + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "effective_rate_limit", + b"effective_rate_limit", + "stats", + b"stats", + "task_queue_status", + b"task_queue_status", + "versioning_info", + b"versioning_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "config", + b"config", + "effective_rate_limit", + b"effective_rate_limit", + "pollers", + b"pollers", + "stats", + b"stats", + "stats_by_priority_key", + b"stats_by_priority_key", + "task_queue_status", + b"task_queue_status", + "versioning_info", + b"versioning_info", + "versions_info", + b"versions_info", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config", "effective_rate_limit", b"effective_rate_limit", "stats", b"stats", "task_queue_status", b"task_queue_status", "versioning_info", b"versioning_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "effective_rate_limit", b"effective_rate_limit", "pollers", b"pollers", "stats", b"stats", "stats_by_priority_key", b"stats_by_priority_key", "task_queue_status", b"task_queue_status", "versioning_info", b"versioning_info", "versions_info", b"versions_info"]) -> None: ... global___DescribeTaskQueueResponse = DescribeTaskQueueResponse @@ -2947,7 +4807,10 @@ class GetClusterInfoResponse(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SUPPORTED_CLIENTS_FIELD_NUMBER: builtins.int SERVER_VERSION_FIELD_NUMBER: builtins.int @@ -2958,7 +4821,9 @@ class GetClusterInfoResponse(google.protobuf.message.Message): PERSISTENCE_STORE_FIELD_NUMBER: builtins.int VISIBILITY_STORE_FIELD_NUMBER: builtins.int @property - def supported_clients(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def supported_clients( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". """ @@ -2973,7 +4838,8 @@ class GetClusterInfoResponse(google.protobuf.message.Message): def __init__( self, *, - supported_clients: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + supported_clients: collections.abc.Mapping[builtins.str, builtins.str] + | None = ..., server_version: builtins.str = ..., cluster_id: builtins.str = ..., version_info: temporalio.api.version.v1.message_pb2.VersionInfo | None = ..., @@ -2982,8 +4848,30 @@ class GetClusterInfoResponse(google.protobuf.message.Message): persistence_store: builtins.str = ..., visibility_store: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["version_info", b"version_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cluster_id", b"cluster_id", "cluster_name", b"cluster_name", "history_shard_count", b"history_shard_count", "persistence_store", b"persistence_store", "server_version", b"server_version", "supported_clients", b"supported_clients", "version_info", b"version_info", "visibility_store", b"visibility_store"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["version_info", b"version_info"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cluster_id", + b"cluster_id", + "cluster_name", + b"cluster_name", + "history_shard_count", + b"history_shard_count", + "persistence_store", + b"persistence_store", + "server_version", + b"server_version", + "supported_clients", + b"supported_clients", + "version_info", + b"version_info", + "visibility_store", + b"visibility_store", + ], + ) -> None: ... global___GetClusterInfoResponse = GetClusterInfoResponse @@ -3066,7 +4954,33 @@ class GetSystemInfoResponse(google.protobuf.message.Message): count_group_by_execution_status: builtins.bool = ..., nexus: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_failure_include_heartbeat", b"activity_failure_include_heartbeat", "build_id_based_versioning", b"build_id_based_versioning", "count_group_by_execution_status", b"count_group_by_execution_status", "eager_workflow_start", b"eager_workflow_start", "encoded_failure_attributes", b"encoded_failure_attributes", "internal_error_differentiation", b"internal_error_differentiation", "nexus", b"nexus", "sdk_metadata", b"sdk_metadata", "signal_and_query_header", b"signal_and_query_header", "supports_schedules", b"supports_schedules", "upsert_memo", b"upsert_memo"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_failure_include_heartbeat", + b"activity_failure_include_heartbeat", + "build_id_based_versioning", + b"build_id_based_versioning", + "count_group_by_execution_status", + b"count_group_by_execution_status", + "eager_workflow_start", + b"eager_workflow_start", + "encoded_failure_attributes", + b"encoded_failure_attributes", + "internal_error_differentiation", + b"internal_error_differentiation", + "nexus", + b"nexus", + "sdk_metadata", + b"sdk_metadata", + "signal_and_query_header", + b"signal_and_query_header", + "supports_schedules", + b"supports_schedules", + "upsert_memo", + b"upsert_memo", + ], + ) -> None: ... SERVER_VERSION_FIELD_NUMBER: builtins.int CAPABILITIES_FIELD_NUMBER: builtins.int @@ -3081,8 +4995,15 @@ class GetSystemInfoResponse(google.protobuf.message.Message): server_version: builtins.str = ..., capabilities: global___GetSystemInfoResponse.Capabilities | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["capabilities", b"capabilities", "server_version", b"server_version"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "capabilities", b"capabilities", "server_version", b"server_version" + ], + ) -> None: ... global___GetSystemInfoResponse = GetSystemInfoResponse @@ -3100,8 +5021,15 @@ class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["task_queue", b"task_queue"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["task_queue", b"task_queue"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "task_queue", b"task_queue" + ], + ) -> None: ... global___ListTaskQueuePartitionsRequest = ListTaskQueuePartitionsRequest @@ -3111,22 +5039,44 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ACTIVITY_TASK_QUEUE_PARTITIONS_FIELD_NUMBER: builtins.int WORKFLOW_TASK_QUEUE_PARTITIONS_FIELD_NUMBER: builtins.int @property - def activity_task_queue_partitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata]: ... + def activity_task_queue_partitions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata + ]: ... @property - def workflow_task_queue_partitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata]: ... + def workflow_task_queue_partitions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata + ]: ... def __init__( self, *, - activity_task_queue_partitions: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata] | None = ..., - workflow_task_queue_partitions: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata] | None = ..., + activity_task_queue_partitions: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata + ] + | None = ..., + workflow_task_queue_partitions: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TaskQueuePartitionMetadata + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_task_queue_partitions", + b"activity_task_queue_partitions", + "workflow_task_queue_partitions", + b"workflow_task_queue_partitions", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_task_queue_partitions", b"activity_task_queue_partitions", "workflow_task_queue_partitions", b"workflow_task_queue_partitions"]) -> None: ... global___ListTaskQueuePartitionsResponse = ListTaskQueuePartitionsResponse class CreateScheduleRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled - aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) + aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3157,21 +5107,57 @@ class CreateScheduleRequest(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Memo and search attributes to attach to the schedule itself.""" @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... def __init__( self, *, namespace: builtins.str = ..., schedule_id: builtins.str = ..., schedule: temporalio.api.schedule.v1.message_pb2.Schedule | None = ..., - initial_patch: temporalio.api.schedule.v1.message_pb2.SchedulePatch | None = ..., + initial_patch: temporalio.api.schedule.v1.message_pb2.SchedulePatch + | None = ..., identity: builtins.str = ..., request_id: builtins.str = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "initial_patch", + b"initial_patch", + "memo", + b"memo", + "schedule", + b"schedule", + "search_attributes", + b"search_attributes", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "initial_patch", + b"initial_patch", + "memo", + b"memo", + "namespace", + b"namespace", + "request_id", + b"request_id", + "schedule", + b"schedule", + "schedule_id", + b"schedule_id", + "search_attributes", + b"search_attributes", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["initial_patch", b"initial_patch", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "initial_patch", b"initial_patch", "memo", b"memo", "namespace", b"namespace", "request_id", b"request_id", "schedule", b"schedule", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... global___CreateScheduleRequest = CreateScheduleRequest @@ -3185,7 +5171,9 @@ class CreateScheduleResponse(google.protobuf.message.Message): *, conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] + ) -> None: ... global___CreateScheduleResponse = CreateScheduleResponse @@ -3204,7 +5192,12 @@ class DescribeScheduleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., schedule_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "schedule_id", b"schedule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "schedule_id", b"schedule_id" + ], + ) -> None: ... global___DescribeScheduleRequest = DescribeScheduleRequest @@ -3233,7 +5226,9 @@ class DescribeScheduleResponse(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """The memo and search attributes that the schedule was created with.""" @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... conflict_token: builtins.bytes """This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could @@ -3245,11 +5240,38 @@ class DescribeScheduleResponse(google.protobuf.message.Message): schedule: temporalio.api.schedule.v1.message_pb2.Schedule | None = ..., info: temporalio.api.schedule.v1.message_pb2.ScheduleInfo | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["info", b"info", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "info", b"info", "memo", b"memo", "schedule", b"schedule", "search_attributes", b"search_attributes"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "info", + b"info", + "memo", + b"memo", + "schedule", + b"schedule", + "search_attributes", + b"search_attributes", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "conflict_token", + b"conflict_token", + "info", + b"info", + "memo", + b"memo", + "schedule", + b"schedule", + "search_attributes", + b"search_attributes", + ], + ) -> None: ... global___DescribeScheduleResponse = DescribeScheduleResponse @@ -3283,7 +5305,9 @@ class UpdateScheduleRequest(google.protobuf.message.Message): request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. @@ -3299,10 +5323,34 @@ class UpdateScheduleRequest(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., identity: builtins.str = ..., request_id: builtins.str = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "schedule", b"schedule", "search_attributes", b"search_attributes" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "conflict_token", + b"conflict_token", + "identity", + b"identity", + "namespace", + b"namespace", + "request_id", + b"request_id", + "schedule", + b"schedule", + "schedule_id", + b"schedule_id", + "search_attributes", + b"search_attributes", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["schedule", b"schedule", "search_attributes", b"search_attributes"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "identity", b"identity", "namespace", b"namespace", "request_id", b"request_id", "schedule", b"schedule", "schedule_id", b"schedule_id", "search_attributes", b"search_attributes"]) -> None: ... global___UpdateScheduleRequest = UpdateScheduleRequest @@ -3342,8 +5390,24 @@ class PatchScheduleRequest(google.protobuf.message.Message): identity: builtins.str = ..., request_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["patch", b"patch"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "patch", b"patch", "request_id", b"request_id", "schedule_id", b"schedule_id"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["patch", b"patch"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "patch", + b"patch", + "request_id", + b"request_id", + "schedule_id", + b"schedule_id", + ], + ) -> None: ... global___PatchScheduleRequest = PatchScheduleRequest @@ -3380,8 +5444,25 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "namespace", b"namespace", "schedule_id", b"schedule_id", "start_time", b"start_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "end_time", b"end_time", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "end_time", + b"end_time", + "namespace", + b"namespace", + "schedule_id", + b"schedule_id", + "start_time", + b"start_time", + ], + ) -> None: ... global___ListScheduleMatchingTimesRequest = ListScheduleMatchingTimesRequest @@ -3390,13 +5471,20 @@ class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): START_TIME_FIELD_NUMBER: builtins.int @property - def start_time(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... + def start_time( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + google.protobuf.timestamp_pb2.Timestamp + ]: ... def __init__( self, *, - start_time: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., + start_time: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["start_time", b"start_time"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["start_time", b"start_time"]) -> None: ... global___ListScheduleMatchingTimesResponse = ListScheduleMatchingTimesResponse @@ -3419,7 +5507,17 @@ class DeleteScheduleRequest(google.protobuf.message.Message): schedule_id: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "schedule_id", b"schedule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "schedule_id", + b"schedule_id", + ], + ) -> None: ... global___DeleteScheduleRequest = DeleteScheduleRequest @@ -3455,7 +5553,19 @@ class ListSchedulesRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["maximum_page_size", b"maximum_page_size", "namespace", b"namespace", "next_page_token", b"next_page_token", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "maximum_page_size", + b"maximum_page_size", + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "query", + b"query", + ], + ) -> None: ... global___ListSchedulesRequest = ListSchedulesRequest @@ -3465,15 +5575,27 @@ class ListSchedulesResponse(google.protobuf.message.Message): SCHEDULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def schedules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.schedule.v1.message_pb2.ScheduleListEntry]: ... + def schedules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.schedule.v1.message_pb2.ScheduleListEntry + ]: ... next_page_token: builtins.bytes def __init__( self, *, - schedules: collections.abc.Iterable[temporalio.api.schedule.v1.message_pb2.ScheduleListEntry] | None = ..., + schedules: collections.abc.Iterable[ + temporalio.api.schedule.v1.message_pb2.ScheduleListEntry + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "schedules", b"schedules"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "schedules", b"schedules" + ], + ) -> None: ... global___ListSchedulesResponse = ListSchedulesResponse @@ -3507,7 +5629,17 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): existing_compatible_build_id: builtins.str = ..., make_set_default: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["existing_compatible_build_id", b"existing_compatible_build_id", "make_set_default", b"make_set_default", "new_build_id", b"new_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "existing_compatible_build_id", + b"existing_compatible_build_id", + "make_set_default", + b"make_set_default", + "new_build_id", + b"new_build_id", + ], + ) -> None: ... class MergeSets(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3524,7 +5656,15 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): primary_set_build_id: builtins.str = ..., secondary_set_build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["primary_set_build_id", b"primary_set_build_id", "secondary_set_build_id", b"secondary_set_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "primary_set_build_id", + b"primary_set_build_id", + "secondary_set_build_id", + b"secondary_set_build_id", + ], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -3548,7 +5688,9 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): aip.dev/not-precedent: In makes perfect sense here. --) """ @property - def add_new_compatible_build_id(self) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: + def add_new_compatible_build_id( + self, + ) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: """Adds a new id to an existing compatible set, see sub-message definition for more.""" promote_set_by_build_id: builtins.str """Promote an existing set to be the current default (if it isn't already) by targeting @@ -3577,16 +5719,67 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., add_new_build_id_in_new_default_set: builtins.str = ..., - add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion | None = ..., + add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion + | None = ..., promote_set_by_build_id: builtins.str = ..., promote_build_id_within_set: builtins.str = ..., - merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", b"add_new_compatible_build_id", "merge_sets", b"merge_sets", "operation", b"operation", "promote_build_id_within_set", b"promote_build_id_within_set", "promote_set_by_build_id", b"promote_set_by_build_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", b"add_new_compatible_build_id", "merge_sets", b"merge_sets", "namespace", b"namespace", "operation", b"operation", "promote_build_id_within_set", b"promote_build_id_within_set", "promote_set_by_build_id", b"promote_set_by_build_id", "task_queue", b"task_queue"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["add_new_build_id_in_new_default_set", "add_new_compatible_build_id", "promote_set_by_build_id", "promote_build_id_within_set", "merge_sets"] | None: ... - -global___UpdateWorkerBuildIdCompatibilityRequest = UpdateWorkerBuildIdCompatibilityRequest + merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "add_new_build_id_in_new_default_set", + b"add_new_build_id_in_new_default_set", + "add_new_compatible_build_id", + b"add_new_compatible_build_id", + "merge_sets", + b"merge_sets", + "operation", + b"operation", + "promote_build_id_within_set", + b"promote_build_id_within_set", + "promote_set_by_build_id", + b"promote_set_by_build_id", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "add_new_build_id_in_new_default_set", + b"add_new_build_id_in_new_default_set", + "add_new_compatible_build_id", + b"add_new_compatible_build_id", + "merge_sets", + b"merge_sets", + "namespace", + b"namespace", + "operation", + b"operation", + "promote_build_id_within_set", + b"promote_build_id_within_set", + "promote_set_by_build_id", + b"promote_set_by_build_id", + "task_queue", + b"task_queue", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["operation", b"operation"] + ) -> ( + typing_extensions.Literal[ + "add_new_build_id_in_new_default_set", + "add_new_compatible_build_id", + "promote_set_by_build_id", + "promote_build_id_within_set", + "merge_sets", + ] + | None + ): ... + +global___UpdateWorkerBuildIdCompatibilityRequest = ( + UpdateWorkerBuildIdCompatibilityRequest +) class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -3597,7 +5790,9 @@ class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UpdateWorkerBuildIdCompatibilityResponse = UpdateWorkerBuildIdCompatibilityResponse +global___UpdateWorkerBuildIdCompatibilityResponse = ( + UpdateWorkerBuildIdCompatibilityResponse +) class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -3621,7 +5816,17 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): task_queue: builtins.str = ..., max_sets: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["max_sets", b"max_sets", "namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "max_sets", + b"max_sets", + "namespace", + b"namespace", + "task_queue", + b"task_queue", + ], + ) -> None: ... global___GetWorkerBuildIdCompatibilityRequest = GetWorkerBuildIdCompatibilityRequest @@ -3632,7 +5837,11 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): MAJOR_VERSION_SETS_FIELD_NUMBER: builtins.int @property - def major_version_sets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet]: + def major_version_sets( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet + ]: """Major version sets, in order from oldest to newest. The last element of the list will always be the current default major version. IE: New workflows will target the most recent version in that version set. @@ -3642,9 +5851,17 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): def __init__( self, *, - major_version_sets: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet] | None = ..., + major_version_sets: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.CompatibleVersionSet + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "major_version_sets", b"major_version_sets" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["major_version_sets", b"major_version_sets"]) -> None: ... global___GetWorkerBuildIdCompatibilityResponse = GetWorkerBuildIdCompatibilityResponse @@ -3675,15 +5892,25 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): inserted at the end of the list. """ @property - def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... def __init__( self, *, rule_index: builtins.int = ..., - rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule | None = ..., + rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "rule", b"rule", "rule_index", b"rule_index" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule", "rule_index", b"rule_index"]) -> None: ... class ReplaceBuildIdAssignmentRule(google.protobuf.message.Message): """Replaces the assignment rule at a given index.""" @@ -3695,7 +5922,9 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): FORCE_FIELD_NUMBER: builtins.int rule_index: builtins.int @property - def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... force: builtins.bool """By default presence of one unconditional rule is enforced, otherwise the replace operation will be rejected. Set `force` to true to @@ -3707,11 +5936,19 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): self, *, rule_index: builtins.int = ..., - rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule | None = ..., + rule: temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule + | None = ..., force: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "rule", b"rule", "rule_index", b"rule_index"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "force", b"force", "rule", b"rule", "rule_index", b"rule_index" + ], + ) -> None: ... class DeleteBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3732,7 +5969,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): rule_index: builtins.int = ..., force: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "rule_index", b"rule_index"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "force", b"force", "rule_index", b"rule_index" + ], + ) -> None: ... class AddCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Adds the rule to the list of redirect rules for this Task Queue. There @@ -3743,14 +5985,21 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int @property - def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... def __init__( self, *, - rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule | None = ..., + rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... class ReplaceCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Replaces the routing rule with the given source Build ID.""" @@ -3759,14 +6008,21 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int @property - def rule(self) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule: ... def __init__( self, *, - rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule | None = ..., + rule: temporalio.api.taskqueue.v1.message_pb2.CompatibleBuildIdRedirectRule + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... class DeleteCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3778,7 +6034,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): *, source_build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["source_build_id", b"source_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "source_build_id", b"source_build_id" + ], + ) -> None: ... class CommitBuildId(google.protobuf.message.Message): """This command is intended to be used to complete the rollout of a Build @@ -3808,7 +6069,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): target_build_id: builtins.str = ..., force: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["force", b"force", "target_build_id", b"target_build_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "force", b"force", "target_build_id", b"target_build_id" + ], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -3830,36 +6096,122 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): operation, the request will fail instead of causing an unpredictable mutation. """ @property - def insert_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... + def insert_assignment_rule( + self, + ) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... @property - def replace_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... + def replace_assignment_rule( + self, + ) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... @property - def delete_assignment_rule(self) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... + def delete_assignment_rule( + self, + ) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... @property - def add_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule: ... + def add_compatible_redirect_rule( + self, + ) -> ( + global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + ): ... @property - def replace_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule: ... + def replace_compatible_redirect_rule( + self, + ) -> ( + global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + ): ... @property - def delete_compatible_redirect_rule(self) -> global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule: ... + def delete_compatible_redirect_rule( + self, + ) -> ( + global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + ): ... @property - def commit_build_id(self) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... + def commit_build_id( + self, + ) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., conflict_token: builtins.bytes = ..., - insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule | None = ..., - replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule | None = ..., - delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule | None = ..., - add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule | None = ..., - replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule | None = ..., - delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule | None = ..., - commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", b"commit_build_id", "delete_assignment_rule", b"delete_assignment_rule", "delete_compatible_redirect_rule", b"delete_compatible_redirect_rule", "insert_assignment_rule", b"insert_assignment_rule", "operation", b"operation", "replace_assignment_rule", b"replace_assignment_rule", "replace_compatible_redirect_rule", b"replace_compatible_redirect_rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", b"commit_build_id", "conflict_token", b"conflict_token", "delete_assignment_rule", b"delete_assignment_rule", "delete_compatible_redirect_rule", b"delete_compatible_redirect_rule", "insert_assignment_rule", b"insert_assignment_rule", "namespace", b"namespace", "operation", b"operation", "replace_assignment_rule", b"replace_assignment_rule", "replace_compatible_redirect_rule", b"replace_compatible_redirect_rule", "task_queue", b"task_queue"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["insert_assignment_rule", "replace_assignment_rule", "delete_assignment_rule", "add_compatible_redirect_rule", "replace_compatible_redirect_rule", "delete_compatible_redirect_rule", "commit_build_id"] | None: ... + insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule + | None = ..., + replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule + | None = ..., + delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule + | None = ..., + add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + | None = ..., + replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + | None = ..., + delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + | None = ..., + commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "add_compatible_redirect_rule", + b"add_compatible_redirect_rule", + "commit_build_id", + b"commit_build_id", + "delete_assignment_rule", + b"delete_assignment_rule", + "delete_compatible_redirect_rule", + b"delete_compatible_redirect_rule", + "insert_assignment_rule", + b"insert_assignment_rule", + "operation", + b"operation", + "replace_assignment_rule", + b"replace_assignment_rule", + "replace_compatible_redirect_rule", + b"replace_compatible_redirect_rule", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "add_compatible_redirect_rule", + b"add_compatible_redirect_rule", + "commit_build_id", + b"commit_build_id", + "conflict_token", + b"conflict_token", + "delete_assignment_rule", + b"delete_assignment_rule", + "delete_compatible_redirect_rule", + b"delete_compatible_redirect_rule", + "insert_assignment_rule", + b"insert_assignment_rule", + "namespace", + b"namespace", + "operation", + b"operation", + "replace_assignment_rule", + b"replace_assignment_rule", + "replace_compatible_redirect_rule", + b"replace_compatible_redirect_rule", + "task_queue", + b"task_queue", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["operation", b"operation"] + ) -> ( + typing_extensions.Literal[ + "insert_assignment_rule", + "replace_assignment_rule", + "delete_assignment_rule", + "add_compatible_redirect_rule", + "replace_compatible_redirect_rule", + "delete_compatible_redirect_rule", + "commit_build_id", + ] + | None + ): ... global___UpdateWorkerVersioningRulesRequest = UpdateWorkerVersioningRulesRequest @@ -3872,9 +6224,17 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int @property - def assignment_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule]: ... + def assignment_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule + ]: ... @property - def compatible_redirect_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule]: ... + def compatible_redirect_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule + ]: ... conflict_token: builtins.bytes """This value can be passed back to UpdateWorkerVersioningRulesRequest to ensure that the rules were not modified between the two updates, which @@ -3883,11 +6243,27 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): def __init__( self, *, - assignment_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule] | None = ..., - compatible_redirect_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule] | None = ..., + assignment_rules: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule + ] + | None = ..., + compatible_redirect_rules: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule + ] + | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["assignment_rules", b"assignment_rules", "compatible_redirect_rules", b"compatible_redirect_rules", "conflict_token", b"conflict_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "assignment_rules", + b"assignment_rules", + "compatible_redirect_rules", + b"compatible_redirect_rules", + "conflict_token", + b"conflict_token", + ], + ) -> None: ... global___UpdateWorkerVersioningRulesResponse = UpdateWorkerVersioningRulesResponse @@ -3906,7 +6282,12 @@ class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., task_queue: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "task_queue", b"task_queue"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "task_queue", b"task_queue" + ], + ) -> None: ... global___GetWorkerVersioningRulesRequest = GetWorkerVersioningRulesRequest @@ -3919,9 +6300,17 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int @property - def assignment_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule]: ... + def assignment_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule + ]: ... @property - def compatible_redirect_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule]: ... + def compatible_redirect_rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule + ]: ... conflict_token: builtins.bytes """This value can be passed back to UpdateWorkerVersioningRulesRequest to ensure that the rules were not modified between this List and the Update, @@ -3930,11 +6319,27 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): def __init__( self, *, - assignment_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule] | None = ..., - compatible_redirect_rules: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule] | None = ..., + assignment_rules: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedBuildIdAssignmentRule + ] + | None = ..., + compatible_redirect_rules: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule + ] + | None = ..., conflict_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["assignment_rules", b"assignment_rules", "compatible_redirect_rules", b"compatible_redirect_rules", "conflict_token", b"conflict_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "assignment_rules", + b"assignment_rules", + "compatible_redirect_rules", + b"compatible_redirect_rules", + "conflict_token", + b"conflict_token", + ], + ) -> None: ... global___GetWorkerVersioningRulesResponse = GetWorkerVersioningRulesResponse @@ -3951,14 +6356,18 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def build_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. """ @property - def task_queues(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def task_queues( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. @@ -3981,7 +6390,19 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): task_queues: collections.abc.Iterable[builtins.str] | None = ..., reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_ids", b"build_ids", "namespace", b"namespace", "reachability", b"reachability", "task_queues", b"task_queues"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_ids", + b"build_ids", + "namespace", + b"namespace", + "reachability", + b"reachability", + "task_queues", + b"task_queues", + ], + ) -> None: ... global___GetWorkerTaskReachabilityRequest = GetWorkerTaskReachabilityRequest @@ -3994,7 +6415,11 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): BUILD_ID_REACHABILITY_FIELD_NUMBER: builtins.int @property - def build_id_reachability(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability]: + def build_id_reachability( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability + ]: """Task reachability, broken down by build id and then task queue. When requesting a large number of task queues or all task queues associated with the given build ids in a namespace, all task queues will be listed in the response but some of them may not contain reachability @@ -4008,15 +6433,23 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): def __init__( self, *, - build_id_reachability: collections.abc.Iterable[temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability] | None = ..., + build_id_reachability: collections.abc.Iterable[ + temporalio.api.taskqueue.v1.message_pb2.BuildIdReachability + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id_reachability", b"build_id_reachability" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id_reachability", b"build_id_reachability"]) -> None: ... global___GetWorkerTaskReachabilityResponse = GetWorkerTaskReachabilityResponse class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): """(-- api-linter: core::0134=disabled - aip.dev/not-precedent: Update RPCs don't follow Google API format. --) + aip.dev/not-precedent: Update RPCs don't follow Google API format. --) """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4029,7 +6462,9 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace name of the target Workflow.""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) @@ -4056,13 +6491,38 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., first_execution_run_id: builtins.str = ..., wait_policy: temporalio.api.update.v1.message_pb2.WaitPolicy | None = ..., request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["request", b"request", "wait_policy", b"wait_policy", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["first_execution_run_id", b"first_execution_run_id", "namespace", b"namespace", "request", b"request", "wait_policy", b"wait_policy", "workflow_execution", b"workflow_execution"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "request", + b"request", + "wait_policy", + b"wait_policy", + "workflow_execution", + b"workflow_execution", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "first_execution_run_id", + b"first_execution_run_id", + "namespace", + b"namespace", + "request", + b"request", + "wait_policy", + b"wait_policy", + "workflow_execution", + b"workflow_execution", + ], + ) -> None: ... global___UpdateWorkflowExecutionRequest = UpdateWorkflowExecutionRequest @@ -4100,8 +6560,18 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "update_ref", b"update_ref"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "update_ref", b"update_ref" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" + ], + ) -> None: ... global___UpdateWorkflowExecutionResponse = UpdateWorkflowExecutionResponse @@ -4134,7 +6604,11 @@ class StartBatchOperationRequest(google.protobuf.message.Message): reason: builtins.str """Reason to perform the batch operation""" @property - def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.WorkflowExecution]: + def executions( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.WorkflowExecution + ]: """Executions to apply the batch operation This field and `visibility_query` are mutually exclusive """ @@ -4147,23 +6621,43 @@ class StartBatchOperationRequest(google.protobuf.message.Message): server's configured limit. """ @property - def termination_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationTermination: ... + def termination_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationTermination: ... @property - def signal_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationSignal: ... + def signal_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationSignal: ... @property - def cancellation_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationCancellation: ... + def cancellation_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationCancellation: ... @property - def deletion_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationDeletion: ... + def deletion_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationDeletion: ... @property - def reset_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationReset: ... + def reset_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationReset: ... @property - def update_workflow_options_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions: ... + def update_workflow_options_operation( + self, + ) -> ( + temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions + ): ... @property - def unpause_activities_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities: ... + def unpause_activities_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities: ... @property - def reset_activities_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities: ... + def reset_activities_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities: ... @property - def update_activity_options_operation(self) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions: ... + def update_activity_options_operation( + self, + ) -> temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions: ... def __init__( self, *, @@ -4171,21 +6665,108 @@ class StartBatchOperationRequest(google.protobuf.message.Message): visibility_query: builtins.str = ..., job_id: builtins.str = ..., reason: builtins.str = ..., - executions: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.WorkflowExecution] | None = ..., + executions: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.WorkflowExecution + ] + | None = ..., max_operations_per_second: builtins.float = ..., - termination_operation: temporalio.api.batch.v1.message_pb2.BatchOperationTermination | None = ..., - signal_operation: temporalio.api.batch.v1.message_pb2.BatchOperationSignal | None = ..., - cancellation_operation: temporalio.api.batch.v1.message_pb2.BatchOperationCancellation | None = ..., - deletion_operation: temporalio.api.batch.v1.message_pb2.BatchOperationDeletion | None = ..., - reset_operation: temporalio.api.batch.v1.message_pb2.BatchOperationReset | None = ..., - update_workflow_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions | None = ..., - unpause_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities | None = ..., - reset_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities | None = ..., - update_activity_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancellation_operation", b"cancellation_operation", "deletion_operation", b"deletion_operation", "operation", b"operation", "reset_activities_operation", b"reset_activities_operation", "reset_operation", b"reset_operation", "signal_operation", b"signal_operation", "termination_operation", b"termination_operation", "unpause_activities_operation", b"unpause_activities_operation", "update_activity_options_operation", b"update_activity_options_operation", "update_workflow_options_operation", b"update_workflow_options_operation"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancellation_operation", b"cancellation_operation", "deletion_operation", b"deletion_operation", "executions", b"executions", "job_id", b"job_id", "max_operations_per_second", b"max_operations_per_second", "namespace", b"namespace", "operation", b"operation", "reason", b"reason", "reset_activities_operation", b"reset_activities_operation", "reset_operation", b"reset_operation", "signal_operation", b"signal_operation", "termination_operation", b"termination_operation", "unpause_activities_operation", b"unpause_activities_operation", "update_activity_options_operation", b"update_activity_options_operation", "update_workflow_options_operation", b"update_workflow_options_operation", "visibility_query", b"visibility_query"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["termination_operation", "signal_operation", "cancellation_operation", "deletion_operation", "reset_operation", "update_workflow_options_operation", "unpause_activities_operation", "reset_activities_operation", "update_activity_options_operation"] | None: ... + termination_operation: temporalio.api.batch.v1.message_pb2.BatchOperationTermination + | None = ..., + signal_operation: temporalio.api.batch.v1.message_pb2.BatchOperationSignal + | None = ..., + cancellation_operation: temporalio.api.batch.v1.message_pb2.BatchOperationCancellation + | None = ..., + deletion_operation: temporalio.api.batch.v1.message_pb2.BatchOperationDeletion + | None = ..., + reset_operation: temporalio.api.batch.v1.message_pb2.BatchOperationReset + | None = ..., + update_workflow_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateWorkflowExecutionOptions + | None = ..., + unpause_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUnpauseActivities + | None = ..., + reset_activities_operation: temporalio.api.batch.v1.message_pb2.BatchOperationResetActivities + | None = ..., + update_activity_options_operation: temporalio.api.batch.v1.message_pb2.BatchOperationUpdateActivityOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancellation_operation", + b"cancellation_operation", + "deletion_operation", + b"deletion_operation", + "operation", + b"operation", + "reset_activities_operation", + b"reset_activities_operation", + "reset_operation", + b"reset_operation", + "signal_operation", + b"signal_operation", + "termination_operation", + b"termination_operation", + "unpause_activities_operation", + b"unpause_activities_operation", + "update_activity_options_operation", + b"update_activity_options_operation", + "update_workflow_options_operation", + b"update_workflow_options_operation", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancellation_operation", + b"cancellation_operation", + "deletion_operation", + b"deletion_operation", + "executions", + b"executions", + "job_id", + b"job_id", + "max_operations_per_second", + b"max_operations_per_second", + "namespace", + b"namespace", + "operation", + b"operation", + "reason", + b"reason", + "reset_activities_operation", + b"reset_activities_operation", + "reset_operation", + b"reset_operation", + "signal_operation", + b"signal_operation", + "termination_operation", + b"termination_operation", + "unpause_activities_operation", + b"unpause_activities_operation", + "update_activity_options_operation", + b"update_activity_options_operation", + "update_workflow_options_operation", + b"update_workflow_options_operation", + "visibility_query", + b"visibility_query", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["operation", b"operation"] + ) -> ( + typing_extensions.Literal[ + "termination_operation", + "signal_operation", + "cancellation_operation", + "deletion_operation", + "reset_operation", + "update_workflow_options_operation", + "unpause_activities_operation", + "reset_activities_operation", + "update_activity_options_operation", + ] + | None + ): ... global___StartBatchOperationRequest = StartBatchOperationRequest @@ -4221,7 +6802,19 @@ class StopBatchOperationRequest(google.protobuf.message.Message): reason: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "job_id", b"job_id", "namespace", b"namespace", "reason", b"reason"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "job_id", + b"job_id", + "namespace", + b"namespace", + "reason", + b"reason", + ], + ) -> None: ... global___StopBatchOperationRequest = StopBatchOperationRequest @@ -4249,7 +6842,12 @@ class DescribeBatchOperationRequest(google.protobuf.message.Message): namespace: builtins.str = ..., job_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "job_id", b"job_id", "namespace", b"namespace" + ], + ) -> None: ... global___DescribeBatchOperationRequest = DescribeBatchOperationRequest @@ -4266,7 +6864,9 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): FAILURE_OPERATION_COUNT_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int - operation_type: temporalio.api.enums.v1.batch_operation_pb2.BatchOperationType.ValueType + operation_type: ( + temporalio.api.enums.v1.batch_operation_pb2.BatchOperationType.ValueType + ) """Batch operation type""" job_id: builtins.str """Batch job ID""" @@ -4302,8 +6902,37 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): identity: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["close_time", b"close_time", "complete_operation_count", b"complete_operation_count", "failure_operation_count", b"failure_operation_count", "identity", b"identity", "job_id", b"job_id", "operation_type", b"operation_type", "reason", b"reason", "start_time", b"start_time", "state", b"state", "total_operation_count", b"total_operation_count"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "close_time", b"close_time", "start_time", b"start_time" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "close_time", + b"close_time", + "complete_operation_count", + b"complete_operation_count", + "failure_operation_count", + b"failure_operation_count", + "identity", + b"identity", + "job_id", + b"job_id", + "operation_type", + b"operation_type", + "reason", + b"reason", + "start_time", + b"start_time", + "state", + b"state", + "total_operation_count", + b"total_operation_count", + ], + ) -> None: ... global___DescribeBatchOperationResponse = DescribeBatchOperationResponse @@ -4326,7 +6955,17 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + ], + ) -> None: ... global___ListBatchOperationsRequest = ListBatchOperationsRequest @@ -4336,16 +6975,28 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): OPERATION_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def operation_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.batch.v1.message_pb2.BatchOperationInfo]: + def operation_info( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.batch.v1.message_pb2.BatchOperationInfo + ]: """BatchOperationInfo contains the basic info about batch operation""" next_page_token: builtins.bytes def __init__( self, *, - operation_info: collections.abc.Iterable[temporalio.api.batch.v1.message_pb2.BatchOperationInfo] | None = ..., + operation_info: collections.abc.Iterable[ + temporalio.api.batch.v1.message_pb2.BatchOperationInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "operation_info", b"operation_info"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "operation_info", b"operation_info" + ], + ) -> None: ... global___ListBatchOperationsResponse = ListBatchOperationsResponse @@ -4378,8 +7029,25 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): identity: builtins.str = ..., wait_policy: temporalio.api.update.v1.message_pb2.WaitPolicy | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_ref", b"update_ref", "wait_policy", b"wait_policy"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "update_ref", b"update_ref", "wait_policy", b"wait_policy"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "update_ref", b"update_ref", "wait_policy", b"wait_policy" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "update_ref", + b"update_ref", + "wait_policy", + b"wait_policy", + ], + ) -> None: ... global___PollWorkflowExecutionUpdateRequest = PollWorkflowExecutionUpdateRequest @@ -4419,8 +7087,18 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., update_ref: temporalio.api.update.v1.message_pb2.UpdateRef | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "update_ref", b"update_ref"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "update_ref", b"update_ref" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" + ], + ) -> None: ... global___PollWorkflowExecutionUpdateResponse = PollWorkflowExecutionUpdateResponse @@ -4439,16 +7117,24 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... @property - def worker_version_capabilities(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: + def worker_version_capabilities( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: """Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ @property - def deployment_options(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: + def deployment_options( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" @property - def worker_heartbeat(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat]: + def worker_heartbeat( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + ]: """Worker info to be sent to the server.""" def __init__( self, @@ -4456,12 +7142,43 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): namespace: builtins.str = ..., identity: builtins.str = ..., task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., - worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities | None = ..., - deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., - worker_heartbeat: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat] | None = ..., + worker_version_capabilities: temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities + | None = ..., + deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions + | None = ..., + worker_heartbeat: collections.abc.Iterable[ + temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "task_queue", + b"task_queue", + "worker_version_capabilities", + b"worker_version_capabilities", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_options", + b"deployment_options", + "identity", + b"identity", + "namespace", + b"namespace", + "task_queue", + b"task_queue", + "worker_heartbeat", + b"worker_heartbeat", + "worker_version_capabilities", + b"worker_version_capabilities", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "task_queue", b"task_queue", "worker_version_capabilities", b"worker_version_capabilities"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_options", b"deployment_options", "identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "worker_heartbeat", b"worker_heartbeat", "worker_version_capabilities", b"worker_version_capabilities"]) -> None: ... global___PollNexusTaskQueueRequest = PollNexusTaskQueueRequest @@ -4477,17 +7194,35 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): def request(self) -> temporalio.api.nexus.v1.message_pb2.Request: """Embedded request as translated from the incoming frontend request.""" @property - def poller_scaling_decision(self) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: + def poller_scaling_decision( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" def __init__( self, *, task_token: builtins.bytes = ..., request: temporalio.api.nexus.v1.message_pb2.Request | None = ..., - poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision | None = ..., + poller_scaling_decision: temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "poller_scaling_decision", b"poller_scaling_decision", "request", b"request" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "poller_scaling_decision", + b"poller_scaling_decision", + "request", + b"request", + "task_token", + b"task_token", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["poller_scaling_decision", b"poller_scaling_decision", "request", b"request"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["poller_scaling_decision", b"poller_scaling_decision", "request", b"request", "task_token", b"task_token"]) -> None: ... global___PollNexusTaskQueueResponse = PollNexusTaskQueueResponse @@ -4514,8 +7249,22 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): task_token: builtins.bytes = ..., response: temporalio.api.nexus.v1.message_pb2.Response | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["response", b"response"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "response", b"response", "task_token", b"task_token"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["response", b"response"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "response", + b"response", + "task_token", + b"task_token", + ], + ) -> None: ... global___RespondNexusTaskCompletedRequest = RespondNexusTaskCompletedRequest @@ -4551,8 +7300,22 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): task_token: builtins.bytes = ..., error: temporalio.api.nexus.v1.message_pb2.HandlerError | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["error", b"error"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["error", b"error", "identity", b"identity", "namespace", b"namespace", "task_token", b"task_token"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["error", b"error"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "error", + b"error", + "identity", + b"identity", + "namespace", + b"namespace", + "task_token", + b"task_token", + ], + ) -> None: ... global___RespondNexusTaskFailedRequest = RespondNexusTaskFailedRequest @@ -4592,15 +7355,41 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): start_workflow: global___StartWorkflowExecutionRequest | None = ..., update_workflow: global___UpdateWorkflowExecutionRequest | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["operation", b"operation", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["operation", b"operation"]) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "operation", + b"operation", + "start_workflow", + b"start_workflow", + "update_workflow", + b"update_workflow", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "operation", + b"operation", + "start_workflow", + b"start_workflow", + "update_workflow", + b"update_workflow", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["operation", b"operation"] + ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... NAMESPACE_FIELD_NUMBER: builtins.int OPERATIONS_FIELD_NUMBER: builtins.int namespace: builtins.str @property - def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteMultiOperationRequest.Operation]: + def operations( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ExecuteMultiOperationRequest.Operation + ]: """List of operations to execute within a single workflow. Preconditions: @@ -4614,9 +7403,17 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - operations: collections.abc.Iterable[global___ExecuteMultiOperationRequest.Operation] | None = ..., + operations: collections.abc.Iterable[ + global___ExecuteMultiOperationRequest.Operation + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "operations", b"operations" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "operations", b"operations"]) -> None: ... global___ExecuteMultiOperationRequest = ExecuteMultiOperationRequest @@ -4646,19 +7443,50 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): start_workflow: global___StartWorkflowExecutionResponse | None = ..., update_workflow: global___UpdateWorkflowExecutionResponse | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["response", b"response", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["response", b"response", "start_workflow", b"start_workflow", "update_workflow", b"update_workflow"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "response", + b"response", + "start_workflow", + b"start_workflow", + "update_workflow", + b"update_workflow", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "response", + b"response", + "start_workflow", + b"start_workflow", + "update_workflow", + b"update_workflow", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... RESPONSES_FIELD_NUMBER: builtins.int @property - def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteMultiOperationResponse.Response]: ... + def responses( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ExecuteMultiOperationResponse.Response + ]: ... def __init__( self, *, - responses: collections.abc.Iterable[global___ExecuteMultiOperationResponse.Response] | None = ..., + responses: collections.abc.Iterable[ + global___ExecuteMultiOperationResponse.Response + ] + | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["responses", b"responses"] ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["responses", b"responses"]) -> None: ... global___ExecuteMultiOperationResponse = ExecuteMultiOperationResponse @@ -4684,7 +7512,9 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the client who initiated this request""" @property - def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options. Partial updates are accepted and controlled by update_mask""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -4708,16 +7538,61 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): namespace: builtins.str = ..., execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., identity: builtins.str = ..., - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions + | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., id: builtins.str = ..., type: builtins.str = ..., match_all: builtins.bool = ..., restore_original: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "execution", b"execution", "id", b"id", "match_all", b"match_all", "type", b"type", "update_mask", b"update_mask"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "activity_options", b"activity_options", "execution", b"execution", "id", b"id", "identity", b"identity", "match_all", b"match_all", "namespace", b"namespace", "restore_original", b"restore_original", "type", b"type", "update_mask", b"update_mask"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "activity_options", + b"activity_options", + "execution", + b"execution", + "id", + b"id", + "match_all", + b"match_all", + "type", + b"type", + "update_mask", + b"update_mask", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "activity_options", + b"activity_options", + "execution", + b"execution", + "id", + b"id", + "identity", + b"identity", + "match_all", + b"match_all", + "namespace", + b"namespace", + "restore_original", + b"restore_original", + "type", + b"type", + "update_mask", + b"update_mask", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... global___UpdateActivityOptionsRequest = UpdateActivityOptionsRequest @@ -4726,15 +7601,24 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): ACTIVITY_OPTIONS_FIELD_NUMBER: builtins.int @property - def activity_options(self) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" def __init__( self, *, - activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., + activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_options", b"activity_options"]) -> None: ... global___UpdateActivityOptionsResponse = UpdateActivityOptionsResponse @@ -4770,9 +7654,41 @@ class PauseActivityRequest(google.protobuf.message.Message): type: builtins.str = ..., reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "type", b"type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "namespace", b"namespace", "reason", b"reason", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "type", + b"type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "identity", + b"identity", + "namespace", + b"namespace", + "reason", + b"reason", + "type", + b"type", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type"] | None: ... global___PauseActivityRequest = PauseActivityRequest @@ -4830,9 +7746,51 @@ class UnpauseActivityRequest(google.protobuf.message.Message): reset_heartbeat: builtins.bool = ..., jitter: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "jitter", b"jitter", "type", b"type", "unpause_all", b"unpause_all"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "jitter", b"jitter", "namespace", b"namespace", "reset_attempts", b"reset_attempts", "reset_heartbeat", b"reset_heartbeat", "type", b"type", "unpause_all", b"unpause_all"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "jitter", + b"jitter", + "type", + b"type", + "unpause_all", + b"unpause_all", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "identity", + b"identity", + "jitter", + b"jitter", + "namespace", + b"namespace", + "reset_attempts", + b"reset_attempts", + "reset_heartbeat", + b"reset_heartbeat", + "type", + b"type", + "unpause_all", + b"unpause_all", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... global___UnpauseActivityRequest = UnpauseActivityRequest @@ -4903,9 +7861,53 @@ class ResetActivityRequest(google.protobuf.message.Message): jitter: google.protobuf.duration_pb2.Duration | None = ..., restore_original_options: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "jitter", b"jitter", "match_all", b"match_all", "type", b"type"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity", b"activity", "execution", b"execution", "id", b"id", "identity", b"identity", "jitter", b"jitter", "keep_paused", b"keep_paused", "match_all", b"match_all", "namespace", b"namespace", "reset_heartbeat", b"reset_heartbeat", "restore_original_options", b"restore_original_options", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["activity", b"activity"]) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "jitter", + b"jitter", + "match_all", + b"match_all", + "type", + b"type", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity", + b"activity", + "execution", + b"execution", + "id", + b"id", + "identity", + b"identity", + "jitter", + b"jitter", + "keep_paused", + b"keep_paused", + "match_all", + b"match_all", + "namespace", + b"namespace", + "reset_heartbeat", + b"reset_heartbeat", + "restore_original_options", + b"restore_original_options", + "type", + b"type", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... global___ResetActivityRequest = ResetActivityRequest @@ -4920,8 +7922,8 @@ global___ResetActivityResponse = ResetActivityResponse class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. - - temporalio.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions. + - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. + - temporalio.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions. """ DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4933,13 +7935,17 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): namespace: builtins.str """The namespace name of the target Workflow.""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ @property - def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options. Partial updates are accepted and controlled by update_mask.""" @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: @@ -4950,12 +7956,36 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): self, *, namespace: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions + | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_mask", b"update_mask", "workflow_execution", b"workflow_execution", "workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "update_mask", b"update_mask", "workflow_execution", b"workflow_execution", "workflow_execution_options", b"workflow_execution_options"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "update_mask", + b"update_mask", + "workflow_execution", + b"workflow_execution", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "update_mask", + b"update_mask", + "workflow_execution", + b"workflow_execution", + "workflow_execution_options", + b"workflow_execution_options", + ], + ) -> None: ... global___UpdateWorkflowExecutionOptionsRequest = UpdateWorkflowExecutionOptionsRequest @@ -4964,15 +7994,28 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER: builtins.int @property - def workflow_execution_options(self) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: + def workflow_execution_options( + self, + ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options after update.""" def __init__( self, *, - workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., + workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution_options", b"workflow_execution_options" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution_options", b"workflow_execution_options" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution_options", b"workflow_execution_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["workflow_execution_options", b"workflow_execution_options"]) -> None: ... global___UpdateWorkflowExecutionOptionsResponse = UpdateWorkflowExecutionOptionsResponse @@ -4992,8 +8035,15 @@ class DescribeDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["deployment", b"deployment"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", b"deployment", "namespace", b"namespace" + ], + ) -> None: ... global___DescribeDeploymentRequest = DescribeDeploymentRequest @@ -5004,14 +8054,23 @@ class DescribeDeploymentResponse(google.protobuf.message.Message): DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... def __init__( self, *, - deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., + deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info"]) -> None: ... global___DescribeDeploymentResponse = DescribeDeploymentResponse @@ -5026,7 +8085,9 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" report_task_queue_stats: builtins.bool """Report stats for task queues which have been polled by this version.""" @@ -5035,11 +8096,29 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., report_task_queue_stats: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "namespace", b"namespace", "report_task_queue_stats", b"report_task_queue_stats", "version", b"version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", + b"deployment_version", + "namespace", + b"namespace", + "report_task_queue_stats", + b"report_task_queue_stats", + "version", + b"version", + ], + ) -> None: ... global___DescribeWorkerDeploymentVersionRequest = DescribeWorkerDeploymentVersionRequest @@ -5058,15 +8137,23 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.int @property - def value(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: ... + def value( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: ... def __init__( self, *, key: builtins.int = ..., - value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., + value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... NAME_FIELD_NUMBER: builtins.int TYPE_FIELD_NUMBER: builtins.int @@ -5078,7 +8165,11 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Only set if `report_task_queue_stats` is set on the request.""" @property - def stats_by_priority_key(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats]: + def stats_by_priority_key( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats + ]: """Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if `report_task_queue_stats` is set to true in the request. (-- api-linter: core::0140::prepositions=disabled @@ -5090,28 +8181,70 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): name: builtins.str = ..., type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., stats: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., - stats_by_priority_key: collections.abc.Mapping[builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats] | None = ..., + stats_by_priority_key: collections.abc.Mapping[ + builtins.int, temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats + ] + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["stats", b"stats"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "name", + b"name", + "stats", + b"stats", + "stats_by_priority_key", + b"stats_by_priority_key", + "type", + b"type", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["stats", b"stats"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "stats", b"stats", "stats_by_priority_key", b"stats_by_priority_key", "type", b"type"]) -> None: ... WORKER_DEPLOYMENT_VERSION_INFO_FIELD_NUMBER: builtins.int VERSION_TASK_QUEUES_FIELD_NUMBER: builtins.int @property - def worker_deployment_version_info(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo: ... + def worker_deployment_version_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo: ... @property - def version_task_queues(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue]: + def version_task_queues( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + ]: """All the Task Queues that have ever polled from this Deployment version.""" def __init__( self, *, - worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo | None = ..., - version_task_queues: collections.abc.Iterable[global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue] | None = ..., + worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo + | None = ..., + version_task_queues: collections.abc.Iterable[ + global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + ] + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "worker_deployment_version_info", b"worker_deployment_version_info" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "version_task_queues", + b"version_task_queues", + "worker_deployment_version_info", + b"worker_deployment_version_info", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_deployment_version_info", b"worker_deployment_version_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["version_task_queues", b"version_task_queues", "worker_deployment_version_info", b"worker_deployment_version_info"]) -> None: ... -global___DescribeWorkerDeploymentVersionResponse = DescribeWorkerDeploymentVersionResponse +global___DescribeWorkerDeploymentVersionResponse = ( + DescribeWorkerDeploymentVersionResponse +) class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5126,7 +8259,12 @@ class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_name", b"deployment_name", "namespace", b"namespace" + ], + ) -> None: ... global___DescribeWorkerDeploymentRequest = DescribeWorkerDeploymentRequest @@ -5141,15 +8279,31 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): did not change between this read and a future write. """ @property - def worker_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo: ... + def worker_deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo: ... def __init__( self, *, conflict_token: builtins.bytes = ..., - worker_deployment_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo | None = ..., + worker_deployment_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "worker_deployment_info", b"worker_deployment_info" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "conflict_token", + b"conflict_token", + "worker_deployment_info", + b"worker_deployment_info", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_deployment_info", b"worker_deployment_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "worker_deployment_info", b"worker_deployment_info"]) -> None: ... global___DescribeWorkerDeploymentResponse = DescribeWorkerDeploymentResponse @@ -5175,7 +8329,19 @@ class ListDeploymentsRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., series_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "series_name", b"series_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + "series_name", + b"series_name", + ], + ) -> None: ... global___ListDeploymentsRequest = ListDeploymentsRequest @@ -5188,14 +8354,26 @@ class ListDeploymentsResponse(google.protobuf.message.Message): DEPLOYMENTS_FIELD_NUMBER: builtins.int next_page_token: builtins.bytes @property - def deployments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.deployment.v1.message_pb2.DeploymentListInfo]: ... + def deployments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.deployment.v1.message_pb2.DeploymentListInfo + ]: ... def __init__( self, *, next_page_token: builtins.bytes = ..., - deployments: collections.abc.Iterable[temporalio.api.deployment.v1.message_pb2.DeploymentListInfo] | None = ..., + deployments: collections.abc.Iterable[ + temporalio.api.deployment.v1.message_pb2.DeploymentListInfo + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployments", b"deployments", "next_page_token", b"next_page_token" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deployments", b"deployments", "next_page_token", b"next_page_token"]) -> None: ... global___ListDeploymentsResponse = ListDeploymentsResponse @@ -5214,7 +8392,9 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): identity: builtins.str """Optional. The identity of the client who initiated this request.""" @property - def update_metadata(self) -> temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata: + def update_metadata( + self, + ) -> temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata: """Optional. Use to add or remove user-defined metadata entries. Metadata entries are exposed when describing a deployment. It is a good place for information such as operator name, links to internal deployment pipelines, etc. @@ -5225,10 +8405,28 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., identity: builtins.str = ..., - update_metadata: temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata | None = ..., + update_metadata: temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment", b"deployment", "update_metadata", b"update_metadata" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", + b"deployment", + "identity", + b"identity", + "namespace", + b"namespace", + "update_metadata", + b"update_metadata", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "update_metadata", b"update_metadata"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "identity", b"identity", "namespace", b"namespace", "update_metadata", b"update_metadata"]) -> None: ... global___SetCurrentDeploymentRequest = SetCurrentDeploymentRequest @@ -5240,18 +8438,40 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): CURRENT_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int PREVIOUS_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def current_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def current_deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... @property - def previous_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: + def previous_deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: """Info of the deployment that was current before executing this operation.""" def __init__( self, *, - current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., - previous_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., + current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo + | None = ..., + previous_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_info", + b"current_deployment_info", + "previous_deployment_info", + b"previous_deployment_info", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_info", + b"current_deployment_info", + "previous_deployment_info", + b"previous_deployment_info", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info", "previous_deployment_info", b"previous_deployment_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info", "previous_deployment_info", b"previous_deployment_info"]) -> None: ... global___SetCurrentDeploymentResponse = SetCurrentDeploymentResponse @@ -5310,9 +8530,29 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ignore_missing_task_queues: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "conflict_token", b"conflict_token", "deployment_name", b"deployment_name", "identity", b"identity", "ignore_missing_task_queues", b"ignore_missing_task_queues", "namespace", b"namespace", "version", b"version"]) -> None: ... - -global___SetWorkerDeploymentCurrentVersionRequest = SetWorkerDeploymentCurrentVersionRequest + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "conflict_token", + b"conflict_token", + "deployment_name", + b"deployment_name", + "identity", + b"identity", + "ignore_missing_task_queues", + b"ignore_missing_task_queues", + "namespace", + b"namespace", + "version", + b"version", + ], + ) -> None: ... + +global___SetWorkerDeploymentCurrentVersionRequest = ( + SetWorkerDeploymentCurrentVersionRequest +) class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5328,19 +8568,39 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" @property - def previous_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def previous_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The version that was current before executing this operation.""" def __init__( self, *, conflict_token: builtins.bytes = ..., previous_version: builtins.str = ..., - previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "previous_deployment_version", b"previous_deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "conflict_token", + b"conflict_token", + "previous_deployment_version", + b"previous_deployment_version", + "previous_version", + b"previous_version", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["previous_deployment_version", b"previous_deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "previous_deployment_version", b"previous_deployment_version", "previous_version", b"previous_version"]) -> None: ... -global___SetWorkerDeploymentCurrentVersionResponse = SetWorkerDeploymentCurrentVersionResponse +global___SetWorkerDeploymentCurrentVersionResponse = ( + SetWorkerDeploymentCurrentVersionResponse +) class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage.""" @@ -5404,9 +8664,31 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ignore_missing_task_queues: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "conflict_token", b"conflict_token", "deployment_name", b"deployment_name", "identity", b"identity", "ignore_missing_task_queues", b"ignore_missing_task_queues", "namespace", b"namespace", "percentage", b"percentage", "version", b"version"]) -> None: ... - -global___SetWorkerDeploymentRampingVersionRequest = SetWorkerDeploymentRampingVersionRequest + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", + b"build_id", + "conflict_token", + b"conflict_token", + "deployment_name", + b"deployment_name", + "identity", + b"identity", + "ignore_missing_task_queues", + b"ignore_missing_task_queues", + "namespace", + b"namespace", + "percentage", + b"percentage", + "version", + b"version", + ], + ) -> None: ... + +global___SetWorkerDeploymentRampingVersionRequest = ( + SetWorkerDeploymentRampingVersionRequest +) class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5423,7 +8705,9 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" @property - def previous_deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def previous_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """The version that was ramping before executing this operation.""" previous_percentage: builtins.float """The ramping version percentage before executing this operation.""" @@ -5432,13 +8716,33 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) *, conflict_token: builtins.bytes = ..., previous_version: builtins.str = ..., - previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + previous_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., previous_percentage: builtins.float = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["previous_deployment_version", b"previous_deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token", "previous_deployment_version", b"previous_deployment_version", "previous_percentage", b"previous_percentage", "previous_version", b"previous_version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "previous_deployment_version", b"previous_deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "conflict_token", + b"conflict_token", + "previous_deployment_version", + b"previous_deployment_version", + "previous_percentage", + b"previous_percentage", + "previous_version", + b"previous_version", + ], + ) -> None: ... -global___SetWorkerDeploymentRampingVersionResponse = SetWorkerDeploymentRampingVersionResponse +global___SetWorkerDeploymentRampingVersionResponse = ( + SetWorkerDeploymentRampingVersionResponse +) class ListWorkerDeploymentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5456,7 +8760,17 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): page_size: builtins.int = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + ], + ) -> None: ... global___ListWorkerDeploymentsRequest = ListWorkerDeploymentsRequest @@ -5480,42 +8794,99 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property - def routing_config(self) -> temporalio.api.deployment.v1.message_pb2.RoutingConfig: ... + def routing_config( + self, + ) -> temporalio.api.deployment.v1.message_pb2.RoutingConfig: ... @property - def latest_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def latest_version_summary( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the version that was added most recently in the Worker Deployment.""" @property - def current_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def current_version_summary( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the current version of the Worker Deployment.""" @property - def ramping_version_summary(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: + def ramping_version_summary( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the ramping version of the Worker Deployment.""" def __init__( self, *, name: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - routing_config: temporalio.api.deployment.v1.message_pb2.RoutingConfig | None = ..., - latest_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., - current_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., - ramping_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary | None = ..., + routing_config: temporalio.api.deployment.v1.message_pb2.RoutingConfig + | None = ..., + latest_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary + | None = ..., + current_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary + | None = ..., + ramping_version_summary: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_version_summary", + b"current_version_summary", + "latest_version_summary", + b"latest_version_summary", + "ramping_version_summary", + b"ramping_version_summary", + "routing_config", + b"routing_config", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "create_time", + b"create_time", + "current_version_summary", + b"current_version_summary", + "latest_version_summary", + b"latest_version_summary", + "name", + b"name", + "ramping_version_summary", + b"ramping_version_summary", + "routing_config", + b"routing_config", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_version_summary", b"current_version_summary", "latest_version_summary", b"latest_version_summary", "ramping_version_summary", b"ramping_version_summary", "routing_config", b"routing_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "current_version_summary", b"current_version_summary", "latest_version_summary", b"latest_version_summary", "name", b"name", "ramping_version_summary", b"ramping_version_summary", "routing_config", b"routing_config"]) -> None: ... NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int WORKER_DEPLOYMENTS_FIELD_NUMBER: builtins.int next_page_token: builtins.bytes @property - def worker_deployments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary]: + def worker_deployments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + ]: """The list of worker deployments.""" def __init__( self, *, next_page_token: builtins.bytes = ..., - worker_deployments: collections.abc.Iterable[global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary] | None = ..., + worker_deployments: collections.abc.Iterable[ + global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", + b"next_page_token", + "worker_deployments", + b"worker_deployments", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "worker_deployments", b"worker_deployments"]) -> None: ... global___ListWorkerDeploymentsResponse = ListWorkerDeploymentsResponse @@ -5539,7 +8910,9 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" skip_drainage: builtins.bool """Pass to force deletion even if the Version is draining. In this case the open pinned @@ -5552,12 +8925,32 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., skip_drainage: builtins.bool = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "identity", b"identity", "namespace", b"namespace", "skip_drainage", b"skip_drainage", "version", b"version"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", + b"deployment_version", + "identity", + b"identity", + "namespace", + b"namespace", + "skip_drainage", + b"skip_drainage", + "version", + b"version", + ], + ) -> None: ... global___DeleteWorkerDeploymentVersionRequest = DeleteWorkerDeploymentVersionRequest @@ -5591,7 +8984,17 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): deployment_name: builtins.str = ..., identity: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "identity", b"identity", "namespace", b"namespace"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_name", + b"deployment_name", + "identity", + b"identity", + "namespace", + b"namespace", + ], + ) -> None: ... global___DeleteWorkerDeploymentRequest = DeleteWorkerDeploymentRequest @@ -5623,8 +9026,13 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int @@ -5636,12 +9044,20 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa version: builtins.str """Deprecated. Use `deployment_version`.""" @property - def deployment_version(self) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" @property - def upsert_entries(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... + def upsert_entries( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def remove_entries(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def remove_entries( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" identity: builtins.str """Optional. The identity of the client who initiated this request.""" @@ -5650,15 +9066,42 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa *, namespace: builtins.str = ..., version: builtins.str = ..., - deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., - upsert_entries: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + upsert_entries: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., remove_entries: collections.abc.Iterable[builtins.str] | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_version", b"deployment_version", "identity", b"identity", "namespace", b"namespace", "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries", "version", b"version"]) -> None: ... - -global___UpdateWorkerDeploymentVersionMetadataRequest = UpdateWorkerDeploymentVersionMetadataRequest + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_version", + b"deployment_version", + "identity", + b"identity", + "namespace", + b"namespace", + "remove_entries", + b"remove_entries", + "upsert_entries", + b"upsert_entries", + "version", + b"version", + ], + ) -> None: ... + +global___UpdateWorkerDeploymentVersionMetadataRequest = ( + UpdateWorkerDeploymentVersionMetadataRequest +) class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5672,10 +9115,16 @@ class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Mess *, metadata: temporalio.api.deployment.v1.message_pb2.VersionMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["metadata", b"metadata"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["metadata", b"metadata"] + ) -> None: ... -global___UpdateWorkerDeploymentVersionMetadataResponse = UpdateWorkerDeploymentVersionMetadataResponse +global___UpdateWorkerDeploymentVersionMetadataResponse = ( + UpdateWorkerDeploymentVersionMetadataResponse +) class GetCurrentDeploymentRequest(google.protobuf.message.Message): """Returns the Current Deployment of a deployment series. @@ -5694,7 +9143,12 @@ class GetCurrentDeploymentRequest(google.protobuf.message.Message): namespace: builtins.str = ..., series_name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "series_name", b"series_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "series_name", b"series_name" + ], + ) -> None: ... global___GetCurrentDeploymentRequest = GetCurrentDeploymentRequest @@ -5705,14 +9159,27 @@ class GetCurrentDeploymentResponse(google.protobuf.message.Message): CURRENT_DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int @property - def current_deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + def current_deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... def __init__( self, *, - current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., + current_deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_info", b"current_deployment_info" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "current_deployment_info", b"current_deployment_info" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["current_deployment_info", b"current_deployment_info"]) -> None: ... global___GetCurrentDeploymentResponse = GetCurrentDeploymentResponse @@ -5732,8 +9199,15 @@ class GetDeploymentReachabilityRequest(google.protobuf.message.Message): namespace: builtins.str = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "namespace", b"namespace"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["deployment", b"deployment"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment", b"deployment", "namespace", b"namespace" + ], + ) -> None: ... global___GetDeploymentReachabilityRequest = GetDeploymentReachabilityRequest @@ -5746,8 +9220,12 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): REACHABILITY_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int @property - def deployment_info(self) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... - reachability: temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType + def deployment_info( + self, + ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + reachability: ( + temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType + ) @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Reachability level might come from server cache. This timestamp specifies when the value @@ -5756,12 +9234,31 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): def __init__( self, *, - deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo | None = ..., + deployment_info: temporalio.api.deployment.v1.message_pb2.DeploymentInfo + | None = ..., reachability: temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info", "last_update_time", b"last_update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["deployment_info", b"deployment_info", "last_update_time", b"last_update_time", "reachability", b"reachability"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_info", + b"deployment_info", + "last_update_time", + b"last_update_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deployment_info", + b"deployment_info", + "last_update_time", + b"last_update_time", + "reachability", + b"reachability", + ], + ) -> None: ... global___GetDeploymentReachabilityResponse = GetDeploymentReachabilityResponse @@ -5799,8 +9296,26 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "force_scan", b"force_scan", "identity", b"identity", "namespace", b"namespace", "request_id", b"request_id", "spec", b"spec"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "description", + b"description", + "force_scan", + b"force_scan", + "identity", + b"identity", + "namespace", + b"namespace", + "request_id", + b"request_id", + "spec", + b"spec", + ], + ) -> None: ... global___CreateWorkflowRuleRequest = CreateWorkflowRuleRequest @@ -5820,8 +9335,13 @@ class CreateWorkflowRuleResponse(google.protobuf.message.Message): rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., job_id: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"], + ) -> None: ... global___CreateWorkflowRuleResponse = CreateWorkflowRuleResponse @@ -5839,7 +9359,12 @@ class DescribeWorkflowRuleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., rule_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "rule_id", b"rule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "rule_id", b"rule_id" + ], + ) -> None: ... global___DescribeWorkflowRuleRequest = DescribeWorkflowRuleRequest @@ -5855,8 +9380,12 @@ class DescribeWorkflowRuleResponse(google.protobuf.message.Message): *, rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["rule", b"rule"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> None: ... global___DescribeWorkflowRuleResponse = DescribeWorkflowRuleResponse @@ -5874,7 +9403,12 @@ class DeleteWorkflowRuleRequest(google.protobuf.message.Message): namespace: builtins.str = ..., rule_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "rule_id", b"rule_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "rule_id", b"rule_id" + ], + ) -> None: ... global___DeleteWorkflowRuleRequest = DeleteWorkflowRuleRequest @@ -5900,7 +9434,12 @@ class ListWorkflowRulesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "next_page_token", b"next_page_token" + ], + ) -> None: ... global___ListWorkflowRulesRequest = ListWorkflowRulesRequest @@ -5910,15 +9449,27 @@ class ListWorkflowRulesResponse(google.protobuf.message.Message): RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.rules.v1.message_pb2.WorkflowRule]: ... + def rules( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.rules.v1.message_pb2.WorkflowRule + ]: ... next_page_token: builtins.bytes def __init__( self, *, - rules: collections.abc.Iterable[temporalio.api.rules.v1.message_pb2.WorkflowRule] | None = ..., + rules: collections.abc.Iterable[ + temporalio.api.rules.v1.message_pb2.WorkflowRule + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "rules", b"rules"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "rules", b"rules" + ], + ) -> None: ... global___ListWorkflowRulesResponse = ListWorkflowRulesResponse @@ -5949,9 +9500,32 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., identity: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["execution", b"execution", "id", b"id", "identity", b"identity", "namespace", b"namespace", "rule", b"rule", "spec", b"spec"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["rule", b"rule"]) -> typing_extensions.Literal["id", "spec"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "execution", + b"execution", + "id", + b"id", + "identity", + b"identity", + "namespace", + b"namespace", + "rule", + b"rule", + "spec", + b"spec", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["rule", b"rule"] + ) -> typing_extensions.Literal["id", "spec"] | None: ... global___TriggerWorkflowRuleRequest = TriggerWorkflowRuleRequest @@ -5966,7 +9540,9 @@ class TriggerWorkflowRuleResponse(google.protobuf.message.Message): *, applied: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["applied", b"applied"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["applied", b"applied"] + ) -> None: ... global___TriggerWorkflowRuleResponse = TriggerWorkflowRuleResponse @@ -5981,15 +9557,32 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): identity: builtins.str """The identity of the client who initiated this request.""" @property - def worker_heartbeat(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat]: ... + def worker_heartbeat( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + ]: ... def __init__( self, *, namespace: builtins.str = ..., identity: builtins.str = ..., - worker_heartbeat: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerHeartbeat] | None = ..., + worker_heartbeat: collections.abc.Iterable[ + temporalio.api.worker.v1.message_pb2.WorkerHeartbeat + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "worker_heartbeat", + b"worker_heartbeat", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "worker_heartbeat", b"worker_heartbeat"]) -> None: ... global___RecordWorkerHeartbeatRequest = RecordWorkerHeartbeatRequest @@ -6036,7 +9629,19 @@ class ListWorkersRequest(google.protobuf.message.Message): next_page_token: builtins.bytes = ..., query: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "next_page_token", b"next_page_token", "page_size", b"page_size", "query", b"query"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "next_page_token", + b"next_page_token", + "page_size", + b"page_size", + "query", + b"query", + ], + ) -> None: ... global___ListWorkersRequest = ListWorkersRequest @@ -6046,16 +9651,28 @@ class ListWorkersResponse(google.protobuf.message.Message): WORKERS_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int @property - def workers_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.worker.v1.message_pb2.WorkerInfo]: ... + def workers_info( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.worker.v1.message_pb2.WorkerInfo + ]: ... next_page_token: builtins.bytes """Next page token""" def __init__( self, *, - workers_info: collections.abc.Iterable[temporalio.api.worker.v1.message_pb2.WorkerInfo] | None = ..., + workers_info: collections.abc.Iterable[ + temporalio.api.worker.v1.message_pb2.WorkerInfo + ] + | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "workers_info", b"workers_info"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "next_page_token", b"next_page_token", "workers_info", b"workers_info" + ], + ) -> None: ... global___ListWorkersResponse = ListWorkersResponse @@ -6078,8 +9695,15 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): rate_limit: temporalio.api.taskqueue.v1.message_pb2.RateLimit | None = ..., reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit", "reason", b"reason"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "rate_limit", b"rate_limit", "reason", b"reason" + ], + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int @@ -6093,14 +9717,18 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): """Selects the task queue to update.""" task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType @property - def update_queue_rate_limit(self) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + def update_queue_rate_limit( + self, + ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to queue-wide rate limit. If not set, this configuration is unchanged. NOTE: A limit set by the worker is overriden; and restored again when reset. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ @property - def update_fairness_key_rate_limit_default(self) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + def update_fairness_key_rate_limit_default( + self, + ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to the default fairness key rate limit. If not set, this configuration is unchanged. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. @@ -6112,11 +9740,37 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): identity: builtins.str = ..., task_queue: builtins.str = ..., task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., - update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., - update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., + update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate + | None = ..., + update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "update_fairness_key_rate_limit_default", + b"update_fairness_key_rate_limit_default", + "update_queue_rate_limit", + b"update_queue_rate_limit", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "task_queue", + b"task_queue", + "task_queue_type", + b"task_queue_type", + "update_fairness_key_rate_limit_default", + b"update_fairness_key_rate_limit_default", + "update_queue_rate_limit", + b"update_queue_rate_limit", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", b"update_queue_rate_limit"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "task_queue", b"task_queue", "task_queue_type", b"task_queue_type", "update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", b"update_queue_rate_limit"]) -> None: ... global___UpdateTaskQueueConfigRequest = UpdateTaskQueueConfigRequest @@ -6131,8 +9785,12 @@ class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): *, config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["config", b"config"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["config", b"config"] + ) -> None: ... global___UpdateTaskQueueConfigResponse = UpdateTaskQueueConfigResponse @@ -6162,8 +9820,22 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): reason: builtins.str = ..., selector: temporalio.api.common.v1.message_pb2.WorkerSelector | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["selector", b"selector"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "selector", b"selector"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["selector", b"selector"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "reason", + b"reason", + "selector", + b"selector", + ], + ) -> None: ... global___FetchWorkerConfigRequest = FetchWorkerConfigRequest @@ -6177,10 +9849,15 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): def __init__( self, *, - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["worker_config", b"worker_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["worker_config", b"worker_config"]) -> None: ... global___FetchWorkerConfigResponse = FetchWorkerConfigResponse @@ -6216,12 +9893,39 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): namespace: builtins.str = ..., identity: builtins.str = ..., reason: builtins.str = ..., - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig + | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., selector: temporalio.api.common.v1.message_pb2.WorkerSelector | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["selector", b"selector", "update_mask", b"update_mask", "worker_config", b"worker_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["identity", b"identity", "namespace", b"namespace", "reason", b"reason", "selector", b"selector", "update_mask", b"update_mask", "worker_config", b"worker_config"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "selector", + b"selector", + "update_mask", + b"update_mask", + "worker_config", + b"worker_config", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "identity", + b"identity", + "namespace", + b"namespace", + "reason", + b"reason", + "selector", + b"selector", + "update_mask", + b"update_mask", + "worker_config", + b"worker_config", + ], + ) -> None: ... global___UpdateWorkerConfigRequest = UpdateWorkerConfigRequest @@ -6235,10 +9939,23 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): def __init__( self, *, - worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig | None = ..., + worker_config: temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "response", b"response", "worker_config", b"worker_config" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "response", b"response", "worker_config", b"worker_config" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["response", b"response", "worker_config", b"worker_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["response", b"response", "worker_config", b"worker_config"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["worker_config"] | None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["worker_config"] | None: ... global___UpdateWorkerConfigResponse = UpdateWorkerConfigResponse diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py index 2daafffeb..bf947056a 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +import grpc diff --git a/temporalio/api/workflowservice/v1/service_pb2.py b/temporalio/api/workflowservice/v1/service_pb2.py index 6921b1df8..5cc1619ef 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.py +++ b/temporalio/api/workflowservice/v1/service_pb2.py @@ -2,173 +2,333 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/service.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from temporalio.api.workflowservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x8f\xbd\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xe6\x02\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/activities/heartbeat:\x01*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i\"+/namespaces/{namespace}/activities/complete:\x01*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02\x61\"\'/namespaces/{namespace}/activities/fail:\x01*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activities/cancel:\x01*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\x01\x82\xd3\xe4\x93\x02\xb7\x01\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/update-options:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/pause:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activities/unpause:\x01*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/reset:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_\"&/namespaces/{namespace}/workflow-rules:\x01*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/workers/heartbeat:\x01*Z5\"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*B\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x8f\xbd\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"w\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xe6\x02\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"q\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/activities/heartbeat:\x01*Z8"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"}\x82\xd3\xe4\x93\x02w"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"o\x82\xd3\xe4\x93\x02i"+/namespaces/{namespace}/activities/complete:\x01*Z7"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z="8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"g\x82\xd3\xe4\x93\x02\x61"\'/namespaces/{namespace}/activities/fail:\x01*Z3"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"s\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse"k\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activities/cancel:\x01*Z5"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse"w\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z["V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xbe\x01\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"q\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z="8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"{\x82\xd3\xe4\x93\x02u"1/namespaces/{namespace}/activities/update-options:\x01*Z="8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse"i\x82\xd3\xe4\x93\x02\x63"(/namespaces/{namespace}/activities/pause:\x01*Z4"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse"m\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activities/unpause:\x01*Z6"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse"i\x82\xd3\xe4\x93\x02\x63"(/namespaces/{namespace}/activities/reset:\x01*Z4"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse"e\x82\xd3\xe4\x93\x02_"&/namespaces/{namespace}/workflow-rules:\x01*Z2"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"k\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"q\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"s\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*B\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' +) - -_WORKFLOWSERVICE = DESCRIPTOR.services_by_name['WorkflowService'] +_WORKFLOWSERVICE = DESCRIPTOR.services_by_name["WorkflowService"] if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _WORKFLOWSERVICE.methods_by_name['RegisterNamespace']._options = None - _WORKFLOWSERVICE.methods_by_name['RegisterNamespace']._serialized_options = b'\202\323\344\223\0021\"\023/cluster/namespaces:\001*Z\027\"\022/api/v1/namespaces:\001*' - _WORKFLOWSERVICE.methods_by_name['DescribeNamespace']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeNamespace']._serialized_options = b'\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}' - _WORKFLOWSERVICE.methods_by_name['ListNamespaces']._options = None - _WORKFLOWSERVICE.methods_by_name['ListNamespaces']._serialized_options = b'\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces' - _WORKFLOWSERVICE.methods_by_name['UpdateNamespace']._options = None - _WORKFLOWSERVICE.methods_by_name['UpdateNamespace']._serialized_options = b'\202\323\344\223\002W\"&/cluster/namespaces/{namespace}/update:\001*Z*\"%/api/v1/namespaces/{namespace}/update:\001*' - _WORKFLOWSERVICE.methods_by_name['StartWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['StartWorkflowExecution']._serialized_options = b'\202\323\344\223\002q\"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' - _WORKFLOWSERVICE.methods_by_name['ExecuteMultiOperation']._options = None - _WORKFLOWSERVICE.methods_by_name['ExecuteMultiOperation']._serialized_options = b'\202\323\344\223\002\205\001\"9/namespaces/{namespace}/workflows/execute-multi-operation:\001*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\001*' - _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistory']._options = None - _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistory']._serialized_options = b'\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history' - _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistoryReverse']._options = None - _WORKFLOWSERVICE.methods_by_name['GetWorkflowExecutionHistoryReverse']._serialized_options = b'\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse' - _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeat']._options = None - _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeat']._serialized_options = b'\202\323\344\223\002k\",/namespaces/{namespace}/activities/heartbeat:\001*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\001*' - _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeatById']._options = None - _WORKFLOWSERVICE.methods_by_name['RecordActivityTaskHeartbeatById']._serialized_options = b'\202\323\344\223\002w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\001*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompleted']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompleted']._serialized_options = b'\202\323\344\223\002i\"+/namespaces/{namespace}/activities/complete:\001*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompletedById']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCompletedById']._serialized_options = b'\202\323\344\223\002u\"1/namespaces/{namespace}/activities/complete-by-id:\001*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailed']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailed']._serialized_options = b'\202\323\344\223\002a\"\'/namespaces/{namespace}/activities/fail:\001*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailedById']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskFailedById']._serialized_options = b'\202\323\344\223\002m\"-/namespaces/{namespace}/activities/fail-by-id:\001*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceled']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceled']._serialized_options = b'\202\323\344\223\002e\")/namespaces/{namespace}/activities/cancel:\001*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\001*' - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceledById']._options = None - _WORKFLOWSERVICE.methods_by_name['RespondActivityTaskCanceledById']._serialized_options = b'\202\323\344\223\002q\"//namespaces/{namespace}/activities/cancel-by-id:\001*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\001*' - _WORKFLOWSERVICE.methods_by_name['RequestCancelWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['RequestCancelWorkflowExecution']._serialized_options = b'\202\323\344\223\002\245\001\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*' - _WORKFLOWSERVICE.methods_by_name['SignalWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['SignalWorkflowExecution']._serialized_options = b'\202\323\344\223\002\301\001\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*' - _WORKFLOWSERVICE.methods_by_name['SignalWithStartWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['SignalWithStartWorkflowExecution']._serialized_options = b'\202\323\344\223\002\261\001\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*' - _WORKFLOWSERVICE.methods_by_name['ResetWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['ResetWorkflowExecution']._serialized_options = b'\202\323\344\223\002\243\001\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*' - _WORKFLOWSERVICE.methods_by_name['TerminateWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['TerminateWorkflowExecution']._serialized_options = b'\202\323\344\223\002\253\001\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*' - _WORKFLOWSERVICE.methods_by_name['ListWorkflowExecutions']._options = None - _WORKFLOWSERVICE.methods_by_name['ListWorkflowExecutions']._serialized_options = b'\202\323\344\223\002O\022!/namespaces/{namespace}/workflowsZ*\022(/api/v1/namespaces/{namespace}/workflows' - _WORKFLOWSERVICE.methods_by_name['ListArchivedWorkflowExecutions']._options = None - _WORKFLOWSERVICE.methods_by_name['ListArchivedWorkflowExecutions']._serialized_options = b'\202\323\344\223\002a\022*/namespaces/{namespace}/archived-workflowsZ3\0221/api/v1/namespaces/{namespace}/archived-workflows' - _WORKFLOWSERVICE.methods_by_name['CountWorkflowExecutions']._options = None - _WORKFLOWSERVICE.methods_by_name['CountWorkflowExecutions']._serialized_options = b'\202\323\344\223\002Y\022&/namespaces/{namespace}/workflow-countZ/\022-/api/v1/namespaces/{namespace}/workflow-count' - _WORKFLOWSERVICE.methods_by_name['QueryWorkflow']._options = None - _WORKFLOWSERVICE.methods_by_name['QueryWorkflow']._serialized_options = b'\202\323\344\223\002\267\001\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*' - _WORKFLOWSERVICE.methods_by_name['DescribeWorkflowExecution']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeWorkflowExecution']._serialized_options = b'\202\323\344\223\002\177\0229/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\022@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}' - _WORKFLOWSERVICE.methods_by_name['DescribeTaskQueue']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeTaskQueue']._serialized_options = b'\202\323\344\223\002w\0225/namespaces/{namespace}/task-queues/{task_queue.name}Z>\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times' - _WORKFLOWSERVICE.methods_by_name['DeleteSchedule']._options = None - _WORKFLOWSERVICE.methods_by_name['DeleteSchedule']._serialized_options = b'\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}' - _WORKFLOWSERVICE.methods_by_name['ListSchedules']._options = None - _WORKFLOWSERVICE.methods_by_name['ListSchedules']._serialized_options = b'\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules' - _WORKFLOWSERVICE.methods_by_name['GetWorkerBuildIdCompatibility']._options = None - _WORKFLOWSERVICE.methods_by_name['GetWorkerBuildIdCompatibility']._serialized_options = b'\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility' - _WORKFLOWSERVICE.methods_by_name['GetWorkerVersioningRules']._options = None - _WORKFLOWSERVICE.methods_by_name['GetWorkerVersioningRules']._serialized_options = b'\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules' - _WORKFLOWSERVICE.methods_by_name['GetWorkerTaskReachability']._options = None - _WORKFLOWSERVICE.methods_by_name['GetWorkerTaskReachability']._serialized_options = b'\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability' - _WORKFLOWSERVICE.methods_by_name['DescribeDeployment']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeDeployment']._serialized_options = b'\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}' - _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeploymentVersion']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeploymentVersion']._serialized_options = b'\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}' - _WORKFLOWSERVICE.methods_by_name['ListDeployments']._options = None - _WORKFLOWSERVICE.methods_by_name['ListDeployments']._serialized_options = b'\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments' - _WORKFLOWSERVICE.methods_by_name['GetDeploymentReachability']._options = None - _WORKFLOWSERVICE.methods_by_name['GetDeploymentReachability']._serialized_options = b'\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability' - _WORKFLOWSERVICE.methods_by_name['GetCurrentDeployment']._options = None - _WORKFLOWSERVICE.methods_by_name['GetCurrentDeployment']._serialized_options = b'\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}' - _WORKFLOWSERVICE.methods_by_name['SetCurrentDeployment']._options = None - _WORKFLOWSERVICE.methods_by_name['SetCurrentDeployment']._serialized_options = b'\202\323\344\223\002\231\001\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' - _WORKFLOWSERVICE.methods_by_name['SetWorkerDeploymentCurrentVersion']._options = None - _WORKFLOWSERVICE.methods_by_name['SetWorkerDeploymentCurrentVersion']._serialized_options = b'\202\323\344\223\002\263\001\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' - _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeployment']._options = None - _WORKFLOWSERVICE.methods_by_name['DescribeWorkerDeployment']._serialized_options = b'\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' - _WORKFLOWSERVICE.methods_by_name['FetchWorkerConfig']._options = None - _WORKFLOWSERVICE.methods_by_name['FetchWorkerConfig']._serialized_options = b'\202\323\344\223\002k\",/namespaces/{namespace}/workers/fetch-config:\001*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' - _WORKFLOWSERVICE.methods_by_name['UpdateWorkerConfig']._options = None - _WORKFLOWSERVICE.methods_by_name['UpdateWorkerConfig']._serialized_options = b'\202\323\344\223\002m\"-/namespaces/{namespace}/workers/update-config:\001*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' - _WORKFLOWSERVICE._serialized_start=170 - _WORKFLOWSERVICE._serialized_end=24377 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _WORKFLOWSERVICE.methods_by_name["RegisterNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RegisterNamespace" + ]._serialized_options = b'\202\323\344\223\0021"\023/cluster/namespaces:\001*Z\027"\022/api/v1/namespaces:\001*' + _WORKFLOWSERVICE.methods_by_name["DescribeNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeNamespace" + ]._serialized_options = b"\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}" + _WORKFLOWSERVICE.methods_by_name["ListNamespaces"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ListNamespaces" + ]._serialized_options = b"\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces" + _WORKFLOWSERVICE.methods_by_name["UpdateNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "UpdateNamespace" + ]._serialized_options = b'\202\323\344\223\002W"&/cluster/namespaces/{namespace}/update:\001*Z*"%/api/v1/namespaces/{namespace}/update:\001*' + _WORKFLOWSERVICE.methods_by_name["StartWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "StartWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' + _WORKFLOWSERVICE.methods_by_name["ExecuteMultiOperation"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ExecuteMultiOperation" + ]._serialized_options = b'\202\323\344\223\002\205\001"9/namespaces/{namespace}/workflows/execute-multi-operation:\001*ZE"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\001*' + _WORKFLOWSERVICE.methods_by_name["GetWorkflowExecutionHistory"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkflowExecutionHistory" + ]._serialized_options = b"\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history" + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkflowExecutionHistoryReverse" + ]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkflowExecutionHistoryReverse" + ]._serialized_options = b"\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse" + _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeat"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RecordActivityTaskHeartbeat" + ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/activities/heartbeat:\001*Z8"3/api/v1/namespaces/{namespace}/activities/heartbeat:\001*' + _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeatById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RecordActivityTaskHeartbeatById" + ]._serialized_options = b'\202\323\344\223\002w"2/namespaces/{namespace}/activities/heartbeat-by-id:\001*Z>"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompleted"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskCompleted" + ]._serialized_options = b'\202\323\344\223\002i"+/namespaces/{namespace}/activities/complete:\001*Z7"2/api/v1/namespaces/{namespace}/activities/complete:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompletedById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskCompletedById" + ]._serialized_options = b'\202\323\344\223\002u"1/namespaces/{namespace}/activities/complete-by-id:\001*Z="8/api/v1/namespaces/{namespace}/activities/complete-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailed"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskFailed" + ]._serialized_options = b'\202\323\344\223\002a"\'/namespaces/{namespace}/activities/fail:\001*Z3"./api/v1/namespaces/{namespace}/activities/fail:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailedById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskFailedById" + ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/activities/fail-by-id:\001*Z9"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCanceled"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskCanceled" + ]._serialized_options = b'\202\323\344\223\002e")/namespaces/{namespace}/activities/cancel:\001*Z5"0/api/v1/namespaces/{namespace}/activities/cancel:\001*' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCanceledById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RespondActivityTaskCanceledById" + ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/activities/cancel-by-id:\001*Z;"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\001*' + _WORKFLOWSERVICE.methods_by_name["RequestCancelWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "RequestCancelWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002\245\001"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*ZU"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\001*' + _WORKFLOWSERVICE.methods_by_name["SignalWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "SignalWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002\301\001"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\001*' + _WORKFLOWSERVICE.methods_by_name["SignalWithStartWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "SignalWithStartWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002\261\001"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*Z["V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\001*' + _WORKFLOWSERVICE.methods_by_name["ResetWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ResetWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002\243\001"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\001*' + _WORKFLOWSERVICE.methods_by_name["TerminateWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "TerminateWorkflowExecution" + ]._serialized_options = b'\202\323\344\223\002\253\001"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\001*' + _WORKFLOWSERVICE.methods_by_name["ListWorkflowExecutions"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ListWorkflowExecutions" + ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/workflowsZ*\022(/api/v1/namespaces/{namespace}/workflows" + _WORKFLOWSERVICE.methods_by_name["ListArchivedWorkflowExecutions"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ListArchivedWorkflowExecutions" + ]._serialized_options = b"\202\323\344\223\002a\022*/namespaces/{namespace}/archived-workflowsZ3\0221/api/v1/namespaces/{namespace}/archived-workflows" + _WORKFLOWSERVICE.methods_by_name["CountWorkflowExecutions"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "CountWorkflowExecutions" + ]._serialized_options = b"\202\323\344\223\002Y\022&/namespaces/{namespace}/workflow-countZ/\022-/api/v1/namespaces/{namespace}/workflow-count" + _WORKFLOWSERVICE.methods_by_name["QueryWorkflow"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "QueryWorkflow" + ]._serialized_options = b'\202\323\344\223\002\267\001"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\001*' + _WORKFLOWSERVICE.methods_by_name["DescribeWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeWorkflowExecution" + ]._serialized_options = b"\202\323\344\223\002\177\0229/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\022@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}" + _WORKFLOWSERVICE.methods_by_name["DescribeTaskQueue"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeTaskQueue" + ]._serialized_options = b"\202\323\344\223\002w\0225/namespaces/{namespace}/task-queues/{task_queue.name}Z>\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times" + _WORKFLOWSERVICE.methods_by_name["DeleteSchedule"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DeleteSchedule" + ]._serialized_options = b"\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}" + _WORKFLOWSERVICE.methods_by_name["ListSchedules"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ListSchedules" + ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules" + _WORKFLOWSERVICE.methods_by_name["GetWorkerBuildIdCompatibility"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkerBuildIdCompatibility" + ]._serialized_options = b"\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility" + _WORKFLOWSERVICE.methods_by_name["GetWorkerVersioningRules"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkerVersioningRules" + ]._serialized_options = b"\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules" + _WORKFLOWSERVICE.methods_by_name["GetWorkerTaskReachability"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetWorkerTaskReachability" + ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability" + _WORKFLOWSERVICE.methods_by_name["DescribeDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeDeployment" + ]._serialized_options = b"\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}" + _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeploymentVersion"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeWorkerDeploymentVersion" + ]._serialized_options = b"\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}" + _WORKFLOWSERVICE.methods_by_name["ListDeployments"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "ListDeployments" + ]._serialized_options = b"\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments" + _WORKFLOWSERVICE.methods_by_name["GetDeploymentReachability"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetDeploymentReachability" + ]._serialized_options = b"\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability" + _WORKFLOWSERVICE.methods_by_name["GetCurrentDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "GetCurrentDeployment" + ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}" + _WORKFLOWSERVICE.methods_by_name["SetCurrentDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "SetCurrentDeployment" + ]._serialized_options = b'\202\323\344\223\002\231\001"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' + _WORKFLOWSERVICE.methods_by_name[ + "SetWorkerDeploymentCurrentVersion" + ]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "SetWorkerDeploymentCurrentVersion" + ]._serialized_options = b'\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' + _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "DescribeWorkerDeployment" + ]._serialized_options = b"\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' + _WORKFLOWSERVICE.methods_by_name["FetchWorkerConfig"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "FetchWorkerConfig" + ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' + _WORKFLOWSERVICE.methods_by_name["UpdateWorkerConfig"]._options = None + _WORKFLOWSERVICE.methods_by_name[ + "UpdateWorkerConfig" + ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' + _WORKFLOWSERVICE._serialized_start = 170 + _WORKFLOWSERVICE._serialized_end = 24377 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/service_pb2.pyi b/temporalio/api/workflowservice/v1/service_pb2.pyi index e08fa11c2..dd854e288 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import google.protobuf.descriptor DESCRIPTOR: google.protobuf.descriptor.FileDescriptor diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.py b/temporalio/api/workflowservice/v1/service_pb2_grpc.py index f372e0a5e..770781e6d 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.py @@ -1,8 +1,11 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" + import grpc -from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 +from temporalio.api.workflowservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, +) class WorkflowServiceStub(object): @@ -26,465 +29,465 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterNamespace = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, + ) self.DescribeNamespace = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, + ) self.ListNamespaces = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, + ) self.UpdateNamespace = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, + ) self.DeprecateNamespace = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, + ) self.StartWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, + ) self.ExecuteMultiOperation = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, + ) self.GetWorkflowExecutionHistory = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, + ) self.GetWorkflowExecutionHistoryReverse = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, + ) self.PollWorkflowTaskQueue = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, + ) self.RespondWorkflowTaskCompleted = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, + ) self.RespondWorkflowTaskFailed = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, + ) self.PollActivityTaskQueue = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, + ) self.RecordActivityTaskHeartbeat = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, + ) self.RecordActivityTaskHeartbeatById = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, + ) self.RespondActivityTaskCompleted = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, + ) self.RespondActivityTaskCompletedById = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, + ) self.RespondActivityTaskFailed = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, + ) self.RespondActivityTaskFailedById = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, + ) self.RespondActivityTaskCanceled = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, + ) self.RespondActivityTaskCanceledById = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, + ) self.RequestCancelWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, + ) self.SignalWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, + ) self.SignalWithStartWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, + ) self.ResetWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, + ) self.TerminateWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, + ) self.DeleteWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, + ) self.ListOpenWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, + ) self.ListClosedWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, + ) self.ListWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, + ) self.ListArchivedWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, + ) self.ScanWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, + ) self.CountWorkflowExecutions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, + ) self.GetSearchAttributes = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, + ) self.RespondQueryTaskCompleted = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, + ) self.ResetStickyTaskQueue = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, + ) self.ShutdownWorker = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, + ) self.QueryWorkflow = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, + ) self.DescribeWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, + ) self.DescribeTaskQueue = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, + ) self.GetClusterInfo = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, + ) self.GetSystemInfo = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, + ) self.ListTaskQueuePartitions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, + ) self.CreateSchedule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, + ) self.DescribeSchedule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, + ) self.UpdateSchedule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, + ) self.PatchSchedule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, + ) self.ListScheduleMatchingTimes = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, + ) self.DeleteSchedule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, + ) self.ListSchedules = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListSchedules', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, + ) self.UpdateWorkerBuildIdCompatibility = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, + ) self.GetWorkerBuildIdCompatibility = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, + ) self.UpdateWorkerVersioningRules = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, + ) self.GetWorkerVersioningRules = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, + ) self.GetWorkerTaskReachability = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, + ) self.DescribeDeployment = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, + ) self.DescribeWorkerDeploymentVersion = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, + ) self.ListDeployments = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListDeployments', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, + ) self.GetDeploymentReachability = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, + ) self.GetCurrentDeployment = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, + ) self.SetCurrentDeployment = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, + ) self.SetWorkerDeploymentCurrentVersion = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, + ) self.DescribeWorkerDeployment = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, + ) self.DeleteWorkerDeployment = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, + ) self.DeleteWorkerDeploymentVersion = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, + ) self.SetWorkerDeploymentRampingVersion = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, + ) self.ListWorkerDeployments = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, + ) self.UpdateWorkerDeploymentVersionMetadata = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, + ) self.UpdateWorkflowExecution = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, + ) self.PollWorkflowExecutionUpdate = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, + ) self.StartBatchOperation = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, + ) self.StopBatchOperation = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, + ) self.DescribeBatchOperation = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, + ) self.ListBatchOperations = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, + ) self.PollNexusTaskQueue = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, + ) self.RespondNexusTaskCompleted = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, + ) self.RespondNexusTaskFailed = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, + ) self.UpdateActivityOptions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, + ) self.UpdateWorkflowExecutionOptions = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, + ) self.PauseActivity = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/PauseActivity', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, + ) self.UnpauseActivity = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, + ) self.ResetActivity = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ResetActivity', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, + ) self.CreateWorkflowRule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, + ) self.DescribeWorkflowRule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, + ) self.DeleteWorkflowRule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, + ) self.ListWorkflowRules = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, + ) self.TriggerWorkflowRule = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, + ) self.RecordWorkerHeartbeat = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, + ) self.ListWorkers = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/ListWorkers', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, + ) self.UpdateTaskQueueConfig = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, + ) self.FetchWorkerConfig = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, + ) self.UpdateWorkerConfig = channel.unary_unary( - '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig', - request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, - response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, - ) + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, + ) class WorkflowServiceServicer(object): @@ -510,30 +513,28 @@ def RegisterNamespace(self, request, context): namespace. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeNamespace(self, request, context): - """DescribeNamespace returns the information and configuration for a registered namespace. - """ + """DescribeNamespace returns the information and configuration for a registered namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListNamespaces(self, request, context): - """ListNamespaces returns the information and configuration for all namespaces. - """ + """ListNamespaces returns the information and configuration for all namespaces.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateNamespace(self, request, context): """UpdateNamespace is used to update the information and configuration of a registered namespace. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeprecateNamespace(self, request, context): """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. @@ -546,8 +547,8 @@ def DeprecateNamespace(self, request, context): aip.dev/not-precedent: Deprecated --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StartWorkflowExecution(self, request, context): """StartWorkflowExecution starts a new workflow execution. @@ -557,8 +558,8 @@ def StartWorkflowExecution(self, request, context): instance already exists with same workflow id. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExecuteMultiOperation(self, request, context): """ExecuteMultiOperation executes multiple operations within a single workflow. @@ -572,25 +573,25 @@ def ExecuteMultiOperation(self, request, context): NOTE: Experimental API. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetWorkflowExecutionHistory(self, request, context): """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with `NotFound` if the specified workflow execution is unknown to the service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetWorkflowExecutionHistoryReverse(self, request, context): - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PollWorkflowTaskQueue(self, request, context): """PollWorkflowTaskQueue is called by workers to make progress on workflows. @@ -604,8 +605,8 @@ def PollWorkflowTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondWorkflowTaskCompleted(self, request, context): """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks @@ -619,8 +620,8 @@ def RespondWorkflowTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondWorkflowTaskFailed(self, request, context): """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task @@ -637,8 +638,8 @@ def RespondWorkflowTaskFailed(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PollActivityTaskQueue(self, request, context): """PollActivityTaskQueue is called by workers to process activity tasks from a specific task @@ -658,8 +659,8 @@ def PollActivityTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RecordActivityTaskHeartbeat(self, request, context): """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. @@ -670,8 +671,8 @@ def RecordActivityTaskHeartbeat(self, request, context): such situations, in that event, the SDK should request cancellation of the activity. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RecordActivityTaskHeartbeatById(self, request, context): """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by @@ -681,8 +682,8 @@ def RecordActivityTaskHeartbeatById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskCompleted(self, request, context): """RespondActivityTaskCompleted is called by workers when they successfully complete an activity @@ -693,8 +694,8 @@ def RespondActivityTaskCompleted(self, request, context): no longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskCompletedById(self, request, context): """See `RecordActivityTaskCompleted`. This version allows clients to record completions by @@ -704,8 +705,8 @@ def RespondActivityTaskCompletedById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskFailed(self, request, context): """RespondActivityTaskFailed is called by workers when processing an activity task fails. @@ -715,8 +716,8 @@ def RespondActivityTaskFailed(self, request, context): longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskFailedById(self, request, context): """See `RecordActivityTaskFailed`. This version allows clients to record failures by @@ -726,8 +727,8 @@ def RespondActivityTaskFailedById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskCanceled(self, request, context): """RespondActivityTaskFailed is called by workers when processing an activity task fails. @@ -737,8 +738,8 @@ def RespondActivityTaskCanceled(self, request, context): no longer valid due to activity timeout, already being completed, or never having existed. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondActivityTaskCanceledById(self, request, context): """See `RecordActivityTaskCanceled`. This version allows clients to record failures by @@ -748,8 +749,8 @@ def RespondActivityTaskCanceledById(self, request, context): aip.dev/not-precedent: "By" is used to indicate request type. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RequestCancelWorkflowExecution(self, request, context): """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of @@ -760,8 +761,8 @@ def RequestCancelWorkflowExecution(self, request, context): workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SignalWorkflowExecution(self, request, context): """SignalWorkflowExecution is used to send a signal to a running workflow execution. @@ -770,8 +771,8 @@ def SignalWorkflowExecution(self, request, context): task being created for the execution. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SignalWithStartWorkflowExecution(self, request, context): """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if @@ -788,8 +789,8 @@ def SignalWithStartWorkflowExecution(self, request, context): aip.dev/not-precedent: "With" is used to indicate combined operation. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ResetWorkflowExecution(self, request, context): """ResetWorkflowExecution will reset an existing workflow execution to a specified @@ -798,8 +799,8 @@ def ResetWorkflowExecution(self, request, context): TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out? """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TerminateWorkflowExecution(self, request, context): """TerminateWorkflowExecution terminates an existing workflow execution by recording a @@ -807,8 +808,8 @@ def TerminateWorkflowExecution(self, request, context): execution instance. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteWorkflowExecution(self, request, context): """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when @@ -820,8 +821,8 @@ def DeleteWorkflowExecution(self, request, context): aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListOpenWorkflowExecutions(self, request, context): """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. @@ -830,8 +831,8 @@ def ListOpenWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListClosedWorkflowExecutions(self, request, context): """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. @@ -840,22 +841,20 @@ def ListClosedWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListWorkflowExecutions(self, request, context): - """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace. - """ + """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListArchivedWorkflowExecutions(self, request, context): - """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace. - """ + """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ScanWorkflowExecutions(self, request, context): """ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order. @@ -865,15 +864,14 @@ def ScanWorkflowExecutions(self, request, context): aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CountWorkflowExecutions(self, request, context): - """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace. - """ + """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetSearchAttributes(self, request, context): """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs @@ -882,8 +880,8 @@ def GetSearchAttributes(self, request, context): aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondQueryTaskCompleted(self, request, context): """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on @@ -896,8 +894,8 @@ def RespondQueryTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ResetStickyTaskQueue(self, request, context): """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of @@ -916,8 +914,8 @@ def ResetStickyTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ShutdownWorker(self, request, context): """ShutdownWorker is used to indicate that the given sticky task @@ -935,22 +933,20 @@ def ShutdownWorker(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def QueryWorkflow(self, request, context): - """QueryWorkflow requests a query be executed for a specified workflow execution. - """ + """QueryWorkflow requests a query be executed for a specified workflow execution.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeWorkflowExecution(self, request, context): - """DescribeWorkflowExecution returns information about the specified workflow execution. - """ + """DescribeWorkflowExecution returns information about the specified workflow execution.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeTaskQueue(self, request, context): """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: @@ -959,79 +955,70 @@ def DescribeTaskQueue(self, request, context): - Backlog info for Workflow and/or Activity tasks """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetClusterInfo(self, request, context): - """GetClusterInfo returns information about temporal cluster - """ + """GetClusterInfo returns information about temporal cluster""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetSystemInfo(self, request, context): - """GetSystemInfo returns information about the system. - """ + """GetSystemInfo returns information about the system.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListTaskQueuePartitions(self, request, context): """(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateSchedule(self, request, context): - """Creates a new schedule. - """ + """Creates a new schedule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeSchedule(self, request, context): - """Returns the schedule description and current state of an existing schedule. - """ + """Returns the schedule description and current state of an existing schedule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateSchedule(self, request, context): - """Changes the configuration or state of an existing schedule. - """ + """Changes the configuration or state of an existing schedule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PatchSchedule(self, request, context): - """Makes a specific change to a schedule or triggers an immediate action. - """ + """Makes a specific change to a schedule or triggers an immediate action.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListScheduleMatchingTimes(self, request, context): - """Lists matching times within a range. - """ + """Lists matching times within a range.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteSchedule(self, request, context): - """Deletes a schedule, removing it from the system. - """ + """Deletes a schedule, removing it from the system.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListSchedules(self, request, context): - """List all schedules in a namespace. - """ + """List all schedules in a namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkerBuildIdCompatibility(self, request, context): """Deprecated. Use `UpdateWorkerVersioningRules`. @@ -1042,7 +1029,7 @@ def UpdateWorkerBuildIdCompatibility(self, request, context): members are compatible with one another. A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. + multiple workers. To query which workers can be retired, use the `GetWorkerTaskReachability` API. @@ -1053,16 +1040,16 @@ def UpdateWorkerBuildIdCompatibility(self, request, context): aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetWorkerBuildIdCompatibility(self, request, context): """Deprecated. Use `GetWorkerVersioningRules`. Fetches the worker build id versioning sets for a task queue. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkerVersioningRules(self, request, context): """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of @@ -1091,16 +1078,16 @@ def UpdateWorkerVersioningRules(self, request, context): aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetWorkerVersioningRules(self, request, context): """Fetches the Build ID assignment and redirect rules for a Task Queue. WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetWorkerTaskReachability(self, request, context): """Deprecated. Use `DescribeTaskQueue`. @@ -1119,8 +1106,8 @@ def GetWorkerTaskReachability(self, request, context): `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeDeployment(self, request, context): """Describes a worker deployment. @@ -1128,16 +1115,16 @@ def DescribeDeployment(self, request, context): Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeWorkerDeploymentVersion(self, request, context): """Describes a worker deployment version. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListDeployments(self, request, context): """Lists worker deployments in the namespace. Optionally can filter based on deployment series @@ -1146,8 +1133,8 @@ def ListDeployments(self, request, context): Deprecated. Replaced with `ListWorkerDeployments`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetDeploymentReachability(self, request, context): """Returns the reachability level of a worker deployment to help users decide when it is time @@ -1160,8 +1147,8 @@ def GetDeploymentReachability(self, request, context): Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetCurrentDeployment(self, request, context): """Returns the current deployment (and its info) for a given deployment series. @@ -1169,8 +1156,8 @@ def GetCurrentDeployment(self, request, context): Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetCurrentDeployment(self, request, context): """Sets a deployment as the current deployment for its deployment series. Can optionally update @@ -1179,8 +1166,8 @@ def SetCurrentDeployment(self, request, context): Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetWorkerDeploymentCurrentVersion(self, request, context): """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping @@ -1188,16 +1175,16 @@ def SetWorkerDeploymentCurrentVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeWorkerDeployment(self, request, context): """Describes a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteWorkerDeployment(self, request, context): """Deletes records of (an old) Deployment. A deployment can only be deleted if @@ -1205,8 +1192,8 @@ def DeleteWorkerDeployment(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteWorkerDeploymentVersion(self, request, context): """Used for manual deletion of Versions. User can delete a Version only when all the @@ -1218,8 +1205,8 @@ def DeleteWorkerDeploymentVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetWorkerDeploymentRampingVersion(self, request, context): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for @@ -1227,31 +1214,30 @@ def SetWorkerDeploymentRampingVersion(self, request, context): Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListWorkerDeployments(self, request, context): """Lists all Worker Deployments that are tracked in the Namespace. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkerDeploymentVersionMetadata(self, request, context): """Updates the user-given metadata attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkflowExecution(self, request, context): - """Invokes the specified Update function on user Workflow code. - """ + """Invokes the specified Update function on user Workflow code.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PollWorkflowExecutionUpdate(self, request, context): """Polls a Workflow Execution for the outcome of a Workflow Update @@ -1263,36 +1249,32 @@ def PollWorkflowExecutionUpdate(self, request, context): aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StartBatchOperation(self, request, context): - """StartBatchOperation starts a new batch operation - """ + """StartBatchOperation starts a new batch operation""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StopBatchOperation(self, request, context): - """StopBatchOperation stops a batch operation - """ + """StopBatchOperation stops a batch operation""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeBatchOperation(self, request, context): - """DescribeBatchOperation returns the information about a batch operation - """ + """DescribeBatchOperation returns the information about a batch operation""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListBatchOperations(self, request, context): - """ListBatchOperations returns a list of batch operations - """ + """ListBatchOperations returns a list of batch operations""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PollNexusTaskQueue(self, request, context): """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. @@ -1300,8 +1282,8 @@ def PollNexusTaskQueue(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondNexusTaskCompleted(self, request, context): """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. @@ -1309,8 +1291,8 @@ def RespondNexusTaskCompleted(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RespondNexusTaskFailed(self, request, context): """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. @@ -1318,23 +1300,22 @@ def RespondNexusTaskFailed(self, request, context): aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateActivityOptions(self, request, context): """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. If there are multiple pending activities of the provided type - all of them will be updated. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkflowExecutionOptions(self, request, context): - """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution. - """ + """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PauseActivity(self, request, context): """PauseActivity pauses the execution of an activity specified by its ID or type. @@ -1355,8 +1336,8 @@ def PauseActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnpauseActivity(self, request, context): """UnpauseActivity unpauses the execution of an activity specified by its ID or type. @@ -1374,8 +1355,8 @@ def UnpauseActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ResetActivity(self, request, context): """ResetActivity resets the execution of an activity specified by its ID or type. @@ -1397,8 +1378,8 @@ def ResetActivity(self, request, context): Returns a `NotFound` error if there is no pending activity with the provided ID or type. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateWorkflowRule(self, request, context): """Create a new workflow rule. The rules are used to control the workflow execution. @@ -1408,30 +1389,28 @@ def CreateWorkflowRule(self, request, context): Namespace config is eventually consistent. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DescribeWorkflowRule(self, request, context): """DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteWorkflowRule(self, request, context): - """Delete rule by rule id - """ + """Delete rule by rule id""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListWorkflowRules(self, request, context): - """Return all namespace workflow rules - """ + """Return all namespace workflow rules""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TriggerWorkflowRule(self, request, context): """TriggerWorkflowRule allows to: @@ -1440,22 +1419,20 @@ def TriggerWorkflowRule(self, request, context): This is useful for one-off operations. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RecordWorkerHeartbeat(self, request, context): - """WorkerHeartbeat receive heartbeat request from the worker. - """ + """WorkerHeartbeat receive heartbeat request from the worker.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListWorkers(self, request, context): - """ListWorkers is a visibility API to list worker status information in a specific namespace. - """ + """ListWorkers is a visibility API to list worker status information in a specific namespace.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateTaskQueueConfig(self, request, context): """Updates task queue configuration. @@ -1464,15 +1441,14 @@ def UpdateTaskQueueConfig(self, request, context): If the overall queue rate limit is unset, the worker-set rate limit takes effect. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def FetchWorkerConfig(self, request, context): - """FetchWorkerConfig returns the worker configuration for a specific worker. - """ + """FetchWorkerConfig returns the worker configuration for a specific worker.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateWorkerConfig(self, request, context): """UpdateWorkerConfig updates the worker configuration of one or more workers. @@ -1480,479 +1456,480 @@ def UpdateWorkerConfig(self, request, context): Can be used to update the configuration of multiple workers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_WorkflowServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'RegisterNamespace': grpc.unary_unary_rpc_method_handler( - servicer.RegisterNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.SerializeToString, - ), - 'DescribeNamespace': grpc.unary_unary_rpc_method_handler( - servicer.DescribeNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.SerializeToString, - ), - 'ListNamespaces': grpc.unary_unary_rpc_method_handler( - servicer.ListNamespaces, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.SerializeToString, - ), - 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.SerializeToString, - ), - 'DeprecateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.DeprecateNamespace, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.SerializeToString, - ), - 'StartWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.StartWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.SerializeToString, - ), - 'ExecuteMultiOperation': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteMultiOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.SerializeToString, - ), - 'GetWorkflowExecutionHistory': grpc.unary_unary_rpc_method_handler( - servicer.GetWorkflowExecutionHistory, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.SerializeToString, - ), - 'GetWorkflowExecutionHistoryReverse': grpc.unary_unary_rpc_method_handler( - servicer.GetWorkflowExecutionHistoryReverse, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.SerializeToString, - ), - 'PollWorkflowTaskQueue': grpc.unary_unary_rpc_method_handler( - servicer.PollWorkflowTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.SerializeToString, - ), - 'RespondWorkflowTaskCompleted': grpc.unary_unary_rpc_method_handler( - servicer.RespondWorkflowTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.SerializeToString, - ), - 'RespondWorkflowTaskFailed': grpc.unary_unary_rpc_method_handler( - servicer.RespondWorkflowTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.SerializeToString, - ), - 'PollActivityTaskQueue': grpc.unary_unary_rpc_method_handler( - servicer.PollActivityTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.SerializeToString, - ), - 'RecordActivityTaskHeartbeat': grpc.unary_unary_rpc_method_handler( - servicer.RecordActivityTaskHeartbeat, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.SerializeToString, - ), - 'RecordActivityTaskHeartbeatById': grpc.unary_unary_rpc_method_handler( - servicer.RecordActivityTaskHeartbeatById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.SerializeToString, - ), - 'RespondActivityTaskCompleted': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.SerializeToString, - ), - 'RespondActivityTaskCompletedById': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCompletedById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.SerializeToString, - ), - 'RespondActivityTaskFailed': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.SerializeToString, - ), - 'RespondActivityTaskFailedById': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskFailedById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.SerializeToString, - ), - 'RespondActivityTaskCanceled': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCanceled, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.SerializeToString, - ), - 'RespondActivityTaskCanceledById': grpc.unary_unary_rpc_method_handler( - servicer.RespondActivityTaskCanceledById, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.SerializeToString, - ), - 'RequestCancelWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.RequestCancelWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.SerializeToString, - ), - 'SignalWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.SignalWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.SerializeToString, - ), - 'SignalWithStartWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.SignalWithStartWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.SerializeToString, - ), - 'ResetWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.ResetWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.SerializeToString, - ), - 'TerminateWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.TerminateWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.SerializeToString, - ), - 'DeleteWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.SerializeToString, - ), - 'ListOpenWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.ListOpenWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.SerializeToString, - ), - 'ListClosedWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.ListClosedWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.SerializeToString, - ), - 'ListWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.ListWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.SerializeToString, - ), - 'ListArchivedWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.ListArchivedWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.SerializeToString, - ), - 'ScanWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.ScanWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.SerializeToString, - ), - 'CountWorkflowExecutions': grpc.unary_unary_rpc_method_handler( - servicer.CountWorkflowExecutions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.SerializeToString, - ), - 'GetSearchAttributes': grpc.unary_unary_rpc_method_handler( - servicer.GetSearchAttributes, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.SerializeToString, - ), - 'RespondQueryTaskCompleted': grpc.unary_unary_rpc_method_handler( - servicer.RespondQueryTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.SerializeToString, - ), - 'ResetStickyTaskQueue': grpc.unary_unary_rpc_method_handler( - servicer.ResetStickyTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.SerializeToString, - ), - 'ShutdownWorker': grpc.unary_unary_rpc_method_handler( - servicer.ShutdownWorker, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.SerializeToString, - ), - 'QueryWorkflow': grpc.unary_unary_rpc_method_handler( - servicer.QueryWorkflow, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.SerializeToString, - ), - 'DescribeWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.SerializeToString, - ), - 'DescribeTaskQueue': grpc.unary_unary_rpc_method_handler( - servicer.DescribeTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.SerializeToString, - ), - 'GetClusterInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetClusterInfo, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.SerializeToString, - ), - 'GetSystemInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetSystemInfo, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.SerializeToString, - ), - 'ListTaskQueuePartitions': grpc.unary_unary_rpc_method_handler( - servicer.ListTaskQueuePartitions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.SerializeToString, - ), - 'CreateSchedule': grpc.unary_unary_rpc_method_handler( - servicer.CreateSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.SerializeToString, - ), - 'DescribeSchedule': grpc.unary_unary_rpc_method_handler( - servicer.DescribeSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.SerializeToString, - ), - 'UpdateSchedule': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.SerializeToString, - ), - 'PatchSchedule': grpc.unary_unary_rpc_method_handler( - servicer.PatchSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.SerializeToString, - ), - 'ListScheduleMatchingTimes': grpc.unary_unary_rpc_method_handler( - servicer.ListScheduleMatchingTimes, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.SerializeToString, - ), - 'DeleteSchedule': grpc.unary_unary_rpc_method_handler( - servicer.DeleteSchedule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.SerializeToString, - ), - 'ListSchedules': grpc.unary_unary_rpc_method_handler( - servicer.ListSchedules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.SerializeToString, - ), - 'UpdateWorkerBuildIdCompatibility': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerBuildIdCompatibility, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.SerializeToString, - ), - 'GetWorkerBuildIdCompatibility': grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerBuildIdCompatibility, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.SerializeToString, - ), - 'UpdateWorkerVersioningRules': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerVersioningRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.SerializeToString, - ), - 'GetWorkerVersioningRules': grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerVersioningRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.SerializeToString, - ), - 'GetWorkerTaskReachability': grpc.unary_unary_rpc_method_handler( - servicer.GetWorkerTaskReachability, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.SerializeToString, - ), - 'DescribeDeployment': grpc.unary_unary_rpc_method_handler( - servicer.DescribeDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.SerializeToString, - ), - 'DescribeWorkerDeploymentVersion': grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkerDeploymentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.SerializeToString, - ), - 'ListDeployments': grpc.unary_unary_rpc_method_handler( - servicer.ListDeployments, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.SerializeToString, - ), - 'GetDeploymentReachability': grpc.unary_unary_rpc_method_handler( - servicer.GetDeploymentReachability, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.SerializeToString, - ), - 'GetCurrentDeployment': grpc.unary_unary_rpc_method_handler( - servicer.GetCurrentDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.SerializeToString, - ), - 'SetCurrentDeployment': grpc.unary_unary_rpc_method_handler( - servicer.SetCurrentDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.SerializeToString, - ), - 'SetWorkerDeploymentCurrentVersion': grpc.unary_unary_rpc_method_handler( - servicer.SetWorkerDeploymentCurrentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.SerializeToString, - ), - 'DescribeWorkerDeployment': grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkerDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.SerializeToString, - ), - 'DeleteWorkerDeployment': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkerDeployment, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.SerializeToString, - ), - 'DeleteWorkerDeploymentVersion': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkerDeploymentVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.SerializeToString, - ), - 'SetWorkerDeploymentRampingVersion': grpc.unary_unary_rpc_method_handler( - servicer.SetWorkerDeploymentRampingVersion, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.SerializeToString, - ), - 'ListWorkerDeployments': grpc.unary_unary_rpc_method_handler( - servicer.ListWorkerDeployments, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.SerializeToString, - ), - 'UpdateWorkerDeploymentVersionMetadata': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerDeploymentVersionMetadata, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.SerializeToString, - ), - 'UpdateWorkflowExecution': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkflowExecution, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.SerializeToString, - ), - 'PollWorkflowExecutionUpdate': grpc.unary_unary_rpc_method_handler( - servicer.PollWorkflowExecutionUpdate, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.SerializeToString, - ), - 'StartBatchOperation': grpc.unary_unary_rpc_method_handler( - servicer.StartBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.SerializeToString, - ), - 'StopBatchOperation': grpc.unary_unary_rpc_method_handler( - servicer.StopBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.SerializeToString, - ), - 'DescribeBatchOperation': grpc.unary_unary_rpc_method_handler( - servicer.DescribeBatchOperation, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.SerializeToString, - ), - 'ListBatchOperations': grpc.unary_unary_rpc_method_handler( - servicer.ListBatchOperations, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.SerializeToString, - ), - 'PollNexusTaskQueue': grpc.unary_unary_rpc_method_handler( - servicer.PollNexusTaskQueue, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.SerializeToString, - ), - 'RespondNexusTaskCompleted': grpc.unary_unary_rpc_method_handler( - servicer.RespondNexusTaskCompleted, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.SerializeToString, - ), - 'RespondNexusTaskFailed': grpc.unary_unary_rpc_method_handler( - servicer.RespondNexusTaskFailed, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.SerializeToString, - ), - 'UpdateActivityOptions': grpc.unary_unary_rpc_method_handler( - servicer.UpdateActivityOptions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.SerializeToString, - ), - 'UpdateWorkflowExecutionOptions': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkflowExecutionOptions, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.SerializeToString, - ), - 'PauseActivity': grpc.unary_unary_rpc_method_handler( - servicer.PauseActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.SerializeToString, - ), - 'UnpauseActivity': grpc.unary_unary_rpc_method_handler( - servicer.UnpauseActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.SerializeToString, - ), - 'ResetActivity': grpc.unary_unary_rpc_method_handler( - servicer.ResetActivity, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.SerializeToString, - ), - 'CreateWorkflowRule': grpc.unary_unary_rpc_method_handler( - servicer.CreateWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.SerializeToString, - ), - 'DescribeWorkflowRule': grpc.unary_unary_rpc_method_handler( - servicer.DescribeWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.SerializeToString, - ), - 'DeleteWorkflowRule': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.SerializeToString, - ), - 'ListWorkflowRules': grpc.unary_unary_rpc_method_handler( - servicer.ListWorkflowRules, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.SerializeToString, - ), - 'TriggerWorkflowRule': grpc.unary_unary_rpc_method_handler( - servicer.TriggerWorkflowRule, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.SerializeToString, - ), - 'RecordWorkerHeartbeat': grpc.unary_unary_rpc_method_handler( - servicer.RecordWorkerHeartbeat, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.SerializeToString, - ), - 'ListWorkers': grpc.unary_unary_rpc_method_handler( - servicer.ListWorkers, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.SerializeToString, - ), - 'UpdateTaskQueueConfig': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskQueueConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.SerializeToString, - ), - 'FetchWorkerConfig': grpc.unary_unary_rpc_method_handler( - servicer.FetchWorkerConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.SerializeToString, - ), - 'UpdateWorkerConfig': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWorkerConfig, - request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.FromString, - response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.SerializeToString, - ), + "RegisterNamespace": grpc.unary_unary_rpc_method_handler( + servicer.RegisterNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.SerializeToString, + ), + "DescribeNamespace": grpc.unary_unary_rpc_method_handler( + servicer.DescribeNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.SerializeToString, + ), + "ListNamespaces": grpc.unary_unary_rpc_method_handler( + servicer.ListNamespaces, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.SerializeToString, + ), + "UpdateNamespace": grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.SerializeToString, + ), + "DeprecateNamespace": grpc.unary_unary_rpc_method_handler( + servicer.DeprecateNamespace, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.SerializeToString, + ), + "StartWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.StartWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.SerializeToString, + ), + "ExecuteMultiOperation": grpc.unary_unary_rpc_method_handler( + servicer.ExecuteMultiOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.SerializeToString, + ), + "GetWorkflowExecutionHistory": grpc.unary_unary_rpc_method_handler( + servicer.GetWorkflowExecutionHistory, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.SerializeToString, + ), + "GetWorkflowExecutionHistoryReverse": grpc.unary_unary_rpc_method_handler( + servicer.GetWorkflowExecutionHistoryReverse, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.SerializeToString, + ), + "PollWorkflowTaskQueue": grpc.unary_unary_rpc_method_handler( + servicer.PollWorkflowTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.SerializeToString, + ), + "RespondWorkflowTaskCompleted": grpc.unary_unary_rpc_method_handler( + servicer.RespondWorkflowTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.SerializeToString, + ), + "RespondWorkflowTaskFailed": grpc.unary_unary_rpc_method_handler( + servicer.RespondWorkflowTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.SerializeToString, + ), + "PollActivityTaskQueue": grpc.unary_unary_rpc_method_handler( + servicer.PollActivityTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.SerializeToString, + ), + "RecordActivityTaskHeartbeat": grpc.unary_unary_rpc_method_handler( + servicer.RecordActivityTaskHeartbeat, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.SerializeToString, + ), + "RecordActivityTaskHeartbeatById": grpc.unary_unary_rpc_method_handler( + servicer.RecordActivityTaskHeartbeatById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.SerializeToString, + ), + "RespondActivityTaskCompleted": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.SerializeToString, + ), + "RespondActivityTaskCompletedById": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCompletedById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.SerializeToString, + ), + "RespondActivityTaskFailed": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.SerializeToString, + ), + "RespondActivityTaskFailedById": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskFailedById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.SerializeToString, + ), + "RespondActivityTaskCanceled": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCanceled, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.SerializeToString, + ), + "RespondActivityTaskCanceledById": grpc.unary_unary_rpc_method_handler( + servicer.RespondActivityTaskCanceledById, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.SerializeToString, + ), + "RequestCancelWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.RequestCancelWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.SerializeToString, + ), + "SignalWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.SignalWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.SerializeToString, + ), + "SignalWithStartWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.SignalWithStartWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.SerializeToString, + ), + "ResetWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.ResetWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.SerializeToString, + ), + "TerminateWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.TerminateWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.SerializeToString, + ), + "DeleteWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.SerializeToString, + ), + "ListOpenWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.ListOpenWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.SerializeToString, + ), + "ListClosedWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.ListClosedWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.SerializeToString, + ), + "ListWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.ListWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.SerializeToString, + ), + "ListArchivedWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.ListArchivedWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.SerializeToString, + ), + "ScanWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.ScanWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.SerializeToString, + ), + "CountWorkflowExecutions": grpc.unary_unary_rpc_method_handler( + servicer.CountWorkflowExecutions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.SerializeToString, + ), + "GetSearchAttributes": grpc.unary_unary_rpc_method_handler( + servicer.GetSearchAttributes, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.SerializeToString, + ), + "RespondQueryTaskCompleted": grpc.unary_unary_rpc_method_handler( + servicer.RespondQueryTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.SerializeToString, + ), + "ResetStickyTaskQueue": grpc.unary_unary_rpc_method_handler( + servicer.ResetStickyTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.SerializeToString, + ), + "ShutdownWorker": grpc.unary_unary_rpc_method_handler( + servicer.ShutdownWorker, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.SerializeToString, + ), + "QueryWorkflow": grpc.unary_unary_rpc_method_handler( + servicer.QueryWorkflow, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.SerializeToString, + ), + "DescribeWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.SerializeToString, + ), + "DescribeTaskQueue": grpc.unary_unary_rpc_method_handler( + servicer.DescribeTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.SerializeToString, + ), + "GetClusterInfo": grpc.unary_unary_rpc_method_handler( + servicer.GetClusterInfo, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.SerializeToString, + ), + "GetSystemInfo": grpc.unary_unary_rpc_method_handler( + servicer.GetSystemInfo, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.SerializeToString, + ), + "ListTaskQueuePartitions": grpc.unary_unary_rpc_method_handler( + servicer.ListTaskQueuePartitions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.SerializeToString, + ), + "CreateSchedule": grpc.unary_unary_rpc_method_handler( + servicer.CreateSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.SerializeToString, + ), + "DescribeSchedule": grpc.unary_unary_rpc_method_handler( + servicer.DescribeSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.SerializeToString, + ), + "UpdateSchedule": grpc.unary_unary_rpc_method_handler( + servicer.UpdateSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.SerializeToString, + ), + "PatchSchedule": grpc.unary_unary_rpc_method_handler( + servicer.PatchSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.SerializeToString, + ), + "ListScheduleMatchingTimes": grpc.unary_unary_rpc_method_handler( + servicer.ListScheduleMatchingTimes, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.SerializeToString, + ), + "DeleteSchedule": grpc.unary_unary_rpc_method_handler( + servicer.DeleteSchedule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.SerializeToString, + ), + "ListSchedules": grpc.unary_unary_rpc_method_handler( + servicer.ListSchedules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.SerializeToString, + ), + "UpdateWorkerBuildIdCompatibility": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerBuildIdCompatibility, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.SerializeToString, + ), + "GetWorkerBuildIdCompatibility": grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerBuildIdCompatibility, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.SerializeToString, + ), + "UpdateWorkerVersioningRules": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerVersioningRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.SerializeToString, + ), + "GetWorkerVersioningRules": grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerVersioningRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.SerializeToString, + ), + "GetWorkerTaskReachability": grpc.unary_unary_rpc_method_handler( + servicer.GetWorkerTaskReachability, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.SerializeToString, + ), + "DescribeDeployment": grpc.unary_unary_rpc_method_handler( + servicer.DescribeDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.SerializeToString, + ), + "DescribeWorkerDeploymentVersion": grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkerDeploymentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.SerializeToString, + ), + "ListDeployments": grpc.unary_unary_rpc_method_handler( + servicer.ListDeployments, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.SerializeToString, + ), + "GetDeploymentReachability": grpc.unary_unary_rpc_method_handler( + servicer.GetDeploymentReachability, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.SerializeToString, + ), + "GetCurrentDeployment": grpc.unary_unary_rpc_method_handler( + servicer.GetCurrentDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.SerializeToString, + ), + "SetCurrentDeployment": grpc.unary_unary_rpc_method_handler( + servicer.SetCurrentDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.SerializeToString, + ), + "SetWorkerDeploymentCurrentVersion": grpc.unary_unary_rpc_method_handler( + servicer.SetWorkerDeploymentCurrentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.SerializeToString, + ), + "DescribeWorkerDeployment": grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkerDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.SerializeToString, + ), + "DeleteWorkerDeployment": grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkerDeployment, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.SerializeToString, + ), + "DeleteWorkerDeploymentVersion": grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkerDeploymentVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.SerializeToString, + ), + "SetWorkerDeploymentRampingVersion": grpc.unary_unary_rpc_method_handler( + servicer.SetWorkerDeploymentRampingVersion, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.SerializeToString, + ), + "ListWorkerDeployments": grpc.unary_unary_rpc_method_handler( + servicer.ListWorkerDeployments, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.SerializeToString, + ), + "UpdateWorkerDeploymentVersionMetadata": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerDeploymentVersionMetadata, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.SerializeToString, + ), + "UpdateWorkflowExecution": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkflowExecution, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.SerializeToString, + ), + "PollWorkflowExecutionUpdate": grpc.unary_unary_rpc_method_handler( + servicer.PollWorkflowExecutionUpdate, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.SerializeToString, + ), + "StartBatchOperation": grpc.unary_unary_rpc_method_handler( + servicer.StartBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.SerializeToString, + ), + "StopBatchOperation": grpc.unary_unary_rpc_method_handler( + servicer.StopBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.SerializeToString, + ), + "DescribeBatchOperation": grpc.unary_unary_rpc_method_handler( + servicer.DescribeBatchOperation, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.SerializeToString, + ), + "ListBatchOperations": grpc.unary_unary_rpc_method_handler( + servicer.ListBatchOperations, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.SerializeToString, + ), + "PollNexusTaskQueue": grpc.unary_unary_rpc_method_handler( + servicer.PollNexusTaskQueue, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.SerializeToString, + ), + "RespondNexusTaskCompleted": grpc.unary_unary_rpc_method_handler( + servicer.RespondNexusTaskCompleted, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.SerializeToString, + ), + "RespondNexusTaskFailed": grpc.unary_unary_rpc_method_handler( + servicer.RespondNexusTaskFailed, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.SerializeToString, + ), + "UpdateActivityOptions": grpc.unary_unary_rpc_method_handler( + servicer.UpdateActivityOptions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.SerializeToString, + ), + "UpdateWorkflowExecutionOptions": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkflowExecutionOptions, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.SerializeToString, + ), + "PauseActivity": grpc.unary_unary_rpc_method_handler( + servicer.PauseActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.SerializeToString, + ), + "UnpauseActivity": grpc.unary_unary_rpc_method_handler( + servicer.UnpauseActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.SerializeToString, + ), + "ResetActivity": grpc.unary_unary_rpc_method_handler( + servicer.ResetActivity, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.SerializeToString, + ), + "CreateWorkflowRule": grpc.unary_unary_rpc_method_handler( + servicer.CreateWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.SerializeToString, + ), + "DescribeWorkflowRule": grpc.unary_unary_rpc_method_handler( + servicer.DescribeWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.SerializeToString, + ), + "DeleteWorkflowRule": grpc.unary_unary_rpc_method_handler( + servicer.DeleteWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.SerializeToString, + ), + "ListWorkflowRules": grpc.unary_unary_rpc_method_handler( + servicer.ListWorkflowRules, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.SerializeToString, + ), + "TriggerWorkflowRule": grpc.unary_unary_rpc_method_handler( + servicer.TriggerWorkflowRule, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.SerializeToString, + ), + "RecordWorkerHeartbeat": grpc.unary_unary_rpc_method_handler( + servicer.RecordWorkerHeartbeat, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.SerializeToString, + ), + "ListWorkers": grpc.unary_unary_rpc_method_handler( + servicer.ListWorkers, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.SerializeToString, + ), + "UpdateTaskQueueConfig": grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskQueueConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.SerializeToString, + ), + "FetchWorkerConfig": grpc.unary_unary_rpc_method_handler( + servicer.FetchWorkerConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.SerializeToString, + ), + "UpdateWorkerConfig": grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkerConfig, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'temporal.api.workflowservice.v1.WorkflowService', rpc_method_handlers) + "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class WorkflowService(object): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -1968,1565 +1945,2669 @@ class WorkflowService(object): """ @staticmethod - def RegisterNamespace(request, + def RegisterNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace', + "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeNamespace(request, + def DescribeNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListNamespaces(request, + def ListNamespaces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces', + "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateNamespace(request, + def UpdateNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeprecateNamespace(request, + def DeprecateNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace', + "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def StartWorkflowExecution(request, + def StartWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ExecuteMultiOperation(request, + def ExecuteMultiOperation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation', + "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetWorkflowExecutionHistory(request, + def GetWorkflowExecutionHistory( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory', + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetWorkflowExecutionHistoryReverse(request, + def GetWorkflowExecutionHistoryReverse( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse', + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PollWorkflowTaskQueue(request, + def PollWorkflowTaskQueue( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue', + "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondWorkflowTaskCompleted(request, + def RespondWorkflowTaskCompleted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted', + "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondWorkflowTaskFailed(request, + def RespondWorkflowTaskFailed( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed', + "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PollActivityTaskQueue(request, + def PollActivityTaskQueue( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue', + "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RecordActivityTaskHeartbeat(request, + def RecordActivityTaskHeartbeat( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat', + "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RecordActivityTaskHeartbeatById(request, + def RecordActivityTaskHeartbeatById( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById', + "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskCompleted(request, + def RespondActivityTaskCompleted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskCompletedById(request, + def RespondActivityTaskCompletedById( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskFailed(request, + def RespondActivityTaskFailed( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskFailedById(request, + def RespondActivityTaskFailedById( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskCanceled(request, + def RespondActivityTaskCanceled( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondActivityTaskCanceledById(request, + def RespondActivityTaskCanceledById( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById', + "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RequestCancelWorkflowExecution(request, + def RequestCancelWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SignalWorkflowExecution(request, + def SignalWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SignalWithStartWorkflowExecution(request, + def SignalWithStartWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ResetWorkflowExecution(request, + def ResetWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def TerminateWorkflowExecution(request, + def TerminateWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteWorkflowExecution(request, + def DeleteWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListOpenWorkflowExecutions(request, + def ListOpenWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListClosedWorkflowExecutions(request, + def ListClosedWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListWorkflowExecutions(request, + def ListWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListArchivedWorkflowExecutions(request, + def ListArchivedWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ScanWorkflowExecutions(request, + def ScanWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def CountWorkflowExecutions(request, + def CountWorkflowExecutions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions', + "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetSearchAttributes(request, + def GetSearchAttributes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes', + "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondQueryTaskCompleted(request, + def RespondQueryTaskCompleted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted', + "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ResetStickyTaskQueue(request, + def ResetStickyTaskQueue( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue', + "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ShutdownWorker(request, + def ShutdownWorker( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker', + "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def QueryWorkflow(request, + def QueryWorkflow( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow', + "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeWorkflowExecution(request, + def DescribeWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeTaskQueue(request, + def DescribeTaskQueue( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetClusterInfo(request, + def GetClusterInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo', + "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetSystemInfo(request, + def GetSystemInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo', + "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListTaskQueuePartitions(request, + def ListTaskQueuePartitions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions', + "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def CreateSchedule(request, + def CreateSchedule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule', + "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeSchedule(request, + def DescribeSchedule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateSchedule(request, + def UpdateSchedule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PatchSchedule(request, + def PatchSchedule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule', + "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListScheduleMatchingTimes(request, + def ListScheduleMatchingTimes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes', + "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteSchedule(request, + def DeleteSchedule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule', + "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListSchedules(request, + def ListSchedules( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListSchedules', + "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkerBuildIdCompatibility(request, + def UpdateWorkerBuildIdCompatibility( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetWorkerBuildIdCompatibility(request, + def GetWorkerBuildIdCompatibility( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility', + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkerVersioningRules(request, + def UpdateWorkerVersioningRules( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetWorkerVersioningRules(request, + def GetWorkerVersioningRules( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules', + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetWorkerTaskReachability(request, + def GetWorkerTaskReachability( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability', + "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeDeployment(request, + def DescribeDeployment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeWorkerDeploymentVersion(request, + def DescribeWorkerDeploymentVersion( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListDeployments(request, + def ListDeployments( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListDeployments', + "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetDeploymentReachability(request, + def GetDeploymentReachability( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability', + "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def GetCurrentDeployment(request, + def GetCurrentDeployment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment', + "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SetCurrentDeployment(request, + def SetCurrentDeployment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment', + "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SetWorkerDeploymentCurrentVersion(request, + def SetWorkerDeploymentCurrentVersion( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion', + "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeWorkerDeployment(request, + def DescribeWorkerDeployment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteWorkerDeployment(request, + def DeleteWorkerDeployment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment', + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteWorkerDeploymentVersion(request, + def DeleteWorkerDeploymentVersion( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion', + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def SetWorkerDeploymentRampingVersion(request, + def SetWorkerDeploymentRampingVersion( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion', + "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListWorkerDeployments(request, + def ListWorkerDeployments( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments', + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkerDeploymentVersionMetadata(request, + def UpdateWorkerDeploymentVersionMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkflowExecution(request, + def UpdateWorkflowExecution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PollWorkflowExecutionUpdate(request, + def PollWorkflowExecutionUpdate( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate', + "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def StartBatchOperation(request, + def StartBatchOperation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation', + "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def StopBatchOperation(request, + def StopBatchOperation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation', + "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeBatchOperation(request, + def DescribeBatchOperation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListBatchOperations(request, + def ListBatchOperations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations', + "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PollNexusTaskQueue(request, + def PollNexusTaskQueue( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue', + "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondNexusTaskCompleted(request, + def RespondNexusTaskCompleted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted', + "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RespondNexusTaskFailed(request, + def RespondNexusTaskFailed( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed', + "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateActivityOptions(request, + def UpdateActivityOptions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkflowExecutionOptions(request, + def UpdateWorkflowExecutionOptions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def PauseActivity(request, + def PauseActivity( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/PauseActivity', + "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UnpauseActivity(request, + def UnpauseActivity( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity', + "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ResetActivity(request, + def ResetActivity( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ResetActivity', + "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def CreateWorkflowRule(request, + def CreateWorkflowRule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule', + "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DescribeWorkflowRule(request, + def DescribeWorkflowRule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule', + "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def DeleteWorkflowRule(request, + def DeleteWorkflowRule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule', + "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListWorkflowRules(request, + def ListWorkflowRules( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules', + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def TriggerWorkflowRule(request, + def TriggerWorkflowRule( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule', + "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def RecordWorkerHeartbeat(request, + def RecordWorkerHeartbeat( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat', + "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def ListWorkers(request, + def ListWorkers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/ListWorkers', + "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateTaskQueueConfig(request, + def UpdateTaskQueueConfig( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def FetchWorkerConfig(request, + def FetchWorkerConfig( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig', + "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) @staticmethod - def UpdateWorkerConfig(request, + def UpdateWorkerConfig( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig', + "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + ) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi index 4d1980f05..6da9c7db3 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi @@ -2,8 +2,11 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import abc + import grpc + import temporalio.api.workflowservice.v1.request_response_pb2 class WorkflowServiceStub: @@ -904,7 +907,9 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse + ): """RegisterNamespace creates a new namespace which can be used as a container for all resources. A Namespace is a top level entity within Temporal, and is used as a container for resources @@ -917,7 +922,9 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse + ): """DescribeNamespace returns the information and configuration for a registered namespace.""" @abc.abstractmethod def ListNamespaces( @@ -993,8 +1000,8 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, context: grpc.ServicerContext, ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse: - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ @abc.abstractmethod @@ -1387,11 +1394,13 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse + ): """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - - List of pollers - - Workflow Reachability status - - Backlog info for Workflow and/or Activity tasks + - List of pollers + - Workflow Reachability status + - Backlog info for Workflow and/or Activity tasks """ @abc.abstractmethod def GetClusterInfo( @@ -1414,7 +1423,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): context: grpc.ServicerContext, ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse: """(-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) + aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ @abc.abstractmethod def CreateSchedule( @@ -1428,7 +1437,9 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse + ): """Returns the schedule description and current state of an existing schedule.""" @abc.abstractmethod def UpdateSchedule( @@ -1479,7 +1490,7 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): members are compatible with one another. A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. + multiple workers. To query which workers can be retired, use the `GetWorkerTaskReachability` API. @@ -1891,7 +1902,9 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse + ): """Return all namespace workflow rules""" @abc.abstractmethod def TriggerWorkflowRule( @@ -1934,7 +1947,9 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): self, request: temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse: + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse + ): """FetchWorkerConfig returns the worker configuration for a specific worker.""" @abc.abstractmethod def UpdateWorkerConfig( @@ -1947,4 +1962,6 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Can be used to update the configuration of multiple workers. """ -def add_WorkflowServiceServicer_to_server(servicer: WorkflowServiceServicer, server: grpc.Server) -> None: ... +def add_WorkflowServiceServicer_to_server( + servicer: WorkflowServiceServicer, server: grpc.Server +) -> None: ... diff --git a/temporalio/bridge/proto/__init__.py b/temporalio/bridge/proto/__init__.py index e6988dd2c..d4e90a2fc 100644 --- a/temporalio/bridge/proto/__init__.py +++ b/temporalio/bridge/proto/__init__.py @@ -1,9 +1,11 @@ -from .core_interface_pb2 import ActivityHeartbeat -from .core_interface_pb2 import ActivityTaskCompletion -from .core_interface_pb2 import WorkflowSlotInfo -from .core_interface_pb2 import ActivitySlotInfo -from .core_interface_pb2 import LocalActivitySlotInfo -from .core_interface_pb2 import NexusSlotInfo +from .core_interface_pb2 import ( + ActivityHeartbeat, + ActivitySlotInfo, + ActivityTaskCompletion, + LocalActivitySlotInfo, + NexusSlotInfo, + WorkflowSlotInfo, +) __all__ = [ "ActivityHeartbeat", diff --git a/temporalio/bridge/proto/activity_result/__init__.py b/temporalio/bridge/proto/activity_result/__init__.py index 12cf10c4f..c910af687 100644 --- a/temporalio/bridge/proto/activity_result/__init__.py +++ b/temporalio/bridge/proto/activity_result/__init__.py @@ -1,10 +1,12 @@ -from .activity_result_pb2 import ActivityExecutionResult -from .activity_result_pb2 import ActivityResolution -from .activity_result_pb2 import Success -from .activity_result_pb2 import Failure -from .activity_result_pb2 import Cancellation -from .activity_result_pb2 import WillCompleteAsync -from .activity_result_pb2 import DoBackoff +from .activity_result_pb2 import ( + ActivityExecutionResult, + ActivityResolution, + Cancellation, + DoBackoff, + Failure, + Success, + WillCompleteAsync, +) __all__ = [ "ActivityExecutionResult", diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.py b/temporalio/bridge/proto/activity_result/activity_result_pb2.py index 148d418e8..77029baca 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.py +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/activity_result/activity_result.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,86 +16,120 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status\"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32\".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status\":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\x13\n\x11WillCompleteAsync\"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3') - - -_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name['ActivityExecutionResult'] -_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name['ActivityResolution'] -_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] -_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] -_CANCELLATION = DESCRIPTOR.message_types_by_name['Cancellation'] -_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name['WillCompleteAsync'] -_DOBACKOFF = DESCRIPTOR.message_types_by_name['DoBackoff'] -ActivityExecutionResult = _reflection.GeneratedProtocolMessageType('ActivityExecutionResult', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYEXECUTIONRESULT, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) - }) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x13\n\x11WillCompleteAsync"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3' +) + + +_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name["ActivityExecutionResult"] +_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name["ActivityResolution"] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] +_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name["WillCompleteAsync"] +_DOBACKOFF = DESCRIPTOR.message_types_by_name["DoBackoff"] +ActivityExecutionResult = _reflection.GeneratedProtocolMessageType( + "ActivityExecutionResult", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYEXECUTIONRESULT, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) + }, +) _sym_db.RegisterMessage(ActivityExecutionResult) -ActivityResolution = _reflection.GeneratedProtocolMessageType('ActivityResolution', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYRESOLUTION, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) - }) +ActivityResolution = _reflection.GeneratedProtocolMessageType( + "ActivityResolution", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYRESOLUTION, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) + }, +) _sym_db.RegisterMessage(ActivityResolution) -Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { - 'DESCRIPTOR' : _SUCCESS, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) - }) +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) + }, +) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) - }) +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) + }, +) _sym_db.RegisterMessage(Failure) -Cancellation = _reflection.GeneratedProtocolMessageType('Cancellation', (_message.Message,), { - 'DESCRIPTOR' : _CANCELLATION, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) - }) +Cancellation = _reflection.GeneratedProtocolMessageType( + "Cancellation", + (_message.Message,), + { + "DESCRIPTOR": _CANCELLATION, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) + }, +) _sym_db.RegisterMessage(Cancellation) -WillCompleteAsync = _reflection.GeneratedProtocolMessageType('WillCompleteAsync', (_message.Message,), { - 'DESCRIPTOR' : _WILLCOMPLETEASYNC, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) - }) +WillCompleteAsync = _reflection.GeneratedProtocolMessageType( + "WillCompleteAsync", + (_message.Message,), + { + "DESCRIPTOR": _WILLCOMPLETEASYNC, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) + }, +) _sym_db.RegisterMessage(WillCompleteAsync) -DoBackoff = _reflection.GeneratedProtocolMessageType('DoBackoff', (_message.Message,), { - 'DESCRIPTOR' : _DOBACKOFF, - '__module__' : 'temporal.sdk.core.activity_result.activity_result_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) - }) +DoBackoff = _reflection.GeneratedProtocolMessageType( + "DoBackoff", + (_message.Message,), + { + "DESCRIPTOR": _DOBACKOFF, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) + }, +) _sym_db.RegisterMessage(DoBackoff) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0021Temporalio::Internal::Bridge::Api::ActivityResult' - _ACTIVITYEXECUTIONRESULT._serialized_start=227 - _ACTIVITYEXECUTIONRESULT._serialized_end=504 - _ACTIVITYRESOLUTION._serialized_start=507 - _ACTIVITYRESOLUTION._serialized_end=759 - _SUCCESS._serialized_start=761 - _SUCCESS._serialized_end=819 - _FAILURE._serialized_start=821 - _FAILURE._serialized_end=881 - _CANCELLATION._serialized_start=883 - _CANCELLATION._serialized_end=948 - _WILLCOMPLETEASYNC._serialized_start=950 - _WILLCOMPLETEASYNC._serialized_end=969 - _DOBACKOFF._serialized_start=972 - _DOBACKOFF._serialized_end=1113 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0021Temporalio::Internal::Bridge::Api::ActivityResult" + ) + _ACTIVITYEXECUTIONRESULT._serialized_start = 227 + _ACTIVITYEXECUTIONRESULT._serialized_end = 504 + _ACTIVITYRESOLUTION._serialized_start = 507 + _ACTIVITYRESOLUTION._serialized_end = 759 + _SUCCESS._serialized_start = 761 + _SUCCESS._serialized_end = 819 + _FAILURE._serialized_start = 821 + _FAILURE._serialized_end = 881 + _CANCELLATION._serialized_start = 883 + _CANCELLATION._serialized_end = 948 + _WILLCOMPLETEASYNC._serialized_start = 950 + _WILLCOMPLETEASYNC._serialized_end = 969 + _DOBACKOFF._serialized_start = 972 + _DOBACKOFF._serialized_end = 1113 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi index 251c3b677..bae35a91d 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi @@ -2,12 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 @@ -43,9 +46,44 @@ class ActivityExecutionResult(google.protobuf.message.Message): cancelled: global___Cancellation | None = ..., will_complete_async: global___WillCompleteAsync | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "will_complete_async", b"will_complete_async"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "will_complete_async", b"will_complete_async"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "will_complete_async"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + "will_complete_async", + b"will_complete_async", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + "will_complete_async", + b"will_complete_async", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal[ + "completed", "failed", "cancelled", "will_complete_async" + ] + | None + ): ... global___ActivityExecutionResult = ActivityExecutionResult @@ -76,9 +114,41 @@ class ActivityResolution(google.protobuf.message.Message): cancelled: global___Cancellation | None = ..., backoff: global___DoBackoff | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "backoff", + b"backoff", + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "backoff", + b"backoff", + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None + ): ... global___ActivityResolution = ActivityResolution @@ -95,8 +165,12 @@ class Success(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... global___Success = Success @@ -113,8 +187,12 @@ class Failure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___Failure = Failure @@ -136,8 +214,12 @@ class Cancellation(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___Cancellation = Cancellation @@ -189,7 +271,25 @@ class DoBackoff(google.protobuf.message.Message): backoff_duration: google.protobuf.duration_pb2.Duration | None = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["backoff_duration", b"backoff_duration", "original_schedule_time", b"original_schedule_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["attempt", b"attempt", "backoff_duration", b"backoff_duration", "original_schedule_time", b"original_schedule_time"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "backoff_duration", + b"backoff_duration", + "original_schedule_time", + b"original_schedule_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "attempt", + b"attempt", + "backoff_duration", + b"backoff_duration", + "original_schedule_time", + b"original_schedule_time", + ], + ) -> None: ... global___DoBackoff = DoBackoff diff --git a/temporalio/bridge/proto/activity_task/__init__.py b/temporalio/bridge/proto/activity_task/__init__.py index 2428e5dae..779ebf353 100644 --- a/temporalio/bridge/proto/activity_task/__init__.py +++ b/temporalio/bridge/proto/activity_task/__init__.py @@ -1,8 +1,10 @@ -from .activity_task_pb2 import ActivityCancelReason -from .activity_task_pb2 import ActivityTask -from .activity_task_pb2 import Start -from .activity_task_pb2 import Cancel -from .activity_task_pb2 import ActivityCancellationDetails +from .activity_task_pb2 import ( + ActivityCancellationDetails, + ActivityCancelReason, + ActivityTask, + Cancel, + Start, +) __all__ = [ "ActivityCancelReason", diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.py b/temporalio/bridge/proto/activity_task/activity_task_pb2.py index b89fb399a..abb166222 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.py +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.py @@ -2,12 +2,14 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/activity_task/activity_task.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,13 +17,19 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant\"\xa1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails\"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant"\xa1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3' +) -_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name['ActivityCancelReason'] +_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name["ActivityCancelReason"] ActivityCancelReason = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELREASON) NOT_FOUND = 0 CANCELLED = 1 @@ -31,63 +39,84 @@ RESET = 5 -_ACTIVITYTASK = DESCRIPTOR.message_types_by_name['ActivityTask'] -_START = DESCRIPTOR.message_types_by_name['Start'] -_START_HEADERFIELDSENTRY = _START.nested_types_by_name['HeaderFieldsEntry'] -_CANCEL = DESCRIPTOR.message_types_by_name['Cancel'] -_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name['ActivityCancellationDetails'] -ActivityTask = _reflection.GeneratedProtocolMessageType('ActivityTask', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASK, - '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) - }) +_ACTIVITYTASK = DESCRIPTOR.message_types_by_name["ActivityTask"] +_START = DESCRIPTOR.message_types_by_name["Start"] +_START_HEADERFIELDSENTRY = _START.nested_types_by_name["HeaderFieldsEntry"] +_CANCEL = DESCRIPTOR.message_types_by_name["Cancel"] +_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name[ + "ActivityCancellationDetails" +] +ActivityTask = _reflection.GeneratedProtocolMessageType( + "ActivityTask", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASK, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) + }, +) _sym_db.RegisterMessage(ActivityTask) -Start = _reflection.GeneratedProtocolMessageType('Start', (_message.Message,), { - - 'HeaderFieldsEntry' : _reflection.GeneratedProtocolMessageType('HeaderFieldsEntry', (_message.Message,), { - 'DESCRIPTOR' : _START_HEADERFIELDSENTRY, - '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) - }) - , - 'DESCRIPTOR' : _START, - '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) - }) +Start = _reflection.GeneratedProtocolMessageType( + "Start", + (_message.Message,), + { + "HeaderFieldsEntry": _reflection.GeneratedProtocolMessageType( + "HeaderFieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _START_HEADERFIELDSENTRY, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) + }, + ), + "DESCRIPTOR": _START, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) + }, +) _sym_db.RegisterMessage(Start) _sym_db.RegisterMessage(Start.HeaderFieldsEntry) -Cancel = _reflection.GeneratedProtocolMessageType('Cancel', (_message.Message,), { - 'DESCRIPTOR' : _CANCEL, - '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) - }) +Cancel = _reflection.GeneratedProtocolMessageType( + "Cancel", + (_message.Message,), + { + "DESCRIPTOR": _CANCEL, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) + }, +) _sym_db.RegisterMessage(Cancel) -ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType('ActivityCancellationDetails', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYCANCELLATIONDETAILS, - '__module__' : 'temporal.sdk.core.activity_task.activity_task_pb2' - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) - }) +ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType( + "ActivityCancellationDetails", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYCANCELLATIONDETAILS, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) + }, +) _sym_db.RegisterMessage(ActivityCancellationDetails) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\002/Temporalio::Internal::Bridge::Api::ActivityTask' - _START_HEADERFIELDSENTRY._options = None - _START_HEADERFIELDSENTRY._serialized_options = b'8\001' - _ACTIVITYCANCELREASON._serialized_start=1600 - _ACTIVITYCANCELREASON._serialized_end=1711 - _ACTIVITYTASK._serialized_start=221 - _ACTIVITYTASK._serialized_end=362 - _START._serialized_start=365 - _START._serialized_end=1294 - _START_HEADERFIELDSENTRY._serialized_start=1210 - _START_HEADERFIELDSENTRY._serialized_end=1294 - _CANCEL._serialized_start=1297 - _CANCEL._serialized_end=1435 - _ACTIVITYCANCELLATIONDETAILS._serialized_start=1438 - _ACTIVITYCANCELLATIONDETAILS._serialized_end=1598 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" + ) + _START_HEADERFIELDSENTRY._options = None + _START_HEADERFIELDSENTRY._serialized_options = b"8\001" + _ACTIVITYCANCELREASON._serialized_start = 1600 + _ACTIVITYCANCELREASON._serialized_end = 1711 + _ACTIVITYTASK._serialized_start = 221 + _ACTIVITYTASK._serialized_end = 362 + _START._serialized_start = 365 + _START._serialized_end = 1294 + _START_HEADERFIELDSENTRY._serialized_start = 1210 + _START_HEADERFIELDSENTRY._serialized_end = 1294 + _CANCEL._serialized_start = 1297 + _CANCEL._serialized_end = 1435 + _ACTIVITYCANCELLATIONDETAILS._serialized_start = 1438 + _ACTIVITYCANCELLATIONDETAILS._serialized_end = 1598 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi index 32ab663af..6d977759c 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi @@ -4,17 +4,20 @@ isort:skip_file * Definitions of the different activity tasks returned from [crate::Core::poll_task]. """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -27,7 +30,12 @@ class _ActivityCancelReason: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ActivityCancelReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ActivityCancelReason.ValueType], builtins.type): # noqa: F821 +class _ActivityCancelReasonEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ActivityCancelReason.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NOT_FOUND: _ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -42,7 +50,9 @@ class _ActivityCancelReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wr RESET: _ActivityCancelReason.ValueType # 5 """Activity was reset""" -class ActivityCancelReason(_ActivityCancelReason, metaclass=_ActivityCancelReasonEnumTypeWrapper): ... +class ActivityCancelReason( + _ActivityCancelReason, metaclass=_ActivityCancelReasonEnumTypeWrapper +): ... NOT_FOUND: ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -79,9 +89,28 @@ class ActivityTask(google.protobuf.message.Message): start: global___Start | None = ..., cancel: global___Cancel | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel", b"cancel", "start", b"start", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel", b"cancel", "start", b"start", "task_token", b"task_token", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start", "cancel"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel", b"cancel", "start", b"start", "variant", b"variant" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel", + b"cancel", + "start", + b"start", + "task_token", + b"task_token", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start", "cancel"] | None: ... global___ActivityTask = ActivityTask @@ -104,8 +133,13 @@ class Start(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... WORKFLOW_NAMESPACE_FIELD_NUMBER: builtins.int WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -130,19 +164,33 @@ class Start(google.protobuf.message.Message): workflow_type: builtins.str """The workflow's type name or function identifier""" @property - def workflow_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow execution which requested this activity""" activity_id: builtins.str """The activity's ID""" activity_type: builtins.str """The activity's type name or function identifier""" @property - def header_fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... + def header_fields( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def input( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Arguments to the activity""" @property - def heartbeat_details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def heartbeat_details( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """The last details that were recorded by a heartbeat when this task was generated""" @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -181,14 +229,23 @@ class Start(google.protobuf.message.Message): *, workflow_namespace: builtins.str = ..., workflow_type: builtins.str = ..., - workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + workflow_execution: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., activity_id: builtins.str = ..., activity_type: builtins.str = ..., - header_fields: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., - heartbeat_details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + header_fields: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., + heartbeat_details: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + current_attempt_scheduled_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., started_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., attempt: builtins.int = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -198,8 +255,70 @@ class Start(google.protobuf.message.Message): priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., is_local: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["current_attempt_scheduled_time", b"current_attempt_scheduled_time", "heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "header_fields", b"header_fields", "heartbeat_details", b"heartbeat_details", "heartbeat_timeout", b"heartbeat_timeout", "input", b"input", "is_local", b"is_local", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "scheduled_time", b"scheduled_time", "start_to_close_timeout", b"start_to_close_timeout", "started_time", b"started_time", "workflow_execution", b"workflow_execution", "workflow_namespace", b"workflow_namespace", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "current_attempt_scheduled_time", + b"current_attempt_scheduled_time", + "heartbeat_timeout", + b"heartbeat_timeout", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_time", + b"scheduled_time", + "start_to_close_timeout", + b"start_to_close_timeout", + "started_time", + b"started_time", + "workflow_execution", + b"workflow_execution", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "attempt", + b"attempt", + "current_attempt_scheduled_time", + b"current_attempt_scheduled_time", + "header_fields", + b"header_fields", + "heartbeat_details", + b"heartbeat_details", + "heartbeat_timeout", + b"heartbeat_timeout", + "input", + b"input", + "is_local", + b"is_local", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "scheduled_time", + b"scheduled_time", + "start_to_close_timeout", + b"start_to_close_timeout", + "started_time", + b"started_time", + "workflow_execution", + b"workflow_execution", + "workflow_namespace", + b"workflow_namespace", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___Start = Start @@ -221,8 +340,15 @@ class Cancel(google.protobuf.message.Message): reason: global___ActivityCancelReason.ValueType = ..., details: global___ActivityCancellationDetails | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["details", b"details"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "reason", b"reason"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "reason", b"reason" + ], + ) -> None: ... global___Cancel = Cancel @@ -251,6 +377,22 @@ class ActivityCancellationDetails(google.protobuf.message.Message): is_worker_shutdown: builtins.bool = ..., is_reset: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["is_cancelled", b"is_cancelled", "is_not_found", b"is_not_found", "is_paused", b"is_paused", "is_reset", b"is_reset", "is_timed_out", b"is_timed_out", "is_worker_shutdown", b"is_worker_shutdown"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "is_cancelled", + b"is_cancelled", + "is_not_found", + b"is_not_found", + "is_paused", + b"is_paused", + "is_reset", + b"is_reset", + "is_timed_out", + b"is_timed_out", + "is_worker_shutdown", + b"is_worker_shutdown", + ], + ) -> None: ... global___ActivityCancellationDetails = ActivityCancellationDetails diff --git a/temporalio/bridge/proto/child_workflow/__init__.py b/temporalio/bridge/proto/child_workflow/__init__.py index 5e0862a45..59853e27b 100644 --- a/temporalio/bridge/proto/child_workflow/__init__.py +++ b/temporalio/bridge/proto/child_workflow/__init__.py @@ -1,10 +1,12 @@ -from .child_workflow_pb2 import ParentClosePolicy -from .child_workflow_pb2 import StartChildWorkflowExecutionFailedCause -from .child_workflow_pb2 import ChildWorkflowCancellationType -from .child_workflow_pb2 import ChildWorkflowResult -from .child_workflow_pb2 import Success -from .child_workflow_pb2 import Failure -from .child_workflow_pb2 import Cancellation +from .child_workflow_pb2 import ( + Cancellation, + ChildWorkflowCancellationType, + ChildWorkflowResult, + Failure, + ParentClosePolicy, + StartChildWorkflowExecutionFailedCause, + Success, +) __all__ = [ "Cancellation", diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py index 1b7c0f91f..e8e485e02 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py @@ -2,30 +2,47 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/child_workflow/child_workflow.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 - +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status\":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3' +) -_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name['ParentClosePolicy'] +_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) -_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name['StartChildWorkflowExecutionFailedCause'] -StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper(_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE) -_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['ChildWorkflowCancellationType'] -ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper(_CHILDWORKFLOWCANCELLATIONTYPE) +_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name[ + "StartChildWorkflowExecutionFailedCause" +] +StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper( + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE +) +_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ + "ChildWorkflowCancellationType" +] +ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper( + _CHILDWORKFLOWCANCELLATIONTYPE +) PARENT_CLOSE_POLICY_UNSPECIFIED = 0 PARENT_CLOSE_POLICY_TERMINATE = 1 PARENT_CLOSE_POLICY_ABANDON = 2 @@ -38,54 +55,71 @@ WAIT_CANCELLATION_REQUESTED = 3 -_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name['ChildWorkflowResult'] -_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] -_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] -_CANCELLATION = DESCRIPTOR.message_types_by_name['Cancellation'] -ChildWorkflowResult = _reflection.GeneratedProtocolMessageType('ChildWorkflowResult', (_message.Message,), { - 'DESCRIPTOR' : _CHILDWORKFLOWRESULT, - '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) - }) +_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name["ChildWorkflowResult"] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] +ChildWorkflowResult = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowResult", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWRESULT, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) + }, +) _sym_db.RegisterMessage(ChildWorkflowResult) -Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { - 'DESCRIPTOR' : _SUCCESS, - '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) - }) +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) + }, +) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) - }) +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) + }, +) _sym_db.RegisterMessage(Failure) -Cancellation = _reflection.GeneratedProtocolMessageType('Cancellation', (_message.Message,), { - 'DESCRIPTOR' : _CANCELLATION, - '__module__' : 'temporal.sdk.core.child_workflow.child_workflow_pb2' - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) - }) +Cancellation = _reflection.GeneratedProtocolMessageType( + "Cancellation", + (_message.Message,), + { + "DESCRIPTOR": _CANCELLATION, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) + }, +) _sym_db.RegisterMessage(Cancellation) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow' - _PARENTCLOSEPOLICY._serialized_start=585 - _PARENTCLOSEPOLICY._serialized_end=749 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start=752 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end=926 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start=928 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end=1054 - _CHILDWORKFLOWRESULT._serialized_start=198 - _CHILDWORKFLOWRESULT._serialized_end=393 - _SUCCESS._serialized_start=395 - _SUCCESS._serialized_end=453 - _FAILURE._serialized_start=455 - _FAILURE._serialized_end=515 - _CANCELLATION._serialized_start=517 - _CANCELLATION._serialized_end=582 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" + ) + _PARENTCLOSEPOLICY._serialized_start = 585 + _PARENTCLOSEPOLICY._serialized_end = 749 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start = 752 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end = 926 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start = 928 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end = 1054 + _CHILDWORKFLOWRESULT._serialized_start = 198 + _CHILDWORKFLOWRESULT._serialized_end = 393 + _SUCCESS._serialized_start = 395 + _SUCCESS._serialized_end = 453 + _FAILURE._serialized_start = 455 + _FAILURE._serialized_end = 515 + _CANCELLATION._serialized_start = 517 + _CANCELLATION._serialized_end = 582 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi index 85fe06d28..a41c5b2be 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi @@ -2,14 +2,17 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -22,7 +25,12 @@ class _ParentClosePolicy: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ParentClosePolicy.ValueType], builtins.type): # noqa: F821 +class _ParentClosePolicyEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ParentClosePolicy.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 """Let's the server set the default.""" @@ -33,7 +41,9 @@ class _ParentClosePolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapp PARENT_CLOSE_POLICY_REQUEST_CANCEL: _ParentClosePolicy.ValueType # 3 """Cancel means requesting cancellation on the child workflow.""" -class ParentClosePolicy(_ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper): +class ParentClosePolicy( + _ParentClosePolicy, metaclass=_ParentClosePolicyEnumTypeWrapper +): """Used by the service to determine the fate of a child workflow in case its parent is closed. """ @@ -52,23 +62,44 @@ class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_StartChildWorkflowExecutionFailedCause.ValueType], builtins.type): # noqa: F821 +class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _StartChildWorkflowExecutionFailedCause.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _StartChildWorkflowExecutionFailedCause.ValueType # 0 - START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: _StartChildWorkflowExecutionFailedCause.ValueType # 1 - -class StartChildWorkflowExecutionFailedCause(_StartChildWorkflowExecutionFailedCause, metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper): + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + _StartChildWorkflowExecutionFailedCause.ValueType + ) # 0 + START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( + _StartChildWorkflowExecutionFailedCause.ValueType + ) # 1 + +class StartChildWorkflowExecutionFailedCause( + _StartChildWorkflowExecutionFailedCause, + metaclass=_StartChildWorkflowExecutionFailedCauseEnumTypeWrapper, +): """Possible causes of failure to start a child workflow""" -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: StartChildWorkflowExecutionFailedCause.ValueType # 0 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: StartChildWorkflowExecutionFailedCause.ValueType # 1 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( + StartChildWorkflowExecutionFailedCause.ValueType +) # 0 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( + StartChildWorkflowExecutionFailedCause.ValueType +) # 1 global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause class _ChildWorkflowCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ChildWorkflowCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ChildWorkflowCancellationType.ValueType], builtins.type): # noqa: F821 +class _ChildWorkflowCancellationTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ChildWorkflowCancellationType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ABANDON: _ChildWorkflowCancellationType.ValueType # 0 """Do not request cancellation of the child workflow if already scheduled""" @@ -79,7 +110,10 @@ class _ChildWorkflowCancellationTypeEnumTypeWrapper(google.protobuf.internal.enu WAIT_CANCELLATION_REQUESTED: _ChildWorkflowCancellationType.ValueType # 3 """Request cancellation of the child and wait for confirmation that the request was received.""" -class ChildWorkflowCancellationType(_ChildWorkflowCancellationType, metaclass=_ChildWorkflowCancellationTypeEnumTypeWrapper): +class ChildWorkflowCancellationType( + _ChildWorkflowCancellationType, + metaclass=_ChildWorkflowCancellationTypeEnumTypeWrapper, +): """Controls at which point to report back to lang when a child workflow is cancelled""" ABANDON: ChildWorkflowCancellationType.ValueType # 0 @@ -113,9 +147,35 @@ class ChildWorkflowResult(google.protobuf.message.Message): failed: global___Failure | None = ..., cancelled: global___Cancellation | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... global___ChildWorkflowResult = ChildWorkflowResult @@ -132,8 +192,12 @@ class Success(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... global___Success = Success @@ -152,8 +216,12 @@ class Failure(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___Failure = Failure @@ -172,7 +240,11 @@ class Cancellation(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___Cancellation = Cancellation diff --git a/temporalio/bridge/proto/common/__init__.py b/temporalio/bridge/proto/common/__init__.py index 83fb42cb3..5622fffb8 100644 --- a/temporalio/bridge/proto/common/__init__.py +++ b/temporalio/bridge/proto/common/__init__.py @@ -1,6 +1,8 @@ -from .common_pb2 import VersioningIntent -from .common_pb2 import NamespacedWorkflowExecution -from .common_pb2 import WorkerDeploymentVersion +from .common_pb2 import ( + NamespacedWorkflowExecution, + VersioningIntent, + WorkerDeploymentVersion, +) __all__ = [ "NamespacedWorkflowExecution", diff --git a/temporalio/bridge/proto/common/common_pb2.py b/temporalio/bridge/proto/common/common_pb2.py index 56325116d..c56456fce 100644 --- a/temporalio/bridge/proto/common/common_pb2.py +++ b/temporalio/bridge/proto/common/common_pb2.py @@ -2,12 +2,14 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/common/common.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,40 +17,52 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3' +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto\"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3') - -_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name['VersioningIntent'] +_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name["VersioningIntent"] VersioningIntent = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGINTENT) UNSPECIFIED = 0 COMPATIBLE = 1 DEFAULT = 2 -_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['NamespacedWorkflowExecution'] -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name['WorkerDeploymentVersion'] -NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType('NamespacedWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _NAMESPACEDWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.common.common_pb2' - # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) - }) +_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "NamespacedWorkflowExecution" +] +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] +NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "NamespacedWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.common.common_pb2", + # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) + }, +) _sym_db.RegisterMessage(NamespacedWorkflowExecution) -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType('WorkerDeploymentVersion', (_message.Message,), { - 'DESCRIPTOR' : _WORKERDEPLOYMENTVERSION, - '__module__' : 'temporal.sdk.core.common.common_pb2' - # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) - }) +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersion", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, + "__module__": "temporal.sdk.core.common.common_pb2", + # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) + }, +) _sym_db.RegisterMessage(WorkerDeploymentVersion) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\002)Temporalio::Internal::Bridge::Api::Common' - _VERSIONINGINTENT._serialized_start=246 - _VERSIONINGINTENT._serialized_end=310 - _NAMESPACEDWORKFLOWEXECUTION._serialized_start=89 - _NAMESPACEDWORKFLOWEXECUTION._serialized_end=174 - _WORKERDEPLOYMENTVERSION._serialized_start=176 - _WORKERDEPLOYMENTVERSION._serialized_end=244 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002)Temporalio::Internal::Bridge::Api::Common" + ) + _VERSIONINGINTENT._serialized_start = 246 + _VERSIONINGINTENT._serialized_end = 310 + _NAMESPACEDWORKFLOWEXECUTION._serialized_start = 89 + _NAMESPACEDWORKFLOWEXECUTION._serialized_end = 174 + _WORKERDEPLOYMENTVERSION._serialized_start = 176 + _WORKERDEPLOYMENTVERSION._serialized_end = 244 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/common/common_pb2.pyi b/temporalio/bridge/proto/common/common_pb2.pyi index 197f079b4..739a129e1 100644 --- a/temporalio/bridge/proto/common/common_pb2.pyi +++ b/temporalio/bridge/proto/common/common_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message -import sys -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -20,7 +22,12 @@ class _VersioningIntent: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _VersioningIntentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VersioningIntent.ValueType], builtins.type): # noqa: F821 +class _VersioningIntentEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _VersioningIntent.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: _VersioningIntent.ValueType # 0 """Indicates that core should choose the most sensible default behavior for the type of @@ -79,7 +86,17 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespace", b"namespace", "run_id", b"run_id", "workflow_id", b"workflow_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "namespace", + b"namespace", + "run_id", + b"run_id", + "workflow_id", + b"workflow_id", + ], + ) -> None: ... global___NamespacedWorkflowExecution = NamespacedWorkflowExecution @@ -96,6 +113,11 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): deployment_name: builtins.str = ..., build_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "deployment_name", b"deployment_name"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "build_id", b"build_id", "deployment_name", b"deployment_name" + ], + ) -> None: ... global___WorkerDeploymentVersion = WorkerDeploymentVersion diff --git a/temporalio/bridge/proto/core_interface_pb2.py b/temporalio/bridge/proto/core_interface_pb2.py index eb779717e..7531a37a5 100644 --- a/temporalio/bridge/proto/core_interface_pb2.py +++ b/temporalio/bridge/proto/core_interface_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/core_interface.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,82 +17,124 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.bridge.proto.activity_result import activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2 -from temporalio.bridge.proto.activity_task import activity_task_pb2 as temporal_dot_sdk_dot_core_dot_activity__task_dot_activity__task__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 -from temporalio.bridge.proto.external_data import external_data_pb2 as temporal_dot_sdk_dot_core_dot_external__data_dot_external__data__pb2 -from temporalio.bridge.proto.workflow_activation import workflow_activation_pb2 as temporal_dot_sdk_dot_core_dot_workflow__activation_dot_workflow__activation__pb2 -from temporalio.bridge.proto.workflow_commands import workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2 -from temporalio.bridge.proto.workflow_completion import workflow_completion_pb2 as temporal_dot_sdk_dot_core_dot_workflow__completion_dot_workflow__completion__pb2 +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.bridge.proto.activity_result import ( + activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2, +) +from temporalio.bridge.proto.activity_task import ( + activity_task_pb2 as temporal_dot_sdk_dot_core_dot_activity__task_dot_activity__task__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) +from temporalio.bridge.proto.external_data import ( + external_data_pb2 as temporal_dot_sdk_dot_core_dot_external__data_dot_external__data__pb2, +) +from temporalio.bridge.proto.workflow_activation import ( + workflow_activation_pb2 as temporal_dot_sdk_dot_core_dot_workflow__activation_dot_workflow__activation__pb2, +) +from temporalio.bridge.proto.workflow_commands import ( + workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2, +) +from temporalio.bridge.proto.workflow_completion import ( + workflow_completion_pb2 as temporal_dot_sdk_dot_core_dot_workflow__completion_dot_workflow__completion__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto\"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult\"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08\")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t\".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t\"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\tB3\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\tB3\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3' +) - -_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name['ActivityHeartbeat'] -_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name['ActivityTaskCompletion'] -_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name['WorkflowSlotInfo'] -_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name['ActivitySlotInfo'] -_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name['LocalActivitySlotInfo'] -_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name['NexusSlotInfo'] -ActivityHeartbeat = _reflection.GeneratedProtocolMessageType('ActivityHeartbeat', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYHEARTBEAT, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) - }) +_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name["ActivityHeartbeat"] +_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name["ActivityTaskCompletion"] +_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name["WorkflowSlotInfo"] +_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["ActivitySlotInfo"] +_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["LocalActivitySlotInfo"] +_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name["NexusSlotInfo"] +ActivityHeartbeat = _reflection.GeneratedProtocolMessageType( + "ActivityHeartbeat", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYHEARTBEAT, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) + }, +) _sym_db.RegisterMessage(ActivityHeartbeat) -ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType('ActivityTaskCompletion', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYTASKCOMPLETION, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) - }) +ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCompletion", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCOMPLETION, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) + }, +) _sym_db.RegisterMessage(ActivityTaskCompletion) -WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType('WorkflowSlotInfo', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWSLOTINFO, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) - }) +WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowSlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) + }, +) _sym_db.RegisterMessage(WorkflowSlotInfo) -ActivitySlotInfo = _reflection.GeneratedProtocolMessageType('ActivitySlotInfo', (_message.Message,), { - 'DESCRIPTOR' : _ACTIVITYSLOTINFO, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) - }) +ActivitySlotInfo = _reflection.GeneratedProtocolMessageType( + "ActivitySlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) + }, +) _sym_db.RegisterMessage(ActivitySlotInfo) -LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType('LocalActivitySlotInfo', (_message.Message,), { - 'DESCRIPTOR' : _LOCALACTIVITYSLOTINFO, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) - }) +LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType( + "LocalActivitySlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _LOCALACTIVITYSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) + }, +) _sym_db.RegisterMessage(LocalActivitySlotInfo) -NexusSlotInfo = _reflection.GeneratedProtocolMessageType('NexusSlotInfo', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSSLOTINFO, - '__module__' : 'temporal.sdk.core.core_interface_pb2' - # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) - }) +NexusSlotInfo = _reflection.GeneratedProtocolMessageType( + "NexusSlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) + }, +) _sym_db.RegisterMessage(NexusSlotInfo) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0020Temporalio::Internal::Bridge::Api::CoreInterface' - _ACTIVITYHEARTBEAT._serialized_start=576 - _ACTIVITYHEARTBEAT._serialized_end=665 - _ACTIVITYTASKCOMPLETION._serialized_start=667 - _ACTIVITYTASKCOMPLETION._serialized_end=777 - _WORKFLOWSLOTINFO._serialized_start=779 - _WORKFLOWSLOTINFO._serialized_end=839 - _ACTIVITYSLOTINFO._serialized_start=841 - _ACTIVITYSLOTINFO._serialized_end=882 - _LOCALACTIVITYSLOTINFO._serialized_start=884 - _LOCALACTIVITYSLOTINFO._serialized_end=930 - _NEXUSSLOTINFO._serialized_start=932 - _NEXUSSLOTINFO._serialized_end=983 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" + ) + _ACTIVITYHEARTBEAT._serialized_start = 576 + _ACTIVITYHEARTBEAT._serialized_end = 665 + _ACTIVITYTASKCOMPLETION._serialized_start = 667 + _ACTIVITYTASKCOMPLETION._serialized_end = 777 + _WORKFLOWSLOTINFO._serialized_start = 779 + _WORKFLOWSLOTINFO._serialized_end = 839 + _ACTIVITYSLOTINFO._serialized_start = 841 + _ACTIVITYSLOTINFO._serialized_end = 882 + _LOCALACTIVITYSLOTINFO._serialized_start = 884 + _LOCALACTIVITYSLOTINFO._serialized_end = 930 + _NEXUSSLOTINFO._serialized_start = 932 + _NEXUSSLOTINFO._serialized_end = 983 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/core_interface_pb2.pyi b/temporalio/bridge/proto/core_interface_pb2.pyi index 705cbcae6..020359cf0 100644 --- a/temporalio/bridge/proto/core_interface_pb2.pyi +++ b/temporalio/bridge/proto/core_interface_pb2.pyi @@ -2,12 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.bridge.proto.activity_result.activity_result_pb2 @@ -27,14 +30,24 @@ class ActivityHeartbeat(google.protobuf.message.Message): DETAILS_FIELD_NUMBER: builtins.int task_token: builtins.bytes @property - def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... + def details( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: ... def __init__( self, *, task_token: builtins.bytes = ..., - details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "details", b"details", "task_token", b"task_token" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "task_token", b"task_token"]) -> None: ... global___ActivityHeartbeat = ActivityHeartbeat @@ -47,15 +60,25 @@ class ActivityTaskCompletion(google.protobuf.message.Message): RESULT_FIELD_NUMBER: builtins.int task_token: builtins.bytes @property - def result(self) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult: ... + def result( + self, + ) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult: ... def __init__( self, *, task_token: builtins.bytes = ..., - result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult | None = ..., + result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "result", b"result", "task_token", b"task_token" + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "task_token", b"task_token"]) -> None: ... global___ActivityTaskCompletion = ActivityTaskCompletion @@ -74,7 +97,12 @@ class WorkflowSlotInfo(google.protobuf.message.Message): workflow_type: builtins.str = ..., is_sticky: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["is_sticky", b"is_sticky", "workflow_type", b"workflow_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "is_sticky", b"is_sticky", "workflow_type", b"workflow_type" + ], + ) -> None: ... global___WorkflowSlotInfo = WorkflowSlotInfo @@ -90,7 +118,9 @@ class ActivitySlotInfo(google.protobuf.message.Message): *, activity_type: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + ) -> None: ... global___ActivitySlotInfo = ActivitySlotInfo @@ -106,7 +136,9 @@ class LocalActivitySlotInfo(google.protobuf.message.Message): *, activity_type: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_type", b"activity_type"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + ) -> None: ... global___LocalActivitySlotInfo = LocalActivitySlotInfo @@ -125,6 +157,11 @@ class NexusSlotInfo(google.protobuf.message.Message): service: builtins.str = ..., operation: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["operation", b"operation", "service", b"service"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "operation", b"operation", "service", b"service" + ], + ) -> None: ... global___NexusSlotInfo = NexusSlotInfo diff --git a/temporalio/bridge/proto/external_data/__init__.py b/temporalio/bridge/proto/external_data/__init__.py index 79a203d84..836e97ef4 100644 --- a/temporalio/bridge/proto/external_data/__init__.py +++ b/temporalio/bridge/proto/external_data/__init__.py @@ -1,5 +1,4 @@ -from .external_data_pb2 import LocalActivityMarkerData -from .external_data_pb2 import PatchedMarkerData +from .external_data_pb2 import LocalActivityMarkerData, PatchedMarkerData __all__ = [ "LocalActivityMarkerData", diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.py b/temporalio/bridge/proto/external_data/external_data_pb2.py index 68d56c4ac..e8070efa7 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.py +++ b/temporalio/bridge/proto/external_data/external_data_pb2.py @@ -2,11 +2,13 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/external_data/external_data.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,33 +17,42 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3') - - - -_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name['LocalActivityMarkerData'] -_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name['PatchedMarkerData'] -LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType('LocalActivityMarkerData', (_message.Message,), { - 'DESCRIPTOR' : _LOCALACTIVITYMARKERDATA, - '__module__' : 'temporal.sdk.core.external_data.external_data_pb2' - # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3' +) + + +_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name["LocalActivityMarkerData"] +_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name["PatchedMarkerData"] +LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType( + "LocalActivityMarkerData", + (_message.Message,), + { + "DESCRIPTOR": _LOCALACTIVITYMARKERDATA, + "__module__": "temporal.sdk.core.external_data.external_data_pb2", + # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) + }, +) _sym_db.RegisterMessage(LocalActivityMarkerData) -PatchedMarkerData = _reflection.GeneratedProtocolMessageType('PatchedMarkerData', (_message.Message,), { - 'DESCRIPTOR' : _PATCHEDMARKERDATA, - '__module__' : 'temporal.sdk.core.external_data.external_data_pb2' - # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) - }) +PatchedMarkerData = _reflection.GeneratedProtocolMessageType( + "PatchedMarkerData", + (_message.Message,), + { + "DESCRIPTOR": _PATCHEDMARKERDATA, + "__module__": "temporal.sdk.core.external_data.external_data_pb2", + # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) + }, +) _sym_db.RegisterMessage(PatchedMarkerData) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\002/Temporalio::Internal::Bridge::Api::ExternalData' - _LOCALACTIVITYMARKERDATA._serialized_start=144 - _LOCALACTIVITYMARKERDATA._serialized_end=398 - _PATCHEDMARKERDATA._serialized_start=400 - _PATCHEDMARKERDATA._serialized_end=451 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" + ) + _LOCALACTIVITYMARKERDATA._serialized_start = 144 + _LOCALACTIVITYMARKERDATA._serialized_end = 398 + _PATCHEDMARKERDATA._serialized_start = 400 + _PATCHEDMARKERDATA._serialized_end = 451 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.pyi b/temporalio/bridge/proto/external_data/external_data_pb2.pyi index c785820de..a1d29e39d 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.pyi +++ b/temporalio/bridge/proto/external_data/external_data_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys if sys.version_info >= (3, 8): import typing as typing_extensions @@ -66,8 +68,36 @@ class LocalActivityMarkerData(google.protobuf.message.Message): backoff: google.protobuf.duration_pb2.Duration | None = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["backoff", b"backoff", "complete_time", b"complete_time", "original_schedule_time", b"original_schedule_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "attempt", b"attempt", "backoff", b"backoff", "complete_time", b"complete_time", "original_schedule_time", b"original_schedule_time", "seq", b"seq"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "backoff", + b"backoff", + "complete_time", + b"complete_time", + "original_schedule_time", + b"original_schedule_time", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "attempt", + b"attempt", + "backoff", + b"backoff", + "complete_time", + b"complete_time", + "original_schedule_time", + b"original_schedule_time", + "seq", + b"seq", + ], + ) -> None: ... global___LocalActivityMarkerData = LocalActivityMarkerData @@ -86,6 +116,9 @@ class PatchedMarkerData(google.protobuf.message.Message): id: builtins.str = ..., deprecated: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"], + ) -> None: ... global___PatchedMarkerData = PatchedMarkerData diff --git a/temporalio/bridge/proto/health/v1/__init__.py b/temporalio/bridge/proto/health/v1/__init__.py index 27f434f2e..56687c370 100644 --- a/temporalio/bridge/proto/health/v1/__init__.py +++ b/temporalio/bridge/proto/health/v1/__init__.py @@ -1,5 +1,4 @@ -from .health_pb2 import HealthCheckRequest -from .health_pb2 import HealthCheckResponse +from .health_pb2 import HealthCheckRequest, HealthCheckResponse __all__ = [ "HealthCheckRequest", diff --git a/temporalio/bridge/proto/health/v1/health_pb2.py b/temporalio/bridge/proto/health/v1/health_pb2.py index a2457cf35..8e31dcecb 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.py +++ b/temporalio/bridge/proto/health/v1/health_pb2.py @@ -2,50 +2,60 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: health/v1/health.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus\"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3') - - - -_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name['HealthCheckRequest'] -_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name['HealthCheckResponse'] -_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name['ServingStatus'] -HealthCheckRequest = _reflection.GeneratedProtocolMessageType('HealthCheckRequest', (_message.Message,), { - 'DESCRIPTOR' : _HEALTHCHECKREQUEST, - '__module__' : 'health.v1.health_pb2' - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) - }) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3' +) + + +_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name["HealthCheckRequest"] +_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name["HealthCheckResponse"] +_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name[ + "ServingStatus" +] +HealthCheckRequest = _reflection.GeneratedProtocolMessageType( + "HealthCheckRequest", + (_message.Message,), + { + "DESCRIPTOR": _HEALTHCHECKREQUEST, + "__module__": "health.v1.health_pb2", + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) + }, +) _sym_db.RegisterMessage(HealthCheckRequest) -HealthCheckResponse = _reflection.GeneratedProtocolMessageType('HealthCheckResponse', (_message.Message,), { - 'DESCRIPTOR' : _HEALTHCHECKRESPONSE, - '__module__' : 'health.v1.health_pb2' - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) - }) +HealthCheckResponse = _reflection.GeneratedProtocolMessageType( + "HealthCheckResponse", + (_message.Message,), + { + "DESCRIPTOR": _HEALTHCHECKRESPONSE, + "__module__": "health.v1.health_pb2", + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) + }, +) _sym_db.RegisterMessage(HealthCheckResponse) -_HEALTH = DESCRIPTOR.services_by_name['Health'] +_HEALTH = DESCRIPTOR.services_by_name["Health"] if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1' - _HEALTHCHECKREQUEST._serialized_start=51 - _HEALTHCHECKREQUEST._serialized_end=88 - _HEALTHCHECKRESPONSE._serialized_start=91 - _HEALTHCHECKRESPONSE._serialized_end=269 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start=190 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end=269 - _HEALTH._serialized_start=272 - _HEALTH._serialized_end=482 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" + _HEALTHCHECKREQUEST._serialized_start = 51 + _HEALTHCHECKREQUEST._serialized_end = 88 + _HEALTHCHECKRESPONSE._serialized_start = 91 + _HEALTHCHECKRESPONSE._serialized_end = 269 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start = 190 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end = 269 + _HEALTH._serialized_start = 272 + _HEALTH._serialized_end = 482 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/health/v1/health_pb2.pyi b/temporalio/bridge/proto/health/v1/health_pb2.pyi index a095bfab1..2e1121e3c 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.pyi +++ b/temporalio/bridge/proto/health/v1/health_pb2.pyi @@ -2,12 +2,14 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file We have to alter this to prevent gRPC health clash""" + import builtins +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message -import sys -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -26,7 +28,9 @@ class HealthCheckRequest(google.protobuf.message.Message): *, service: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["service", b"service"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["service", b"service"] + ) -> None: ... global___HealthCheckRequest = HealthCheckRequest @@ -37,7 +41,12 @@ class HealthCheckResponse(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _ServingStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HealthCheckResponse._ServingStatus.ValueType], builtins.type): # noqa: F821 + class _ServingStatusEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + HealthCheckResponse._ServingStatus.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HealthCheckResponse._ServingStatus.ValueType # 0 SERVING: HealthCheckResponse._ServingStatus.ValueType # 1 @@ -59,6 +68,8 @@ class HealthCheckResponse(google.protobuf.message.Message): *, status: global___HealthCheckResponse.ServingStatus.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] + ) -> None: ... global___HealthCheckResponse = HealthCheckResponse diff --git a/temporalio/bridge/proto/nexus/__init__.py b/temporalio/bridge/proto/nexus/__init__.py index f2b3334c5..f10ac3b53 100644 --- a/temporalio/bridge/proto/nexus/__init__.py +++ b/temporalio/bridge/proto/nexus/__init__.py @@ -1,9 +1,11 @@ -from .nexus_pb2 import NexusTaskCancelReason -from .nexus_pb2 import NexusOperationCancellationType -from .nexus_pb2 import NexusOperationResult -from .nexus_pb2 import NexusTaskCompletion -from .nexus_pb2 import NexusTask -from .nexus_pb2 import CancelNexusTask +from .nexus_pb2 import ( + CancelNexusTask, + NexusOperationCancellationType, + NexusOperationResult, + NexusTask, + NexusTaskCancelReason, + NexusTaskCompletion, +) __all__ = [ "CancelNexusTask", diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.py b/temporalio/bridge/proto/nexus/nexus_pb2.py index 2e628c2b5..4dc3bea86 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.py +++ b/temporalio/bridge/proto/nexus/nexus_pb2.py @@ -2,30 +2,47 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/nexus/nexus.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.nexus.v1 import message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2 -from temporalio.api.workflowservice.v1 import request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 - +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, +) +from temporalio.api.workflowservice.v1 import ( + request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto\"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xb5\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x34\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorH\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x42\x08\n\x06status\"\x9a\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x42\t\n\x07variant\"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xb5\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x34\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorH\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x42\x08\n\x06status"\x9a\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x42\t\n\x07variant"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3' +) -_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name['NexusTaskCancelReason'] +_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name["NexusTaskCancelReason"] NexusTaskCancelReason = enum_type_wrapper.EnumTypeWrapper(_NEXUSTASKCANCELREASON) -_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['NexusOperationCancellationType'] -NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper(_NEXUSOPERATIONCANCELLATIONTYPE) +_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ + "NexusOperationCancellationType" +] +NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper( + _NEXUSOPERATIONCANCELLATIONTYPE +) TIMED_OUT = 0 WORKER_SHUTDOWN = 1 WAIT_CANCELLATION_COMPLETED = 0 @@ -34,52 +51,69 @@ WAIT_CANCELLATION_REQUESTED = 3 -_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name['NexusOperationResult'] -_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name['NexusTaskCompletion'] -_NEXUSTASK = DESCRIPTOR.message_types_by_name['NexusTask'] -_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name['CancelNexusTask'] -NexusOperationResult = _reflection.GeneratedProtocolMessageType('NexusOperationResult', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSOPERATIONRESULT, - '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) - }) +_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name["NexusOperationResult"] +_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name["NexusTaskCompletion"] +_NEXUSTASK = DESCRIPTOR.message_types_by_name["NexusTask"] +_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name["CancelNexusTask"] +NexusOperationResult = _reflection.GeneratedProtocolMessageType( + "NexusOperationResult", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONRESULT, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) + }, +) _sym_db.RegisterMessage(NexusOperationResult) -NexusTaskCompletion = _reflection.GeneratedProtocolMessageType('NexusTaskCompletion', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSTASKCOMPLETION, - '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) - }) +NexusTaskCompletion = _reflection.GeneratedProtocolMessageType( + "NexusTaskCompletion", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSTASKCOMPLETION, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) + }, +) _sym_db.RegisterMessage(NexusTaskCompletion) -NexusTask = _reflection.GeneratedProtocolMessageType('NexusTask', (_message.Message,), { - 'DESCRIPTOR' : _NEXUSTASK, - '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) - }) +NexusTask = _reflection.GeneratedProtocolMessageType( + "NexusTask", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSTASK, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) + }, +) _sym_db.RegisterMessage(NexusTask) -CancelNexusTask = _reflection.GeneratedProtocolMessageType('CancelNexusTask', (_message.Message,), { - 'DESCRIPTOR' : _CANCELNEXUSTASK, - '__module__' : 'temporal.sdk.core.nexus.nexus_pb2' - # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) - }) +CancelNexusTask = _reflection.GeneratedProtocolMessageType( + "CancelNexusTask", + (_message.Message,), + { + "DESCRIPTOR": _CANCELNEXUSTASK, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) + }, +) _sym_db.RegisterMessage(CancelNexusTask) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\002(Temporalio::Internal::Bridge::Api::Nexus' - _NEXUSTASKCANCELREASON._serialized_start=948 - _NEXUSTASKCANCELREASON._serialized_end=1007 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start=1009 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end=1136 - _NEXUSOPERATIONRESULT._serialized_start=264 - _NEXUSOPERATIONRESULT._serialized_end=512 - _NEXUSTASKCOMPLETION._serialized_start=515 - _NEXUSTASKCOMPLETION._serialized_end=696 - _NEXUSTASK._serialized_start=699 - _NEXUSTASK._serialized_end=853 - _CANCELNEXUSTASK._serialized_start=855 - _CANCELNEXUSTASK._serialized_end=946 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" + ) + _NEXUSTASKCANCELREASON._serialized_start = 948 + _NEXUSTASKCANCELREASON._serialized_end = 1007 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start = 1009 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end = 1136 + _NEXUSOPERATIONRESULT._serialized_start = 264 + _NEXUSOPERATIONRESULT._serialized_end = 512 + _NEXUSTASKCOMPLETION._serialized_start = 515 + _NEXUSTASKCOMPLETION._serialized_end = 696 + _NEXUSTASK._serialized_start = 699 + _NEXUSTASK._serialized_end = 853 + _CANCELNEXUSTASK._serialized_start = 855 + _CANCELNEXUSTASK._serialized_end = 946 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.pyi b/temporalio/bridge/proto/nexus/nexus_pb2.pyi index a86910e87..8dfe261b7 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.pyi +++ b/temporalio/bridge/proto/nexus/nexus_pb2.pyi @@ -2,16 +2,19 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins +import sys +import typing + import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper import google.protobuf.message -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.nexus.v1.message_pb2 import temporalio.api.workflowservice.v1.request_response_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -24,14 +27,21 @@ class _NexusTaskCancelReason: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusTaskCancelReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusTaskCancelReason.ValueType], builtins.type): # noqa: F821 +class _NexusTaskCancelReasonEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _NexusTaskCancelReason.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMED_OUT: _NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" WORKER_SHUTDOWN: _NexusTaskCancelReason.ValueType # 1 """The worker is shutting down""" -class NexusTaskCancelReason(_NexusTaskCancelReason, metaclass=_NexusTaskCancelReasonEnumTypeWrapper): ... +class NexusTaskCancelReason( + _NexusTaskCancelReason, metaclass=_NexusTaskCancelReasonEnumTypeWrapper +): ... TIMED_OUT: NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" @@ -43,7 +53,12 @@ class _NexusOperationCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _NexusOperationCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_NexusOperationCancellationType.ValueType], builtins.type): # noqa: F821 +class _NexusOperationCancellationTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _NexusOperationCancellationType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 0 """Wait for operation cancellation completion. Default.""" @@ -57,7 +72,10 @@ class _NexusOperationCancellationTypeEnumTypeWrapper(google.protobuf.internal.en WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 3 """Request cancellation of the operation and wait for confirmation that the request was received.""" -class NexusOperationCancellationType(_NexusOperationCancellationType, metaclass=_NexusOperationCancellationTypeEnumTypeWrapper): +class NexusOperationCancellationType( + _NexusOperationCancellationType, + metaclass=_NexusOperationCancellationTypeEnumTypeWrapper, +): """Controls at which point to report back to lang when a nexus operation is cancelled""" WAIT_CANCELLATION_COMPLETED: NexusOperationCancellationType.ValueType # 0 @@ -98,9 +116,42 @@ class NexusOperationResult(google.protobuf.message.Message): cancelled: temporalio.api.failure.v1.message_pb2.Failure | None = ..., timed_out: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "timed_out", b"timed_out"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "completed", b"completed", "failed", b"failed", "status", b"status", "timed_out", b"timed_out"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + "timed_out", + b"timed_out", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "completed", + b"completed", + "failed", + b"failed", + "status", + b"status", + "timed_out", + b"timed_out", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] + | None + ): ... global___NexusOperationResult = NexusOperationResult @@ -137,9 +188,37 @@ class NexusTaskCompletion(google.protobuf.message.Message): error: temporalio.api.nexus.v1.message_pb2.HandlerError | None = ..., ack_cancel: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["ack_cancel", b"ack_cancel", "completed", b"completed", "error", b"error", "status", b"status"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["ack_cancel", b"ack_cancel", "completed", b"completed", "error", b"error", "status", b"status", "task_token", b"task_token"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["completed", "error", "ack_cancel"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "ack_cancel", + b"ack_cancel", + "completed", + b"completed", + "error", + b"error", + "status", + b"status", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "ack_cancel", + b"ack_cancel", + "completed", + b"completed", + "error", + b"error", + "status", + b"status", + "task_token", + b"task_token", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["completed", "error", "ack_cancel"] | None: ... global___NexusTaskCompletion = NexusTaskCompletion @@ -149,7 +228,9 @@ class NexusTask(google.protobuf.message.Message): TASK_FIELD_NUMBER: builtins.int CANCEL_TASK_FIELD_NUMBER: builtins.int @property - def task(self) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: + def task( + self, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: """A nexus task from server""" @property def cancel_task(self) -> global___CancelNexusTask: @@ -168,12 +249,25 @@ class NexusTask(google.protobuf.message.Message): def __init__( self, *, - task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse | None = ..., + task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse + | None = ..., cancel_task: global___CancelNexusTask | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel_task", b"cancel_task", "task", b"task", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_task", b"cancel_task", "task", b"task", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["task", "cancel_task"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel_task", b"cancel_task", "task", b"task", "variant", b"variant" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_task", b"cancel_task", "task", b"task", "variant", b"variant" + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["task", "cancel_task"] | None: ... global___NexusTask = NexusTask @@ -192,6 +286,11 @@ class CancelNexusTask(google.protobuf.message.Message): task_token: builtins.bytes = ..., reason: global___NexusTaskCancelReason.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "task_token", b"task_token"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "reason", b"reason", "task_token", b"task_token" + ], + ) -> None: ... global___CancelNexusTask = CancelNexusTask diff --git a/temporalio/bridge/proto/workflow_activation/__init__.py b/temporalio/bridge/proto/workflow_activation/__init__.py index 6f1a164b8..5c178e218 100644 --- a/temporalio/bridge/proto/workflow_activation/__init__.py +++ b/temporalio/bridge/proto/workflow_activation/__init__.py @@ -1,24 +1,26 @@ -from .workflow_activation_pb2 import WorkflowActivation -from .workflow_activation_pb2 import WorkflowActivationJob -from .workflow_activation_pb2 import InitializeWorkflow -from .workflow_activation_pb2 import FireTimer -from .workflow_activation_pb2 import ResolveActivity -from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStart -from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartSuccess -from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartFailure -from .workflow_activation_pb2 import ResolveChildWorkflowExecutionStartCancelled -from .workflow_activation_pb2 import ResolveChildWorkflowExecution -from .workflow_activation_pb2 import UpdateRandomSeed -from .workflow_activation_pb2 import QueryWorkflow -from .workflow_activation_pb2 import CancelWorkflow -from .workflow_activation_pb2 import SignalWorkflow -from .workflow_activation_pb2 import NotifyHasPatch -from .workflow_activation_pb2 import ResolveSignalExternalWorkflow -from .workflow_activation_pb2 import ResolveRequestCancelExternalWorkflow -from .workflow_activation_pb2 import DoUpdate -from .workflow_activation_pb2 import ResolveNexusOperationStart -from .workflow_activation_pb2 import ResolveNexusOperation -from .workflow_activation_pb2 import RemoveFromCache +from .workflow_activation_pb2 import ( + CancelWorkflow, + DoUpdate, + FireTimer, + InitializeWorkflow, + NotifyHasPatch, + QueryWorkflow, + RemoveFromCache, + ResolveActivity, + ResolveChildWorkflowExecution, + ResolveChildWorkflowExecutionStart, + ResolveChildWorkflowExecutionStartCancelled, + ResolveChildWorkflowExecutionStartFailure, + ResolveChildWorkflowExecutionStartSuccess, + ResolveNexusOperation, + ResolveNexusOperationStart, + ResolveRequestCancelExternalWorkflow, + ResolveSignalExternalWorkflow, + SignalWorkflow, + UpdateRandomSeed, + WorkflowActivation, + WorkflowActivationJob, +) __all__ = [ "CancelWorkflow", diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py index 7db2601b9..cadb177da 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py @@ -2,300 +2,430 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_activation/workflow_activation.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.update.v1 import message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.bridge.proto.activity_result import activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2 -from temporalio.bridge.proto.child_workflow import child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 -from temporalio.bridge.proto.nexus import nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto\"\xfa\x02\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion\"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant\"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08\"\xd1\x02\n\"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status\";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause\"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult\"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04\"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\"\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t\"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult\"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason\"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3') - - +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name['WorkflowActivation'] -_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name['WorkflowActivationJob'] -_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name['InitializeWorkflow'] -_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name['HeadersEntry'] -_FIRETIMER = DESCRIPTOR.message_types_by_name['FireTimer'] -_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name['ResolveActivity'] -_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStart'] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartSuccess'] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartFailure'] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecutionStartCancelled'] -_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['ResolveChildWorkflowExecution'] -_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name['UpdateRandomSeed'] -_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name['QueryWorkflow'] -_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name['HeadersEntry'] -_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name['CancelWorkflow'] -_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name['SignalWorkflow'] -_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name['HeadersEntry'] -_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name['NotifyHasPatch'] -_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name['ResolveSignalExternalWorkflow'] -_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name['ResolveRequestCancelExternalWorkflow'] -_DOUPDATE = DESCRIPTOR.message_types_by_name['DoUpdate'] -_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name['HeadersEntry'] -_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name['ResolveNexusOperationStart'] -_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name['ResolveNexusOperation'] -_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name['RemoveFromCache'] -_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name['EvictionReason'] -WorkflowActivation = _reflection.GeneratedProtocolMessageType('WorkflowActivation', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWACTIVATION, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) - }) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.update.v1 import ( + message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, +) +from temporalio.bridge.proto.activity_result import ( + activity_result_pb2 as temporal_dot_sdk_dot_core_dot_activity__result_dot_activity__result__pb2, +) +from temporalio.bridge.proto.child_workflow import ( + child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) +from temporalio.bridge.proto.nexus import ( + nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto"\xfa\x02\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08"\xd1\x02\n"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01""\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3' +) + + +_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name["WorkflowActivation"] +_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name["WorkflowActivationJob"] +_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name["InitializeWorkflow"] +_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name[ + "HeadersEntry" +] +_FIRETIMER = DESCRIPTOR.message_types_by_name["FireTimer"] +_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name["ResolveActivity"] +_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStart" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartSuccess" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartFailure" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartCancelled" +] +_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecution" +] +_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name["UpdateRandomSeed"] +_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name["QueryWorkflow"] +_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name["HeadersEntry"] +_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name["CancelWorkflow"] +_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["SignalWorkflow"] +_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name["HeadersEntry"] +_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name["NotifyHasPatch"] +_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ + "ResolveSignalExternalWorkflow" +] +_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ + "ResolveRequestCancelExternalWorkflow" +] +_DOUPDATE = DESCRIPTOR.message_types_by_name["DoUpdate"] +_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name["HeadersEntry"] +_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name[ + "ResolveNexusOperationStart" +] +_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ResolveNexusOperation"] +_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name["RemoveFromCache"] +_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name["EvictionReason"] +WorkflowActivation = _reflection.GeneratedProtocolMessageType( + "WorkflowActivation", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) + }, +) _sym_db.RegisterMessage(WorkflowActivation) -WorkflowActivationJob = _reflection.GeneratedProtocolMessageType('WorkflowActivationJob', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWACTIVATIONJOB, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) - }) +WorkflowActivationJob = _reflection.GeneratedProtocolMessageType( + "WorkflowActivationJob", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATIONJOB, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) + }, +) _sym_db.RegisterMessage(WorkflowActivationJob) -InitializeWorkflow = _reflection.GeneratedProtocolMessageType('InitializeWorkflow', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _INITIALIZEWORKFLOW_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) - }) - , - 'DESCRIPTOR' : _INITIALIZEWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) - }) +InitializeWorkflow = _reflection.GeneratedProtocolMessageType( + "InitializeWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _INITIALIZEWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _INITIALIZEWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) + }, +) _sym_db.RegisterMessage(InitializeWorkflow) _sym_db.RegisterMessage(InitializeWorkflow.HeadersEntry) -FireTimer = _reflection.GeneratedProtocolMessageType('FireTimer', (_message.Message,), { - 'DESCRIPTOR' : _FIRETIMER, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) - }) +FireTimer = _reflection.GeneratedProtocolMessageType( + "FireTimer", + (_message.Message,), + { + "DESCRIPTOR": _FIRETIMER, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) + }, +) _sym_db.RegisterMessage(FireTimer) -ResolveActivity = _reflection.GeneratedProtocolMessageType('ResolveActivity', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVEACTIVITY, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) - }) +ResolveActivity = _reflection.GeneratedProtocolMessageType( + "ResolveActivity", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVEACTIVITY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) + }, +) _sym_db.RegisterMessage(ResolveActivity) -ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStart', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTART, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) - }) +ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStart", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTART, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) + }, +) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStart) -ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartSuccess', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) - }) +ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartSuccess", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) + }, +) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartSuccess) -ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartFailure', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) - }) +ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartFailure", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) + }, +) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartFailure) -ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecutionStartCancelled', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) - }) +ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartCancelled", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) + }, +) _sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartCancelled) -ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('ResolveChildWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVECHILDWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) - }) +ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) + }, +) _sym_db.RegisterMessage(ResolveChildWorkflowExecution) -UpdateRandomSeed = _reflection.GeneratedProtocolMessageType('UpdateRandomSeed', (_message.Message,), { - 'DESCRIPTOR' : _UPDATERANDOMSEED, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) - }) +UpdateRandomSeed = _reflection.GeneratedProtocolMessageType( + "UpdateRandomSeed", + (_message.Message,), + { + "DESCRIPTOR": _UPDATERANDOMSEED, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) + }, +) _sym_db.RegisterMessage(UpdateRandomSeed) -QueryWorkflow = _reflection.GeneratedProtocolMessageType('QueryWorkflow', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _QUERYWORKFLOW_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) - }) - , - 'DESCRIPTOR' : _QUERYWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) - }) +QueryWorkflow = _reflection.GeneratedProtocolMessageType( + "QueryWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _QUERYWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) + }, +) _sym_db.RegisterMessage(QueryWorkflow) _sym_db.RegisterMessage(QueryWorkflow.HeadersEntry) -CancelWorkflow = _reflection.GeneratedProtocolMessageType('CancelWorkflow', (_message.Message,), { - 'DESCRIPTOR' : _CANCELWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) - }) +CancelWorkflow = _reflection.GeneratedProtocolMessageType( + "CancelWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) + }, +) _sym_db.RegisterMessage(CancelWorkflow) -SignalWorkflow = _reflection.GeneratedProtocolMessageType('SignalWorkflow', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALWORKFLOW_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) - }) - , - 'DESCRIPTOR' : _SIGNALWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) - }) +SignalWorkflow = _reflection.GeneratedProtocolMessageType( + "SignalWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _SIGNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) + }, +) _sym_db.RegisterMessage(SignalWorkflow) _sym_db.RegisterMessage(SignalWorkflow.HeadersEntry) -NotifyHasPatch = _reflection.GeneratedProtocolMessageType('NotifyHasPatch', (_message.Message,), { - 'DESCRIPTOR' : _NOTIFYHASPATCH, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) - }) +NotifyHasPatch = _reflection.GeneratedProtocolMessageType( + "NotifyHasPatch", + (_message.Message,), + { + "DESCRIPTOR": _NOTIFYHASPATCH, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) + }, +) _sym_db.RegisterMessage(NotifyHasPatch) -ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType('ResolveSignalExternalWorkflow', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVESIGNALEXTERNALWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) - }) +ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType( + "ResolveSignalExternalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVESIGNALEXTERNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) + }, +) _sym_db.RegisterMessage(ResolveSignalExternalWorkflow) -ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType('ResolveRequestCancelExternalWorkflow', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) - }) +ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType( + "ResolveRequestCancelExternalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) + }, +) _sym_db.RegisterMessage(ResolveRequestCancelExternalWorkflow) -DoUpdate = _reflection.GeneratedProtocolMessageType('DoUpdate', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _DOUPDATE_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) - }) - , - 'DESCRIPTOR' : _DOUPDATE, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) - }) +DoUpdate = _reflection.GeneratedProtocolMessageType( + "DoUpdate", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _DOUPDATE_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) + }, + ), + "DESCRIPTOR": _DOUPDATE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) + }, +) _sym_db.RegisterMessage(DoUpdate) _sym_db.RegisterMessage(DoUpdate.HeadersEntry) -ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType('ResolveNexusOperationStart', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVENEXUSOPERATIONSTART, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) - }) +ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType( + "ResolveNexusOperationStart", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVENEXUSOPERATIONSTART, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) + }, +) _sym_db.RegisterMessage(ResolveNexusOperationStart) -ResolveNexusOperation = _reflection.GeneratedProtocolMessageType('ResolveNexusOperation', (_message.Message,), { - 'DESCRIPTOR' : _RESOLVENEXUSOPERATION, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) - }) +ResolveNexusOperation = _reflection.GeneratedProtocolMessageType( + "ResolveNexusOperation", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVENEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) + }, +) _sym_db.RegisterMessage(ResolveNexusOperation) -RemoveFromCache = _reflection.GeneratedProtocolMessageType('RemoveFromCache', (_message.Message,), { - 'DESCRIPTOR' : _REMOVEFROMCACHE, - '__module__' : 'temporal.sdk.core.workflow_activation.workflow_activation_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) - }) +RemoveFromCache = _reflection.GeneratedProtocolMessageType( + "RemoveFromCache", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEFROMCACHE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) + }, +) _sym_db.RegisterMessage(RemoveFromCache) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation' - _INITIALIZEWORKFLOW_HEADERSENTRY._options = None - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' - _QUERYWORKFLOW_HEADERSENTRY._options = None - _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' - _SIGNALWORKFLOW_HEADERSENTRY._options = None - _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b'8\001' - _DOUPDATE_HEADERSENTRY._options = None - _DOUPDATE_HEADERSENTRY._serialized_options = b'8\001' - _WORKFLOWACTIVATION._serialized_start=532 - _WORKFLOWACTIVATION._serialized_end=910 - _WORKFLOWACTIVATIONJOB._serialized_start=913 - _WORKFLOWACTIVATIONJOB._serialized_end=2289 - _INITIALIZEWORKFLOW._serialized_start=2292 - _INITIALIZEWORKFLOW._serialized_end=3661 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start=3582 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end=3661 - _FIRETIMER._serialized_start=3663 - _FIRETIMER._serialized_end=3687 - _RESOLVEACTIVITY._serialized_start=3689 - _RESOLVEACTIVITY._serialized_end=3798 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start=3801 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end=4138 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start=4140 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end=4199 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start=4202 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end=4368 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start=4370 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end=4466 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_start=4468 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_end=4573 - _UPDATERANDOMSEED._serialized_start=4575 - _UPDATERANDOMSEED._serialized_end=4618 - _QUERYWORKFLOW._serialized_start=4621 - _QUERYWORKFLOW._serialized_end=4881 - _QUERYWORKFLOW_HEADERSENTRY._serialized_start=3582 - _QUERYWORKFLOW_HEADERSENTRY._serialized_end=3661 - _CANCELWORKFLOW._serialized_start=4883 - _CANCELWORKFLOW._serialized_end=4915 - _SIGNALWORKFLOW._serialized_start=4918 - _SIGNALWORKFLOW._serialized_end=5177 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_start=3582 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_end=3661 - _NOTIFYHASPATCH._serialized_start=5179 - _NOTIFYHASPATCH._serialized_end=5213 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start=5215 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end=5310 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start=5312 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end=5414 - _DOUPDATE._serialized_start=5417 - _DOUPDATE._serialized_end=5748 - _DOUPDATE_HEADERSENTRY._serialized_start=3582 - _DOUPDATE_HEADERSENTRY._serialized_end=3661 - _RESOLVENEXUSOPERATIONSTART._serialized_start=5751 - _RESOLVENEXUSOPERATIONSTART._serialized_end=5905 - _RESOLVENEXUSOPERATION._serialized_start=5907 - _RESOLVENEXUSOPERATION._serialized_end=5996 - _REMOVEFROMCACHE._serialized_start=5999 - _REMOVEFROMCACHE._serialized_end=6351 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_start=6113 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_end=6351 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation" + ) + _INITIALIZEWORKFLOW_HEADERSENTRY._options = None + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _QUERYWORKFLOW_HEADERSENTRY._options = None + _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _SIGNALWORKFLOW_HEADERSENTRY._options = None + _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _DOUPDATE_HEADERSENTRY._options = None + _DOUPDATE_HEADERSENTRY._serialized_options = b"8\001" + _WORKFLOWACTIVATION._serialized_start = 532 + _WORKFLOWACTIVATION._serialized_end = 910 + _WORKFLOWACTIVATIONJOB._serialized_start = 913 + _WORKFLOWACTIVATIONJOB._serialized_end = 2289 + _INITIALIZEWORKFLOW._serialized_start = 2292 + _INITIALIZEWORKFLOW._serialized_end = 3661 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start = 3582 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end = 3661 + _FIRETIMER._serialized_start = 3663 + _FIRETIMER._serialized_end = 3687 + _RESOLVEACTIVITY._serialized_start = 3689 + _RESOLVEACTIVITY._serialized_end = 3798 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start = 3801 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end = 4138 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start = 4140 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end = 4199 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start = 4202 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end = 4368 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start = 4370 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end = 4466 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_start = 4468 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_end = 4573 + _UPDATERANDOMSEED._serialized_start = 4575 + _UPDATERANDOMSEED._serialized_end = 4618 + _QUERYWORKFLOW._serialized_start = 4621 + _QUERYWORKFLOW._serialized_end = 4881 + _QUERYWORKFLOW_HEADERSENTRY._serialized_start = 3582 + _QUERYWORKFLOW_HEADERSENTRY._serialized_end = 3661 + _CANCELWORKFLOW._serialized_start = 4883 + _CANCELWORKFLOW._serialized_end = 4915 + _SIGNALWORKFLOW._serialized_start = 4918 + _SIGNALWORKFLOW._serialized_end = 5177 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_start = 3582 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_end = 3661 + _NOTIFYHASPATCH._serialized_start = 5179 + _NOTIFYHASPATCH._serialized_end = 5213 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start = 5215 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end = 5310 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start = 5312 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end = 5414 + _DOUPDATE._serialized_start = 5417 + _DOUPDATE._serialized_end = 5748 + _DOUPDATE_HEADERSENTRY._serialized_start = 3582 + _DOUPDATE_HEADERSENTRY._serialized_end = 3661 + _RESOLVENEXUSOPERATIONSTART._serialized_start = 5751 + _RESOLVENEXUSOPERATIONSTART._serialized_end = 5905 + _RESOLVENEXUSOPERATION._serialized_start = 5907 + _RESOLVENEXUSOPERATION._serialized_end = 5996 + _REMOVEFROMCACHE._serialized_start = 5999 + _REMOVEFROMCACHE._serialized_end = 6351 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_start = 6113 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_end = 6351 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi index 50d253871..497382b74 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi @@ -5,15 +5,19 @@ isort:skip_file Definitions of the different workflow activation jobs returned from [crate::Core::poll_task]. The lang SDK applies these activation jobs to drive workflows. """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -22,7 +26,6 @@ import temporalio.bridge.proto.activity_result.activity_result_pb2 import temporalio.bridge.proto.child_workflow.child_workflow_pb2 import temporalio.bridge.proto.common.common_pb2 import temporalio.bridge.proto.nexus.nexus_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -103,10 +106,16 @@ class WorkflowActivation(google.protobuf.message.Message): This ensures that the number is always deterministic """ @property - def jobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkflowActivationJob]: + def jobs( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkflowActivationJob + ]: """The things to do upon activating the workflow""" @property - def available_internal_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def available_internal_flags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Internal flags which are available for use by lang. If `is_replaying` is false, all internal flags may be used. This is not a delta - all previously used flags always appear since this representation is cheap. @@ -116,7 +125,9 @@ class WorkflowActivation(google.protobuf.message.Message): continue_as_new_suggested: builtins.bool """Set true if the most recent WFT started event had this suggestion""" @property - def deployment_version_for_current_task(self) -> temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion: + def deployment_version_for_current_task( + self, + ) -> temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion: """Set to the deployment version of the worker that processed this task, which may be empty. During replay this version may not equal the version of the replaying worker. If not replaying and this worker has a defined @@ -136,10 +147,41 @@ class WorkflowActivation(google.protobuf.message.Message): available_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., history_size_bytes: builtins.int = ..., continue_as_new_suggested: builtins.bool = ..., - deployment_version_for_current_task: temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion | None = ..., + deployment_version_for_current_task: temporalio.bridge.proto.common.common_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "deployment_version_for_current_task", + b"deployment_version_for_current_task", + "timestamp", + b"timestamp", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "available_internal_flags", + b"available_internal_flags", + "continue_as_new_suggested", + b"continue_as_new_suggested", + "deployment_version_for_current_task", + b"deployment_version_for_current_task", + "history_length", + b"history_length", + "history_size_bytes", + b"history_size_bytes", + "is_replaying", + b"is_replaying", + "jobs", + b"jobs", + "run_id", + b"run_id", + "timestamp", + b"timestamp", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["deployment_version_for_current_task", b"deployment_version_for_current_task", "timestamp", b"timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["available_internal_flags", b"available_internal_flags", "continue_as_new_suggested", b"continue_as_new_suggested", "deployment_version_for_current_task", b"deployment_version_for_current_task", "history_length", b"history_length", "history_size_bytes", b"history_size_bytes", "is_replaying", b"is_replaying", "jobs", b"jobs", "run_id", b"run_id", "timestamp", b"timestamp"]) -> None: ... global___WorkflowActivation = WorkflowActivation @@ -192,16 +234,24 @@ class WorkflowActivationJob(google.protobuf.message.Message): command being sent first. """ @property - def resolve_child_workflow_execution_start(self) -> global___ResolveChildWorkflowExecutionStart: + def resolve_child_workflow_execution_start( + self, + ) -> global___ResolveChildWorkflowExecutionStart: """A child workflow execution has started or failed to start""" @property - def resolve_child_workflow_execution(self) -> global___ResolveChildWorkflowExecution: + def resolve_child_workflow_execution( + self, + ) -> global___ResolveChildWorkflowExecution: """A child workflow was resolved, result could be completed or failed""" @property - def resolve_signal_external_workflow(self) -> global___ResolveSignalExternalWorkflow: + def resolve_signal_external_workflow( + self, + ) -> global___ResolveSignalExternalWorkflow: """An attempt to signal an external workflow resolved""" @property - def resolve_request_cancel_external_workflow(self) -> global___ResolveRequestCancelExternalWorkflow: + def resolve_request_cancel_external_workflow( + self, + ) -> global___ResolveRequestCancelExternalWorkflow: """An attempt to cancel an external workflow resolved""" @property def do_update(self) -> global___DoUpdate: @@ -229,18 +279,120 @@ class WorkflowActivationJob(google.protobuf.message.Message): signal_workflow: global___SignalWorkflow | None = ..., resolve_activity: global___ResolveActivity | None = ..., notify_has_patch: global___NotifyHasPatch | None = ..., - resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart | None = ..., - resolve_child_workflow_execution: global___ResolveChildWorkflowExecution | None = ..., - resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow | None = ..., - resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow | None = ..., + resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart + | None = ..., + resolve_child_workflow_execution: global___ResolveChildWorkflowExecution + | None = ..., + resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow + | None = ..., + resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow + | None = ..., do_update: global___DoUpdate | None = ..., resolve_nexus_operation_start: global___ResolveNexusOperationStart | None = ..., resolve_nexus_operation: global___ResolveNexusOperation | None = ..., remove_from_cache: global___RemoveFromCache | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel_workflow", b"cancel_workflow", "do_update", b"do_update", "fire_timer", b"fire_timer", "initialize_workflow", b"initialize_workflow", "notify_has_patch", b"notify_has_patch", "query_workflow", b"query_workflow", "remove_from_cache", b"remove_from_cache", "resolve_activity", b"resolve_activity", "resolve_child_workflow_execution", b"resolve_child_workflow_execution", "resolve_child_workflow_execution_start", b"resolve_child_workflow_execution_start", "resolve_nexus_operation", b"resolve_nexus_operation", "resolve_nexus_operation_start", b"resolve_nexus_operation_start", "resolve_request_cancel_external_workflow", b"resolve_request_cancel_external_workflow", "resolve_signal_external_workflow", b"resolve_signal_external_workflow", "signal_workflow", b"signal_workflow", "update_random_seed", b"update_random_seed", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_workflow", b"cancel_workflow", "do_update", b"do_update", "fire_timer", b"fire_timer", "initialize_workflow", b"initialize_workflow", "notify_has_patch", b"notify_has_patch", "query_workflow", b"query_workflow", "remove_from_cache", b"remove_from_cache", "resolve_activity", b"resolve_activity", "resolve_child_workflow_execution", b"resolve_child_workflow_execution", "resolve_child_workflow_execution_start", b"resolve_child_workflow_execution_start", "resolve_nexus_operation", b"resolve_nexus_operation", "resolve_nexus_operation_start", b"resolve_nexus_operation_start", "resolve_request_cancel_external_workflow", b"resolve_request_cancel_external_workflow", "resolve_signal_external_workflow", b"resolve_signal_external_workflow", "signal_workflow", b"signal_workflow", "update_random_seed", b"update_random_seed", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["initialize_workflow", "fire_timer", "update_random_seed", "query_workflow", "cancel_workflow", "signal_workflow", "resolve_activity", "notify_has_patch", "resolve_child_workflow_execution_start", "resolve_child_workflow_execution", "resolve_signal_external_workflow", "resolve_request_cancel_external_workflow", "do_update", "resolve_nexus_operation_start", "resolve_nexus_operation", "remove_from_cache"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel_workflow", + b"cancel_workflow", + "do_update", + b"do_update", + "fire_timer", + b"fire_timer", + "initialize_workflow", + b"initialize_workflow", + "notify_has_patch", + b"notify_has_patch", + "query_workflow", + b"query_workflow", + "remove_from_cache", + b"remove_from_cache", + "resolve_activity", + b"resolve_activity", + "resolve_child_workflow_execution", + b"resolve_child_workflow_execution", + "resolve_child_workflow_execution_start", + b"resolve_child_workflow_execution_start", + "resolve_nexus_operation", + b"resolve_nexus_operation", + "resolve_nexus_operation_start", + b"resolve_nexus_operation_start", + "resolve_request_cancel_external_workflow", + b"resolve_request_cancel_external_workflow", + "resolve_signal_external_workflow", + b"resolve_signal_external_workflow", + "signal_workflow", + b"signal_workflow", + "update_random_seed", + b"update_random_seed", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_workflow", + b"cancel_workflow", + "do_update", + b"do_update", + "fire_timer", + b"fire_timer", + "initialize_workflow", + b"initialize_workflow", + "notify_has_patch", + b"notify_has_patch", + "query_workflow", + b"query_workflow", + "remove_from_cache", + b"remove_from_cache", + "resolve_activity", + b"resolve_activity", + "resolve_child_workflow_execution", + b"resolve_child_workflow_execution", + "resolve_child_workflow_execution_start", + b"resolve_child_workflow_execution_start", + "resolve_nexus_operation", + b"resolve_nexus_operation", + "resolve_nexus_operation_start", + b"resolve_nexus_operation_start", + "resolve_request_cancel_external_workflow", + b"resolve_request_cancel_external_workflow", + "resolve_signal_external_workflow", + b"resolve_signal_external_workflow", + "signal_workflow", + b"signal_workflow", + "update_random_seed", + b"update_random_seed", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal[ + "initialize_workflow", + "fire_timer", + "update_random_seed", + "query_workflow", + "cancel_workflow", + "signal_workflow", + "resolve_activity", + "notify_has_patch", + "resolve_child_workflow_execution_start", + "resolve_child_workflow_execution", + "resolve_signal_external_workflow", + "resolve_request_cancel_external_workflow", + "do_update", + "resolve_nexus_operation_start", + "resolve_nexus_operation", + "remove_from_cache", + ] + | None + ): ... global___WorkflowActivationJob = WorkflowActivationJob @@ -263,8 +415,13 @@ class InitializeWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int WORKFLOW_ID_FIELD_NUMBER: builtins.int @@ -296,19 +453,29 @@ class InitializeWorkflow(google.protobuf.message.Message): workflow_id: builtins.str """The workflow id used on the temporal server""" @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def arguments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Inputs to the workflow code""" randomness_seed: builtins.int """The seed must be used to initialize the random generator used by SDK. RandomSeedUpdatedAttributes are used to deliver seed updates. """ @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.""" identity: builtins.str """Identity of the client who requested this execution""" @property - def parent_workflow_info(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def parent_workflow_info( + self, + ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """If this workflow is a child, information about the parent""" @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -323,7 +490,9 @@ class InitializeWorkflow(google.protobuf.message.Message): """Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow, if any. """ - continued_initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + continued_initiator: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + ) """If this workflow was a continuation, indicates the type of continuation.""" @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: @@ -341,12 +510,16 @@ class InitializeWorkflow(google.protobuf.message.Message): cron_schedule: builtins.str """If this workflow runs on a cron schedule, it will appear here""" @property - def workflow_execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + def workflow_execution_expiration_time( + self, + ) -> google.protobuf.timestamp_pb2.Timestamp: """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ @property - def cron_schedule_to_schedule_interval(self) -> google.protobuf.duration_pb2.Duration: + def cron_schedule_to_schedule_interval( + self, + ) -> google.protobuf.duration_pb2.Duration: """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ @@ -354,7 +527,9 @@ class InitializeWorkflow(google.protobuf.message.Message): def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """User-defined memo""" @property - def search_attributes(self) -> temporalio.api.common.v1.message_pb2.SearchAttributes: + def search_attributes( + self, + ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes created/updated when this workflow was started""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: @@ -380,32 +555,130 @@ class InitializeWorkflow(google.protobuf.message.Message): *, workflow_type: builtins.str = ..., workflow_id: builtins.str = ..., - arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + arguments: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., randomness_seed: builtins.int = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., identity: builtins.str = ..., - parent_workflow_info: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., + parent_workflow_info: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution + | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., continued_from_execution_run_id: builtins.str = ..., continued_initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType = ..., continued_failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., - last_completion_result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., + last_completion_result: temporalio.api.common.v1.message_pb2.Payloads + | None = ..., first_execution_run_id: builtins.str = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., attempt: builtins.int = ..., cron_schedule: builtins.str = ..., - workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - cron_schedule_to_schedule_interval: google.protobuf.duration_pb2.Duration | None = ..., + workflow_execution_expiration_time: google.protobuf.timestamp_pb2.Timestamp + | None = ..., + cron_schedule_to_schedule_interval: google.protobuf.duration_pb2.Duration + | None = ..., memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., - search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., + search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes + | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - root_workflow: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., + root_workflow: temporalio.api.common.v1.message_pb2.WorkflowExecution + | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["continued_failure", b"continued_failure", "cron_schedule_to_schedule_interval", b"cron_schedule_to_schedule_interval", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_info", b"parent_workflow_info", "priority", b"priority", "retry_policy", b"retry_policy", "root_workflow", b"root_workflow", "search_attributes", b"search_attributes", "start_time", b"start_time", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "attempt", b"attempt", "continued_failure", b"continued_failure", "continued_from_execution_run_id", b"continued_from_execution_run_id", "continued_initiator", b"continued_initiator", "cron_schedule", b"cron_schedule", "cron_schedule_to_schedule_interval", b"cron_schedule_to_schedule_interval", "first_execution_run_id", b"first_execution_run_id", "headers", b"headers", "identity", b"identity", "last_completion_result", b"last_completion_result", "memo", b"memo", "parent_workflow_info", b"parent_workflow_info", "priority", b"priority", "randomness_seed", b"randomness_seed", "retry_policy", b"retry_policy", "root_workflow", b"root_workflow", "search_attributes", b"search_attributes", "start_time", b"start_time", "workflow_execution_expiration_time", b"workflow_execution_expiration_time", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "continued_failure", + b"continued_failure", + "cron_schedule_to_schedule_interval", + b"cron_schedule_to_schedule_interval", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "parent_workflow_info", + b"parent_workflow_info", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "root_workflow", + b"root_workflow", + "search_attributes", + b"search_attributes", + "start_time", + b"start_time", + "workflow_execution_expiration_time", + b"workflow_execution_expiration_time", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "arguments", + b"arguments", + "attempt", + b"attempt", + "continued_failure", + b"continued_failure", + "continued_from_execution_run_id", + b"continued_from_execution_run_id", + "continued_initiator", + b"continued_initiator", + "cron_schedule", + b"cron_schedule", + "cron_schedule_to_schedule_interval", + b"cron_schedule_to_schedule_interval", + "first_execution_run_id", + b"first_execution_run_id", + "headers", + b"headers", + "identity", + b"identity", + "last_completion_result", + b"last_completion_result", + "memo", + b"memo", + "parent_workflow_info", + b"parent_workflow_info", + "priority", + b"priority", + "randomness_seed", + b"randomness_seed", + "retry_policy", + b"retry_policy", + "root_workflow", + b"root_workflow", + "search_attributes", + b"search_attributes", + "start_time", + b"start_time", + "workflow_execution_expiration_time", + b"workflow_execution_expiration_time", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___InitializeWorkflow = InitializeWorkflow @@ -422,7 +695,9 @@ class FireTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___FireTimer = FireTimer @@ -437,7 +712,11 @@ class ResolveActivity(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleActivity command""" @property - def result(self) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution: ... + def result( + self, + ) -> ( + temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution + ): ... is_local: builtins.bool """Set to true if the resolution is for a local activity. This is used internally by Core and lang does not need to care about it. @@ -446,11 +725,19 @@ class ResolveActivity(google.protobuf.message.Message): self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution | None = ..., + result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution + | None = ..., is_local: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["is_local", b"is_local", "result", b"result", "seq", b"seq"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "is_local", b"is_local", "result", b"result", "seq", b"seq" + ], + ) -> None: ... global___ResolveActivity = ResolveActivity @@ -481,9 +768,37 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): failed: global___ResolveChildWorkflowExecutionStartFailure | None = ..., cancelled: global___ResolveChildWorkflowExecutionStartCancelled | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "failed", b"failed", "status", b"status", "succeeded", b"succeeded"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancelled", b"cancelled", "failed", b"failed", "seq", b"seq", "status", b"status", "succeeded", b"succeeded"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "failed", + b"failed", + "status", + b"status", + "succeeded", + b"succeeded", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancelled", + b"cancelled", + "failed", + b"failed", + "seq", + b"seq", + "status", + b"status", + "succeeded", + b"succeeded", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... global___ResolveChildWorkflowExecutionStart = ResolveChildWorkflowExecutionStart @@ -499,9 +814,13 @@ class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message) *, run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["run_id", b"run_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["run_id", b"run_id"] + ) -> None: ... -global___ResolveChildWorkflowExecutionStartSuccess = ResolveChildWorkflowExecutionStartSuccess +global___ResolveChildWorkflowExecutionStartSuccess = ( + ResolveChildWorkflowExecutionStartSuccess +) class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message): """Provide lang the cause of failure""" @@ -524,9 +843,21 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) workflow_type: builtins.str = ..., cause: temporalio.bridge.proto.child_workflow.child_workflow_pb2.StartChildWorkflowExecutionFailedCause.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["cause", b"cause", "workflow_id", b"workflow_id", "workflow_type", b"workflow_type"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cause", + b"cause", + "workflow_id", + b"workflow_id", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... -global___ResolveChildWorkflowExecutionStartFailure = ResolveChildWorkflowExecutionStartFailure +global___ResolveChildWorkflowExecutionStartFailure = ( + ResolveChildWorkflowExecutionStartFailure +) class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Message): """`failure` should be ChildWorkflowFailure with cause set to CancelledFailure. @@ -543,10 +874,16 @@ class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Messag *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -global___ResolveChildWorkflowExecutionStartCancelled = ResolveChildWorkflowExecutionStartCancelled +global___ResolveChildWorkflowExecutionStartCancelled = ( + ResolveChildWorkflowExecutionStartCancelled +) class ResolveChildWorkflowExecution(google.protobuf.message.Message): """Notify a workflow that a child workflow execution has been resolved""" @@ -558,15 +895,24 @@ class ResolveChildWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command""" @property - def result(self) -> temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult: ... + def result( + self, + ) -> ( + temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult + ): ... def __init__( self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult | None = ..., + result: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowResult + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"]) -> None: ... global___ResolveChildWorkflowExecution = ResolveChildWorkflowExecution @@ -582,7 +928,10 @@ class UpdateRandomSeed(google.protobuf.message.Message): *, randomness_seed: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"], + ) -> None: ... global___UpdateRandomSeed = UpdateRandomSeed @@ -605,8 +954,13 @@ class QueryWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... QUERY_ID_FIELD_NUMBER: builtins.int QUERY_TYPE_FIELD_NUMBER: builtins.int @@ -620,19 +974,45 @@ class QueryWorkflow(google.protobuf.message.Message): query_type: builtins.str """The query's function/method/etc name""" @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... + def arguments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Headers attached to the query""" def __init__( self, *, query_id: builtins.str = ..., query_type: builtins.str = ..., - arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + arguments: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "arguments", + b"arguments", + "headers", + b"headers", + "query_id", + b"query_id", + "query_type", + b"query_type", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "headers", b"headers", "query_id", b"query_id", "query_type", b"query_type"]) -> None: ... global___QueryWorkflow = QueryWorkflow @@ -649,7 +1029,9 @@ class CancelWorkflow(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["reason", b"reason"] + ) -> None: ... global___CancelWorkflow = CancelWorkflow @@ -672,8 +1054,13 @@ class SignalWorkflow(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SIGNAL_NAME_FIELD_NUMBER: builtins.int INPUT_FIELD_NUMBER: builtins.int @@ -681,21 +1068,45 @@ class SignalWorkflow(google.protobuf.message.Message): HEADERS_FIELD_NUMBER: builtins.int signal_name: builtins.str @property - def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... + def input( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: ... identity: builtins.str """Identity of the sender of the signal""" @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Headers attached to the signal""" def __init__( self, *, signal_name: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., identity: builtins.str = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "headers", + b"headers", + "identity", + b"identity", + "input", + b"input", + "signal_name", + b"signal_name", + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["headers", b"headers", "identity", b"identity", "input", b"input", "signal_name", b"signal_name"]) -> None: ... global___SignalWorkflow = SignalWorkflow @@ -713,7 +1124,9 @@ class NotifyHasPatch(google.protobuf.message.Message): *, patch_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["patch_id", b"patch_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["patch_id", b"patch_id"] + ) -> None: ... global___NotifyHasPatch = NotifyHasPatch @@ -737,8 +1150,13 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): seq: builtins.int = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], + ) -> None: ... global___ResolveSignalExternalWorkflow = ResolveSignalExternalWorkflow @@ -762,8 +1180,13 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): seq: builtins.int = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], + ) -> None: ... global___ResolveRequestCancelExternalWorkflow = ResolveRequestCancelExternalWorkflow @@ -789,8 +1212,13 @@ class DoUpdate(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... ID_FIELD_NUMBER: builtins.int PROTOCOL_INSTANCE_ID_FIELD_NUMBER: builtins.int @@ -808,10 +1236,18 @@ class DoUpdate(google.protobuf.message.Message): name: builtins.str """The name of the update handler""" @property - def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def input( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """The input to the update""" @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Headers attached to the update""" @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: @@ -828,13 +1264,37 @@ class DoUpdate(google.protobuf.message.Message): id: builtins.str = ..., protocol_instance_id: builtins.str = ..., name: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., meta: temporalio.api.update.v1.message_pb2.Meta | None = ..., run_validator: builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["headers", b"headers", "id", b"id", "input", b"input", "meta", b"meta", "name", b"name", "protocol_instance_id", b"protocol_instance_id", "run_validator", b"run_validator"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["meta", b"meta"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "headers", + b"headers", + "id", + b"id", + "input", + b"input", + "meta", + b"meta", + "name", + b"name", + "protocol_instance_id", + b"protocol_instance_id", + "run_validator", + b"run_validator", + ], + ) -> None: ... global___DoUpdate = DoUpdate @@ -870,9 +1330,39 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): started_sync: builtins.bool = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "operation_token", b"operation_token", "started_sync", b"started_sync", "status", b"status"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "operation_token", b"operation_token", "seq", b"seq", "started_sync", b"started_sync", "status", b"status"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["operation_token", "started_sync", "failed"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failed", + b"failed", + "operation_token", + b"operation_token", + "started_sync", + b"started_sync", + "status", + b"status", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failed", + b"failed", + "operation_token", + b"operation_token", + "seq", + b"seq", + "started_sync", + b"started_sync", + "status", + b"status", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["operation_token", "started_sync", "failed"] | None + ): ... global___ResolveNexusOperationStart = ResolveNexusOperationStart @@ -884,15 +1374,22 @@ class ResolveNexusOperation(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleNexusOperation command""" @property - def result(self) -> temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult: ... + def result( + self, + ) -> temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult: ... def __init__( self, *, seq: builtins.int = ..., - result: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult | None = ..., + result: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationResult + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"]) -> None: ... global___ResolveNexusOperation = ResolveNexusOperation @@ -903,7 +1400,12 @@ class RemoveFromCache(google.protobuf.message.Message): ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType - class _EvictionReasonEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RemoveFromCache._EvictionReason.ValueType], builtins.type): # noqa: F821 + class _EvictionReasonEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + RemoveFromCache._EvictionReason.ValueType + ], + builtins.type, + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: RemoveFromCache._EvictionReason.ValueType # 0 CACHE_FULL: RemoveFromCache._EvictionReason.ValueType # 1 @@ -980,6 +1482,11 @@ class RemoveFromCache(google.protobuf.message.Message): message: builtins.str = ..., reason: global___RemoveFromCache.EvictionReason.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "reason", b"reason"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "message", b"message", "reason", b"reason" + ], + ) -> None: ... global___RemoveFromCache = RemoveFromCache diff --git a/temporalio/bridge/proto/workflow_commands/__init__.py b/temporalio/bridge/proto/workflow_commands/__init__.py index 02dcb6712..f599917af 100644 --- a/temporalio/bridge/proto/workflow_commands/__init__.py +++ b/temporalio/bridge/proto/workflow_commands/__init__.py @@ -1,28 +1,30 @@ -from .workflow_commands_pb2 import ActivityCancellationType -from .workflow_commands_pb2 import WorkflowCommand -from .workflow_commands_pb2 import StartTimer -from .workflow_commands_pb2 import CancelTimer -from .workflow_commands_pb2 import ScheduleActivity -from .workflow_commands_pb2 import ScheduleLocalActivity -from .workflow_commands_pb2 import RequestCancelActivity -from .workflow_commands_pb2 import RequestCancelLocalActivity -from .workflow_commands_pb2 import QueryResult -from .workflow_commands_pb2 import QuerySuccess -from .workflow_commands_pb2 import CompleteWorkflowExecution -from .workflow_commands_pb2 import FailWorkflowExecution -from .workflow_commands_pb2 import ContinueAsNewWorkflowExecution -from .workflow_commands_pb2 import CancelWorkflowExecution -from .workflow_commands_pb2 import SetPatchMarker -from .workflow_commands_pb2 import StartChildWorkflowExecution -from .workflow_commands_pb2 import CancelChildWorkflowExecution -from .workflow_commands_pb2 import RequestCancelExternalWorkflowExecution -from .workflow_commands_pb2 import SignalExternalWorkflowExecution -from .workflow_commands_pb2 import CancelSignalWorkflow -from .workflow_commands_pb2 import UpsertWorkflowSearchAttributes -from .workflow_commands_pb2 import ModifyWorkflowProperties -from .workflow_commands_pb2 import UpdateResponse -from .workflow_commands_pb2 import ScheduleNexusOperation -from .workflow_commands_pb2 import RequestCancelNexusOperation +from .workflow_commands_pb2 import ( + ActivityCancellationType, + CancelChildWorkflowExecution, + CancelSignalWorkflow, + CancelTimer, + CancelWorkflowExecution, + CompleteWorkflowExecution, + ContinueAsNewWorkflowExecution, + FailWorkflowExecution, + ModifyWorkflowProperties, + QueryResult, + QuerySuccess, + RequestCancelActivity, + RequestCancelExternalWorkflowExecution, + RequestCancelLocalActivity, + RequestCancelNexusOperation, + ScheduleActivity, + ScheduleLocalActivity, + ScheduleNexusOperation, + SetPatchMarker, + SignalExternalWorkflowExecution, + StartChildWorkflowExecution, + StartTimer, + UpdateResponse, + UpsertWorkflowSearchAttributes, + WorkflowCommand, +) __all__ = [ "ActivityCancellationType", diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py index 3969755ff..5181a3801 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py @@ -2,425 +2,600 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_commands/workflow_commands.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from temporalio.api.common.v1 import message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.sdk.v1 import user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2 -from temporalio.bridge.proto.child_workflow import child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2 -from temporalio.bridge.proto.nexus import nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto\"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n\"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n\"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant\"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant\"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfb\x06\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12j\n\x11search_attributes\x18\x08 \x03(\x0b\x32O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x19\n\x17\x43\x61ncelWorkflowExecution\"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\"\x94\n\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12g\n\x11search_attributes\x18\x11 \x03(\x0b\x32L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target\"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\"\xe6\x01\n\x1eUpsertWorkflowSearchAttributes\x12j\n\x11search_attributes\x18\x01 \x03(\x0b\x32O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response\"\xa1\x03\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3') +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name['ActivityCancellationType'] +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.bridge.proto.child_workflow import ( + child_workflow_pb2 as temporal_dot_sdk_dot_core_dot_child__workflow_dot_child__workflow__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) +from temporalio.bridge.proto.nexus import ( + nexus_pb2 as temporal_dot_sdk_dot_core_dot_nexus_dot_nexus__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xfb\x06\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12j\n\x11search_attributes\x18\x08 \x03(\x0b\x32O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x19\n\x17\x43\x61ncelWorkflowExecution"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08"\x94\n\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12g\n\x11search_attributes\x18\x11 \x03(\x0b\x32L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xe6\x01\n\x1eUpsertWorkflowSearchAttributes\x12j\n\x11search_attributes\x18\x01 \x03(\x0b\x32O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry\x1aX\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response"\xa1\x03\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3' +) + +_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name["ActivityCancellationType"] ActivityCancellationType = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELLATIONTYPE) TRY_CANCEL = 0 WAIT_CANCELLATION_COMPLETED = 1 ABANDON = 2 -_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name['WorkflowCommand'] -_STARTTIMER = DESCRIPTOR.message_types_by_name['StartTimer'] -_CANCELTIMER = DESCRIPTOR.message_types_by_name['CancelTimer'] -_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name['ScheduleActivity'] -_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name['HeadersEntry'] -_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name['ScheduleLocalActivity'] -_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name['HeadersEntry'] -_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name['RequestCancelActivity'] -_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name['RequestCancelLocalActivity'] -_QUERYRESULT = DESCRIPTOR.message_types_by_name['QueryResult'] -_QUERYSUCCESS = DESCRIPTOR.message_types_by_name['QuerySuccess'] -_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CompleteWorkflowExecution'] -_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['FailWorkflowExecution'] -_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['ContinueAsNewWorkflowExecution'] -_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['MemoEntry'] -_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] -_CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name['SearchAttributesEntry'] -_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CancelWorkflowExecution'] -_SETPATCHMARKER = DESCRIPTOR.message_types_by_name['SetPatchMarker'] -_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['StartChildWorkflowExecution'] -_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] -_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['MemoEntry'] -_STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name['SearchAttributesEntry'] -_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['CancelChildWorkflowExecution'] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecution'] -_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecution'] -_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name['HeadersEntry'] -_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name['CancelSignalWorkflow'] -_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributes'] -_UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY = _UPSERTWORKFLOWSEARCHATTRIBUTES.nested_types_by_name['SearchAttributesEntry'] -_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name['ModifyWorkflowProperties'] -_UPDATERESPONSE = DESCRIPTOR.message_types_by_name['UpdateResponse'] -_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name['ScheduleNexusOperation'] -_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name['NexusHeaderEntry'] -_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name['RequestCancelNexusOperation'] -WorkflowCommand = _reflection.GeneratedProtocolMessageType('WorkflowCommand', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWCOMMAND, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) - }) +_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name["WorkflowCommand"] +_STARTTIMER = DESCRIPTOR.message_types_by_name["StartTimer"] +_CANCELTIMER = DESCRIPTOR.message_types_by_name["CancelTimer"] +_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleActivity"] +_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name["HeadersEntry"] +_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleLocalActivity"] +_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name[ + "HeadersEntry" +] +_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name["RequestCancelActivity"] +_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name[ + "RequestCancelLocalActivity" +] +_QUERYRESULT = DESCRIPTOR.message_types_by_name["QueryResult"] +_QUERYSUCCESS = DESCRIPTOR.message_types_by_name["QuerySuccess"] +_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "CompleteWorkflowExecution" +] +_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["FailWorkflowExecution"] +_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "ContinueAsNewWorkflowExecution" +] +_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = ( + _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] +) +_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = ( + _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = ( + _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["SearchAttributesEntry"] +) +_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["CancelWorkflowExecution"] +_SETPATCHMARKER = DESCRIPTOR.message_types_by_name["SetPatchMarker"] +_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecution" +] +_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = ( + _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = ( + _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] +) +_STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY = ( + _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["SearchAttributesEntry"] +) +_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "CancelChildWorkflowExecution" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecution" +] +_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecution" +] +_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = ( + _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["CancelSignalWorkflow"] +_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributes" +] +_UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY = ( + _UPSERTWORKFLOWSEARCHATTRIBUTES.nested_types_by_name["SearchAttributesEntry"] +) +_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name["ModifyWorkflowProperties"] +_UPDATERESPONSE = DESCRIPTOR.message_types_by_name["UpdateResponse"] +_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ScheduleNexusOperation"] +_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name[ + "NexusHeaderEntry" +] +_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperation" +] +WorkflowCommand = _reflection.GeneratedProtocolMessageType( + "WorkflowCommand", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWCOMMAND, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) + }, +) _sym_db.RegisterMessage(WorkflowCommand) -StartTimer = _reflection.GeneratedProtocolMessageType('StartTimer', (_message.Message,), { - 'DESCRIPTOR' : _STARTTIMER, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) - }) +StartTimer = _reflection.GeneratedProtocolMessageType( + "StartTimer", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) + }, +) _sym_db.RegisterMessage(StartTimer) -CancelTimer = _reflection.GeneratedProtocolMessageType('CancelTimer', (_message.Message,), { - 'DESCRIPTOR' : _CANCELTIMER, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) - }) +CancelTimer = _reflection.GeneratedProtocolMessageType( + "CancelTimer", + (_message.Message,), + { + "DESCRIPTOR": _CANCELTIMER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) + }, +) _sym_db.RegisterMessage(CancelTimer) -ScheduleActivity = _reflection.GeneratedProtocolMessageType('ScheduleActivity', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEACTIVITY_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) - }) - , - 'DESCRIPTOR' : _SCHEDULEACTIVITY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) - }) +ScheduleActivity = _reflection.GeneratedProtocolMessageType( + "ScheduleActivity", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIVITY_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) + }, + ), + "DESCRIPTOR": _SCHEDULEACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) + }, +) _sym_db.RegisterMessage(ScheduleActivity) _sym_db.RegisterMessage(ScheduleActivity.HeadersEntry) -ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType('ScheduleLocalActivity', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULELOCALACTIVITY_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) - }) - , - 'DESCRIPTOR' : _SCHEDULELOCALACTIVITY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) - }) +ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType( + "ScheduleLocalActivity", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELOCALACTIVITY_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) + }, + ), + "DESCRIPTOR": _SCHEDULELOCALACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) + }, +) _sym_db.RegisterMessage(ScheduleLocalActivity) _sym_db.RegisterMessage(ScheduleLocalActivity.HeadersEntry) -RequestCancelActivity = _reflection.GeneratedProtocolMessageType('RequestCancelActivity', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELACTIVITY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) - }) +RequestCancelActivity = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivity", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) + }, +) _sym_db.RegisterMessage(RequestCancelActivity) -RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType('RequestCancelLocalActivity', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELLOCALACTIVITY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) - }) +RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType( + "RequestCancelLocalActivity", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELLOCALACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) + }, +) _sym_db.RegisterMessage(RequestCancelLocalActivity) -QueryResult = _reflection.GeneratedProtocolMessageType('QueryResult', (_message.Message,), { - 'DESCRIPTOR' : _QUERYRESULT, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) - }) +QueryResult = _reflection.GeneratedProtocolMessageType( + "QueryResult", + (_message.Message,), + { + "DESCRIPTOR": _QUERYRESULT, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) + }, +) _sym_db.RegisterMessage(QueryResult) -QuerySuccess = _reflection.GeneratedProtocolMessageType('QuerySuccess', (_message.Message,), { - 'DESCRIPTOR' : _QUERYSUCCESS, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) - }) +QuerySuccess = _reflection.GeneratedProtocolMessageType( + "QuerySuccess", + (_message.Message,), + { + "DESCRIPTOR": _QUERYSUCCESS, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) + }, +) _sym_db.RegisterMessage(QuerySuccess) -CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType('CompleteWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _COMPLETEWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) - }) +CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CompleteWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) + }, +) _sym_db.RegisterMessage(CompleteWorkflowExecution) -FailWorkflowExecution = _reflection.GeneratedProtocolMessageType('FailWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _FAILWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) - }) +FailWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "FailWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _FAILWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) + }, +) _sym_db.RegisterMessage(FailWorkflowExecution) -ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType('ContinueAsNewWorkflowExecution', (_message.Message,), { - - 'MemoEntry' : _reflection.GeneratedProtocolMessageType('MemoEntry', (_message.Message,), { - 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) - }) - , - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) - }) - , - - 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry) - }) - , - 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) - }) +ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "ContinueAsNewWorkflowExecution", + (_message.Message,), + { + "MemoEntry": _reflection.GeneratedProtocolMessageType( + "MemoEntry", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) + }, + ), + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) + }, + ), + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) + }, +) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.MemoEntry) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.HeadersEntry) _sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.SearchAttributesEntry) -CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType('CancelWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _CANCELWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) - }) +CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CancelWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) + }, +) _sym_db.RegisterMessage(CancelWorkflowExecution) -SetPatchMarker = _reflection.GeneratedProtocolMessageType('SetPatchMarker', (_message.Message,), { - 'DESCRIPTOR' : _SETPATCHMARKER, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) - }) +SetPatchMarker = _reflection.GeneratedProtocolMessageType( + "SetPatchMarker", + (_message.Message,), + { + "DESCRIPTOR": _SETPATCHMARKER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) + }, +) _sym_db.RegisterMessage(SetPatchMarker) -StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecution', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) - }) - , - - 'MemoEntry' : _reflection.GeneratedProtocolMessageType('MemoEntry', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) - }) - , - - 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry) - }) - , - 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) - }) +StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecution", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) + }, + ), + "MemoEntry": _reflection.GeneratedProtocolMessageType( + "MemoEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) + }, + ), + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) + }, +) _sym_db.RegisterMessage(StartChildWorkflowExecution) _sym_db.RegisterMessage(StartChildWorkflowExecution.HeadersEntry) _sym_db.RegisterMessage(StartChildWorkflowExecution.MemoEntry) _sym_db.RegisterMessage(StartChildWorkflowExecution.SearchAttributesEntry) -CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType('CancelChildWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _CANCELCHILDWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) - }) +CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CancelChildWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _CANCELCHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) + }, +) _sym_db.RegisterMessage(CancelChildWorkflowExecution) -RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecution', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) - }) +RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) + }, +) _sym_db.RegisterMessage(RequestCancelExternalWorkflowExecution) -SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecution', (_message.Message,), { - - 'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), { - 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) - }) - , - 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) - }) +SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecution", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) + }, + ), + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) + }, +) _sym_db.RegisterMessage(SignalExternalWorkflowExecution) _sym_db.RegisterMessage(SignalExternalWorkflowExecution.HeadersEntry) -CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType('CancelSignalWorkflow', (_message.Message,), { - 'DESCRIPTOR' : _CANCELSIGNALWORKFLOW, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) - }) +CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType( + "CancelSignalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _CANCELSIGNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) + }, +) _sym_db.RegisterMessage(CancelSignalWorkflow) -UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributes', (_message.Message,), { - - 'SearchAttributesEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry) - }) - , - 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTES, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) - }) +UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributes", + (_message.Message,), + { + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) + }, +) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributes) _sym_db.RegisterMessage(UpsertWorkflowSearchAttributes.SearchAttributesEntry) -ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType('ModifyWorkflowProperties', (_message.Message,), { - 'DESCRIPTOR' : _MODIFYWORKFLOWPROPERTIES, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) - }) +ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType( + "ModifyWorkflowProperties", + (_message.Message,), + { + "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIES, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) + }, +) _sym_db.RegisterMessage(ModifyWorkflowProperties) -UpdateResponse = _reflection.GeneratedProtocolMessageType('UpdateResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATERESPONSE, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) - }) +UpdateResponse = _reflection.GeneratedProtocolMessageType( + "UpdateResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATERESPONSE, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) + }, +) _sym_db.RegisterMessage(UpdateResponse) -ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType('ScheduleNexusOperation', (_message.Message,), { - - 'NexusHeaderEntry' : _reflection.GeneratedProtocolMessageType('NexusHeaderEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) - }) - , - 'DESCRIPTOR' : _SCHEDULENEXUSOPERATION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) - }) +ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType( + "ScheduleNexusOperation", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _SCHEDULENEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) + }, +) _sym_db.RegisterMessage(ScheduleNexusOperation) _sym_db.RegisterMessage(ScheduleNexusOperation.NexusHeaderEntry) -RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType('RequestCancelNexusOperation', (_message.Message,), { - 'DESCRIPTOR' : _REQUESTCANCELNEXUSOPERATION, - '__module__' : 'temporal.sdk.core.workflow_commands.workflow_commands_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) - }) +RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperation", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) + }, +) _sym_db.RegisterMessage(RequestCancelNexusOperation) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands' - _SCHEDULEACTIVITY_HEADERSENTRY._options = None - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b'8\001' - _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b'8\001' - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b'8\001' - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b'8\001' - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b'8\001' - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._options = None - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_options = b'8\001' - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b'8\001' - _ACTIVITYCANCELLATIONTYPE._serialized_start=8580 - _ACTIVITYCANCELLATIONTYPE._serialized_end=8668 - _WORKFLOWCOMMAND._serialized_start=472 - _WORKFLOWCOMMAND._serialized_end=2493 - _STARTTIMER._serialized_start=2495 - _STARTTIMER._serialized_end=2578 - _CANCELTIMER._serialized_start=2580 - _CANCELTIMER._serialized_end=2606 - _SCHEDULEACTIVITY._serialized_start=2609 - _SCHEDULEACTIVITY._serialized_end=3433 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start=3354 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end=3433 - _SCHEDULELOCALACTIVITY._serialized_start=3436 - _SCHEDULELOCALACTIVITY._serialized_end=4186 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start=3354 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end=3433 - _REQUESTCANCELACTIVITY._serialized_start=4188 - _REQUESTCANCELACTIVITY._serialized_end=4224 - _REQUESTCANCELLOCALACTIVITY._serialized_start=4226 - _REQUESTCANCELLOCALACTIVITY._serialized_end=4267 - _QUERYRESULT._serialized_start=4270 - _QUERYRESULT._serialized_end=4426 - _QUERYSUCCESS._serialized_start=4428 - _QUERYSUCCESS._serialized_end=4493 - _COMPLETEWORKFLOWEXECUTION._serialized_start=4495 - _COMPLETEWORKFLOWEXECUTION._serialized_end=4571 - _FAILWORKFLOWEXECUTION._serialized_start=4573 - _FAILWORKFLOWEXECUTION._serialized_end=4647 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start=4650 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end=5541 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start=5294 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end=5370 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start=5453 - _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end=5541 - _CANCELWORKFLOWEXECUTION._serialized_start=5543 - _CANCELWORKFLOWEXECUTION._serialized_end=5568 - _SETPATCHMARKER._serialized_start=5570 - _SETPATCHMARKER._serialized_end=5624 - _STARTCHILDWORKFLOWEXECUTION._serialized_start=5627 - _STARTCHILDWORKFLOWEXECUTION._serialized_end=6927 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start=5294 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end=5370 - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start=5453 - _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end=5541 - _CANCELCHILDWORKFLOWEXECUTION._serialized_start=6929 - _CANCELCHILDWORKFLOWEXECUTION._serialized_end=7003 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start=7006 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end=7148 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start=7151 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end=7550 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start=3354 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end=3433 - _CANCELSIGNALWORKFLOW._serialized_start=7552 - _CANCELSIGNALWORKFLOW._serialized_end=7587 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start=7590 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end=7820 - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_start=5453 - _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_end=5541 - _MODIFYWORKFLOWPROPERTIES._serialized_start=7822 - _MODIFYWORKFLOWPROPERTIES._serialized_end=7901 - _UPDATERESPONSE._serialized_start=7904 - _UPDATERESPONSE._serialized_end=8114 - _SCHEDULENEXUSOPERATION._serialized_start=8117 - _SCHEDULENEXUSOPERATION._serialized_end=8534 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start=8484 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end=8534 - _REQUESTCANCELNEXUSOPERATION._serialized_start=8536 - _REQUESTCANCELNEXUSOPERATION._serialized_end=8578 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands" + ) + _SCHEDULEACTIVITY_HEADERSENTRY._options = None + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b"8\001" + _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._options = None + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b"8\001" + _ACTIVITYCANCELLATIONTYPE._serialized_start = 8580 + _ACTIVITYCANCELLATIONTYPE._serialized_end = 8668 + _WORKFLOWCOMMAND._serialized_start = 472 + _WORKFLOWCOMMAND._serialized_end = 2493 + _STARTTIMER._serialized_start = 2495 + _STARTTIMER._serialized_end = 2578 + _CANCELTIMER._serialized_start = 2580 + _CANCELTIMER._serialized_end = 2606 + _SCHEDULEACTIVITY._serialized_start = 2609 + _SCHEDULEACTIVITY._serialized_end = 3433 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start = 3354 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end = 3433 + _SCHEDULELOCALACTIVITY._serialized_start = 3436 + _SCHEDULELOCALACTIVITY._serialized_end = 4186 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start = 3354 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end = 3433 + _REQUESTCANCELACTIVITY._serialized_start = 4188 + _REQUESTCANCELACTIVITY._serialized_end = 4224 + _REQUESTCANCELLOCALACTIVITY._serialized_start = 4226 + _REQUESTCANCELLOCALACTIVITY._serialized_end = 4267 + _QUERYRESULT._serialized_start = 4270 + _QUERYRESULT._serialized_end = 4426 + _QUERYSUCCESS._serialized_start = 4428 + _QUERYSUCCESS._serialized_end = 4493 + _COMPLETEWORKFLOWEXECUTION._serialized_start = 4495 + _COMPLETEWORKFLOWEXECUTION._serialized_end = 4571 + _FAILWORKFLOWEXECUTION._serialized_start = 4573 + _FAILWORKFLOWEXECUTION._serialized_end = 4647 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start = 4650 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end = 5541 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5294 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5370 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start = 5453 + _CONTINUEASNEWWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end = 5541 + _CANCELWORKFLOWEXECUTION._serialized_start = 5543 + _CANCELWORKFLOWEXECUTION._serialized_end = 5568 + _SETPATCHMARKER._serialized_start = 5570 + _SETPATCHMARKER._serialized_end = 5624 + _STARTCHILDWORKFLOWEXECUTION._serialized_start = 5627 + _STARTCHILDWORKFLOWEXECUTION._serialized_end = 6927 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5294 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5370 + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_start = 5453 + _STARTCHILDWORKFLOWEXECUTION_SEARCHATTRIBUTESENTRY._serialized_end = 5541 + _CANCELCHILDWORKFLOWEXECUTION._serialized_start = 6929 + _CANCELCHILDWORKFLOWEXECUTION._serialized_end = 7003 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start = 7006 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end = 7148 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start = 7151 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end = 7550 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _CANCELSIGNALWORKFLOW._serialized_start = 7552 + _CANCELSIGNALWORKFLOW._serialized_end = 7587 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start = 7590 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end = 7820 + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_start = 5453 + _UPSERTWORKFLOWSEARCHATTRIBUTES_SEARCHATTRIBUTESENTRY._serialized_end = 5541 + _MODIFYWORKFLOWPROPERTIES._serialized_start = 7822 + _MODIFYWORKFLOWPROPERTIES._serialized_end = 7901 + _UPDATERESPONSE._serialized_start = 7904 + _UPDATERESPONSE._serialized_end = 8114 + _SCHEDULENEXUSOPERATION._serialized_start = 8117 + _SCHEDULENEXUSOPERATION._serialized_end = 8534 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start = 8484 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end = 8534 + _REQUESTCANCELNEXUSOPERATION._serialized_start = 8536 + _REQUESTCANCELNEXUSOPERATION._serialized_end = 8578 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi index 95ba860a0..2143d89a5 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi @@ -6,8 +6,12 @@ Definitions for commands from a workflow in lang SDK to core. While a workflow p of activation jobs, it accumulates these commands to be sent back to core to conclude that activation. """ + import builtins import collections.abc +import sys +import typing + import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 @@ -15,7 +19,7 @@ import google.protobuf.internal.containers import google.protobuf.internal.enum_type_wrapper import google.protobuf.message import google.protobuf.timestamp_pb2 -import sys + import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -23,7 +27,6 @@ import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.bridge.proto.child_workflow.child_workflow_pb2 import temporalio.bridge.proto.common.common_pb2 import temporalio.bridge.proto.nexus.nexus_pb2 -import typing if sys.version_info >= (3, 10): import typing as typing_extensions @@ -36,7 +39,12 @@ class _ActivityCancellationType: ValueType = typing.NewType("ValueType", builtins.int) V: typing_extensions.TypeAlias = ValueType -class _ActivityCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ActivityCancellationType.ValueType], builtins.type): # noqa: F821 +class _ActivityCancellationTypeEnumTypeWrapper( + google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ + _ActivityCancellationType.ValueType + ], + builtins.type, +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TRY_CANCEL: _ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -50,7 +58,9 @@ class _ActivityCancellationTypeEnumTypeWrapper(google.protobuf.internal.enum_typ workflow """ -class ActivityCancellationType(_ActivityCancellationType, metaclass=_ActivityCancellationTypeEnumTypeWrapper): ... +class ActivityCancellationType( + _ActivityCancellationType, metaclass=_ActivityCancellationTypeEnumTypeWrapper +): ... TRY_CANCEL: ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -112,19 +122,29 @@ class WorkflowCommand(google.protobuf.message.Message): @property def fail_workflow_execution(self) -> global___FailWorkflowExecution: ... @property - def continue_as_new_workflow_execution(self) -> global___ContinueAsNewWorkflowExecution: ... + def continue_as_new_workflow_execution( + self, + ) -> global___ContinueAsNewWorkflowExecution: ... @property def cancel_workflow_execution(self) -> global___CancelWorkflowExecution: ... @property def set_patch_marker(self) -> global___SetPatchMarker: ... @property - def start_child_workflow_execution(self) -> global___StartChildWorkflowExecution: ... + def start_child_workflow_execution( + self, + ) -> global___StartChildWorkflowExecution: ... @property - def cancel_child_workflow_execution(self) -> global___CancelChildWorkflowExecution: ... + def cancel_child_workflow_execution( + self, + ) -> global___CancelChildWorkflowExecution: ... @property - def request_cancel_external_workflow_execution(self) -> global___RequestCancelExternalWorkflowExecution: ... + def request_cancel_external_workflow_execution( + self, + ) -> global___RequestCancelExternalWorkflowExecution: ... @property - def signal_external_workflow_execution(self) -> global___SignalExternalWorkflowExecution: ... + def signal_external_workflow_execution( + self, + ) -> global___SignalExternalWorkflowExecution: ... @property def cancel_signal_workflow(self) -> global___CancelSignalWorkflow: ... @property @@ -132,7 +152,9 @@ class WorkflowCommand(google.protobuf.message.Message): @property def request_cancel_local_activity(self) -> global___RequestCancelLocalActivity: ... @property - def upsert_workflow_search_attributes(self) -> global___UpsertWorkflowSearchAttributes: ... + def upsert_workflow_search_attributes( + self, + ) -> global___UpsertWorkflowSearchAttributes: ... @property def modify_workflow_properties(self) -> global___ModifyWorkflowProperties: ... @property @@ -140,11 +162,14 @@ class WorkflowCommand(google.protobuf.message.Message): @property def schedule_nexus_operation(self) -> global___ScheduleNexusOperation: ... @property - def request_cancel_nexus_operation(self) -> global___RequestCancelNexusOperation: ... + def request_cancel_nexus_operation( + self, + ) -> global___RequestCancelNexusOperation: ... def __init__( self, *, - user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., + user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata + | None = ..., start_timer: global___StartTimer | None = ..., schedule_activity: global___ScheduleActivity | None = ..., respond_to_query: global___QueryResult | None = ..., @@ -152,25 +177,164 @@ class WorkflowCommand(google.protobuf.message.Message): cancel_timer: global___CancelTimer | None = ..., complete_workflow_execution: global___CompleteWorkflowExecution | None = ..., fail_workflow_execution: global___FailWorkflowExecution | None = ..., - continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution | None = ..., + continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution + | None = ..., cancel_workflow_execution: global___CancelWorkflowExecution | None = ..., set_patch_marker: global___SetPatchMarker | None = ..., - start_child_workflow_execution: global___StartChildWorkflowExecution | None = ..., - cancel_child_workflow_execution: global___CancelChildWorkflowExecution | None = ..., - request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution | None = ..., - signal_external_workflow_execution: global___SignalExternalWorkflowExecution | None = ..., + start_child_workflow_execution: global___StartChildWorkflowExecution + | None = ..., + cancel_child_workflow_execution: global___CancelChildWorkflowExecution + | None = ..., + request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution + | None = ..., + signal_external_workflow_execution: global___SignalExternalWorkflowExecution + | None = ..., cancel_signal_workflow: global___CancelSignalWorkflow | None = ..., schedule_local_activity: global___ScheduleLocalActivity | None = ..., request_cancel_local_activity: global___RequestCancelLocalActivity | None = ..., - upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes | None = ..., + upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes + | None = ..., modify_workflow_properties: global___ModifyWorkflowProperties | None = ..., update_response: global___UpdateResponse | None = ..., schedule_nexus_operation: global___ScheduleNexusOperation | None = ..., - request_cancel_nexus_operation: global___RequestCancelNexusOperation | None = ..., + request_cancel_nexus_operation: global___RequestCancelNexusOperation + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "cancel_child_workflow_execution", + b"cancel_child_workflow_execution", + "cancel_signal_workflow", + b"cancel_signal_workflow", + "cancel_timer", + b"cancel_timer", + "cancel_workflow_execution", + b"cancel_workflow_execution", + "complete_workflow_execution", + b"complete_workflow_execution", + "continue_as_new_workflow_execution", + b"continue_as_new_workflow_execution", + "fail_workflow_execution", + b"fail_workflow_execution", + "modify_workflow_properties", + b"modify_workflow_properties", + "request_cancel_activity", + b"request_cancel_activity", + "request_cancel_external_workflow_execution", + b"request_cancel_external_workflow_execution", + "request_cancel_local_activity", + b"request_cancel_local_activity", + "request_cancel_nexus_operation", + b"request_cancel_nexus_operation", + "respond_to_query", + b"respond_to_query", + "schedule_activity", + b"schedule_activity", + "schedule_local_activity", + b"schedule_local_activity", + "schedule_nexus_operation", + b"schedule_nexus_operation", + "set_patch_marker", + b"set_patch_marker", + "signal_external_workflow_execution", + b"signal_external_workflow_execution", + "start_child_workflow_execution", + b"start_child_workflow_execution", + "start_timer", + b"start_timer", + "update_response", + b"update_response", + "upsert_workflow_search_attributes", + b"upsert_workflow_search_attributes", + "user_metadata", + b"user_metadata", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancel_child_workflow_execution", + b"cancel_child_workflow_execution", + "cancel_signal_workflow", + b"cancel_signal_workflow", + "cancel_timer", + b"cancel_timer", + "cancel_workflow_execution", + b"cancel_workflow_execution", + "complete_workflow_execution", + b"complete_workflow_execution", + "continue_as_new_workflow_execution", + b"continue_as_new_workflow_execution", + "fail_workflow_execution", + b"fail_workflow_execution", + "modify_workflow_properties", + b"modify_workflow_properties", + "request_cancel_activity", + b"request_cancel_activity", + "request_cancel_external_workflow_execution", + b"request_cancel_external_workflow_execution", + "request_cancel_local_activity", + b"request_cancel_local_activity", + "request_cancel_nexus_operation", + b"request_cancel_nexus_operation", + "respond_to_query", + b"respond_to_query", + "schedule_activity", + b"schedule_activity", + "schedule_local_activity", + b"schedule_local_activity", + "schedule_nexus_operation", + b"schedule_nexus_operation", + "set_patch_marker", + b"set_patch_marker", + "signal_external_workflow_execution", + b"signal_external_workflow_execution", + "start_child_workflow_execution", + b"start_child_workflow_execution", + "start_timer", + b"start_timer", + "update_response", + b"update_response", + "upsert_workflow_search_attributes", + b"upsert_workflow_search_attributes", + "user_metadata", + b"user_metadata", + "variant", + b"variant", + ], ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", b"cancel_signal_workflow", "cancel_timer", b"cancel_timer", "cancel_workflow_execution", b"cancel_workflow_execution", "complete_workflow_execution", b"complete_workflow_execution", "continue_as_new_workflow_execution", b"continue_as_new_workflow_execution", "fail_workflow_execution", b"fail_workflow_execution", "modify_workflow_properties", b"modify_workflow_properties", "request_cancel_activity", b"request_cancel_activity", "request_cancel_external_workflow_execution", b"request_cancel_external_workflow_execution", "request_cancel_local_activity", b"request_cancel_local_activity", "request_cancel_nexus_operation", b"request_cancel_nexus_operation", "respond_to_query", b"respond_to_query", "schedule_activity", b"schedule_activity", "schedule_local_activity", b"schedule_local_activity", "schedule_nexus_operation", b"schedule_nexus_operation", "set_patch_marker", b"set_patch_marker", "signal_external_workflow_execution", b"signal_external_workflow_execution", "start_child_workflow_execution", b"start_child_workflow_execution", "start_timer", b"start_timer", "update_response", b"update_response", "upsert_workflow_search_attributes", b"upsert_workflow_search_attributes", "user_metadata", b"user_metadata", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", b"cancel_signal_workflow", "cancel_timer", b"cancel_timer", "cancel_workflow_execution", b"cancel_workflow_execution", "complete_workflow_execution", b"complete_workflow_execution", "continue_as_new_workflow_execution", b"continue_as_new_workflow_execution", "fail_workflow_execution", b"fail_workflow_execution", "modify_workflow_properties", b"modify_workflow_properties", "request_cancel_activity", b"request_cancel_activity", "request_cancel_external_workflow_execution", b"request_cancel_external_workflow_execution", "request_cancel_local_activity", b"request_cancel_local_activity", "request_cancel_nexus_operation", b"request_cancel_nexus_operation", "respond_to_query", b"respond_to_query", "schedule_activity", b"schedule_activity", "schedule_local_activity", b"schedule_local_activity", "schedule_nexus_operation", b"schedule_nexus_operation", "set_patch_marker", b"set_patch_marker", "signal_external_workflow_execution", b"signal_external_workflow_execution", "start_child_workflow_execution", b"start_child_workflow_execution", "start_timer", b"start_timer", "update_response", b"update_response", "upsert_workflow_search_attributes", b"upsert_workflow_search_attributes", "user_metadata", b"user_metadata", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["start_timer", "schedule_activity", "respond_to_query", "request_cancel_activity", "cancel_timer", "complete_workflow_execution", "fail_workflow_execution", "continue_as_new_workflow_execution", "cancel_workflow_execution", "set_patch_marker", "start_child_workflow_execution", "cancel_child_workflow_execution", "request_cancel_external_workflow_execution", "signal_external_workflow_execution", "cancel_signal_workflow", "schedule_local_activity", "request_cancel_local_activity", "upsert_workflow_search_attributes", "modify_workflow_properties", "update_response", "schedule_nexus_operation", "request_cancel_nexus_operation"] | None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal[ + "start_timer", + "schedule_activity", + "respond_to_query", + "request_cancel_activity", + "cancel_timer", + "complete_workflow_execution", + "fail_workflow_execution", + "continue_as_new_workflow_execution", + "cancel_workflow_execution", + "set_patch_marker", + "start_child_workflow_execution", + "cancel_child_workflow_execution", + "request_cancel_external_workflow_execution", + "signal_external_workflow_execution", + "cancel_signal_workflow", + "schedule_local_activity", + "request_cancel_local_activity", + "upsert_workflow_search_attributes", + "modify_workflow_properties", + "update_response", + "schedule_nexus_operation", + "request_cancel_nexus_operation", + ] + | None + ): ... global___WorkflowCommand = WorkflowCommand @@ -189,8 +353,18 @@ class StartTimer(google.protobuf.message.Message): seq: builtins.int = ..., start_to_fire_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["start_to_fire_timeout", b"start_to_fire_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout" + ], + ) -> None: ... global___StartTimer = StartTimer @@ -205,7 +379,9 @@ class CancelTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___CancelTimer = CancelTimer @@ -226,8 +402,13 @@ class ScheduleActivity(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEQ_FIELD_NUMBER: builtins.int ACTIVITY_ID_FIELD_NUMBER: builtins.int @@ -251,9 +432,17 @@ class ScheduleActivity(google.protobuf.message.Message): task_queue: builtins.str """The name of the task queue to place this activity request in""" @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def arguments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Arguments/input to the activity. Called "input" upstream.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -288,7 +477,9 @@ class ScheduleActivity(google.protobuf.message.Message): activity. When unset/default, workers will always attempt to do so if activity execution slots are available. """ - versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) """Whether this activity should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -300,8 +491,14 @@ class ScheduleActivity(google.protobuf.message.Message): activity_id: builtins.str = ..., activity_type: builtins.str = ..., task_queue: builtins.str = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + arguments: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -312,8 +509,58 @@ class ScheduleActivity(google.protobuf.message.Message): versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "arguments", b"arguments", "cancellation_type", b"cancellation_type", "do_not_eagerly_execute", b"do_not_eagerly_execute", "headers", b"headers", "heartbeat_timeout", b"heartbeat_timeout", "priority", b"priority", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "seq", b"seq", "start_to_close_timeout", b"start_to_close_timeout", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "heartbeat_timeout", + b"heartbeat_timeout", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "arguments", + b"arguments", + "cancellation_type", + b"cancellation_type", + "do_not_eagerly_execute", + b"do_not_eagerly_execute", + "headers", + b"headers", + "heartbeat_timeout", + b"heartbeat_timeout", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "seq", + b"seq", + "start_to_close_timeout", + b"start_to_close_timeout", + "task_queue", + b"task_queue", + "versioning_intent", + b"versioning_intent", + ], + ) -> None: ... global___ScheduleActivity = ScheduleActivity @@ -334,8 +581,13 @@ class ScheduleLocalActivity(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEQ_FIELD_NUMBER: builtins.int ACTIVITY_ID_FIELD_NUMBER: builtins.int @@ -365,9 +617,17 @@ class ScheduleLocalActivity(google.protobuf.message.Message): scheduling time (as provided in `DoBackoff`) """ @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: ... + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: ... @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def arguments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Arguments/input to the activity.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: @@ -414,8 +674,14 @@ class ScheduleLocalActivity(google.protobuf.message.Message): activity_type: builtins.str = ..., attempt: builtins.int = ..., original_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + arguments: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., schedule_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -423,8 +689,54 @@ class ScheduleLocalActivity(google.protobuf.message.Message): local_retry_threshold: google.protobuf.duration_pb2.Duration | None = ..., cancellation_type: global___ActivityCancellationType.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["local_retry_threshold", b"local_retry_threshold", "original_schedule_time", b"original_schedule_time", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "start_to_close_timeout", b"start_to_close_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["activity_id", b"activity_id", "activity_type", b"activity_type", "arguments", b"arguments", "attempt", b"attempt", "cancellation_type", b"cancellation_type", "headers", b"headers", "local_retry_threshold", b"local_retry_threshold", "original_schedule_time", b"original_schedule_time", "retry_policy", b"retry_policy", "schedule_to_close_timeout", b"schedule_to_close_timeout", "schedule_to_start_timeout", b"schedule_to_start_timeout", "seq", b"seq", "start_to_close_timeout", b"start_to_close_timeout"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "local_retry_threshold", + b"local_retry_threshold", + "original_schedule_time", + b"original_schedule_time", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "start_to_close_timeout", + b"start_to_close_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "activity_id", + b"activity_id", + "activity_type", + b"activity_type", + "arguments", + b"arguments", + "attempt", + b"attempt", + "cancellation_type", + b"cancellation_type", + "headers", + b"headers", + "local_retry_threshold", + b"local_retry_threshold", + "original_schedule_time", + b"original_schedule_time", + "retry_policy", + b"retry_policy", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "schedule_to_start_timeout", + b"schedule_to_start_timeout", + "seq", + b"seq", + "start_to_close_timeout", + b"start_to_close_timeout", + ], + ) -> None: ... global___ScheduleLocalActivity = ScheduleLocalActivity @@ -439,7 +751,9 @@ class RequestCancelActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___RequestCancelActivity = RequestCancelActivity @@ -454,7 +768,9 @@ class RequestCancelLocalActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___RequestCancelLocalActivity = RequestCancelLocalActivity @@ -477,9 +793,28 @@ class QueryResult(google.protobuf.message.Message): succeeded: global___QuerySuccess | None = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "succeeded", b"succeeded", "variant", b"variant"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "query_id", b"query_id", "succeeded", b"succeeded", "variant", b"variant"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["variant", b"variant"]) -> typing_extensions.Literal["succeeded", "failed"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failed", b"failed", "succeeded", b"succeeded", "variant", b"variant" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failed", + b"failed", + "query_id", + b"query_id", + "succeeded", + b"succeeded", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["succeeded", "failed"] | None: ... global___QueryResult = QueryResult @@ -494,8 +829,12 @@ class QuerySuccess(google.protobuf.message.Message): *, response: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["response", b"response"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["response", b"response"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["response", b"response"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["response", b"response"] + ) -> None: ... global___QuerySuccess = QuerySuccess @@ -512,8 +851,12 @@ class CompleteWorkflowExecution(google.protobuf.message.Message): *, result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["result", b"result"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... global___CompleteWorkflowExecution = CompleteWorkflowExecution @@ -530,8 +873,12 @@ class FailWorkflowExecution(google.protobuf.message.Message): *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... global___FailWorkflowExecution = FailWorkflowExecution @@ -554,8 +901,13 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -571,8 +923,13 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -588,8 +945,13 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int TASK_QUEUE_FIELD_NUMBER: builtins.int @@ -606,7 +968,11 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): task_queue: builtins.str """Task queue for the new workflow execution""" @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def arguments( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense. """ @@ -617,15 +983,27 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task. Will not re-use current workflow's value.""" @property - def memo(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def memo( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo""" @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """If set, the new workflow will have these headers. Will *not* re-use current workflow's headers otherwise. """ @property - def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes. """ @@ -634,24 +1012,72 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy. """ - versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) """Whether the continued workflow should run on a worker with a compatible build id or not.""" def __init__( self, *, workflow_type: builtins.str = ..., task_queue: builtins.str = ..., - arguments: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + arguments: collections.abc.Iterable[ + temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., - memo: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + memo: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + search_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["retry_policy", b"retry_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["arguments", b"arguments", "headers", b"headers", "memo", b"memo", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "retry_policy", + b"retry_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "arguments", + b"arguments", + "headers", + b"headers", + "memo", + b"memo", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "task_queue", + b"task_queue", + "versioning_intent", + b"versioning_intent", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___ContinueAsNewWorkflowExecution = ContinueAsNewWorkflowExecution @@ -690,7 +1116,12 @@ class SetPatchMarker(google.protobuf.message.Message): patch_id: builtins.str = ..., deprecated: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deprecated", b"deprecated", "patch_id", b"patch_id"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "deprecated", b"deprecated", "patch_id", b"patch_id" + ], + ) -> None: ... global___SetPatchMarker = SetPatchMarker @@ -713,8 +1144,13 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -730,8 +1166,13 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -747,8 +1188,13 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEQ_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int @@ -776,7 +1222,11 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_type: builtins.str task_queue: builtins.str @property - def input(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: ... + def input( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: ... @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" @@ -788,7 +1238,9 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): """Timeout of a single workflow task.""" parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. """ @@ -796,17 +1248,31 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... cron_schedule: builtins.str @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Header fields""" @property - def memo(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def memo( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Memo fields""" @property - def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Search attributes""" cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" - versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) """Whether this child should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: @@ -819,7 +1285,8 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str = ..., workflow_type: builtins.str = ..., task_queue: builtins.str = ..., - input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., + input: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., workflow_execution_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_run_timeout: google.protobuf.duration_pb2.Duration | None = ..., workflow_task_timeout: google.protobuf.duration_pb2.Duration | None = ..., @@ -827,15 +1294,80 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id_reuse_policy: temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., cron_schedule: builtins.str = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - memo: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., - search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + memo: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + search_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["priority", b"priority", "retry_policy", b"retry_policy", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancellation_type", b"cancellation_type", "cron_schedule", b"cron_schedule", "headers", b"headers", "input", b"input", "memo", b"memo", "namespace", b"namespace", "parent_close_policy", b"parent_close_policy", "priority", b"priority", "retry_policy", b"retry_policy", "search_attributes", b"search_attributes", "seq", b"seq", "task_queue", b"task_queue", "versioning_intent", b"versioning_intent", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", b"workflow_id", "workflow_id_reuse_policy", b"workflow_id_reuse_policy", "workflow_run_timeout", b"workflow_run_timeout", "workflow_task_timeout", b"workflow_task_timeout", "workflow_type", b"workflow_type"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancellation_type", + b"cancellation_type", + "cron_schedule", + b"cron_schedule", + "headers", + b"headers", + "input", + b"input", + "memo", + b"memo", + "namespace", + b"namespace", + "parent_close_policy", + b"parent_close_policy", + "priority", + b"priority", + "retry_policy", + b"retry_policy", + "search_attributes", + b"search_attributes", + "seq", + b"seq", + "task_queue", + b"task_queue", + "versioning_intent", + b"versioning_intent", + "workflow_execution_timeout", + b"workflow_execution_timeout", + "workflow_id", + b"workflow_id", + "workflow_id_reuse_policy", + b"workflow_id_reuse_policy", + "workflow_run_timeout", + b"workflow_run_timeout", + "workflow_task_timeout", + b"workflow_task_timeout", + "workflow_type", + b"workflow_type", + ], + ) -> None: ... global___StartChildWorkflowExecution = StartChildWorkflowExecution @@ -856,7 +1388,12 @@ class CancelChildWorkflowExecution(google.protobuf.message.Message): child_workflow_seq: builtins.int = ..., reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["child_workflow_seq", b"child_workflow_seq", "reason", b"reason"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_seq", b"child_workflow_seq", "reason", b"reason" + ], + ) -> None: ... global___CancelChildWorkflowExecution = CancelChildWorkflowExecution @@ -873,7 +1410,9 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" @property - def workflow_execution(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """The workflow instance being targeted""" reason: builtins.str """A reason for the cancellation""" @@ -881,11 +1420,27 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): self, *, seq: builtins.int = ..., - workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., + workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution + | None = ..., reason: builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["reason", b"reason", "seq", b"seq", "workflow_execution", b"workflow_execution"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "reason", + b"reason", + "seq", + b"seq", + "workflow_execution", + b"workflow_execution", + ], + ) -> None: ... global___RequestCancelExternalWorkflowExecution = RequestCancelExternalWorkflowExecution @@ -908,8 +1463,13 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEQ_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int @@ -920,31 +1480,78 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" @property - def workflow_execution(self) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: + def workflow_execution( + self, + ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """A specific workflow instance""" child_workflow_id: builtins.str """The desired target must be a child of the issuing workflow, and this is its workflow id""" signal_name: builtins.str """Name of the signal handler""" @property - def args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]: + def args( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.common.v1.message_pb2.Payload + ]: """Arguments for the handler""" @property - def headers(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def headers( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """Headers to attach to the signal""" def __init__( self, *, seq: builtins.int = ..., - workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution | None = ..., + workflow_execution: temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution + | None = ..., child_workflow_id: builtins.str = ..., signal_name: builtins.str = ..., - args: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ..., - headers: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + args: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] + | None = ..., + headers: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["child_workflow_id", b"child_workflow_id", "target", b"target", "workflow_execution", b"workflow_execution"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "child_workflow_id", b"child_workflow_id", "headers", b"headers", "seq", b"seq", "signal_name", b"signal_name", "target", b"target", "workflow_execution", b"workflow_execution"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["target", b"target"]) -> typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "child_workflow_id", + b"child_workflow_id", + "target", + b"target", + "workflow_execution", + b"workflow_execution", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "args", + b"args", + "child_workflow_id", + b"child_workflow_id", + "headers", + b"headers", + "seq", + b"seq", + "signal_name", + b"signal_name", + "target", + b"target", + "workflow_execution", + b"workflow_execution", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["target", b"target"] + ) -> ( + typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None + ): ... global___SignalExternalWorkflowExecution = SignalExternalWorkflowExecution @@ -961,7 +1568,9 @@ class CancelSignalWorkflow(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___CancelSignalWorkflow = CancelSignalWorkflow @@ -982,21 +1591,38 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): key: builtins.str = ..., value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int @property - def search_attributes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, temporalio.api.common.v1.message_pb2.Payload]: + def search_attributes( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ]: """SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value = value? """ def __init__( self, *, - search_attributes: collections.abc.Mapping[builtins.str, temporalio.api.common.v1.message_pb2.Payload] | None = ..., + search_attributes: collections.abc.Mapping[ + builtins.str, temporalio.api.common.v1.message_pb2.Payload + ] + | None = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["search_attributes", b"search_attributes"]) -> None: ... global___UpsertWorkflowSearchAttributes = UpsertWorkflowSearchAttributes @@ -1015,8 +1641,12 @@ class ModifyWorkflowProperties(google.protobuf.message.Message): *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + ) -> None: ... global___ModifyWorkflowProperties = ModifyWorkflowProperties @@ -1062,9 +1692,37 @@ class UpdateResponse(google.protobuf.message.Message): rejected: temporalio.api.failure.v1.message_pb2.Failure | None = ..., completed: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["accepted", b"accepted", "completed", b"completed", "rejected", b"rejected", "response", b"response"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["accepted", b"accepted", "completed", b"completed", "protocol_instance_id", b"protocol_instance_id", "rejected", b"rejected", "response", b"response"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["response", b"response"]) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "accepted", + b"accepted", + "completed", + b"completed", + "rejected", + b"rejected", + "response", + b"response", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "accepted", + b"accepted", + "completed", + b"completed", + "protocol_instance_id", + b"protocol_instance_id", + "rejected", + b"rejected", + "response", + b"response", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... global___UpdateResponse = UpdateResponse @@ -1086,7 +1744,10 @@ class ScheduleNexusOperation(google.protobuf.message.Message): key: builtins.str = ..., value: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + ) -> None: ... SEQ_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int @@ -1118,7 +1779,9 @@ class ScheduleNexusOperation(google.protobuf.message.Message): Calls are retried internally by the server. """ @property - def nexus_header(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + def nexus_header( + self, + ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating @@ -1126,7 +1789,9 @@ class ScheduleNexusOperation(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - cancellation_type: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType + cancellation_type: ( + temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType + ) """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" def __init__( self, @@ -1140,8 +1805,33 @@ class ScheduleNexusOperation(google.protobuf.message.Message): nexus_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., cancellation_type: temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cancellation_type", b"cancellation_type", "endpoint", b"endpoint", "input", b"input", "nexus_header", b"nexus_header", "operation", b"operation", "schedule_to_close_timeout", b"schedule_to_close_timeout", "seq", b"seq", "service", b"service"]) -> None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "input", b"input", "schedule_to_close_timeout", b"schedule_to_close_timeout" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "cancellation_type", + b"cancellation_type", + "endpoint", + b"endpoint", + "input", + b"input", + "nexus_header", + b"nexus_header", + "operation", + b"operation", + "schedule_to_close_timeout", + b"schedule_to_close_timeout", + "seq", + b"seq", + "service", + b"service", + ], + ) -> None: ... global___ScheduleNexusOperation = ScheduleNexusOperation @@ -1158,6 +1848,8 @@ class RequestCancelNexusOperation(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... global___RequestCancelNexusOperation = RequestCancelNexusOperation diff --git a/temporalio/bridge/proto/workflow_completion/__init__.py b/temporalio/bridge/proto/workflow_completion/__init__.py index 6d0011e38..b36657533 100644 --- a/temporalio/bridge/proto/workflow_completion/__init__.py +++ b/temporalio/bridge/proto/workflow_completion/__init__.py @@ -1,6 +1,4 @@ -from .workflow_completion_pb2 import WorkflowActivationCompletion -from .workflow_completion_pb2 import Success -from .workflow_completion_pb2 import Failure +from .workflow_completion_pb2 import Failure, Success, WorkflowActivationCompletion __all__ = [ "Failure", diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py index 95cb65d49..ce26b220d 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py @@ -2,59 +2,86 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/sdk/core/workflow_completion/workflow_completion.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from temporalio.api.failure.v1 import message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2 -from temporalio.api.enums.v1 import failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2 -from temporalio.api.enums.v1 import workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2 -from temporalio.bridge.proto.common import common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2 -from temporalio.bridge.proto.workflow_commands import workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2 - +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.bridge.proto.common import ( + common_pb2 as temporal_dot_sdk_dot_core_dot_common_dot_common__pb2, +) +from temporalio.bridge.proto.workflow_commands import ( + workflow_commands_pb2 as temporal_dot_sdk_dot_core_dot_workflow__commands_dot_workflow__commands__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status\"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3' +) - -_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name['WorkflowActivationCompletion'] -_SUCCESS = DESCRIPTOR.message_types_by_name['Success'] -_FAILURE = DESCRIPTOR.message_types_by_name['Failure'] -WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType('WorkflowActivationCompletion', (_message.Message,), { - 'DESCRIPTOR' : _WORKFLOWACTIVATIONCOMPLETION, - '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) - }) +_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name[ + "WorkflowActivationCompletion" +] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType( + "WorkflowActivationCompletion", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATIONCOMPLETION, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) + }, +) _sym_db.RegisterMessage(WorkflowActivationCompletion) -Success = _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), { - 'DESCRIPTOR' : _SUCCESS, - '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) - }) +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) + }, +) _sym_db.RegisterMessage(Success) -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'temporal.sdk.core.workflow_completion.workflow_completion_pb2' - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) - }) +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) + }, +) _sym_db.RegisterMessage(Failure) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion' - _WORKFLOWACTIVATIONCOMPLETION._serialized_start=316 - _WORKFLOWACTIVATIONCOMPLETION._serialized_end=488 - _SUCCESS._serialized_start=491 - _SUCCESS._serialized_end=663 - _FAILURE._serialized_start=666 - _FAILURE._serialized_end=795 + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion" + ) + _WORKFLOWACTIVATIONCOMPLETION._serialized_start = 316 + _WORKFLOWACTIVATIONCOMPLETION._serialized_end = 488 + _SUCCESS._serialized_start = 491 + _SUCCESS._serialized_end = 663 + _FAILURE._serialized_start = 666 + _FAILURE._serialized_end = 795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi index 1ab1fe7d9..5b438f360 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi @@ -2,12 +2,15 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc +import sys + import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -import sys + import temporalio.api.enums.v1.failed_cause_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 @@ -41,9 +44,28 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): successful: global___Success | None = ..., failed: global___Failure | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failed", b"failed", "status", b"status", "successful", b"successful"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failed", b"failed", "run_id", b"run_id", "status", b"status", "successful", b"successful"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["status", b"status"]) -> typing_extensions.Literal["successful", "failed"] | None: ... + def HasField( + self, + field_name: typing_extensions.Literal[ + "failed", b"failed", "status", b"status", "successful", b"successful" + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failed", + b"failed", + "run_id", + b"run_id", + "status", + b"status", + "successful", + b"successful", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["successful", "failed"] | None: ... global___WorkflowActivationCompletion = WorkflowActivationCompletion @@ -56,21 +78,42 @@ class Success(google.protobuf.message.Message): USED_INTERNAL_FLAGS_FIELD_NUMBER: builtins.int VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int @property - def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand]: + def commands( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand + ]: """A list of commands to send back to the temporal server""" @property - def used_internal_flags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + def used_internal_flags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Any internal flags which the lang SDK used in the processing of this activation""" - versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) """The versioning behavior this workflow is currently using""" def __init__( self, *, - commands: collections.abc.Iterable[temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand] | None = ..., + commands: collections.abc.Iterable[ + temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand + ] + | None = ..., used_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commands", b"commands", "used_internal_flags", b"used_internal_flags", "versioning_behavior", b"versioning_behavior"]) -> None: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "commands", + b"commands", + "used_internal_flags", + b"used_internal_flags", + "versioning_behavior", + b"versioning_behavior", + ], + ) -> None: ... global___Success = Success @@ -83,7 +126,9 @@ class Failure(google.protobuf.message.Message): FORCE_CAUSE_FIELD_NUMBER: builtins.int @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... - force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType + force_cause: ( + temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType + ) """Forces overriding the WFT failure cause""" def __init__( self, @@ -91,7 +136,14 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["failure", b"failure"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["failure", b"failure", "force_cause", b"force_cause"]) -> None: ... + def HasField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "force_cause", b"force_cause" + ], + ) -> None: ... global___Failure = Failure From 869868fe66ae72975ac29c0df17e6024d72c9f77 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 4 Sep 2025 13:21:54 -0700 Subject: [PATCH 12/12] Update cargo.lock --- temporalio/bridge/Cargo.lock | 349 ++++++++++++++++------------------- 1 file changed, 164 insertions(+), 185 deletions(-) diff --git a/temporalio/bridge/Cargo.lock b/temporalio/bridge/Cargo.lock index 954975c76..47b78dfb4 100644 --- a/temporalio/bridge/Cargo.lock +++ b/temporalio/bridge/Cargo.lock @@ -185,12 +185,6 @@ version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - [[package]] name = "bytes" version = "1.10.1" @@ -199,21 +193,11 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "bzip2" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47" -dependencies = [ - "bzip2-sys", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.13+1.0.8" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" +checksum = "bea8dcd42434048e4f7a304411d9273a411f647446c1234a65ce0554923f4cff" dependencies = [ - "cc", - "pkg-config", + "libbz2-rs-sys", ] [[package]] @@ -290,21 +274,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crc" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - [[package]] name = "crc32fast" version = "1.5.0" @@ -488,23 +457,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -619,6 +588,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" dependencies = [ "crc32fast", + "libz-rs-sys", "miniz_oxide", ] @@ -810,9 +780,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "governor" -version = "0.8.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be93b4ec2e4710b04d9264c0c7350cdd62a8c20e5e4ac732552ebb8f0debe8eb" +checksum = "444405bbb1a762387aa22dd569429533b54a1d8759d35d3b64cb39b0293eaa19" dependencies = [ "cfg-if", "dashmap", @@ -820,7 +790,7 @@ dependencies = [ "futures-timer", "futures-util", "getrandom 0.3.3", - "no-std-compat", + "hashbrown 0.15.5", "nonzero_ext", "parking_lot", "portable-atomic", @@ -1229,12 +1199,38 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +[[package]] +name = "libbz2-rs-sys" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4a545a15244c7d945065b5d392b2d2d7f21526fba56ce51467b06ed445e8f7" + [[package]] name = "libc" version = "0.2.175" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" +[[package]] +name = "liblzma" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10bf66f4598dc77ff96677c8e763655494f00ff9c1cf79e2eb5bb07bc31f807d" +dependencies = [ + "liblzma-sys", +] + +[[package]] +name = "liblzma-sys" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01b9596486f6d60c3bbe644c0e1be1aa6ccc472ad630fe8927b456973d7cb736" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + [[package]] name = "libredox" version = "0.1.9" @@ -1246,6 +1242,15 @@ dependencies = [ "redox_syscall", ] +[[package]] +name = "libz-rs-sys" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "840db8cf39d9ec4dd794376f38acc40d0fc65eec2a8f484f7fd375b84602becd" +dependencies = [ + "zlib-rs", +] + [[package]] name = "linux-raw-sys" version = "0.9.4" @@ -1276,9 +1281,9 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "lru" -version = "0.13.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227748d55f2f0ab4735d87fd623798cb6b664512fe979705f829c9f81c934465" +checksum = "86ea4e65087ff52f3862caff188d489f1fab49a0cb09e01b2e3f1a617b10aaed" dependencies = [ "hashbrown 0.15.5", ] @@ -1289,27 +1294,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" -[[package]] -name = "lzma-rs" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e" -dependencies = [ - "byteorder", - "crc", -] - -[[package]] -name = "lzma-sys" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "matchers" version = "0.2.0" @@ -1398,12 +1382,6 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" -[[package]] -name = "no-std-compat" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" - [[package]] name = "nonzero_ext" version = "0.3.0" @@ -1443,6 +1421,25 @@ dependencies = [ "autocfg", ] +[[package]] +name = "objc2-core-foundation" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c10c2894a6fed806ade6027bcd50662746363a9589d3ec9d9bef30a4e4bc166" +dependencies = [ + "bitflags", +] + +[[package]] +name = "objc2-io-kit" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71c1c64d6120e51cd86033f67176b1cb66780c2efe34dec55176f77befd93c0a" +dependencies = [ + "libc", + "objc2-core-foundation", +] + [[package]] name = "object" version = "0.36.7" @@ -1672,6 +1669,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" +[[package]] +name = "ppmd-rust" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c834641d8ad1b348c9ee86dec3b9840d805acd5f24daa5f90c788951a52ff59b" + [[package]] name = "ppv-lite86" version = "0.2.21" @@ -2109,13 +2112,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.15", ] [[package]] @@ -2394,9 +2397,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +checksum = "40734c41988f7306bb04f0ecf60ec0f3f1caa34290e4e8ea471dcd3346483b83" dependencies = [ "serde", ] @@ -2561,14 +2564,15 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.33.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" +checksum = "07cec4dc2d2e357ca1e610cfb07de2fa7a10fc3e9fe89f72545f3d244ea87753" dependencies = [ - "core-foundation-sys", "libc", "memchr", "ntapi", + "objc2-core-foundation", + "objc2-io-kit", "windows", ] @@ -2921,44 +2925,42 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.23" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" +checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8" dependencies = [ + "indexmap", "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_parser", + "toml_writer", + "winnow", ] [[package]] name = "toml_datetime" -version = "0.6.11" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" +checksum = "bade1c3e902f58d73d3f294cd7f20391c1cb2fbcb643b73566bc773971df91e3" dependencies = [ "serde", ] [[package]] -name = "toml_edit" -version = "0.22.27" +name = "toml_parser" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" +checksum = "b551886f449aa90d4fe2bdaa9f4a2577ad2dde302c61ecf262d80b116db95c10" dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "toml_write", "winnow", ] [[package]] -name = "toml_write" -version = "0.1.2" +name = "toml_writer" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" +checksum = "fcc842091f2def52017664b53082ecbbeb5c7731092bad69d2c63050401dfd64" [[package]] name = "tonic" @@ -3361,31 +3363,55 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.57.0" +version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-link", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" dependencies = [ "windows-core", - "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.57.0" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ "windows-implement", "windows-interface", + "windows-link", "windows-result", - "windows-targets 0.52.6", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", ] [[package]] name = "windows-implement" -version = "0.57.0" +version = "0.60.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" dependencies = [ "proc-macro2", "quote", @@ -3394,9 +3420,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.57.0" +version = "0.59.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" dependencies = [ "proc-macro2", "quote", @@ -3409,22 +3435,32 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core", + "windows-link", +] + [[package]] name = "windows-result" -version = "0.1.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-targets 0.52.6", + "windows-link", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-targets 0.48.5", + "windows-link", ] [[package]] @@ -3454,21 +3490,6 @@ dependencies = [ "windows-targets 0.53.3", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -3503,10 +3524,13 @@ dependencies = [ ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link", +] [[package]] name = "windows_aarch64_gnullvm" @@ -3520,12 +3544,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -3538,12 +3556,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -3568,12 +3580,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -3586,12 +3592,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -3604,12 +3604,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -3622,12 +3616,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" @@ -3645,9 +3633,6 @@ name = "winnow" version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95" -dependencies = [ - "memchr", -] [[package]] name = "wit-bindgen-rt" @@ -3674,15 +3659,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "xz2" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" -dependencies = [ - "lzma-sys", -] - [[package]] name = "yoke" version = "0.8.0" @@ -3803,34 +3779,37 @@ dependencies = [ [[package]] name = "zip" -version = "2.4.2" +version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50" +checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1" dependencies = [ "aes", "arbitrary", "bzip2", "constant_time_eq", "crc32fast", - "crossbeam-utils", "deflate64", - "displaydoc", "flate2", "getrandom 0.3.3", "hmac", "indexmap", - "lzma-rs", + "liblzma", "memchr", "pbkdf2", + "ppmd-rust", "sha1", - "thiserror 2.0.15", "time", - "xz2", "zeroize", "zopfli", "zstd", ] +[[package]] +name = "zlib-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f06ae92f42f5e5c42443fd094f245eb656abf56dd7cce9b8b263236565e00f2" + [[package]] name = "zopfli" version = "0.8.2"