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.
Files changed (95) hide show
  1. cadence/__init__.py +18 -0
  2. cadence/_internal/__init__.py +8 -0
  3. cadence/_internal/activity/__init__.py +5 -0
  4. cadence/_internal/activity/_activity_executor.py +113 -0
  5. cadence/_internal/activity/_context.py +58 -0
  6. cadence/_internal/rpc/__init__.py +0 -0
  7. cadence/_internal/rpc/error.py +148 -0
  8. cadence/_internal/rpc/retry.py +104 -0
  9. cadence/_internal/rpc/yarpc.py +42 -0
  10. cadence/_internal/workflow/__init__.py +0 -0
  11. cadence/_internal/workflow/context.py +121 -0
  12. cadence/_internal/workflow/decision_events_iterator.py +161 -0
  13. cadence/_internal/workflow/decisions_helper.py +312 -0
  14. cadence/_internal/workflow/deterministic_event_loop.py +498 -0
  15. cadence/_internal/workflow/history_event_iterator.py +58 -0
  16. cadence/_internal/workflow/statemachine/__init__.py +0 -0
  17. cadence/_internal/workflow/statemachine/activity_state_machine.py +106 -0
  18. cadence/_internal/workflow/statemachine/decision_manager.py +157 -0
  19. cadence/_internal/workflow/statemachine/decision_state_machine.py +87 -0
  20. cadence/_internal/workflow/statemachine/event_dispatcher.py +76 -0
  21. cadence/_internal/workflow/statemachine/timer_state_machine.py +73 -0
  22. cadence/_internal/workflow/workflow_engine.py +245 -0
  23. cadence/_internal/workflow/workflow_intance.py +44 -0
  24. cadence/activity.py +255 -0
  25. cadence/api/v1/__init__.py +92 -0
  26. cadence/api/v1/common_pb2.py +90 -0
  27. cadence/api/v1/common_pb2.pyi +200 -0
  28. cadence/api/v1/common_pb2_grpc.py +24 -0
  29. cadence/api/v1/decision_pb2.py +67 -0
  30. cadence/api/v1/decision_pb2.pyi +225 -0
  31. cadence/api/v1/decision_pb2_grpc.py +24 -0
  32. cadence/api/v1/domain_pb2.py +68 -0
  33. cadence/api/v1/domain_pb2.pyi +145 -0
  34. cadence/api/v1/domain_pb2_grpc.py +24 -0
  35. cadence/api/v1/error_pb2.py +59 -0
  36. cadence/api/v1/error_pb2.pyi +82 -0
  37. cadence/api/v1/error_pb2_grpc.py +24 -0
  38. cadence/api/v1/history_pb2.py +134 -0
  39. cadence/api/v1/history_pb2.pyi +780 -0
  40. cadence/api/v1/history_pb2_grpc.py +24 -0
  41. cadence/api/v1/query_pb2.py +49 -0
  42. cadence/api/v1/query_pb2.pyi +59 -0
  43. cadence/api/v1/query_pb2_grpc.py +24 -0
  44. cadence/api/v1/service_domain_pb2.py +76 -0
  45. cadence/api/v1/service_domain_pb2.pyi +164 -0
  46. cadence/api/v1/service_domain_pb2_grpc.py +327 -0
  47. cadence/api/v1/service_meta_pb2.py +41 -0
  48. cadence/api/v1/service_meta_pb2.pyi +17 -0
  49. cadence/api/v1/service_meta_pb2_grpc.py +97 -0
  50. cadence/api/v1/service_visibility_pb2.py +71 -0
  51. cadence/api/v1/service_visibility_pb2.pyi +149 -0
  52. cadence/api/v1/service_visibility_pb2_grpc.py +362 -0
  53. cadence/api/v1/service_worker_pb2.py +116 -0
  54. cadence/api/v1/service_worker_pb2.pyi +350 -0
  55. cadence/api/v1/service_worker_pb2_grpc.py +743 -0
  56. cadence/api/v1/service_workflow_pb2.py +126 -0
  57. cadence/api/v1/service_workflow_pb2.pyi +395 -0
  58. cadence/api/v1/service_workflow_pb2_grpc.py +861 -0
  59. cadence/api/v1/tasklist_pb2.py +78 -0
  60. cadence/api/v1/tasklist_pb2.pyi +147 -0
  61. cadence/api/v1/tasklist_pb2_grpc.py +24 -0
  62. cadence/api/v1/visibility_pb2.py +47 -0
  63. cadence/api/v1/visibility_pb2.pyi +53 -0
  64. cadence/api/v1/visibility_pb2_grpc.py +24 -0
  65. cadence/api/v1/workflow_pb2.py +89 -0
  66. cadence/api/v1/workflow_pb2.pyi +365 -0
  67. cadence/api/v1/workflow_pb2_grpc.py +24 -0
  68. cadence/client.py +382 -0
  69. cadence/data_converter.py +78 -0
  70. cadence/error.py +111 -0
  71. cadence/metrics/__init__.py +12 -0
  72. cadence/metrics/constants.py +136 -0
  73. cadence/metrics/metrics.py +56 -0
  74. cadence/metrics/prometheus.py +165 -0
  75. cadence/sample/__init__.py +1 -0
  76. cadence/sample/client_example.py +15 -0
  77. cadence/sample/grpc_usage_example.py +230 -0
  78. cadence/sample/simple_usage_example.py +155 -0
  79. cadence/signal.py +174 -0
  80. cadence/worker/__init__.py +13 -0
  81. cadence/worker/_activity.py +60 -0
  82. cadence/worker/_base_task_handler.py +71 -0
  83. cadence/worker/_decision.py +62 -0
  84. cadence/worker/_decision_task_handler.py +285 -0
  85. cadence/worker/_poller.py +64 -0
  86. cadence/worker/_registry.py +245 -0
  87. cadence/worker/_types.py +26 -0
  88. cadence/worker/_worker.py +56 -0
  89. cadence/workflow.py +271 -0
  90. cadence_python_client-0.1.0.dist-info/METADATA +180 -0
  91. cadence_python_client-0.1.0.dist-info/RECORD +95 -0
  92. cadence_python_client-0.1.0.dist-info/WHEEL +5 -0
  93. cadence_python_client-0.1.0.dist-info/licenses/LICENSE +201 -0
  94. cadence_python_client-0.1.0.dist-info/licenses/NOTICE +19 -0
  95. cadence_python_client-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,82 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Optional as _Optional
5
+
6
+ DESCRIPTOR: _descriptor.FileDescriptor
7
+
8
+ class WorkflowExecutionAlreadyStartedError(_message.Message):
9
+ __slots__ = ("start_request_id", "run_id")
10
+ START_REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
11
+ RUN_ID_FIELD_NUMBER: _ClassVar[int]
12
+ start_request_id: str
13
+ run_id: str
14
+ def __init__(self, start_request_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ...
15
+
16
+ class EntityNotExistsError(_message.Message):
17
+ __slots__ = ("current_cluster", "active_cluster", "active_clusters")
18
+ CURRENT_CLUSTER_FIELD_NUMBER: _ClassVar[int]
19
+ ACTIVE_CLUSTER_FIELD_NUMBER: _ClassVar[int]
20
+ ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int]
21
+ current_cluster: str
22
+ active_cluster: str
23
+ active_clusters: _containers.RepeatedScalarFieldContainer[str]
24
+ def __init__(self, current_cluster: _Optional[str] = ..., active_cluster: _Optional[str] = ..., active_clusters: _Optional[_Iterable[str]] = ...) -> None: ...
25
+
26
+ class WorkflowExecutionAlreadyCompletedError(_message.Message):
27
+ __slots__ = ()
28
+ def __init__(self) -> None: ...
29
+
30
+ class DomainNotActiveError(_message.Message):
31
+ __slots__ = ("domain", "current_cluster", "active_cluster", "active_clusters")
32
+ DOMAIN_FIELD_NUMBER: _ClassVar[int]
33
+ CURRENT_CLUSTER_FIELD_NUMBER: _ClassVar[int]
34
+ ACTIVE_CLUSTER_FIELD_NUMBER: _ClassVar[int]
35
+ ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int]
36
+ domain: str
37
+ current_cluster: str
38
+ active_cluster: str
39
+ active_clusters: _containers.RepeatedScalarFieldContainer[str]
40
+ def __init__(self, domain: _Optional[str] = ..., current_cluster: _Optional[str] = ..., active_cluster: _Optional[str] = ..., active_clusters: _Optional[_Iterable[str]] = ...) -> None: ...
41
+
42
+ class ClientVersionNotSupportedError(_message.Message):
43
+ __slots__ = ("feature_version", "client_impl", "supported_versions")
44
+ FEATURE_VERSION_FIELD_NUMBER: _ClassVar[int]
45
+ CLIENT_IMPL_FIELD_NUMBER: _ClassVar[int]
46
+ SUPPORTED_VERSIONS_FIELD_NUMBER: _ClassVar[int]
47
+ feature_version: str
48
+ client_impl: str
49
+ supported_versions: str
50
+ def __init__(self, feature_version: _Optional[str] = ..., client_impl: _Optional[str] = ..., supported_versions: _Optional[str] = ...) -> None: ...
51
+
52
+ class FeatureNotEnabledError(_message.Message):
53
+ __slots__ = ("feature_flag",)
54
+ FEATURE_FLAG_FIELD_NUMBER: _ClassVar[int]
55
+ feature_flag: str
56
+ def __init__(self, feature_flag: _Optional[str] = ...) -> None: ...
57
+
58
+ class CancellationAlreadyRequestedError(_message.Message):
59
+ __slots__ = ()
60
+ def __init__(self) -> None: ...
61
+
62
+ class DomainAlreadyExistsError(_message.Message):
63
+ __slots__ = ()
64
+ def __init__(self) -> None: ...
65
+
66
+ class LimitExceededError(_message.Message):
67
+ __slots__ = ()
68
+ def __init__(self) -> None: ...
69
+
70
+ class QueryFailedError(_message.Message):
71
+ __slots__ = ()
72
+ def __init__(self) -> None: ...
73
+
74
+ class ServiceBusyError(_message.Message):
75
+ __slots__ = ("reason",)
76
+ REASON_FIELD_NUMBER: _ClassVar[int]
77
+ reason: str
78
+ def __init__(self, reason: _Optional[str] = ...) -> None: ...
79
+
80
+ class StickyWorkerUnavailableError(_message.Message):
81
+ __slots__ = ()
82
+ def __init__(self) -> None: ...
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.71.2'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in cadence/api/v1/error_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,134 @@
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/history.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/history.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 tasklist_pb2 as cadence_dot_api_dot_v1_dot_tasklist__pb2
29
+ from cadence.api.v1 import workflow_pb2 as cadence_dot_api_dot_v1_dot_workflow__pb2
30
+
31
+
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63\x61\x64\x65nce/api/v1/history.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\x1d\x63\x61\x64\x65nce/api/v1/tasklist.proto\x1a\x1d\x63\x61\x64\x65nce/api/v1/workflow.proto\"<\n\x07History\x12\x31\n\x06\x65vents\x18\x01 \x03(\x0b\x32!.uber.cadence.api.v1.HistoryEvent\"\x98)\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\x0f\n\x07version\x18\x03 \x01(\x03\x12\x0f\n\x07task_id\x18\x04 \x01(\x03\x12s\n+workflow_execution_started_event_attributes\x18\x05 \x01(\x0b\x32<.uber.cadence.api.v1.WorkflowExecutionStartedEventAttributesH\x00\x12w\n-workflow_execution_completed_event_attributes\x18\x06 \x01(\x0b\x32>.uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12q\n*workflow_execution_failed_event_attributes\x18\x07 \x01(\x0b\x32;.uber.cadence.api.v1.WorkflowExecutionFailedEventAttributesH\x00\x12v\n-workflow_execution_timed_out_event_attributes\x18\x08 \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12m\n(decision_task_scheduled_event_attributes\x18\t \x01(\x0b\x32\x39.uber.cadence.api.v1.DecisionTaskScheduledEventAttributesH\x00\x12i\n&decision_task_started_event_attributes\x18\n \x01(\x0b\x32\x37.uber.cadence.api.v1.DecisionTaskStartedEventAttributesH\x00\x12m\n(decision_task_completed_event_attributes\x18\x0b \x01(\x0b\x32\x39.uber.cadence.api.v1.DecisionTaskCompletedEventAttributesH\x00\x12l\n(decision_task_timed_out_event_attributes\x18\x0c \x01(\x0b\x32\x38.uber.cadence.api.v1.DecisionTaskTimedOutEventAttributesH\x00\x12g\n%decision_task_failed_event_attributes\x18\r \x01(\x0b\x32\x36.uber.cadence.api.v1.DecisionTaskFailedEventAttributesH\x00\x12m\n(activity_task_scheduled_event_attributes\x18\x0e \x01(\x0b\x32\x39.uber.cadence.api.v1.ActivityTaskScheduledEventAttributesH\x00\x12i\n&activity_task_started_event_attributes\x18\x0f \x01(\x0b\x32\x37.uber.cadence.api.v1.ActivityTaskStartedEventAttributesH\x00\x12m\n(activity_task_completed_event_attributes\x18\x10 \x01(\x0b\x32\x39.uber.cadence.api.v1.ActivityTaskCompletedEventAttributesH\x00\x12g\n%activity_task_failed_event_attributes\x18\x11 \x01(\x0b\x32\x36.uber.cadence.api.v1.ActivityTaskFailedEventAttributesH\x00\x12l\n(activity_task_timed_out_event_attributes\x18\x12 \x01(\x0b\x32\x38.uber.cadence.api.v1.ActivityTaskTimedOutEventAttributesH\x00\x12Z\n\x1etimer_started_event_attributes\x18\x13 \x01(\x0b\x32\x30.uber.cadence.api.v1.TimerStartedEventAttributesH\x00\x12V\n\x1ctimer_fired_event_attributes\x18\x14 \x01(\x0b\x32..uber.cadence.api.v1.TimerFiredEventAttributesH\x00\x12z\n/activity_task_cancel_requested_event_attributes\x18\x15 \x01(\x0b\x32?.uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12\x83\x01\n4request_cancel_activity_task_failed_event_attributes\x18\x16 \x01(\x0b\x32\x43.uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributesH\x00\x12k\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32\x38.uber.cadence.api.v1.ActivityTaskCanceledEventAttributesH\x00\x12\\\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x31.uber.cadence.api.v1.TimerCanceledEventAttributesH\x00\x12\x65\n$cancel_timer_failed_event_attributes\x18\x19 \x01(\x0b\x32\x35.uber.cadence.api.v1.CancelTimerFailedEventAttributesH\x00\x12^\n marker_recorded_event_attributes\x18\x1a \x01(\x0b\x32\x32.uber.cadence.api.v1.MarkerRecordedEventAttributesH\x00\x12u\n,workflow_execution_signaled_event_attributes\x18\x1b \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12y\n.workflow_execution_terminated_event_attributes\x18\x1c \x01(\x0b\x32?.uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x84\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1d \x01(\x0b\x32\x44.uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12u\n,workflow_execution_canceled_event_attributes\x18\x1e \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa4\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1f \x01(\x0b\x32S.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x9e\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18 \x01(\x0b\x32P.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x95\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18! \x01(\x0b\x32L.uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x83\x01\n4workflow_execution_continued_as_new_event_attributes\x18\" \x01(\x0b\x32\x43.uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x8d\x01\n9start_child_workflow_execution_initiated_event_attributes\x18# \x01(\x0b\x32H.uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x87\x01\n6start_child_workflow_execution_failed_event_attributes\x18$ \x01(\x0b\x32\x45.uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12~\n1child_workflow_execution_started_event_attributes\x18% \x01(\x0b\x32\x41.uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x82\x01\n3child_workflow_execution_completed_event_attributes\x18& \x01(\x0b\x32\x43.uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12|\n0child_workflow_execution_failed_event_attributes\x18\' \x01(\x0b\x32@.uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x80\x01\n2child_workflow_execution_canceled_event_attributes\x18( \x01(\x0b\x32\x42.uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x81\x01\n3child_workflow_execution_timed_out_event_attributes\x18) \x01(\x0b\x32\x42.uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x84\x01\n4child_workflow_execution_terminated_event_attributes\x18* \x01(\x0b\x32\x44.uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x95\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18+ \x01(\x0b\x32L.uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8f\x01\n:signal_external_workflow_execution_failed_event_attributes\x18, \x01(\x0b\x32I.uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x86\x01\n5external_workflow_execution_signaled_event_attributes\x18- \x01(\x0b\x32\x45.uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x80\x01\n2upsert_workflow_search_attributes_event_attributes\x18. \x01(\x0b\x32\x42.uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x42\x0c\n\nattributes\"\x83\x0c\n\'WorkflowExecutionStartedEventAttributes\x12\x38\n\rworkflow_type\x18\x01 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12G\n\x15parent_execution_info\x18\x02 \x01(\x0b\x32(.uber.cadence.api.v1.ParentExecutionInfo\x12\x30\n\ttask_list\x18\x03 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1a\x63ontinued_execution_run_id\x18\x07 \x01(\t\x12>\n\tinitiator\x18\x08 \x01(\x0e\x32+.uber.cadence.api.v1.ContinueAsNewInitiator\x12\x37\n\x11\x63ontinued_failure\x18\t \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12<\n\x16last_completion_result\x18\n \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12!\n\x19original_execution_run_id\x18\x0b \x01(\t\x12\x10\n\x08identity\x18\x0c \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\r \x01(\t\x12\x36\n\x0cretry_policy\x18\x0e \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x33\n\x0f\x65xpiration_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x11 \x01(\t\x12>\n\x1b\x66irst_decision_task_backoff\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x04memo\x18\x13 \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x14 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12@\n\x16prev_auto_reset_points\x18\x15 \x01(\x0b\x32 .uber.cadence.api.v1.ResetPoints\x12+\n\x06header\x18\x16 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\x38\n\x14\x66irst_scheduled_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12k\n\x10partition_config\x18\x18 \x03(\x0b\x32Q.uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry\x12\x12\n\nrequest_id\x18\x19 \x01(\t\x12\x43\n\x13\x63ron_overlap_policy\x18\x1a \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x1b \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\x1a\x36\n\x14PartitionConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x01\n)WorkflowExecutionCompletedEventAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"\x81\x01\n&WorkflowExecutionFailedEventAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"b\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\"\xa4\x01\n$DecisionTaskScheduledEventAttributes\x12\x30\n\ttask_list\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\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\"f\n\"DecisionTaskStartedEventAttributes\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\"\xa2\x01\n$DecisionTaskCompletedEventAttributes\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\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\x12\x19\n\x11\x65xecution_context\x18\x05 \x01(\x0c\"\xbb\x02\n#DecisionTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x36\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\x12\x13\n\x0b\x62\x61se_run_id\x18\x04 \x01(\t\x12\x12\n\nnew_run_id\x18\x05 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x06 \x01(\x03\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..uber.cadence.api.v1.DecisionTaskTimedOutCause\x12\x12\n\nrequest_id\x18\t \x01(\t\"\xc9\x02\n!DecisionTaskFailedEventAttributes\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,.uber.cadence.api.v1.DecisionTaskFailedCause\x12-\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.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\x17\n\x0f\x62inary_checksum\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\"\xe0\x04\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x38\n\ractivity_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.ActivityType\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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 decision_task_completed_event_id\x18\x0b \x01(\x03\x12\x36\n\x0cretry_policy\x18\x0c \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12+\n\x06header\x18\r \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xab\x01\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\x32\n\x0clast_failure\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"\x9c\x01\n$ActivityTaskCompletedEventAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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\"\x9a\x01\n!ActivityTaskFailedEventAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.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\"\xf6\x01\n#ActivityTaskTimedOutEventAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0ctimeout_type\x18\x04 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\x12\x32\n\x0clast_failure\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"k\n*ActivityTaskCancelRequestedEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"~\n.RequestCancelActivityTaskFailedEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\"\xc6\x01\n#ActivityTaskCanceledEventAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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\"\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 decision_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 decision_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x7f\n CancelTimerFailedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x96\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12\x38\n\rworkflow_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x03 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n decision_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+.uber.cadence.api.v1.ContinueAsNewInitiator\x12-\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12<\n\x16last_completion_result\x18\x0b \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12+\n\x06header\x18\x0c \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\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\"\xb3\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12K\n\x17\x65xternal_execution_info\x18\x03 \x01(\x0b\x32*.uber.cadence.api.v1.ExternalExecutionInfo\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x83\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xba\x01\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\x12+\n\x06header\x18\x04 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\x92\x01\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"}\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\"\xec\x01\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\"\xb8\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12N\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32?.uber.cadence.api.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x42\n\x12workflow_execution\x18\x04 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\"\xa9\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\xa7\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\"\xb1\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12N\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32?.uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x42\n\x12workflow_execution\x18\x04 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\"\xb3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\"\x9b\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12@\n\x11search_attributes\x18\x02 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\"\xe1\x08\n3StartChildWorkflowExecutionInitiatedEventAttributes\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\x43\n\x13parent_close_policy\x18\x08 \x01(\x0e\x32&.uber.cadence.api.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\t \x01(\x0c\x12(\n decision_task_completed_event_id\x18\n \x01(\x03\x12L\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32*.uber.cadence.api.v1.WorkflowIdReusePolicy\x12\x36\n\x0cretry_policy\x18\r \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12+\n\x06header\x18\x0f \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\x10 \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x11 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12.\n\x0b\x64\x65lay_start\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cjitter_start\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\x0c\x66irst_run_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x13\x63ron_overlap_policy\x18\x15 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x16 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\xaf\x02\n0StartChildWorkflowExecutionFailedEventAttributes\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\x45\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32\x36.uber.cadence.api.v1.ChildWorkflowExecutionFailedCause\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\x0c\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n decision_task_completed_event_id\x18\x07 \x01(\x03\"\x85\x02\n,ChildWorkflowExecutionStartedEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12+\n\x06header\x18\x05 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xa2\x02\n.ChildWorkflowExecutionCompletedEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12,\n\x06result\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xa0\x02\n+ChildWorkflowExecutionFailedEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12-\n\x07\x66\x61ilure\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"\xa2\x02\n-ChildWorkflowExecutionCanceledEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12-\n\x07\x64\x65tails\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xab\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.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\x0ctimeout_type\x18\x06 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\"\xf5\x01\n/ChildWorkflowExecutionTerminatedEventAttributes\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\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03*t\n\x0f\x45ventFilterType\x12\x1d\n\x19\x45VENT_FILTER_TYPE_INVALID\x10\x00\x12\x1f\n\x1b\x45VENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12!\n\x1d\x45VENT_FILTER_TYPE_CLOSE_EVENT\x10\x02\x42\\\n\x17\x63om.uber.cadence.api.v1B\x0cHistoryProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3')
33
+
34
+ _globals = globals()
35
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.history_pb2', _globals)
37
+ if not _descriptor._USE_C_DESCRIPTORS:
38
+ _globals['DESCRIPTOR']._loaded_options = None
39
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\014HistoryProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
40
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY']._loaded_options = None
41
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY']._serialized_options = b'8\001'
42
+ _globals['_EVENTFILTERTYPE']._serialized_start=17184
43
+ _globals['_EVENTFILTERTYPE']._serialized_end=17300
44
+ _globals['_HISTORY']._serialized_start=209
45
+ _globals['_HISTORY']._serialized_end=269
46
+ _globals['_HISTORYEVENT']._serialized_start=272
47
+ _globals['_HISTORYEVENT']._serialized_end=5544
48
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES']._serialized_start=5547
49
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES']._serialized_end=7086
50
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY']._serialized_start=7032
51
+ _globals['_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY']._serialized_end=7086
52
+ _globals['_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES']._serialized_start=7089
53
+ _globals['_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES']._serialized_end=7220
54
+ _globals['_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_start=7223
55
+ _globals['_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_end=7352
56
+ _globals['_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES']._serialized_start=7354
57
+ _globals['_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES']._serialized_end=7452
58
+ _globals['_DECISIONTASKSCHEDULEDEVENTATTRIBUTES']._serialized_start=7455
59
+ _globals['_DECISIONTASKSCHEDULEDEVENTATTRIBUTES']._serialized_end=7619
60
+ _globals['_DECISIONTASKSTARTEDEVENTATTRIBUTES']._serialized_start=7621
61
+ _globals['_DECISIONTASKSTARTEDEVENTATTRIBUTES']._serialized_end=7723
62
+ _globals['_DECISIONTASKCOMPLETEDEVENTATTRIBUTES']._serialized_start=7726
63
+ _globals['_DECISIONTASKCOMPLETEDEVENTATTRIBUTES']._serialized_end=7888
64
+ _globals['_DECISIONTASKTIMEDOUTEVENTATTRIBUTES']._serialized_start=7891
65
+ _globals['_DECISIONTASKTIMEDOUTEVENTATTRIBUTES']._serialized_end=8206
66
+ _globals['_DECISIONTASKFAILEDEVENTATTRIBUTES']._serialized_start=8209
67
+ _globals['_DECISIONTASKFAILEDEVENTATTRIBUTES']._serialized_end=8538
68
+ _globals['_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES']._serialized_start=8541
69
+ _globals['_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES']._serialized_end=9149
70
+ _globals['_ACTIVITYTASKSTARTEDEVENTATTRIBUTES']._serialized_start=9152
71
+ _globals['_ACTIVITYTASKSTARTEDEVENTATTRIBUTES']._serialized_end=9323
72
+ _globals['_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES']._serialized_start=9326
73
+ _globals['_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES']._serialized_end=9482
74
+ _globals['_ACTIVITYTASKFAILEDEVENTATTRIBUTES']._serialized_start=9485
75
+ _globals['_ACTIVITYTASKFAILEDEVENTATTRIBUTES']._serialized_end=9639
76
+ _globals['_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES']._serialized_start=9642
77
+ _globals['_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES']._serialized_end=9888
78
+ _globals['_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES']._serialized_start=9890
79
+ _globals['_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES']._serialized_end=9997
80
+ _globals['_REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES']._serialized_start=9999
81
+ _globals['_REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES']._serialized_end=10125
82
+ _globals['_ACTIVITYTASKCANCELEDEVENTATTRIBUTES']._serialized_start=10128
83
+ _globals['_ACTIVITYTASKCANCELEDEVENTATTRIBUTES']._serialized_end=10326
84
+ _globals['_TIMERSTARTEDEVENTATTRIBUTES']._serialized_start=10329
85
+ _globals['_TIMERSTARTEDEVENTATTRIBUTES']._serialized_end=10476
86
+ _globals['_TIMERFIREDEVENTATTRIBUTES']._serialized_start=10478
87
+ _globals['_TIMERFIREDEVENTATTRIBUTES']._serialized_end=10549
88
+ _globals['_TIMERCANCELEDEVENTATTRIBUTES']._serialized_start=10552
89
+ _globals['_TIMERCANCELEDEVENTATTRIBUTES']._serialized_end=10686
90
+ _globals['_CANCELTIMERFAILEDEVENTATTRIBUTES']._serialized_start=10688
91
+ _globals['_CANCELTIMERFAILEDEVENTATTRIBUTES']._serialized_end=10815
92
+ _globals['_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES']._serialized_start=10818
93
+ _globals['_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES']._serialized_end=11608
94
+ _globals['_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES']._serialized_start=11611
95
+ _globals['_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES']._serialized_end=11790
96
+ _globals['_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES']._serialized_start=11793
97
+ _globals['_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES']._serialized_end=11924
98
+ _globals['_MARKERRECORDEDEVENTATTRIBUTES']._serialized_start=11927
99
+ _globals['_MARKERRECORDEDEVENTATTRIBUTES']._serialized_end=12113
100
+ _globals['_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES']._serialized_start=12116
101
+ _globals['_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES']._serialized_end=12262
102
+ _globals['_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES']._serialized_start=12264
103
+ _globals['_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES']._serialized_end=12389
104
+ _globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_start=12392
105
+ _globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_end=12628
106
+ _globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_start=12631
107
+ _globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_end=12943
108
+ _globals['_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES']._serialized_start=12946
109
+ _globals['_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES']._serialized_end=13115
110
+ _globals['_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_start=13118
111
+ _globals['_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_end=13413
112
+ _globals['_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_start=13416
113
+ _globals['_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_end=13721
114
+ _globals['_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES']._serialized_start=13724
115
+ _globals['_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES']._serialized_end=13903
116
+ _globals['_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES']._serialized_start=13906
117
+ _globals['_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES']._serialized_end=14061
118
+ _globals['_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_start=14064
119
+ _globals['_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES']._serialized_end=15185
120
+ _globals['_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_start=15188
121
+ _globals['_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_end=15491
122
+ _globals['_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES']._serialized_start=15494
123
+ _globals['_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES']._serialized_end=15755
124
+ _globals['_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES']._serialized_start=15758
125
+ _globals['_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES']._serialized_end=16048
126
+ _globals['_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_start=16051
127
+ _globals['_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES']._serialized_end=16339
128
+ _globals['_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES']._serialized_start=16342
129
+ _globals['_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES']._serialized_end=16632
130
+ _globals['_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES']._serialized_start=16635
131
+ _globals['_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES']._serialized_end=16934
132
+ _globals['_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES']._serialized_start=16937
133
+ _globals['_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES']._serialized_end=17182
134
+ # @@protoc_insertion_point(module_scope)