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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ScheduleActivityTaskCommandAttributes
build()
ScheduleActivityTaskCommandAttributes
buildPartial()
ScheduleActivityTaskCommandAttributes.Builder
clear()
ScheduleActivityTaskCommandAttributes.Builder
clearActivityId()
string activity_id = 1;
ScheduleActivityTaskCommandAttributes.Builder
clearActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
ScheduleActivityTaskCommandAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ScheduleActivityTaskCommandAttributes.Builder
clearHeader()
.temporal.api.common.v1.Header header = 5;
ScheduleActivityTaskCommandAttributes.Builder
clearHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.Builder
clearInput()
.temporal.api.common.v1.Payloads input = 6;
ScheduleActivityTaskCommandAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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.ScheduleActivityTaskCommandAttributes.Builder
clearRetryPolicy()
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.Builder
clearScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.Builder
clearScheduleToStartTimeout()
Limits the time an activity task can stay in a task queue before a worker picks it up.ScheduleActivityTaskCommandAttributes.Builder
clearStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.Builder
clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
ScheduleActivityTaskCommandAttributes.Builder
clearUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.ScheduleActivityTaskCommandAttributes.Builder
clone()
java.lang.String
getActivityId()
string activity_id = 1;
com.google.protobuf.ByteString
getActivityIdBytes()
string activity_id = 1;
ActivityType
getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
ActivityType.Builder
getActivityTypeBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
ActivityTypeOrBuilder
getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
ScheduleActivityTaskCommandAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Header
getHeader()
.temporal.api.common.v1.Header header = 5;
Header.Builder
getHeaderBuilder()
.temporal.api.common.v1.Header header = 5;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 5;
com.google.protobuf.Duration
getHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.com.google.protobuf.Duration.Builder
getHeartbeatTimeoutBuilder()
Maximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilder
getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.Payloads
getInput()
.temporal.api.common.v1.Payloads input = 6;
Payloads.Builder
getInputBuilder()
.temporal.api.common.v1.Payloads input = 6;
PayloadsOrBuilder
getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 6;
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.RetryPolicy
getRetryPolicy()
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.RetryPolicy.Builder
getRetryPolicyBuilder()
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.com.google.protobuf.Duration
getScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for activity completion.com.google.protobuf.Duration.Builder
getScheduleToCloseTimeoutBuilder()
Indicates how long the caller is willing to wait for activity completion.com.google.protobuf.DurationOrBuilder
getScheduleToCloseTimeoutOrBuilder()
Indicates how long the caller is willing to wait for activity completion.com.google.protobuf.Duration
getScheduleToStartTimeout()
Limits the time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.Duration.Builder
getScheduleToStartTimeoutBuilder()
Limits the time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilder
getScheduleToStartTimeoutOrBuilder()
Limits the time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.Duration
getStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.Duration.Builder
getStartToCloseTimeoutBuilder()
Maximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilder
getStartToCloseTimeoutOrBuilder()
Maximum time an activity is allowed to execute after being picked up by a worker.TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueue.Builder
getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
boolean
getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.boolean
hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
boolean
hasHeader()
.temporal.api.common.v1.Header header = 5;
boolean
hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.boolean
hasInput()
.temporal.api.common.v1.Payloads input = 6;
boolean
hasRetryPolicy()
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.boolean
hasScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for activity completion.boolean
hasScheduleToStartTimeout()
Limits the time an activity task can stay in a task queue before a worker picks it up.boolean
hasStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker.boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ScheduleActivityTaskCommandAttributes.Builder
mergeActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 2;
ScheduleActivityTaskCommandAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ScheduleActivityTaskCommandAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
ScheduleActivityTaskCommandAttributes.Builder
mergeFrom(ScheduleActivityTaskCommandAttributes other)
ScheduleActivityTaskCommandAttributes.Builder
mergeHeader(Header value)
.temporal.api.common.v1.Header header = 5;
ScheduleActivityTaskCommandAttributes.Builder
mergeHeartbeatTimeout(com.google.protobuf.Duration value)
Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.Builder
mergeInput(Payloads value)
.temporal.api.common.v1.Payloads input = 6;
ScheduleActivityTaskCommandAttributes.Builder
mergeRetryPolicy(RetryPolicy value)
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.Builder
mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
Indicates how long the caller is willing to wait for activity completion.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.ScheduleActivityTaskCommandAttributes.Builder
mergeStartToCloseTimeout(com.google.protobuf.Duration value)
Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.Builder
mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
ScheduleActivityTaskCommandAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScheduleActivityTaskCommandAttributes.Builder
setActivityId(java.lang.String value)
string activity_id = 1;
ScheduleActivityTaskCommandAttributes.Builder
setActivityIdBytes(com.google.protobuf.ByteString value)
string activity_id = 1;
ScheduleActivityTaskCommandAttributes.Builder
setActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 2;
ScheduleActivityTaskCommandAttributes.Builder
setActivityType(ActivityType.Builder builderForValue)
.temporal.api.common.v1.ActivityType activity_type = 2;
ScheduleActivityTaskCommandAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ScheduleActivityTaskCommandAttributes.Builder
setHeader(Header value)
.temporal.api.common.v1.Header header = 5;
ScheduleActivityTaskCommandAttributes.Builder
setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 5;
ScheduleActivityTaskCommandAttributes.Builder
setHeartbeatTimeout(com.google.protobuf.Duration value)
Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.Builder
setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum permitted time between successful worker heartbeats.ScheduleActivityTaskCommandAttributes.Builder
setInput(Payloads value)
.temporal.api.common.v1.Payloads input = 6;
ScheduleActivityTaskCommandAttributes.Builder
setInput(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads input = 6;
ScheduleActivityTaskCommandAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
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.ScheduleActivityTaskCommandAttributes.Builder
setRetryPolicy(RetryPolicy value)
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
Activities are provided by a default retry policy which is controlled through the service's dynamic configuration.ScheduleActivityTaskCommandAttributes.Builder
setScheduleToCloseTimeout(com.google.protobuf.Duration value)
Indicates how long the caller is willing to wait for activity completion.ScheduleActivityTaskCommandAttributes.Builder
setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Indicates how long the caller is willing to wait for activity completion.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.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.ScheduleActivityTaskCommandAttributes.Builder
setStartToCloseTimeout(com.google.protobuf.Duration value)
Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.Builder
setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum time an activity is allowed to execute after being picked up by a worker.ScheduleActivityTaskCommandAttributes.Builder
setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
ScheduleActivityTaskCommandAttributes.Builder
setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
ScheduleActivityTaskCommandAttributes.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScheduleActivityTaskCommandAttributes.Builder
setUseCompatibleVersion(boolean value)
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
clear
public ScheduleActivityTaskCommandAttributes.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
getDefaultInstanceForType
public ScheduleActivityTaskCommandAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScheduleActivityTaskCommandAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScheduleActivityTaskCommandAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScheduleActivityTaskCommandAttributes.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
setField
public ScheduleActivityTaskCommandAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
clearField
public ScheduleActivityTaskCommandAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
clearOneof
public ScheduleActivityTaskCommandAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
addRepeatedField
public ScheduleActivityTaskCommandAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
public ScheduleActivityTaskCommandAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeFrom
public ScheduleActivityTaskCommandAttributes.Builder mergeFrom(ScheduleActivityTaskCommandAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduleActivityTaskCommandAttributes.Builder>
- Throws:
java.io.IOException
-
getActivityId
public java.lang.String getActivityId()
string activity_id = 1;
- Specified by:
getActivityId
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()
string activity_id = 1;
- Specified by:
getActivityIdBytes
in 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:
hasActivityType
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
- Specified by:
getActivityType
in 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:
getActivityTypeOrBuilder
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
hasTaskQueue
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
getTaskQueue
in 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:
getTaskQueueOrBuilder
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 5;
- Specified by:
hasHeader
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 5;
- Specified by:
getHeader
in 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:
getHeaderOrBuilder
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasInput
public boolean hasInput()
.temporal.api.common.v1.Payloads input = 6;
- Specified by:
hasInput
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 6;
- Specified by:
getInput
in 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:
getInputOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasScheduleToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeoutOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasScheduleToStartTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToStartTimeout
in 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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToStartTimeoutOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasStartToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeoutOrBuilder
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- Specified by:
hasHeartbeatTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeout
in 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 [(.gogoproto.stdduration) = true];
-
setHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
-
mergeHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
-
clearHeartbeatTimeout
public ScheduleActivityTaskCommandAttributes.Builder clearHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
-
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
-
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeoutOrBuilder
in 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:
hasRetryPolicy
in 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:
getRetryPolicy
in 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:
getRetryPolicyOrBuilder
in 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:
getRequestEagerExecution
in 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.
-
getUseCompatibleVersion
public boolean getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.
bool use_compatible_version = 13;
- Specified by:
getUseCompatibleVersion
in interfaceScheduleActivityTaskCommandAttributesOrBuilder
- Returns:
- The useCompatibleVersion.
-
setUseCompatibleVersion
public ScheduleActivityTaskCommandAttributes.Builder setUseCompatibleVersion(boolean value)
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.
bool use_compatible_version = 13;
- Parameters:
value
- The useCompatibleVersion to set.- Returns:
- This builder for chaining.
-
clearUseCompatibleVersion
public ScheduleActivityTaskCommandAttributes.Builder clearUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.
bool use_compatible_version = 13;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScheduleActivityTaskCommandAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
mergeUnknownFields
public final ScheduleActivityTaskCommandAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActivityTaskCommandAttributes.Builder>
-
-