cadence-python-client 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cadence/__init__.py +18 -0
- cadence/_internal/__init__.py +8 -0
- cadence/_internal/activity/__init__.py +5 -0
- cadence/_internal/activity/_activity_executor.py +113 -0
- cadence/_internal/activity/_context.py +58 -0
- cadence/_internal/rpc/__init__.py +0 -0
- cadence/_internal/rpc/error.py +148 -0
- cadence/_internal/rpc/retry.py +104 -0
- cadence/_internal/rpc/yarpc.py +42 -0
- cadence/_internal/workflow/__init__.py +0 -0
- cadence/_internal/workflow/context.py +121 -0
- cadence/_internal/workflow/decision_events_iterator.py +161 -0
- cadence/_internal/workflow/decisions_helper.py +312 -0
- cadence/_internal/workflow/deterministic_event_loop.py +498 -0
- cadence/_internal/workflow/history_event_iterator.py +58 -0
- cadence/_internal/workflow/statemachine/__init__.py +0 -0
- cadence/_internal/workflow/statemachine/activity_state_machine.py +106 -0
- cadence/_internal/workflow/statemachine/decision_manager.py +157 -0
- cadence/_internal/workflow/statemachine/decision_state_machine.py +87 -0
- cadence/_internal/workflow/statemachine/event_dispatcher.py +76 -0
- cadence/_internal/workflow/statemachine/timer_state_machine.py +73 -0
- cadence/_internal/workflow/workflow_engine.py +245 -0
- cadence/_internal/workflow/workflow_intance.py +44 -0
- cadence/activity.py +255 -0
- cadence/api/v1/__init__.py +92 -0
- cadence/api/v1/common_pb2.py +90 -0
- cadence/api/v1/common_pb2.pyi +200 -0
- cadence/api/v1/common_pb2_grpc.py +24 -0
- cadence/api/v1/decision_pb2.py +67 -0
- cadence/api/v1/decision_pb2.pyi +225 -0
- cadence/api/v1/decision_pb2_grpc.py +24 -0
- cadence/api/v1/domain_pb2.py +68 -0
- cadence/api/v1/domain_pb2.pyi +145 -0
- cadence/api/v1/domain_pb2_grpc.py +24 -0
- cadence/api/v1/error_pb2.py +59 -0
- cadence/api/v1/error_pb2.pyi +82 -0
- cadence/api/v1/error_pb2_grpc.py +24 -0
- cadence/api/v1/history_pb2.py +134 -0
- cadence/api/v1/history_pb2.pyi +780 -0
- cadence/api/v1/history_pb2_grpc.py +24 -0
- cadence/api/v1/query_pb2.py +49 -0
- cadence/api/v1/query_pb2.pyi +59 -0
- cadence/api/v1/query_pb2_grpc.py +24 -0
- cadence/api/v1/service_domain_pb2.py +76 -0
- cadence/api/v1/service_domain_pb2.pyi +164 -0
- cadence/api/v1/service_domain_pb2_grpc.py +327 -0
- cadence/api/v1/service_meta_pb2.py +41 -0
- cadence/api/v1/service_meta_pb2.pyi +17 -0
- cadence/api/v1/service_meta_pb2_grpc.py +97 -0
- cadence/api/v1/service_visibility_pb2.py +71 -0
- cadence/api/v1/service_visibility_pb2.pyi +149 -0
- cadence/api/v1/service_visibility_pb2_grpc.py +362 -0
- cadence/api/v1/service_worker_pb2.py +116 -0
- cadence/api/v1/service_worker_pb2.pyi +350 -0
- cadence/api/v1/service_worker_pb2_grpc.py +743 -0
- cadence/api/v1/service_workflow_pb2.py +126 -0
- cadence/api/v1/service_workflow_pb2.pyi +395 -0
- cadence/api/v1/service_workflow_pb2_grpc.py +861 -0
- cadence/api/v1/tasklist_pb2.py +78 -0
- cadence/api/v1/tasklist_pb2.pyi +147 -0
- cadence/api/v1/tasklist_pb2_grpc.py +24 -0
- cadence/api/v1/visibility_pb2.py +47 -0
- cadence/api/v1/visibility_pb2.pyi +53 -0
- cadence/api/v1/visibility_pb2_grpc.py +24 -0
- cadence/api/v1/workflow_pb2.py +89 -0
- cadence/api/v1/workflow_pb2.pyi +365 -0
- cadence/api/v1/workflow_pb2_grpc.py +24 -0
- cadence/client.py +382 -0
- cadence/data_converter.py +78 -0
- cadence/error.py +111 -0
- cadence/metrics/__init__.py +12 -0
- cadence/metrics/constants.py +136 -0
- cadence/metrics/metrics.py +56 -0
- cadence/metrics/prometheus.py +165 -0
- cadence/sample/__init__.py +1 -0
- cadence/sample/client_example.py +15 -0
- cadence/sample/grpc_usage_example.py +230 -0
- cadence/sample/simple_usage_example.py +155 -0
- cadence/signal.py +174 -0
- cadence/worker/__init__.py +13 -0
- cadence/worker/_activity.py +60 -0
- cadence/worker/_base_task_handler.py +71 -0
- cadence/worker/_decision.py +62 -0
- cadence/worker/_decision_task_handler.py +285 -0
- cadence/worker/_poller.py +64 -0
- cadence/worker/_registry.py +245 -0
- cadence/worker/_types.py +26 -0
- cadence/worker/_worker.py +56 -0
- cadence/workflow.py +271 -0
- cadence_python_client-0.1.0.dist-info/METADATA +180 -0
- cadence_python_client-0.1.0.dist-info/RECORD +95 -0
- cadence_python_client-0.1.0.dist-info/WHEEL +5 -0
- cadence_python_client-0.1.0.dist-info/licenses/LICENSE +201 -0
- cadence_python_client-0.1.0.dist-info/licenses/NOTICE +19 -0
- cadence_python_client-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: cadence/api/v1/service_workflow.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'cadence/api/v1/service_workflow.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from cadence.api.v1 import common_pb2 as cadence_dot_api_dot_v1_dot_common__pb2
|
|
28
|
+
from cadence.api.v1 import history_pb2 as cadence_dot_api_dot_v1_dot_history__pb2
|
|
29
|
+
from cadence.api.v1 import query_pb2 as cadence_dot_api_dot_v1_dot_query__pb2
|
|
30
|
+
from cadence.api.v1 import tasklist_pb2 as cadence_dot_api_dot_v1_dot_tasklist__pb2
|
|
31
|
+
from cadence.api.v1 import workflow_pb2 as cadence_dot_api_dot_v1_dot_workflow__pb2
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cadence/api/v1/service_workflow.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1b\x63\x61\x64\x65nce/api/v1/common.proto\x1a\x1c\x63\x61\x64\x65nce/api/v1/history.proto\x1a\x1a\x63\x61\x64\x65nce/api/v1/query.proto\x1a\x1d\x63\x61\x64\x65nce/api/v1/tasklist.proto\x1a\x1d\x63\x61\x64\x65nce/api/v1/workflow.proto\"\x97\x01\n\x1fRestartWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"\x88\x01\n DiagnoseWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x82\x01\n!DiagnoseWorkflowExecutionResponse\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12M\n\x1d\x64iagnostic_workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\xf1\x07\n\x1dStartWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\x08 \x01(\t\x12\x12\n\nrequest_id\x18\t \x01(\t\x12L\n\x18workflow_id_reuse_policy\x18\n \x01(\x0e\x32*.uber.cadence.api.v1.WorkflowIdReusePolicy\x12\x36\n\x0cretry_policy\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0c \x01(\t\x12\'\n\x04memo\x18\r \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0e \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12+\n\x06header\x18\x0f \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12.\n\x0b\x64\x65lay_start\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cjitter_start\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\x0c\x66irst_run_at\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x13\x63ron_overlap_policy\x18\x13 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x14 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"0\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"i\n\"StartWorkflowExecutionAsyncRequest\x12\x43\n\x07request\x18\x01 \x01(\x0b\x32\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\"%\n#StartWorkflowExecutionAsyncResponse\"2\n RestartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xf4\x01\n\x1eSignalWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x13\n\x0bsignal_name\x18\x05 \x01(\t\x12\x32\n\x0csignal_input\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x07 \x01(\x0c\"!\n\x1fSignalWorkflowExecutionResponse\"\xce\x01\n\'SignalWithStartWorkflowExecutionRequest\x12I\n\rstart_request\x18\x01 \x01(\x0b\x32\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\x12\x13\n\x0bsignal_name\x18\x02 \x01(\t\x12\x32\n\x0csignal_input\x18\x03 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\":\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"}\n,SignalWithStartWorkflowExecutionAsyncRequest\x12M\n\x07request\x18\x01 \x01(\x0b\x32<.uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest\"/\n-SignalWithStartWorkflowExecutionAsyncResponse\"\xd6\x01\n\x1dResetWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12 \n\x18\x64\x65\x63ision_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x1b\n\x13skip_signal_reapply\x18\x06 \x01(\x08\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xd0\x01\n%RequestCancelWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\r\n\x05\x63\x61use\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\"(\n&RequestCancelWorkflowExecutionResponse\"\xe8\x01\n!TerminateWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12-\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\"$\n\"TerminateWorkflowExecutionResponse\"\xc3\x01\n DescribeWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12K\n\x17query_consistency_level\x18\x03 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\x9a\x03\n!DescribeWorkflowExecutionResponse\x12T\n\x17\x65xecution_configuration\x18\x01 \x01(\x0b\x32\x33.uber.cadence.api.v1.WorkflowExecutionConfiguration\x12K\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x44\n\x12pending_activities\x18\x03 \x03(\x0b\x32(.uber.cadence.api.v1.PendingActivityInfo\x12H\n\x10pending_children\x18\x04 \x03(\x0b\x32..uber.cadence.api.v1.PendingChildExecutionInfo\x12\x42\n\x10pending_decision\x18\x05 \x01(\x0b\x32(.uber.cadence.api.v1.PendingDecisionInfo\"\xb5\x02\n\x14QueryWorkflowRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x31\n\x05query\x18\x03 \x01(\x0b\x32\".uber.cadence.api.v1.WorkflowQuery\x12I\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32).uber.cadence.api.v1.QueryRejectCondition\x12K\n\x17query_consistency_level\x18\x05 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\x87\x01\n\x15QueryWorkflowResponse\x12\x32\n\x0cquery_result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12:\n\x0equery_rejected\x18\x02 \x01(\x0b\x32\".uber.cadence.api.v1.QueryRejected\"\xb8\x01\n\x17\x44\x65scribeTaskListRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x39\n\x0etask_list_type\x18\x03 \x01(\x0e\x32!.uber.cadence.api.v1.TaskListType\x12 \n\x18include_task_list_status\x18\x04 \x01(\x08\"\x85\x02\n\x18\x44\x65scribeTaskListResponse\x12\x30\n\x07pollers\x18\x01 \x03(\x0b\x32\x1f.uber.cadence.api.v1.PollerInfo\x12=\n\x10task_list_status\x18\x02 \x01(\x0b\x32#.uber.cadence.api.v1.TaskListStatus\x12\x46\n\x10partition_config\x18\x03 \x01(\x0b\x32,.uber.cadence.api.v1.TaskListPartitionConfig\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\"-\n\x1bGetTaskListsByDomainRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\"\xcc\x03\n\x1cGetTaskListsByDomainResponse\x12j\n\x16\x64\x65\x63ision_task_list_map\x18\x01 \x03(\x0b\x32J.uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry\x12j\n\x16\x61\x63tivity_task_list_map\x18\x02 \x03(\x0b\x32J.uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry\x1ai\n\x18\x44\x65\x63isionTaskListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.uber.cadence.api.v1.DescribeTaskListResponse:\x02\x38\x01\x1ai\n\x18\x41\x63tivityTaskListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.uber.cadence.api.v1.DescribeTaskListResponse:\x02\x38\x01\"a\n\x1dListTaskListPartitionsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\"\xce\x01\n\x1eListTaskListPartitionsResponse\x12U\n\x1d\x61\x63tivity_task_list_partitions\x18\x01 \x03(\x0b\x32..uber.cadence.api.v1.TaskListPartitionMetadata\x12U\n\x1d\x64\x65\x63ision_task_list_partitions\x18\x02 \x03(\x0b\x32..uber.cadence.api.v1.TaskListPartitionMetadata\"\x17\n\x15GetClusterInfoRequest\"i\n\x16GetClusterInfoResponse\x12O\n\x19supported_client_versions\x18\x01 \x01(\x0b\x32,.uber.cadence.api.v1.SupportedClientVersions\"\xed\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x1a\n\x12wait_for_new_event\x18\x05 \x01(\x08\x12G\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32$.uber.cadence.api.v1.EventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\x12K\n\x17query_consistency_level\x18\x08 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\xb3\x01\n#GetWorkflowExecutionHistoryResponse\x12-\n\x07history\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.History\x12\x32\n\x0braw_history\x18\x02 \x03(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"J\n\x0c\x46\x65\x61tureFlags\x12:\n2workflow_execution_already_completed_error_enabled\x18\x01 \x01(\x08\"q\n\x1bRefreshWorkflowTasksRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\x1e\n\x1cRefreshWorkflowTasksResponse2\xa7\x13\n\x0bWorkflowAPI\x12\x87\x01\n\x18RestartWorkflowExecution\x12\x34.uber.cadence.api.v1.RestartWorkflowExecutionRequest\x1a\x35.uber.cadence.api.v1.RestartWorkflowExecutionResponse\x12\x81\x01\n\x16StartWorkflowExecution\x12\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\x1a\x33.uber.cadence.api.v1.StartWorkflowExecutionResponse\x12\x90\x01\n\x1bStartWorkflowExecutionAsync\x12\x37.uber.cadence.api.v1.StartWorkflowExecutionAsyncRequest\x1a\x38.uber.cadence.api.v1.StartWorkflowExecutionAsyncResponse\x12\x84\x01\n\x17SignalWorkflowExecution\x12\x33.uber.cadence.api.v1.SignalWorkflowExecutionRequest\x1a\x34.uber.cadence.api.v1.SignalWorkflowExecutionResponse\x12\x9f\x01\n SignalWithStartWorkflowExecution\x12<.uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest\x1a=.uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse\x12\xae\x01\n%SignalWithStartWorkflowExecutionAsync\x12\x41.uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncRequest\x1a\x42.uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncResponse\x12\x81\x01\n\x16ResetWorkflowExecution\x12\x32.uber.cadence.api.v1.ResetWorkflowExecutionRequest\x1a\x33.uber.cadence.api.v1.ResetWorkflowExecutionResponse\x12\x99\x01\n\x1eRequestCancelWorkflowExecution\x12:.uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest\x1a;.uber.cadence.api.v1.RequestCancelWorkflowExecutionResponse\x12\x8d\x01\n\x1aTerminateWorkflowExecution\x12\x36.uber.cadence.api.v1.TerminateWorkflowExecutionRequest\x1a\x37.uber.cadence.api.v1.TerminateWorkflowExecutionResponse\x12\x8a\x01\n\x19\x44\x65scribeWorkflowExecution\x12\x35.uber.cadence.api.v1.DescribeWorkflowExecutionRequest\x1a\x36.uber.cadence.api.v1.DescribeWorkflowExecutionResponse\x12\x66\n\rQueryWorkflow\x12).uber.cadence.api.v1.QueryWorkflowRequest\x1a*.uber.cadence.api.v1.QueryWorkflowResponse\x12o\n\x10\x44\x65scribeTaskList\x12,.uber.cadence.api.v1.DescribeTaskListRequest\x1a-.uber.cadence.api.v1.DescribeTaskListResponse\x12{\n\x14GetTaskListsByDomain\x12\x30.uber.cadence.api.v1.GetTaskListsByDomainRequest\x1a\x31.uber.cadence.api.v1.GetTaskListsByDomainResponse\x12\x81\x01\n\x16ListTaskListPartitions\x12\x32.uber.cadence.api.v1.ListTaskListPartitionsRequest\x1a\x33.uber.cadence.api.v1.ListTaskListPartitionsResponse\x12i\n\x0eGetClusterInfo\x12*.uber.cadence.api.v1.GetClusterInfoRequest\x1a+.uber.cadence.api.v1.GetClusterInfoResponse\x12\x90\x01\n\x1bGetWorkflowExecutionHistory\x12\x37.uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest\x1a\x38.uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse\x12{\n\x14RefreshWorkflowTasks\x12\x30.uber.cadence.api.v1.RefreshWorkflowTasksRequest\x1a\x31.uber.cadence.api.v1.RefreshWorkflowTasksResponse\x12\x8a\x01\n\x19\x44iagnoseWorkflowExecution\x12\x35.uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest\x1a\x36.uber.cadence.api.v1.DiagnoseWorkflowExecutionResponseBd\n\x17\x63om.uber.cadence.api.v1B\x14WorkflowServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3')
|
|
35
|
+
|
|
36
|
+
_globals = globals()
|
|
37
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
38
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.service_workflow_pb2', _globals)
|
|
39
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
40
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
41
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\024WorkflowServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
|
|
42
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY']._loaded_options = None
|
|
43
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY']._loaded_options = None
|
|
45
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY']._serialized_options = b'8\001'
|
|
46
|
+
_globals['_RESTARTWORKFLOWEXECUTIONREQUEST']._serialized_start=277
|
|
47
|
+
_globals['_RESTARTWORKFLOWEXECUTIONREQUEST']._serialized_end=428
|
|
48
|
+
_globals['_DIAGNOSEWORKFLOWEXECUTIONREQUEST']._serialized_start=431
|
|
49
|
+
_globals['_DIAGNOSEWORKFLOWEXECUTIONREQUEST']._serialized_end=567
|
|
50
|
+
_globals['_DIAGNOSEWORKFLOWEXECUTIONRESPONSE']._serialized_start=570
|
|
51
|
+
_globals['_DIAGNOSEWORKFLOWEXECUTIONRESPONSE']._serialized_end=700
|
|
52
|
+
_globals['_STARTWORKFLOWEXECUTIONREQUEST']._serialized_start=703
|
|
53
|
+
_globals['_STARTWORKFLOWEXECUTIONREQUEST']._serialized_end=1712
|
|
54
|
+
_globals['_STARTWORKFLOWEXECUTIONRESPONSE']._serialized_start=1714
|
|
55
|
+
_globals['_STARTWORKFLOWEXECUTIONRESPONSE']._serialized_end=1762
|
|
56
|
+
_globals['_STARTWORKFLOWEXECUTIONASYNCREQUEST']._serialized_start=1764
|
|
57
|
+
_globals['_STARTWORKFLOWEXECUTIONASYNCREQUEST']._serialized_end=1869
|
|
58
|
+
_globals['_STARTWORKFLOWEXECUTIONASYNCRESPONSE']._serialized_start=1871
|
|
59
|
+
_globals['_STARTWORKFLOWEXECUTIONASYNCRESPONSE']._serialized_end=1908
|
|
60
|
+
_globals['_RESTARTWORKFLOWEXECUTIONRESPONSE']._serialized_start=1910
|
|
61
|
+
_globals['_RESTARTWORKFLOWEXECUTIONRESPONSE']._serialized_end=1960
|
|
62
|
+
_globals['_SIGNALWORKFLOWEXECUTIONREQUEST']._serialized_start=1963
|
|
63
|
+
_globals['_SIGNALWORKFLOWEXECUTIONREQUEST']._serialized_end=2207
|
|
64
|
+
_globals['_SIGNALWORKFLOWEXECUTIONRESPONSE']._serialized_start=2209
|
|
65
|
+
_globals['_SIGNALWORKFLOWEXECUTIONRESPONSE']._serialized_end=2242
|
|
66
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST']._serialized_start=2245
|
|
67
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST']._serialized_end=2451
|
|
68
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE']._serialized_start=2453
|
|
69
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE']._serialized_end=2511
|
|
70
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST']._serialized_start=2513
|
|
71
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST']._serialized_end=2638
|
|
72
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE']._serialized_start=2640
|
|
73
|
+
_globals['_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE']._serialized_end=2687
|
|
74
|
+
_globals['_RESETWORKFLOWEXECUTIONREQUEST']._serialized_start=2690
|
|
75
|
+
_globals['_RESETWORKFLOWEXECUTIONREQUEST']._serialized_end=2904
|
|
76
|
+
_globals['_RESETWORKFLOWEXECUTIONRESPONSE']._serialized_start=2906
|
|
77
|
+
_globals['_RESETWORKFLOWEXECUTIONRESPONSE']._serialized_end=2954
|
|
78
|
+
_globals['_REQUESTCANCELWORKFLOWEXECUTIONREQUEST']._serialized_start=2957
|
|
79
|
+
_globals['_REQUESTCANCELWORKFLOWEXECUTIONREQUEST']._serialized_end=3165
|
|
80
|
+
_globals['_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE']._serialized_start=3167
|
|
81
|
+
_globals['_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE']._serialized_end=3207
|
|
82
|
+
_globals['_TERMINATEWORKFLOWEXECUTIONREQUEST']._serialized_start=3210
|
|
83
|
+
_globals['_TERMINATEWORKFLOWEXECUTIONREQUEST']._serialized_end=3442
|
|
84
|
+
_globals['_TERMINATEWORKFLOWEXECUTIONRESPONSE']._serialized_start=3444
|
|
85
|
+
_globals['_TERMINATEWORKFLOWEXECUTIONRESPONSE']._serialized_end=3480
|
|
86
|
+
_globals['_DESCRIBEWORKFLOWEXECUTIONREQUEST']._serialized_start=3483
|
|
87
|
+
_globals['_DESCRIBEWORKFLOWEXECUTIONREQUEST']._serialized_end=3678
|
|
88
|
+
_globals['_DESCRIBEWORKFLOWEXECUTIONRESPONSE']._serialized_start=3681
|
|
89
|
+
_globals['_DESCRIBEWORKFLOWEXECUTIONRESPONSE']._serialized_end=4091
|
|
90
|
+
_globals['_QUERYWORKFLOWREQUEST']._serialized_start=4094
|
|
91
|
+
_globals['_QUERYWORKFLOWREQUEST']._serialized_end=4403
|
|
92
|
+
_globals['_QUERYWORKFLOWRESPONSE']._serialized_start=4406
|
|
93
|
+
_globals['_QUERYWORKFLOWRESPONSE']._serialized_end=4541
|
|
94
|
+
_globals['_DESCRIBETASKLISTREQUEST']._serialized_start=4544
|
|
95
|
+
_globals['_DESCRIBETASKLISTREQUEST']._serialized_end=4728
|
|
96
|
+
_globals['_DESCRIBETASKLISTRESPONSE']._serialized_start=4731
|
|
97
|
+
_globals['_DESCRIBETASKLISTRESPONSE']._serialized_end=4992
|
|
98
|
+
_globals['_GETTASKLISTSBYDOMAINREQUEST']._serialized_start=4994
|
|
99
|
+
_globals['_GETTASKLISTSBYDOMAINREQUEST']._serialized_end=5039
|
|
100
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE']._serialized_start=5042
|
|
101
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE']._serialized_end=5502
|
|
102
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY']._serialized_start=5290
|
|
103
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY']._serialized_end=5395
|
|
104
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY']._serialized_start=5397
|
|
105
|
+
_globals['_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY']._serialized_end=5502
|
|
106
|
+
_globals['_LISTTASKLISTPARTITIONSREQUEST']._serialized_start=5504
|
|
107
|
+
_globals['_LISTTASKLISTPARTITIONSREQUEST']._serialized_end=5601
|
|
108
|
+
_globals['_LISTTASKLISTPARTITIONSRESPONSE']._serialized_start=5604
|
|
109
|
+
_globals['_LISTTASKLISTPARTITIONSRESPONSE']._serialized_end=5810
|
|
110
|
+
_globals['_GETCLUSTERINFOREQUEST']._serialized_start=5812
|
|
111
|
+
_globals['_GETCLUSTERINFOREQUEST']._serialized_end=5835
|
|
112
|
+
_globals['_GETCLUSTERINFORESPONSE']._serialized_start=5837
|
|
113
|
+
_globals['_GETCLUSTERINFORESPONSE']._serialized_end=5942
|
|
114
|
+
_globals['_GETWORKFLOWEXECUTIONHISTORYREQUEST']._serialized_start=5945
|
|
115
|
+
_globals['_GETWORKFLOWEXECUTIONHISTORYREQUEST']._serialized_end=6310
|
|
116
|
+
_globals['_GETWORKFLOWEXECUTIONHISTORYRESPONSE']._serialized_start=6313
|
|
117
|
+
_globals['_GETWORKFLOWEXECUTIONHISTORYRESPONSE']._serialized_end=6492
|
|
118
|
+
_globals['_FEATUREFLAGS']._serialized_start=6494
|
|
119
|
+
_globals['_FEATUREFLAGS']._serialized_end=6568
|
|
120
|
+
_globals['_REFRESHWORKFLOWTASKSREQUEST']._serialized_start=6570
|
|
121
|
+
_globals['_REFRESHWORKFLOWTASKSREQUEST']._serialized_end=6683
|
|
122
|
+
_globals['_REFRESHWORKFLOWTASKSRESPONSE']._serialized_start=6685
|
|
123
|
+
_globals['_REFRESHWORKFLOWTASKSRESPONSE']._serialized_end=6715
|
|
124
|
+
_globals['_WORKFLOWAPI']._serialized_start=6718
|
|
125
|
+
_globals['_WORKFLOWAPI']._serialized_end=9189
|
|
126
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
from google.protobuf import duration_pb2 as _duration_pb2
|
|
2
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
|
+
from cadence.api.v1 import common_pb2 as _common_pb2
|
|
4
|
+
from cadence.api.v1 import history_pb2 as _history_pb2
|
|
5
|
+
from cadence.api.v1 import query_pb2 as _query_pb2
|
|
6
|
+
from cadence.api.v1 import tasklist_pb2 as _tasklist_pb2
|
|
7
|
+
from cadence.api.v1 import workflow_pb2 as _workflow_pb2
|
|
8
|
+
from google.protobuf.internal import containers as _containers
|
|
9
|
+
from google.protobuf import descriptor as _descriptor
|
|
10
|
+
from google.protobuf import message as _message
|
|
11
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
class RestartWorkflowExecutionRequest(_message.Message):
|
|
16
|
+
__slots__ = ("domain", "workflow_execution", "identity", "reason")
|
|
17
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
domain: str
|
|
22
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
23
|
+
identity: str
|
|
24
|
+
reason: str
|
|
25
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
26
|
+
|
|
27
|
+
class DiagnoseWorkflowExecutionRequest(_message.Message):
|
|
28
|
+
__slots__ = ("domain", "workflow_execution", "identity")
|
|
29
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
domain: str
|
|
33
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
34
|
+
identity: str
|
|
35
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
36
|
+
|
|
37
|
+
class DiagnoseWorkflowExecutionResponse(_message.Message):
|
|
38
|
+
__slots__ = ("domain", "diagnostic_workflow_execution")
|
|
39
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
DIAGNOSTIC_WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
domain: str
|
|
42
|
+
diagnostic_workflow_execution: _common_pb2.WorkflowExecution
|
|
43
|
+
def __init__(self, domain: _Optional[str] = ..., diagnostic_workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
class StartWorkflowExecutionRequest(_message.Message):
|
|
46
|
+
__slots__ = ("domain", "workflow_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "identity", "request_id", "workflow_id_reuse_policy", "retry_policy", "cron_schedule", "memo", "search_attributes", "header", "delay_start", "jitter_start", "first_run_at", "cron_overlap_policy", "active_cluster_selection_policy")
|
|
47
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
DELAY_START_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
JITTER_START_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
FIRST_RUN_AT_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
domain: str
|
|
68
|
+
workflow_id: str
|
|
69
|
+
workflow_type: _common_pb2.WorkflowType
|
|
70
|
+
task_list: _tasklist_pb2.TaskList
|
|
71
|
+
input: _common_pb2.Payload
|
|
72
|
+
execution_start_to_close_timeout: _duration_pb2.Duration
|
|
73
|
+
task_start_to_close_timeout: _duration_pb2.Duration
|
|
74
|
+
identity: str
|
|
75
|
+
request_id: str
|
|
76
|
+
workflow_id_reuse_policy: _workflow_pb2.WorkflowIdReusePolicy
|
|
77
|
+
retry_policy: _common_pb2.RetryPolicy
|
|
78
|
+
cron_schedule: str
|
|
79
|
+
memo: _common_pb2.Memo
|
|
80
|
+
search_attributes: _common_pb2.SearchAttributes
|
|
81
|
+
header: _common_pb2.Header
|
|
82
|
+
delay_start: _duration_pb2.Duration
|
|
83
|
+
jitter_start: _duration_pb2.Duration
|
|
84
|
+
first_run_at: _timestamp_pb2.Timestamp
|
|
85
|
+
cron_overlap_policy: _workflow_pb2.CronOverlapPolicy
|
|
86
|
+
active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy
|
|
87
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., workflow_id_reuse_policy: _Optional[_Union[_workflow_pb2.WorkflowIdReusePolicy, str]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., delay_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., jitter_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., first_run_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ...
|
|
88
|
+
|
|
89
|
+
class StartWorkflowExecutionResponse(_message.Message):
|
|
90
|
+
__slots__ = ("run_id",)
|
|
91
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
run_id: str
|
|
93
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class StartWorkflowExecutionAsyncRequest(_message.Message):
|
|
96
|
+
__slots__ = ("request",)
|
|
97
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
request: StartWorkflowExecutionRequest
|
|
99
|
+
def __init__(self, request: _Optional[_Union[StartWorkflowExecutionRequest, _Mapping]] = ...) -> None: ...
|
|
100
|
+
|
|
101
|
+
class StartWorkflowExecutionAsyncResponse(_message.Message):
|
|
102
|
+
__slots__ = ()
|
|
103
|
+
def __init__(self) -> None: ...
|
|
104
|
+
|
|
105
|
+
class RestartWorkflowExecutionResponse(_message.Message):
|
|
106
|
+
__slots__ = ("run_id",)
|
|
107
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
run_id: str
|
|
109
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class SignalWorkflowExecutionRequest(_message.Message):
|
|
112
|
+
__slots__ = ("domain", "workflow_execution", "identity", "request_id", "signal_name", "signal_input", "control")
|
|
113
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
+
SIGNAL_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
domain: str
|
|
121
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
122
|
+
identity: str
|
|
123
|
+
request_id: str
|
|
124
|
+
signal_name: str
|
|
125
|
+
signal_input: _common_pb2.Payload
|
|
126
|
+
control: bytes
|
|
127
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., signal_name: _Optional[str] = ..., signal_input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ...
|
|
128
|
+
|
|
129
|
+
class SignalWorkflowExecutionResponse(_message.Message):
|
|
130
|
+
__slots__ = ()
|
|
131
|
+
def __init__(self) -> None: ...
|
|
132
|
+
|
|
133
|
+
class SignalWithStartWorkflowExecutionRequest(_message.Message):
|
|
134
|
+
__slots__ = ("start_request", "signal_name", "signal_input", "control")
|
|
135
|
+
START_REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
SIGNAL_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
start_request: StartWorkflowExecutionRequest
|
|
140
|
+
signal_name: str
|
|
141
|
+
signal_input: _common_pb2.Payload
|
|
142
|
+
control: bytes
|
|
143
|
+
def __init__(self, start_request: _Optional[_Union[StartWorkflowExecutionRequest, _Mapping]] = ..., signal_name: _Optional[str] = ..., signal_input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ...
|
|
144
|
+
|
|
145
|
+
class SignalWithStartWorkflowExecutionResponse(_message.Message):
|
|
146
|
+
__slots__ = ("run_id",)
|
|
147
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
run_id: str
|
|
149
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class SignalWithStartWorkflowExecutionAsyncRequest(_message.Message):
|
|
152
|
+
__slots__ = ("request",)
|
|
153
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
request: SignalWithStartWorkflowExecutionRequest
|
|
155
|
+
def __init__(self, request: _Optional[_Union[SignalWithStartWorkflowExecutionRequest, _Mapping]] = ...) -> None: ...
|
|
156
|
+
|
|
157
|
+
class SignalWithStartWorkflowExecutionAsyncResponse(_message.Message):
|
|
158
|
+
__slots__ = ()
|
|
159
|
+
def __init__(self) -> None: ...
|
|
160
|
+
|
|
161
|
+
class ResetWorkflowExecutionRequest(_message.Message):
|
|
162
|
+
__slots__ = ("domain", "workflow_execution", "reason", "decision_finish_event_id", "request_id", "skip_signal_reapply")
|
|
163
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
DECISION_FINISH_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
SKIP_SIGNAL_REAPPLY_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
domain: str
|
|
170
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
171
|
+
reason: str
|
|
172
|
+
decision_finish_event_id: int
|
|
173
|
+
request_id: str
|
|
174
|
+
skip_signal_reapply: bool
|
|
175
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., reason: _Optional[str] = ..., decision_finish_event_id: _Optional[int] = ..., request_id: _Optional[str] = ..., skip_signal_reapply: bool = ...) -> None: ...
|
|
176
|
+
|
|
177
|
+
class ResetWorkflowExecutionResponse(_message.Message):
|
|
178
|
+
__slots__ = ("run_id",)
|
|
179
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
180
|
+
run_id: str
|
|
181
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
182
|
+
|
|
183
|
+
class RequestCancelWorkflowExecutionRequest(_message.Message):
|
|
184
|
+
__slots__ = ("domain", "workflow_execution", "identity", "request_id", "cause", "first_execution_run_id")
|
|
185
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
186
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
187
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
188
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
189
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
190
|
+
FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
191
|
+
domain: str
|
|
192
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
193
|
+
identity: str
|
|
194
|
+
request_id: str
|
|
195
|
+
cause: str
|
|
196
|
+
first_execution_run_id: str
|
|
197
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., cause: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ...) -> None: ...
|
|
198
|
+
|
|
199
|
+
class RequestCancelWorkflowExecutionResponse(_message.Message):
|
|
200
|
+
__slots__ = ()
|
|
201
|
+
def __init__(self) -> None: ...
|
|
202
|
+
|
|
203
|
+
class TerminateWorkflowExecutionRequest(_message.Message):
|
|
204
|
+
__slots__ = ("domain", "workflow_execution", "reason", "details", "identity", "first_execution_run_id")
|
|
205
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
206
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
207
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
210
|
+
FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
211
|
+
domain: str
|
|
212
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
213
|
+
reason: str
|
|
214
|
+
details: _common_pb2.Payload
|
|
215
|
+
identity: str
|
|
216
|
+
first_execution_run_id: str
|
|
217
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., reason: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ...) -> None: ...
|
|
218
|
+
|
|
219
|
+
class TerminateWorkflowExecutionResponse(_message.Message):
|
|
220
|
+
__slots__ = ()
|
|
221
|
+
def __init__(self) -> None: ...
|
|
222
|
+
|
|
223
|
+
class DescribeWorkflowExecutionRequest(_message.Message):
|
|
224
|
+
__slots__ = ("domain", "workflow_execution", "query_consistency_level")
|
|
225
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
228
|
+
domain: str
|
|
229
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
230
|
+
query_consistency_level: _query_pb2.QueryConsistencyLevel
|
|
231
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ...
|
|
232
|
+
|
|
233
|
+
class DescribeWorkflowExecutionResponse(_message.Message):
|
|
234
|
+
__slots__ = ("execution_configuration", "workflow_execution_info", "pending_activities", "pending_children", "pending_decision")
|
|
235
|
+
EXECUTION_CONFIGURATION_FIELD_NUMBER: _ClassVar[int]
|
|
236
|
+
WORKFLOW_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
237
|
+
PENDING_ACTIVITIES_FIELD_NUMBER: _ClassVar[int]
|
|
238
|
+
PENDING_CHILDREN_FIELD_NUMBER: _ClassVar[int]
|
|
239
|
+
PENDING_DECISION_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
execution_configuration: _workflow_pb2.WorkflowExecutionConfiguration
|
|
241
|
+
workflow_execution_info: _workflow_pb2.WorkflowExecutionInfo
|
|
242
|
+
pending_activities: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.PendingActivityInfo]
|
|
243
|
+
pending_children: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.PendingChildExecutionInfo]
|
|
244
|
+
pending_decision: _workflow_pb2.PendingDecisionInfo
|
|
245
|
+
def __init__(self, execution_configuration: _Optional[_Union[_workflow_pb2.WorkflowExecutionConfiguration, _Mapping]] = ..., workflow_execution_info: _Optional[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]] = ..., pending_activities: _Optional[_Iterable[_Union[_workflow_pb2.PendingActivityInfo, _Mapping]]] = ..., pending_children: _Optional[_Iterable[_Union[_workflow_pb2.PendingChildExecutionInfo, _Mapping]]] = ..., pending_decision: _Optional[_Union[_workflow_pb2.PendingDecisionInfo, _Mapping]] = ...) -> None: ...
|
|
246
|
+
|
|
247
|
+
class QueryWorkflowRequest(_message.Message):
|
|
248
|
+
__slots__ = ("domain", "workflow_execution", "query", "query_reject_condition", "query_consistency_level")
|
|
249
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
250
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
QUERY_REJECT_CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
domain: str
|
|
255
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
256
|
+
query: _query_pb2.WorkflowQuery
|
|
257
|
+
query_reject_condition: _query_pb2.QueryRejectCondition
|
|
258
|
+
query_consistency_level: _query_pb2.QueryConsistencyLevel
|
|
259
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., query: _Optional[_Union[_query_pb2.WorkflowQuery, _Mapping]] = ..., query_reject_condition: _Optional[_Union[_query_pb2.QueryRejectCondition, str]] = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ...
|
|
260
|
+
|
|
261
|
+
class QueryWorkflowResponse(_message.Message):
|
|
262
|
+
__slots__ = ("query_result", "query_rejected")
|
|
263
|
+
QUERY_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
264
|
+
QUERY_REJECTED_FIELD_NUMBER: _ClassVar[int]
|
|
265
|
+
query_result: _common_pb2.Payload
|
|
266
|
+
query_rejected: _query_pb2.QueryRejected
|
|
267
|
+
def __init__(self, query_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., query_rejected: _Optional[_Union[_query_pb2.QueryRejected, _Mapping]] = ...) -> None: ...
|
|
268
|
+
|
|
269
|
+
class DescribeTaskListRequest(_message.Message):
|
|
270
|
+
__slots__ = ("domain", "task_list", "task_list_type", "include_task_list_status")
|
|
271
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
TASK_LIST_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
274
|
+
INCLUDE_TASK_LIST_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
275
|
+
domain: str
|
|
276
|
+
task_list: _tasklist_pb2.TaskList
|
|
277
|
+
task_list_type: _tasklist_pb2.TaskListType
|
|
278
|
+
include_task_list_status: bool
|
|
279
|
+
def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., task_list_type: _Optional[_Union[_tasklist_pb2.TaskListType, str]] = ..., include_task_list_status: bool = ...) -> None: ...
|
|
280
|
+
|
|
281
|
+
class DescribeTaskListResponse(_message.Message):
|
|
282
|
+
__slots__ = ("pollers", "task_list_status", "partition_config", "task_list")
|
|
283
|
+
POLLERS_FIELD_NUMBER: _ClassVar[int]
|
|
284
|
+
TASK_LIST_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
285
|
+
PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
287
|
+
pollers: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.PollerInfo]
|
|
288
|
+
task_list_status: _tasklist_pb2.TaskListStatus
|
|
289
|
+
partition_config: _tasklist_pb2.TaskListPartitionConfig
|
|
290
|
+
task_list: _tasklist_pb2.TaskList
|
|
291
|
+
def __init__(self, pollers: _Optional[_Iterable[_Union[_tasklist_pb2.PollerInfo, _Mapping]]] = ..., task_list_status: _Optional[_Union[_tasklist_pb2.TaskListStatus, _Mapping]] = ..., partition_config: _Optional[_Union[_tasklist_pb2.TaskListPartitionConfig, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ...) -> None: ...
|
|
292
|
+
|
|
293
|
+
class GetTaskListsByDomainRequest(_message.Message):
|
|
294
|
+
__slots__ = ("domain",)
|
|
295
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
296
|
+
domain: str
|
|
297
|
+
def __init__(self, domain: _Optional[str] = ...) -> None: ...
|
|
298
|
+
|
|
299
|
+
class GetTaskListsByDomainResponse(_message.Message):
|
|
300
|
+
__slots__ = ("decision_task_list_map", "activity_task_list_map")
|
|
301
|
+
class DecisionTaskListMapEntry(_message.Message):
|
|
302
|
+
__slots__ = ("key", "value")
|
|
303
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
304
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
305
|
+
key: str
|
|
306
|
+
value: DescribeTaskListResponse
|
|
307
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[DescribeTaskListResponse, _Mapping]] = ...) -> None: ...
|
|
308
|
+
class ActivityTaskListMapEntry(_message.Message):
|
|
309
|
+
__slots__ = ("key", "value")
|
|
310
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
311
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
312
|
+
key: str
|
|
313
|
+
value: DescribeTaskListResponse
|
|
314
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[DescribeTaskListResponse, _Mapping]] = ...) -> None: ...
|
|
315
|
+
DECISION_TASK_LIST_MAP_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
+
ACTIVITY_TASK_LIST_MAP_FIELD_NUMBER: _ClassVar[int]
|
|
317
|
+
decision_task_list_map: _containers.MessageMap[str, DescribeTaskListResponse]
|
|
318
|
+
activity_task_list_map: _containers.MessageMap[str, DescribeTaskListResponse]
|
|
319
|
+
def __init__(self, decision_task_list_map: _Optional[_Mapping[str, DescribeTaskListResponse]] = ..., activity_task_list_map: _Optional[_Mapping[str, DescribeTaskListResponse]] = ...) -> None: ...
|
|
320
|
+
|
|
321
|
+
class ListTaskListPartitionsRequest(_message.Message):
|
|
322
|
+
__slots__ = ("domain", "task_list")
|
|
323
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
324
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
+
domain: str
|
|
326
|
+
task_list: _tasklist_pb2.TaskList
|
|
327
|
+
def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ...) -> None: ...
|
|
328
|
+
|
|
329
|
+
class ListTaskListPartitionsResponse(_message.Message):
|
|
330
|
+
__slots__ = ("activity_task_list_partitions", "decision_task_list_partitions")
|
|
331
|
+
ACTIVITY_TASK_LIST_PARTITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
332
|
+
DECISION_TASK_LIST_PARTITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
333
|
+
activity_task_list_partitions: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.TaskListPartitionMetadata]
|
|
334
|
+
decision_task_list_partitions: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.TaskListPartitionMetadata]
|
|
335
|
+
def __init__(self, activity_task_list_partitions: _Optional[_Iterable[_Union[_tasklist_pb2.TaskListPartitionMetadata, _Mapping]]] = ..., decision_task_list_partitions: _Optional[_Iterable[_Union[_tasklist_pb2.TaskListPartitionMetadata, _Mapping]]] = ...) -> None: ...
|
|
336
|
+
|
|
337
|
+
class GetClusterInfoRequest(_message.Message):
|
|
338
|
+
__slots__ = ()
|
|
339
|
+
def __init__(self) -> None: ...
|
|
340
|
+
|
|
341
|
+
class GetClusterInfoResponse(_message.Message):
|
|
342
|
+
__slots__ = ("supported_client_versions",)
|
|
343
|
+
SUPPORTED_CLIENT_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
344
|
+
supported_client_versions: _common_pb2.SupportedClientVersions
|
|
345
|
+
def __init__(self, supported_client_versions: _Optional[_Union[_common_pb2.SupportedClientVersions, _Mapping]] = ...) -> None: ...
|
|
346
|
+
|
|
347
|
+
class GetWorkflowExecutionHistoryRequest(_message.Message):
|
|
348
|
+
__slots__ = ("domain", "workflow_execution", "page_size", "next_page_token", "wait_for_new_event", "history_event_filter_type", "skip_archival", "query_consistency_level")
|
|
349
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
350
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
351
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
352
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
353
|
+
WAIT_FOR_NEW_EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
354
|
+
HISTORY_EVENT_FILTER_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
355
|
+
SKIP_ARCHIVAL_FIELD_NUMBER: _ClassVar[int]
|
|
356
|
+
QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
357
|
+
domain: str
|
|
358
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
359
|
+
page_size: int
|
|
360
|
+
next_page_token: bytes
|
|
361
|
+
wait_for_new_event: bool
|
|
362
|
+
history_event_filter_type: _history_pb2.EventFilterType
|
|
363
|
+
skip_archival: bool
|
|
364
|
+
query_consistency_level: _query_pb2.QueryConsistencyLevel
|
|
365
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., wait_for_new_event: bool = ..., history_event_filter_type: _Optional[_Union[_history_pb2.EventFilterType, str]] = ..., skip_archival: bool = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ...
|
|
366
|
+
|
|
367
|
+
class GetWorkflowExecutionHistoryResponse(_message.Message):
|
|
368
|
+
__slots__ = ("history", "raw_history", "next_page_token", "archived")
|
|
369
|
+
HISTORY_FIELD_NUMBER: _ClassVar[int]
|
|
370
|
+
RAW_HISTORY_FIELD_NUMBER: _ClassVar[int]
|
|
371
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
372
|
+
ARCHIVED_FIELD_NUMBER: _ClassVar[int]
|
|
373
|
+
history: _history_pb2.History
|
|
374
|
+
raw_history: _containers.RepeatedCompositeFieldContainer[_common_pb2.DataBlob]
|
|
375
|
+
next_page_token: bytes
|
|
376
|
+
archived: bool
|
|
377
|
+
def __init__(self, history: _Optional[_Union[_history_pb2.History, _Mapping]] = ..., raw_history: _Optional[_Iterable[_Union[_common_pb2.DataBlob, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ..., archived: bool = ...) -> None: ...
|
|
378
|
+
|
|
379
|
+
class FeatureFlags(_message.Message):
|
|
380
|
+
__slots__ = ("workflow_execution_already_completed_error_enabled",)
|
|
381
|
+
WORKFLOW_EXECUTION_ALREADY_COMPLETED_ERROR_ENABLED_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
+
workflow_execution_already_completed_error_enabled: bool
|
|
383
|
+
def __init__(self, workflow_execution_already_completed_error_enabled: bool = ...) -> None: ...
|
|
384
|
+
|
|
385
|
+
class RefreshWorkflowTasksRequest(_message.Message):
|
|
386
|
+
__slots__ = ("domain", "workflow_execution")
|
|
387
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
388
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
389
|
+
domain: str
|
|
390
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
391
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ...
|
|
392
|
+
|
|
393
|
+
class RefreshWorkflowTasksResponse(_message.Message):
|
|
394
|
+
__slots__ = ()
|
|
395
|
+
def __init__(self) -> None: ...
|