2222
2323syntax = "proto3" ;
2424
25- package decision.v1 ;
25+ package temporal. decision.v1 ;
2626
2727option go_package = "go.temporal.io/temporal-proto/decision/v1;decision" ;
2828option java_package = "io.temporal.proto.decision.v1" ;
2929option java_multiple_files = true ;
3030option java_outer_classname = "MessageProto" ;
3131
32- import "enums/v1/workflow.proto" ;
33- import "enums/v1/decision_type.proto" ;
34- import "common/v1/message.proto" ;
35- import "failure/v1/message.proto" ;
36- import "tasklist/v1/message.proto" ;
32+ import "temporal/ enums/v1/workflow.proto" ;
33+ import "temporal/ enums/v1/decision_type.proto" ;
34+ import "temporal/ common/v1/message.proto" ;
35+ import "temporal/ failure/v1/message.proto" ;
36+ import "temporal/ tasklist/v1/message.proto" ;
3737
3838message ScheduleActivityTaskDecisionAttributes {
3939 string activity_id = 1 ;
40- common.v1.ActivityType activity_type = 2 ;
40+ temporal. common.v1.ActivityType activity_type = 2 ;
4141 string namespace = 3 ;
42- tasklist.v1.TaskList task_list = 4 ;
43- common.v1.Header header = 5 ;
44- common.v1.Payloads input = 6 ;
42+ temporal. tasklist.v1.TaskList task_list = 4 ;
43+ temporal. common.v1.Header header = 5 ;
44+ temporal. common.v1.Payloads input = 6 ;
4545 // Indicates how long the caller is willing to wait for an activity completion.
4646 // Limits for how long retries are happening. Either this or startToCloseTimeoutSeconds is required.
4747 // When not specified defaults to the workflow execution timeout.
@@ -59,7 +59,7 @@ message ScheduleActivityTaskDecisionAttributes {
5959 // Activity retry policy. Note that activity is retried by default according to a default retry policy.
6060 // To disable retries provide a retry policy with maximumAttempts equals to 1.
6161 // The retries happen up to scheduleToCloseTimeout.
62- common.v1.RetryPolicy retry_policy = 11 ;
62+ temporal. common.v1.RetryPolicy retry_policy = 11 ;
6363}
6464
6565message RequestCancelActivityTaskDecisionAttributes {
@@ -72,19 +72,19 @@ message StartTimerDecisionAttributes {
7272}
7373
7474message CompleteWorkflowExecutionDecisionAttributes {
75- common.v1.Payloads result = 1 ;
75+ temporal. common.v1.Payloads result = 1 ;
7676}
7777
7878message FailWorkflowExecutionDecisionAttributes {
79- failure.v1.Failure failure = 1 ;
79+ temporal. failure.v1.Failure failure = 1 ;
8080}
8181
8282message CancelTimerDecisionAttributes {
8383 string timer_id = 1 ;
8484}
8585
8686message CancelWorkflowExecutionDecisionAttributes {
87- common.v1.Payloads details = 1 ;
87+ temporal. common.v1.Payloads details = 1 ;
8888}
8989
9090message RequestCancelExternalWorkflowExecutionDecisionAttributes {
@@ -97,68 +97,68 @@ message RequestCancelExternalWorkflowExecutionDecisionAttributes {
9797
9898message SignalExternalWorkflowExecutionDecisionAttributes {
9999 string namespace = 1 ;
100- common.v1.WorkflowExecution execution = 2 ;
100+ temporal. common.v1.WorkflowExecution execution = 2 ;
101101 string signal_name = 3 ;
102- common.v1.Payloads input = 4 ;
102+ temporal. common.v1.Payloads input = 4 ;
103103 string control = 5 ;
104104 bool child_workflow_only = 6 ;
105105}
106106
107107message UpsertWorkflowSearchAttributesDecisionAttributes {
108- common.v1.SearchAttributes search_attributes = 1 ;
108+ temporal. common.v1.SearchAttributes search_attributes = 1 ;
109109}
110110
111111message RecordMarkerDecisionAttributes {
112112 string marker_name = 1 ;
113- map <string , common.v1.Payloads > details = 2 ;
114- common.v1.Header header = 3 ;
115- failure.v1.Failure failure = 4 ;
113+ map <string , temporal. common.v1.Payloads > details = 2 ;
114+ temporal. common.v1.Header header = 3 ;
115+ temporal. failure.v1.Failure failure = 4 ;
116116}
117117
118118message ContinueAsNewWorkflowExecutionDecisionAttributes {
119- common.v1.WorkflowType workflow_type = 1 ;
120- tasklist.v1.TaskList task_list = 2 ;
121- common.v1.Payloads input = 3 ;
119+ temporal. common.v1.WorkflowType workflow_type = 1 ;
120+ temporal. tasklist.v1.TaskList task_list = 2 ;
121+ temporal. common.v1.Payloads input = 3 ;
122122 // workflowExecutionTimeout is omitted as it shouldn'be overridden from within a workflow
123123 // Timeout of a single workflow run
124124 int32 workflow_run_timeout_seconds = 4 ;
125125 // Timeout of a single workflow task
126126 int32 workflow_task_timeout_seconds = 5 ;
127127 int32 backoff_start_interval_in_seconds = 6 ;
128- common.v1.RetryPolicy retry_policy = 7 ;
129- enums.v1.ContinueAsNewInitiator initiator = 8 ;
130- failure.v1.Failure failure = 9 ;
131- common.v1.Payloads last_completion_result = 10 ;
128+ temporal. common.v1.RetryPolicy retry_policy = 7 ;
129+ temporal. enums.v1.ContinueAsNewInitiator initiator = 8 ;
130+ temporal. failure.v1.Failure failure = 9 ;
131+ temporal. common.v1.Payloads last_completion_result = 10 ;
132132 string cron_schedule = 11 ;
133- common.v1.Header header = 12 ;
134- common.v1.Memo memo = 13 ;
135- common.v1.SearchAttributes search_attributes = 14 ;
133+ temporal. common.v1.Header header = 12 ;
134+ temporal. common.v1.Memo memo = 13 ;
135+ temporal. common.v1.SearchAttributes search_attributes = 14 ;
136136}
137137
138138message StartChildWorkflowExecutionDecisionAttributes {
139139 string namespace = 1 ;
140140 string workflow_id = 2 ;
141- common.v1.WorkflowType workflow_type = 3 ;
142- tasklist.v1.TaskList task_list = 4 ;
143- common.v1.Payloads input = 5 ;
141+ temporal. common.v1.WorkflowType workflow_type = 3 ;
142+ temporal. tasklist.v1.TaskList task_list = 4 ;
143+ temporal. common.v1.Payloads input = 5 ;
144144 // Total workflow execution timeout including retries and continue as new
145145 int32 workflow_execution_timeout_seconds = 6 ;
146146 // Timeout of a single workflow run
147147 int32 workflow_run_timeout_seconds = 7 ;
148148 // Timeout of a single workflow task
149149 int32 workflow_task_timeout_seconds = 8 ;
150- enums.v1.ParentClosePolicy parent_close_policy = 9 ;
150+ temporal. enums.v1.ParentClosePolicy parent_close_policy = 9 ;
151151 string control = 10 ;
152- enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11 ;
153- common.v1.RetryPolicy retry_policy = 12 ;
152+ temporal. enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11 ;
153+ temporal. common.v1.RetryPolicy retry_policy = 12 ;
154154 string cron_schedule = 13 ;
155- common.v1.Header header = 14 ;
156- common.v1.Memo memo = 15 ;
157- common.v1.SearchAttributes search_attributes = 16 ;
155+ temporal. common.v1.Header header = 14 ;
156+ temporal. common.v1.Memo memo = 15 ;
157+ temporal. common.v1.SearchAttributes search_attributes = 16 ;
158158}
159159
160160message Decision {
161- enums.v1.DecisionType decision_type = 1 ;
161+ temporal. enums.v1.DecisionType decision_type = 1 ;
162162 oneof attributes {
163163 ScheduleActivityTaskDecisionAttributes schedule_activity_task_decision_attributes = 2 ;
164164 StartTimerDecisionAttributes start_timer_decision_attributes = 3 ;
0 commit comments