Package io.temporal.api.history.v1
Interface ActivityTaskScheduledEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityTaskScheduledEventAttributesOrBuilder.java.pb.meta") public interface ActivityTaskScheduledEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()The worker/user assigned identifier for the activitycom.google.protobuf.ByteStringgetActivityIdBytes()The worker/user assigned identifier for the activityActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ActivityTypeOrBuildergetActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 2;HeadergetHeader().temporal.api.common.v1.Header header = 5;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 5;com.google.protobuf.DurationgetHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuildergetHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.PayloadsgetInput().temporal.api.common.v1.Payloads input = 6;PayloadsOrBuildergetInputOrBuilder().temporal.api.common.v1.Payloads input = 6;RetryPolicygetRetryPolicy()Activities are assigned a default retry policy controlled by the service's dynamic configuration.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Activities are assigned a default retry policy controlled by the service's dynamic configuration.com.google.protobuf.DurationgetScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationgetScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuildergetScheduleToStartTimeoutOrBuilder()Limits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationgetStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuildergetStartToCloseTimeoutOrBuilder()Maximum time an activity is allowed to execute after being picked up by a worker.TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;booleangetUseWorkflowBuildId()If this is set, the activity would be assigned to the Build ID of the workflow.longgetWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported withbooleanhasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;booleanhasHeader().temporal.api.common.v1.Header header = 5;booleanhasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.booleanhasInput().temporal.api.common.v1.Payloads input = 6;booleanhasRetryPolicy()Activities are assigned a default retry policy controlled by the service's dynamic configuration.booleanhasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.booleanhasScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.booleanhasStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActivityId
java.lang.String getActivityId()
The worker/user assigned identifier for the activity
string activity_id = 1;- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()
The worker/user assigned identifier for the activity
string activity_id = 1;- Returns:
- The bytes for activityId.
-
hasActivityType
boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Returns:
- Whether the activityType field is set.
-
getActivityType
ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Returns:
- The activityType.
-
getActivityTypeOrBuilder
ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
-
hasTaskQueue
boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
hasHeader
boolean hasHeader()
.temporal.api.common.v1.Header header = 5;- Returns:
- Whether the header field is set.
-
getHeader
Header getHeader()
.temporal.api.common.v1.Header header = 5;- Returns:
- The header.
-
getHeaderOrBuilder
HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 5;
-
hasInput
boolean hasInput()
.temporal.api.common.v1.Payloads input = 6;- Returns:
- Whether the input field is set.
-
getInput
Payloads getInput()
.temporal.api.common.v1.Payloads input = 6;- Returns:
- The input.
-
getInputOrBuilder
PayloadsOrBuilder getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 6;
-
hasScheduleToCloseTimeout
boolean hasScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
com.google.protobuf.Duration getScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
hasScheduleToStartTimeout
boolean hasScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
com.google.protobuf.Duration getScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Returns:
- The scheduleToStartTimeout.
-
getScheduleToStartTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
hasStartToCloseTimeout
boolean hasStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
com.google.protobuf.Duration getStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
hasHeartbeatTimeout
boolean hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
com.google.protobuf.Duration getHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
getWorkflowTaskCompletedEventId
long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 11;- Returns:
- The workflowTaskCompletedEventId.
-
hasRetryPolicy
boolean hasRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
RetryPolicy getRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
getUseWorkflowBuildId
boolean getUseWorkflowBuildId()
If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, Assignment rules of the activity's Task Queue will be used to determine the Build ID.
bool use_workflow_build_id = 13;- Returns:
- The useWorkflowBuildId.
-
-