Package io.temporal.api.command.v1
Class ScheduleActivityTaskCommandAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
- Enclosing class:
- ScheduleActivityTaskCommandAttributes
public static final class ScheduleActivityTaskCommandAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder> implements ScheduleActivityTaskCommandAttributesOrBuilder
Protobuf typetemporal.api.command.v1.ScheduleActivityTaskCommandAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleActivityTaskCommandAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ScheduleActivityTaskCommandAttributesbuild()ScheduleActivityTaskCommandAttributesbuildPartial()ScheduleActivityTaskCommandAttributes.Builderclear()ScheduleActivityTaskCommandAttributes.BuilderclearActivityId()string activity_id = 1;ScheduleActivityTaskCommandAttributes.BuilderclearActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ScheduleActivityTaskCommandAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ScheduleActivityTaskCommandAttributes.BuilderclearHeader().temporal.api.common.v1.Header header = 5;ScheduleActivityTaskCommandAttributes.BuilderclearHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.BuilderclearInput().temporal.api.common.v1.Payloads input = 6;ScheduleActivityTaskCommandAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ScheduleActivityTaskCommandAttributes.BuilderclearRequestEagerExecution()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.ScheduleActivityTaskCommandAttributes.BuilderclearRetryPolicy()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.BuilderclearScheduleToCloseTimeout()Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.BuilderclearScheduleToStartTimeout()Limits the time an activity task can stay in a task queue before a worker picks it up.ScheduleActivityTaskCommandAttributes.BuilderclearStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.BuilderclearTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;ScheduleActivityTaskCommandAttributes.BuilderclearUseWorkflowBuildId()If this is set, the activity would be assigned to the Build ID of the workflow.ScheduleActivityTaskCommandAttributes.Builderclone()java.lang.StringgetActivityId()string activity_id = 1;com.google.protobuf.ByteStringgetActivityIdBytes()string activity_id = 1;ActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ActivityType.BuildergetActivityTypeBuilder().temporal.api.common.v1.ActivityType activity_type = 2;ActivityTypeOrBuildergetActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 2;ScheduleActivityTaskCommandAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeadergetHeader().temporal.api.common.v1.Header header = 5;Header.BuildergetHeaderBuilder().temporal.api.common.v1.Header header = 5;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 5;DurationgetHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.Duration.BuildergetHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.DurationOrBuildergetHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.PayloadsgetInput().temporal.api.common.v1.Payloads input = 6;Payloads.BuildergetInputBuilder().temporal.api.common.v1.Payloads input = 6;PayloadsOrBuildergetInputOrBuilder().temporal.api.common.v1.Payloads input = 6;booleangetRequestEagerExecution()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.RetryPolicygetRetryPolicy()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.RetryPolicy.BuildergetRetryPolicyBuilder()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.DurationgetScheduleToCloseTimeout()Indicates how long the caller is willing to wait for activity completion.Duration.BuildergetScheduleToCloseTimeoutBuilder()Indicates how long the caller is willing to wait for activity completion.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for activity completion.DurationgetScheduleToStartTimeout()Limits the time an activity task can stay in a task queue before a worker picks it up.Duration.BuildergetScheduleToStartTimeoutBuilder()Limits the time an activity task can stay in a task queue before a worker picks it up.DurationOrBuildergetScheduleToStartTimeoutOrBuilder()Limits the time an activity task can stay in a task queue before a worker picks it up.DurationgetStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.Duration.BuildergetStartToCloseTimeoutBuilder()Maximum time an activity is allowed to execute after being picked up by a worker.DurationOrBuildergetStartToCloseTimeoutOrBuilder()Maximum time an activity is allowed to execute after being picked up by a worker.TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;TaskQueue.BuildergetTaskQueueBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;booleangetUseWorkflowBuildId()If this is set, the activity would be assigned to the Build ID of the workflow.booleanhasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;booleanhasHeader().temporal.api.common.v1.Header header = 5;booleanhasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.booleanhasInput().temporal.api.common.v1.Payloads input = 6;booleanhasRetryPolicy()Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.booleanhasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for activity completion.booleanhasScheduleToStartTimeout()Limits the time an activity task can stay in a task queue before a worker picks it up.booleanhasStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ScheduleActivityTaskCommandAttributes.BuildermergeActivityType(ActivityType value).temporal.api.common.v1.ActivityType activity_type = 2;ScheduleActivityTaskCommandAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ScheduleActivityTaskCommandAttributes.BuildermergeFrom(com.google.protobuf.Message other)ScheduleActivityTaskCommandAttributes.BuildermergeFrom(ScheduleActivityTaskCommandAttributes other)ScheduleActivityTaskCommandAttributes.BuildermergeHeader(Header value).temporal.api.common.v1.Header header = 5;ScheduleActivityTaskCommandAttributes.BuildermergeHeartbeatTimeout(Duration value)Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.BuildermergeInput(Payloads value).temporal.api.common.v1.Payloads input = 6;ScheduleActivityTaskCommandAttributes.BuildermergeRetryPolicy(RetryPolicy value)Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.BuildermergeScheduleToCloseTimeout(Duration value)Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.BuildermergeScheduleToStartTimeout(Duration value)Limits the time an activity task can stay in a task queue before a worker picks it up.ScheduleActivityTaskCommandAttributes.BuildermergeStartToCloseTimeout(Duration value)Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.BuildermergeTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 4;ScheduleActivityTaskCommandAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ScheduleActivityTaskCommandAttributes.BuildersetActivityId(java.lang.String value)string activity_id = 1;ScheduleActivityTaskCommandAttributes.BuildersetActivityIdBytes(com.google.protobuf.ByteString value)string activity_id = 1;ScheduleActivityTaskCommandAttributes.BuildersetActivityType(ActivityType value).temporal.api.common.v1.ActivityType activity_type = 2;ScheduleActivityTaskCommandAttributes.BuildersetActivityType(ActivityType.Builder builderForValue).temporal.api.common.v1.ActivityType activity_type = 2;ScheduleActivityTaskCommandAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ScheduleActivityTaskCommandAttributes.BuildersetHeader(Header value).temporal.api.common.v1.Header header = 5;ScheduleActivityTaskCommandAttributes.BuildersetHeader(Header.Builder builderForValue).temporal.api.common.v1.Header header = 5;ScheduleActivityTaskCommandAttributes.BuildersetHeartbeatTimeout(Duration value)Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.BuildersetHeartbeatTimeout(Duration.Builder builderForValue)Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.BuildersetInput(Payloads value).temporal.api.common.v1.Payloads input = 6;ScheduleActivityTaskCommandAttributes.BuildersetInput(Payloads.Builder builderForValue).temporal.api.common.v1.Payloads input = 6;ScheduleActivityTaskCommandAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ScheduleActivityTaskCommandAttributes.BuildersetRequestEagerExecution(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.ScheduleActivityTaskCommandAttributes.BuildersetRetryPolicy(RetryPolicy value)Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue)Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.BuildersetScheduleToCloseTimeout(Duration value)Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.BuildersetScheduleToCloseTimeout(Duration.Builder builderForValue)Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.BuildersetScheduleToStartTimeout(Duration value)Limits the time an activity task can stay in a task queue before a worker picks it up.ScheduleActivityTaskCommandAttributes.BuildersetScheduleToStartTimeout(Duration.Builder builderForValue)Limits the time an activity task can stay in a task queue before a worker picks it up.ScheduleActivityTaskCommandAttributes.BuildersetStartToCloseTimeout(Duration value)Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.BuildersetStartToCloseTimeout(Duration.Builder builderForValue)Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.BuildersetTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 4;ScheduleActivityTaskCommandAttributes.BuildersetTaskQueue(TaskQueue.Builder builderForValue).temporal.api.taskqueue.v1.TaskQueue task_queue = 4;ScheduleActivityTaskCommandAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ScheduleActivityTaskCommandAttributes.BuildersetUseWorkflowBuildId(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public ScheduleActivityTaskCommandAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScheduleActivityTaskCommandAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScheduleActivityTaskCommandAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScheduleActivityTaskCommandAttributes.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
public ScheduleActivityTaskCommandAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- 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 java.io.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:
java.io.IOException
-
getActivityId
public java.lang.String 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
public ScheduleActivityTaskCommandAttributes.Builder setActivityId(java.lang.String value)
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
public ScheduleActivityTaskCommandAttributes.Builder 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
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The activityType.
-
setActivityType
public ScheduleActivityTaskCommandAttributes.Builder setActivityType(ActivityType value)
.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
public ScheduleActivityTaskCommandAttributes.Builder mergeActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 2;
-
clearActivityType
public ScheduleActivityTaskCommandAttributes.Builder clearActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
-
getActivityTypeBuilder
public ActivityType.Builder getActivityTypeBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder 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
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueuein interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
public ScheduleActivityTaskCommandAttributes.Builder setTaskQueue(TaskQueue value)
.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
public ScheduleActivityTaskCommandAttributes.Builder mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
clearTaskQueue
public ScheduleActivityTaskCommandAttributes.Builder clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
getTaskQueueBuilder
public TaskQueue.Builder getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder 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
public Header getHeader()
.temporal.api.common.v1.Header header = 5;- Specified by:
getHeaderin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The header.
-
setHeader
public ScheduleActivityTaskCommandAttributes.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 5;
-
setHeader
public ScheduleActivityTaskCommandAttributes.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 5;
-
mergeHeader
public ScheduleActivityTaskCommandAttributes.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 5;
-
clearHeader
public ScheduleActivityTaskCommandAttributes.Builder clearHeader()
.temporal.api.common.v1.Header header = 5;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 5;
-
getHeaderOrBuilder
public HeaderOrBuilder 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
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputin interfaceScheduleActivityTaskCommandAttributesOrBuilder- Returns:
- The input.
-
setInput
public ScheduleActivityTaskCommandAttributes.Builder setInput(Payloads value)
.temporal.api.common.v1.Payloads input = 6;
-
setInput
public ScheduleActivityTaskCommandAttributes.Builder setInput(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads input = 6;
-
mergeInput
public ScheduleActivityTaskCommandAttributes.Builder mergeInput(Payloads value)
.temporal.api.common.v1.Payloads input = 6;
-
clearInput
public ScheduleActivityTaskCommandAttributes.Builder clearInput()
.temporal.api.common.v1.Payloads input = 6;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
.temporal.api.common.v1.Payloads input = 6;
-
getInputOrBuilder
public PayloadsOrBuilder 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 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(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(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(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
public ScheduleActivityTaskCommandAttributes.Builder 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 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 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 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(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(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(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
public ScheduleActivityTaskCommandAttributes.Builder 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 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 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 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(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(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(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
public ScheduleActivityTaskCommandAttributes.Builder 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 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 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 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(Duration value)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
setHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(Duration.Builder builderForValue)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
mergeHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeHeartbeatTimeout(Duration value)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
clearHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder clearHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
getHeartbeatTimeoutBuilder
public Duration.Builder getHeartbeatTimeoutBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
getHeartbeatTimeoutOrBuilder
public 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
public RetryPolicy 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
public ScheduleActivityTaskCommandAttributes.Builder setRetryPolicy(RetryPolicy value)
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
public ScheduleActivityTaskCommandAttributes.Builder mergeRetryPolicy(RetryPolicy value)
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
public ScheduleActivityTaskCommandAttributes.Builder 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
public RetryPolicy.Builder 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
public RetryPolicyOrBuilder 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
public ScheduleActivityTaskCommandAttributes.Builder 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.
bool request_eager_execution = 12;- Parameters:
value- The requestEagerExecution to set.- Returns:
- This builder for chaining.
-
clearRequestEagerExecution
public ScheduleActivityTaskCommandAttributes.Builder 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
public ScheduleActivityTaskCommandAttributes.Builder setUseWorkflowBuildId(boolean value)
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
public ScheduleActivityTaskCommandAttributes.Builder 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.
-
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>
-
-