Interface ActivityOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityOptions,ActivityOptions.Builder
@Generated(value="protoc",
comments="annotations:ActivityOptionsOrBuilder.java.pb.meta")
public interface ActivityOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationMaximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilderMaximum permitted time between successful worker heartbeats.Priority metadata.Priority metadata.The retry policy for the activity.The retry policy for the activity.com.google.protobuf.DurationIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuilderIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilderLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationOrBuilderTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationMaximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilderMaximum time an activity is allowed to execute after being picked up by a worker..temporal.api.taskqueue.v1.TaskQueue task_queue = 1;.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;booleanMaximum permitted time between successful worker heartbeats.booleanPriority metadata.booleanThe retry policy for the activity.booleanIndicates how long the caller is willing to wait for an activity completion.booleanLimits time an activity task can stay in a task queue before a worker picks it up.booleanTime to wait before making the first activity task available for dispatch.booleanMaximum time an activity is allowed to execute after being picked up by a worker.boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTaskQueue
boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
TaskQueue getTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
TaskQueueOrBuilder getTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
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 = 2;- 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 = 2;- 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 = 2; -
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 = 3;- 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 = 3;- 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 = 3; -
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 = 4;- 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 = 4;- 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 = 4; -
hasHeartbeatTimeout
boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5;- 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 = 5;- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
hasRetryPolicy
boolean hasRetryPolicy()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6;- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
RetryPolicy getRetryPolicy()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6;- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
RetryPolicyOrBuilder getRetryPolicyOrBuilder()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
hasPriority
boolean hasPriority()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 7;- Returns:
- Whether the priority field is set.
-
getPriority
Priority getPriority()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 7;- Returns:
- The priority.
-
getPriorityOrBuilder
PriorityOrBuilder getPriorityOrBuilder()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 7; -
hasStartDelay
boolean hasStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. When updated, the time is added to the original `schedule_time`, not to the current time. If the resulting time is in the past, the task is made available for dispatch immediately.
.google.protobuf.Duration start_delay = 8;- Returns:
- Whether the startDelay field is set.
-
getStartDelay
com.google.protobuf.Duration getStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. When updated, the time is added to the original `schedule_time`, not to the current time. If the resulting time is in the past, the task is made available for dispatch immediately.
.google.protobuf.Duration start_delay = 8;- Returns:
- The startDelay.
-
getStartDelayOrBuilder
com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts. When updated, the time is added to the original `schedule_time`, not to the current time. If the resulting time is in the past, the task is made available for dispatch immediately.
.google.protobuf.Duration start_delay = 8;
-