forked from cadence-workflow/cadence-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdecision_pb2.py
More file actions
67 lines (61 loc) · 11.3 KB
/
decision_pb2.py
File metadata and controls
67 lines (61 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: cadence/api/v1/decision.proto
# Protobuf Python Version: 5.29.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
_runtime_version.Domain.PUBLIC,
5,
29,
0,
'',
'cadence/api/v1/decision.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from cadence.api.v1 import common_pb2 as cadence_dot_api_dot_v1_dot_common__pb2
from cadence.api.v1 import tasklist_pb2 as cadence_dot_api_dot_v1_dot_tasklist__pb2
from cadence.api.v1 import workflow_pb2 as cadence_dot_api_dot_v1_dot_workflow__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63\x61\x64\x65nce/api/v1/decision.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.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\"\xcf\x0c\n\x08\x44\x65\x63ision\x12q\n*schedule_activity_task_decision_attributes\x18\x01 \x01(\x0b\x32;.uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributesH\x00\x12\\\n\x1fstart_timer_decision_attributes\x18\x02 \x01(\x0b\x32\x31.uber.cadence.api.v1.StartTimerDecisionAttributesH\x00\x12{\n/complete_workflow_execution_decision_attributes\x18\x03 \x01(\x0b\x32@.uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributesH\x00\x12s\n+fail_workflow_execution_decision_attributes\x18\x04 \x01(\x0b\x32<.uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributesH\x00\x12|\n0request_cancel_activity_task_decision_attributes\x18\x05 \x01(\x0b\x32@.uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributesH\x00\x12^\n cancel_timer_decision_attributes\x18\x06 \x01(\x0b\x32\x32.uber.cadence.api.v1.CancelTimerDecisionAttributesH\x00\x12w\n-cancel_workflow_execution_decision_attributes\x18\x07 \x01(\x0b\x32>.uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributesH\x00\x12\x97\x01\n>request_cancel_external_workflow_execution_decision_attributes\x18\x08 \x01(\x0b\x32M.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributesH\x00\x12`\n!record_marker_decision_attributes\x18\t \x01(\x0b\x32\x33.uber.cadence.api.v1.RecordMarkerDecisionAttributesH\x00\x12\x87\x01\n6continue_as_new_workflow_execution_decision_attributes\x18\n \x01(\x0b\x32\x45.uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributesH\x00\x12\x80\x01\n2start_child_workflow_execution_decision_attributes\x18\x0b \x01(\x0b\x32\x42.uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributesH\x00\x12\x88\x01\n6signal_external_workflow_execution_decision_attributes\x18\x0c \x01(\x0b\x32\x46.uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributesH\x00\x12\x86\x01\n5upsert_workflow_search_attributes_decision_attributes\x18\r \x01(\x0b\x32\x45.uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributesH\x00\x42\x0c\n\nattributes\"\xd8\x04\n&ScheduleActivityTaskDecisionAttributes\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\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0cretry_policy\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12+\n\x06header\x18\x0c \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\x1e\n\x16request_local_dispatch\x18\r \x01(\x08\"j\n\x1cStartTimerDecisionAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"[\n+CompleteWorkflowExecutionDecisionAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"X\n\'FailWorkflowExecutionDecisionAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"B\n+RequestCancelActivityTaskDecisionAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\"1\n\x1d\x43\x61ncelTimerDecisionAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"Z\n)CancelWorkflowExecutionDecisionAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xbc\x01\n8RequestCancelExternalWorkflowExecutionDecisionAttributes\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\x0f\n\x07\x63ontrol\x18\x03 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x04 \x01(\x08\"\x91\x01\n\x1eRecordMarkerDecisionAttributes\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\x06header\x18\x03 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xf1\x07\n0ContinueAsNewWorkflowExecutionDecisionAttributes\x12\x38\n\rworkflow_type\x18\x01 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x03 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0cretry_policy\x18\x07 \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12>\n\tinitiator\x18\x08 \x01(\x0e\x32+.uber.cadence.api.v1.ContinueAsNewInitiator\x12-\n\x07\x66\x61ilure\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\x15\n\rcron_schedule\x18\x0b \x01(\t\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\x12/\n\x0cjitter_start\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x13\x63ron_overlap_policy\x18\x10 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x11 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\x9e\x07\n-StartChildWorkflowExecutionDecisionAttributes\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\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\x06header\x18\r \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\x0e \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0f \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12\x43\n\x13\x63ron_overlap_policy\x18\x10 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x11 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\xf7\x01\n1SignalExternalWorkflowExecutionDecisionAttributes\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\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\"t\n0UpsertWorkflowSearchAttributesDecisionAttributes\x12@\n\x11search_attributes\x18\x01 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributesB]\n\x17\x63om.uber.cadence.api.v1B\rDecisionProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.decision_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\rDecisionProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
_globals['_DECISION']._serialized_start=178
_globals['_DECISION']._serialized_end=1793
_globals['_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES']._serialized_start=1796
_globals['_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES']._serialized_end=2396
_globals['_STARTTIMERDECISIONATTRIBUTES']._serialized_start=2398
_globals['_STARTTIMERDECISIONATTRIBUTES']._serialized_end=2504
_globals['_COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=2506
_globals['_COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=2597
_globals['_FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=2599
_globals['_FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=2687
_globals['_REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES']._serialized_start=2689
_globals['_REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES']._serialized_end=2755
_globals['_CANCELTIMERDECISIONATTRIBUTES']._serialized_start=2757
_globals['_CANCELTIMERDECISIONATTRIBUTES']._serialized_end=2806
_globals['_CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=2808
_globals['_CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=2898
_globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=2901
_globals['_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=3089
_globals['_RECORDMARKERDECISIONATTRIBUTES']._serialized_start=3092
_globals['_RECORDMARKERDECISIONATTRIBUTES']._serialized_end=3237
_globals['_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=3240
_globals['_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=4249
_globals['_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=4252
_globals['_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=5178
_globals['_SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_start=5181
_globals['_SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES']._serialized_end=5428
_globals['_UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES']._serialized_start=5430
_globals['_UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES']._serialized_end=5546
# @@protoc_insertion_point(module_scope)