Class ActivityOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ActivityOptions.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
io.temporal.api.activity.v1.ActivityOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityOptionsOrBuilder,Cloneable
- Enclosing class:
ActivityOptions
public static final class ActivityOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
implements ActivityOptionsOrBuilder
Protobuf type
temporal.api.activity.v1.ActivityOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Maximum permitted time between successful worker heartbeats.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Priority metadata.The retry policy for the activity.Indicates how long the caller is willing to wait for an activity completion.Limits time an activity task can stay in a task queue before a worker picks it up.Time to wait before making the first activity task available for dispatch.Maximum time an activity is allowed to execute after being picked up by a worker..temporal.api.taskqueue.v1.TaskQueue task_queue = 1;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationMaximum permitted time between successful worker heartbeats.com.google.protobuf.Duration.BuilderMaximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilderMaximum permitted time between successful worker heartbeats.Priority metadata.Priority metadata.Priority metadata.The retry policy for the activity.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.Duration.BuilderIndicates 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.Duration.BuilderLimits 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.Duration.BuilderTime 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.Duration.BuilderMaximum 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;.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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ActivityOptions other) mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.mergePriority(Priority value) Priority metadata.mergeRetryPolicy(RetryPolicy value) The retry policy for the activity.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up.mergeStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.mergeStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker.mergeTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;final ActivityOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.setPriority(Priority value) Priority metadata.setPriority(Priority.Builder builderForValue) Priority metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) The retry policy for the activity.setRetryPolicy(RetryPolicy.Builder builderForValue) The retry policy for the activity.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for an activity completion.setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits time an activity task can stay in a task queue before a worker picks it up.setStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.setStartDelay(com.google.protobuf.Duration.Builder builderForValue) Time to wait before making the first activity task available for dispatch.setStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker.setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum time an activity is allowed to execute after being picked up by a worker.setTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;final ActivityOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
setField
public ActivityOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
setRepeatedField
public ActivityOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
addRepeatedField
public ActivityOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
mergeFrom
public ActivityOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityOptions.Builder>- Throws:
IOException
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Specified by:
hasTaskQueuein interfaceActivityOptionsOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Specified by:
getTaskQueuein interfaceActivityOptionsOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
mergeTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
clearTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
getTaskQueueBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Specified by:
getTaskQueueOrBuilderin interfaceActivityOptionsOrBuilder
-
hasScheduleToCloseTimeout
public 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;- Specified by:
hasScheduleToCloseTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public 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;- Specified by:
getScheduleToCloseTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
setScheduleToCloseTimeout
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; -
setScheduleToCloseTimeout
public ActivityOptions.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeScheduleToCloseTimeout
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; -
clearScheduleToCloseTimeout
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; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()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; -
getScheduleToCloseTimeoutOrBuilder
public 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;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceActivityOptionsOrBuilder
-
hasScheduleToStartTimeout
public 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;- Specified by:
hasScheduleToStartTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public 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;- Specified by:
getScheduleToStartTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- The scheduleToStartTimeout.
-
setScheduleToStartTimeout
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; -
setScheduleToStartTimeout
public ActivityOptions.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeScheduleToStartTimeout
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; -
clearScheduleToStartTimeout
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; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()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; -
getScheduleToStartTimeoutOrBuilder
public 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;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceActivityOptionsOrBuilder
-
hasStartToCloseTimeout
public 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;- Specified by:
hasStartToCloseTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public 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;- Specified by:
getStartToCloseTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- The startToCloseTimeout.
-
setStartToCloseTimeout
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; -
setStartToCloseTimeout
public ActivityOptions.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeStartToCloseTimeout
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; -
clearStartToCloseTimeout
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; -
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()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; -
getStartToCloseTimeoutOrBuilder
public 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;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceActivityOptionsOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5;- Specified by:
hasHeartbeatTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public com.google.protobuf.Duration getHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5;- Specified by:
getHeartbeatTimeoutin interfaceActivityOptionsOrBuilder- Returns:
- The heartbeatTimeout.
-
setHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
setHeartbeatTimeout
public ActivityOptions.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
mergeHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
clearHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5; -
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 5;- Specified by:
getHeartbeatTimeoutOrBuilderin interfaceActivityOptionsOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6;- Specified by:
hasRetryPolicyin interfaceActivityOptionsOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6;- Specified by:
getRetryPolicyin interfaceActivityOptionsOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
mergeRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
clearRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
getRetryPolicyBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6; -
getRetryPolicyOrBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 6;- Specified by:
getRetryPolicyOrBuilderin interfaceActivityOptionsOrBuilder
-
hasPriority
public 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;- Specified by:
hasPriorityin interfaceActivityOptionsOrBuilder- Returns:
- Whether the priority field is set.
-
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;- Specified by:
getPriorityin interfaceActivityOptionsOrBuilder- Returns:
- The priority.
-
setPriority
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; -
setPriority
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; -
mergePriority
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; -
clearPriority
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; -
getPriorityBuilder
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; -
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;- Specified by:
getPriorityOrBuilderin interfaceActivityOptionsOrBuilder
-
hasStartDelay
public 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;- Specified by:
hasStartDelayin interfaceActivityOptionsOrBuilder- Returns:
- Whether the startDelay field is set.
-
getStartDelay
public 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;- Specified by:
getStartDelayin interfaceActivityOptionsOrBuilder- Returns:
- The startDelay.
-
setStartDelay
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; -
setStartDelay
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; -
mergeStartDelay
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; -
clearStartDelay
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; -
getStartDelayBuilder
public com.google.protobuf.Duration.Builder getStartDelayBuilder()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; -
getStartDelayOrBuilder
public 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;- Specified by:
getStartDelayOrBuilderin interfaceActivityOptionsOrBuilder
-
setUnknownFields
public final ActivityOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-
mergeUnknownFields
public final ActivityOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityOptions.Builder>
-