@@ -25,7 +25,7 @@ syntax = "proto3";
2525package temporal.decision.v1 ;
2626
2727option go_package = "go.temporal.io/temporal-proto/decision/v1;decision" ;
28- option java_package = "io.temporal.proto. decision.v1" ;
28+ option java_package = "io.temporal.decision.v1" ;
2929option java_multiple_files = true ;
3030option java_outer_classname = "MessageProto" ;
3131
@@ -43,22 +43,21 @@ message ScheduleActivityTaskDecisionAttributes {
4343 temporal.common.v1.Header header = 5 ;
4444 temporal.common.v1.Payloads input = 6 ;
4545 // Indicates how long the caller is willing to wait for an activity completion.
46- // Limits for how long retries are happening. Either this or startToCloseTimeoutSeconds is required .
46+ // Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified .
4747 // When not specified defaults to the workflow execution timeout.
4848 int32 schedule_to_close_timeout_seconds = 7 ;
4949 // Limits time an activity task can stay in a task queue before a worker picks it up.
5050 // This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
51- // Defaults to scheduleToCloseTimeoutSeconds or workflow execution timeout if not specified.
51+ // Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
5252 int32 schedule_to_start_timeout_seconds = 8 ;
5353 // Maximum time an activity is allowed to execute after a pick up by a worker.
54- // This timeout is always retryable. Either this or scheduleToCloseTimeoutSeconds is required .
54+ // This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified .
5555 int32 start_to_close_timeout_seconds = 9 ;
5656 // Maximum time between successful worker heartbeats.
57- // Optional. By default no heartbeat is required.
5857 int32 heartbeat_timeout_seconds = 10 ;
59- // Activity retry policy. Note that activity is retried by default according to a default retry policy .
60- // To disable retries provide a retry policy with maximumAttempts equals to 1 .
61- // The retries happen up to scheduleToCloseTimeout .
58+ // Activities are provided by a default retry policy controlled through the service dynamic configuration .
59+ // Retries are happening up to schedule_to_close_timeout .
60+ // To disable retries set retry_policy.maximum_attempts to 1 .
6261 temporal.common.v1.RetryPolicy retry_policy = 11 ;
6362}
6463
0 commit comments