Class ScheduleActivityTaskCommandAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScheduleActivityTaskCommandAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScheduleActivityTaskCommandAttributesOrBuilder,Cloneable
- Enclosing class:
ScheduleActivityTaskCommandAttributes
public static final class ScheduleActivityTaskCommandAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
implements ScheduleActivityTaskCommandAttributesOrBuilder
Protobuf type
temporal.api.command.v1.ScheduleActivityTaskCommandAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string activity_id = 1;.temporal.api.common.v1.ActivityType activity_type = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Header header = 5;Maximum permitted time between successful worker heartbeats..temporal.api.common.v1.Payloads input = 6;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Priority metadata.Request to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.Indicates how long the caller is willing to wait for activity completion.Limits the time an activity task can stay in a task queue before a worker picks it up.Maximum time an activity is allowed to execute after being picked up by a worker..temporal.api.taskqueue.v1.TaskQueue task_queue = 4;If this is set, the activity would be assigned to the Build ID of the workflow.clone()string activity_id = 1;com.google.protobuf.ByteStringstring activity_id = 1;.temporal.api.common.v1.ActivityType activity_type = 2;.temporal.api.common.v1.ActivityType activity_type = 2;.temporal.api.common.v1.ActivityType activity_type = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.common.v1.Header header = 5;.temporal.api.common.v1.Header header = 5;.temporal.api.common.v1.Header header = 5;com.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.getInput().temporal.api.common.v1.Payloads input = 6;.temporal.api.common.v1.Payloads input = 6;.temporal.api.common.v1.Payloads input = 6;Priority metadata.Priority metadata.Priority metadata.booleanRequest to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.com.google.protobuf.DurationIndicates how long the caller is willing to wait for activity completion.com.google.protobuf.Duration.BuilderIndicates how long the caller is willing to wait for activity completion.com.google.protobuf.DurationOrBuilderIndicates how long the caller is willing to wait for activity completion.com.google.protobuf.DurationLimits the time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.Duration.BuilderLimits the time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilderLimits the time an activity task can stay in a task queue before a worker picks it up.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 = 4;.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;booleanIf this is set, the activity would be assigned to the Build ID of the workflow.boolean.temporal.api.common.v1.ActivityType activity_type = 2;boolean.temporal.api.common.v1.Header header = 5;booleanMaximum permitted time between successful worker heartbeats.booleanhasInput().temporal.api.common.v1.Payloads input = 6;booleanPriority metadata.booleanActivities are provided by a default retry policy which is controlled through the service's dynamic configuration.booleanIndicates how long the caller is willing to wait for activity completion.booleanLimits the time an activity task can stay in a task queue before a worker picks it up.booleanMaximum time an activity is allowed to execute after being picked up by a worker.boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeActivityType(ActivityType value) .temporal.api.common.v1.ActivityType activity_type = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 5;mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.mergeInput(Payloads value) .temporal.api.common.v1.Payloads input = 6;mergePriority(Priority value) Priority metadata.mergeRetryPolicy(RetryPolicy value) Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for activity completion.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits the time an activity task can stay in a task queue before a worker picks it up.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 = 4;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActivityId(String value) string activity_id = 1;setActivityIdBytes(com.google.protobuf.ByteString value) string activity_id = 1;setActivityType(ActivityType value) .temporal.api.common.v1.ActivityType activity_type = 2;setActivityType(ActivityType.Builder builderForValue) .temporal.api.common.v1.ActivityType activity_type = 2;.temporal.api.common.v1.Header header = 5;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 5;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..temporal.api.common.v1.Payloads input = 6;setInput(Payloads.Builder builderForValue) .temporal.api.common.v1.Payloads input = 6;setPriority(Priority value) Priority metadata.setPriority(Priority.Builder builderForValue) Priority metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestEagerExecution(boolean value) Request to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.setRetryPolicy(RetryPolicy value) Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.setRetryPolicy(RetryPolicy.Builder builderForValue) Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for activity completion.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for activity completion.setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits the time an activity task can stay in a task queue before a worker picks it up.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits the time an activity task can stay in a task queue before a worker picks it up.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 = 4;setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseWorkflowBuildId(boolean value) If this is set, the activity would be assigned to the Build ID of the workflow.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<ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>
-
setField
public ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>
-
clearField
public ScheduleActivityTaskCommandAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
clearOneof
public ScheduleActivityTaskCommandAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
setRepeatedField
public ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>
-
addRepeatedField
public ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
public ScheduleActivityTaskCommandAttributes.Builder mergeFrom(ScheduleActivityTaskCommandAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
public ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>- Throws:
IOException
-
getActivityId
string activity_id = 1;- Specified by:
getActivityIdin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()string activity_id = 1;- Specified by:
getActivityIdBytesin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
string activity_id = 1;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public ScheduleActivityTaskCommandAttributes.Builder setActivityIdBytes(com.google.protobuf.ByteString value) string activity_id = 1;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
hasActivityType
public boolean hasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
hasActivityTypein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The activityType.
-
setActivityType
.temporal.api.common.v1.ActivityType activity_type = 2; -
setActivityType
public ScheduleActivityTaskCommandAttributes.Builder setActivityType(ActivityType.Builder builderForValue) .temporal.api.common.v1.ActivityType activity_type = 2; -
mergeActivityType
.temporal.api.common.v1.ActivityType activity_type = 2; -
clearActivityType
.temporal.api.common.v1.ActivityType activity_type = 2; -
getActivityTypeBuilder
.temporal.api.common.v1.ActivityType activity_type = 2; -
getActivityTypeOrBuilder
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypeOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
hasTaskQueuein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueuein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4; -
setTaskQueue
public ScheduleActivityTaskCommandAttributes.Builder setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 4; -
mergeTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4; -
clearTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4; -
getTaskQueueBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4; -
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueueOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 5;- Specified by:
hasHeaderin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 5;- Specified by:
getHeaderin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The header.
-
setHeader
.temporal.api.common.v1.Header header = 5; -
setHeader
.temporal.api.common.v1.Header header = 5; -
mergeHeader
.temporal.api.common.v1.Header header = 5; -
clearHeader
.temporal.api.common.v1.Header header = 5; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 5; -
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 5;- Specified by:
getHeaderOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasInput
public boolean hasInput().temporal.api.common.v1.Payloads input = 6;- Specified by:
hasInputin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The input.
-
setInput
.temporal.api.common.v1.Payloads input = 6; -
setInput
.temporal.api.common.v1.Payloads input = 6; -
mergeInput
.temporal.api.common.v1.Payloads input = 6; -
clearInput
.temporal.api.common.v1.Payloads input = 6; -
getInputBuilder
.temporal.api.common.v1.Payloads input = 6; -
getInputOrBuilder
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
hasScheduleToCloseTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
setScheduleToCloseTimeout
public ScheduleActivityTaskCommandAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
setScheduleToCloseTimeout
public ScheduleActivityTaskCommandAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
mergeScheduleToCloseTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
clearScheduleToCloseTimeout
Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for activity completion. The "schedule" time is when the activity is initially scheduled, not when the most recent retry is scheduled. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. When not specified, defaults to the workflow execution timeout. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasScheduleToStartTimeout
public boolean hasScheduleToStartTimeout()Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
hasScheduleToStartTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public com.google.protobuf.Duration getScheduleToStartTimeout()Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The scheduleToStartTimeout.
-
setScheduleToStartTimeout
public ScheduleActivityTaskCommandAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
setScheduleToStartTimeout
public ScheduleActivityTaskCommandAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
mergeScheduleToStartTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
clearScheduleToStartTimeout
Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()Limits the time an activity task can stay in a task queue before a worker picks it up. The "schedule" time is when the most recent retry is scheduled. This timeout should usually not be set: it's useful in specific scenarios like worker-specific task queues. 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 that is not specified. More info: https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
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 = 9;- Specified by:
hasStartToCloseTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- 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 = 9;- Specified by:
getStartToCloseTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The startToCloseTimeout.
-
setStartToCloseTimeout
public ScheduleActivityTaskCommandAttributes.Builder setStartToCloseTimeout(com.google.protobuf.Duration value) 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; -
setStartToCloseTimeout
public ScheduleActivityTaskCommandAttributes.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 = 9; -
mergeStartToCloseTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value) 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; -
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 = 9; -
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 = 9; -
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 = 9;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
hasHeartbeatTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- 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 = 10;- Specified by:
getHeartbeatTimeoutin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The heartbeatTimeout.
-
setHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
setHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
mergeHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
clearHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
hasRetryPolicyin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
setRetryPolicy
public ScheduleActivityTaskCommandAttributes.Builder setRetryPolicy(RetryPolicy.Builder builderForValue) Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
mergeRetryPolicy
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
clearRetryPolicy
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
getRetryPolicyBuilder
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
getRetryPolicyOrBuilder
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
getRequestEagerExecution
public boolean getRequestEagerExecution()Request to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.
bool request_eager_execution = 12;- Specified by:
getRequestEagerExecutionin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The requestEagerExecution.
-
setRequestEagerExecution
Request to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.
bool request_eager_execution = 12;- Parameters:
value- The requestEagerExecution to set.- Returns:
- This builder for chaining.
-
clearRequestEagerExecution
Request to start the activity directly bypassing matching service and worker polling The slot for executing the activity should be reserved when setting this field to true.
bool request_eager_execution = 12;- Returns:
- This builder for chaining.
-
getUseWorkflowBuildId
public 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;- Specified by:
getUseWorkflowBuildIdin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The useWorkflowBuildId.
-
setUseWorkflowBuildId
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;- Parameters:
value- The useWorkflowBuildId to set.- Returns:
- This builder for chaining.
-
clearUseWorkflowBuildId
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:
- This builder for chaining.
-
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 = 14;- Specified by:
hasPriorityin interfaceScheduleActivityTaskCommandAttributesOrBuilder- 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 = 14;- Specified by:
getPriorityin interfaceScheduleActivityTaskCommandAttributesOrBuilder- 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 = 14; -
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 = 14; -
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 = 14; -
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 = 14; -
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 = 14; -
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 = 14;- Specified by:
getPriorityOrBuilderin interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
setUnknownFields
public final ScheduleActivityTaskCommandAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeUnknownFields
public final ScheduleActivityTaskCommandAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-