Class StartActivityExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StartActivityExecutionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
io.temporal.api.workflowservice.v1.StartActivityExecutionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartActivityExecutionRequestOrBuilder,Cloneable
- Enclosing class:
StartActivityExecutionRequest
public static final class StartActivityExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
implements StartActivityExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.StartActivityExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllCompletionCallbacks(Iterable<? extends Callback> values) Callbacks to be called by the server when this activity reaches a terminal state.addAllLinks(Iterable<? extends Link> values) Links to be associated with the activity.addCompletionCallbacks(int index, Callback value) Callbacks to be called by the server when this activity reaches a terminal state.addCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state.addCompletionCallbacks(Callback value) Callbacks to be called by the server when this activity reaches a terminal state.addCompletionCallbacks(Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state.Callbacks to be called by the server when this activity reaches a terminal state.addCompletionCallbacksBuilder(int index) Callbacks to be called by the server when this activity reaches a terminal state.Links to be associated with the activity.addLinks(int index, Link.Builder builderForValue) Links to be associated with the activity.Links to be associated with the activity.addLinks(Link.Builder builderForValue) Links to be associated with the activity.Links to be associated with the activity.addLinksBuilder(int index) Links to be associated with the activity.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Identifier for this activity.The type of the activity, a string that corresponds to a registered activity on a worker.Callbacks to be called by the server when this activity reaches a terminal state.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Header for context propagation and tracing purposes.Maximum permitted time between successful worker heartbeats.Defines how to resolve an activity id conflict with a *running* activity.The identity of the client who initiated this requestDefines whether to allow re-using the activity id from a previously *closed* activity.Serialized arguments to the activity.Links to be associated with the activity.string namespace = 1;Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Priority metadata.A unique identifier for this start request.The retry policy for the activity.Indicates how long the caller is willing to wait for an activity completion.Limits time an activity task can stay in a task queue before a worker picks it up.Search attributes for indexing.Time to wait before making the first activity task available for dispatch.Maximum time an activity is allowed to execute after being picked up by a worker.Task queue to schedule this activity on.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.clone()Identifier for this activity.com.google.protobuf.ByteStringIdentifier for this activity.The type of the activity, a string that corresponds to a registered activity on a worker.The type of the activity, a string that corresponds to a registered activity on a worker.The type of the activity, a string that corresponds to a registered activity on a worker.getCompletionCallbacks(int index) Callbacks to be called by the server when this activity reaches a terminal state.getCompletionCallbacksBuilder(int index) Callbacks to be called by the server when this activity reaches a terminal state.Callbacks to be called by the server when this activity reaches a terminal state.intCallbacks to be called by the server when this activity reaches a terminal state.Callbacks to be called by the server when this activity reaches a terminal state.getCompletionCallbacksOrBuilder(int index) Callbacks to be called by the server when this activity reaches a terminal state.List<? extends CallbackOrBuilder> Callbacks to be called by the server when this activity reaches a terminal state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHeader for context propagation and tracing purposes.Header for context propagation and tracing purposes.Header for context propagation and tracing purposes.com.google.protobuf.DurationMaximum permitted time between successful worker heartbeats.com.google.protobuf.Duration.BuilderMaximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilderMaximum permitted time between successful worker heartbeats.Defines how to resolve an activity id conflict with a *running* activity.intDefines how to resolve an activity id conflict with a *running* activity.The identity of the client who initiated this requestcom.google.protobuf.ByteStringThe identity of the client who initiated this requestDefines whether to allow re-using the activity id from a previously *closed* activity.intDefines whether to allow re-using the activity id from a previously *closed* activity.getInput()Serialized arguments to the activity.Serialized arguments to the activity.Serialized arguments to the activity.getLinks(int index) Links to be associated with the activity.getLinksBuilder(int index) Links to be associated with the activity.Links to be associated with the activity.intLinks to be associated with the activity.Links to be associated with the activity.getLinksOrBuilder(int index) Links to be associated with the activity.List<? extends LinkOrBuilder> Links to be associated with the activity.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.Priority metadata.Priority metadata.Priority metadata.A unique identifier for this start request.com.google.protobuf.ByteStringA unique identifier for this start request.The retry policy for the activity.The retry policy for the activity.The retry policy for the activity.com.google.protobuf.DurationIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.Duration.BuilderIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuilderIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.Duration.BuilderLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilderLimits time an activity task can stay in a task queue before a worker picks it up.Search attributes for indexing.Search attributes for indexing.Search attributes for indexing.com.google.protobuf.DurationTime to wait before making the first activity task available for dispatch.com.google.protobuf.Duration.BuilderTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationOrBuilderTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationMaximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.Duration.BuilderMaximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilderMaximum time an activity is allowed to execute after being picked up by a worker.Task queue to schedule this activity on.Task queue to schedule this activity on.Task queue to schedule this activity on.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.booleanThe type of the activity, a string that corresponds to a registered activity on a worker.booleanHeader for context propagation and tracing purposes.booleanMaximum permitted time between successful worker heartbeats.booleanhasInput()Serialized arguments to the activity.booleanOptions for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.booleanPriority metadata.booleanThe retry policy for the activity.booleanIndicates how long the caller is willing to wait for an activity completion.booleanLimits time an activity task can stay in a task queue before a worker picks it up.booleanSearch attributes for indexing.booleanTime to wait before making the first activity task available for dispatch.booleanMaximum time an activity is allowed to execute after being picked up by a worker.booleanTask queue to schedule this activity on.booleanMetadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeActivityType(ActivityType value) The type of the activity, a string that corresponds to a registered activity on a worker.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) Header for context propagation and tracing purposes.mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.mergeInput(Payloads value) Serialized arguments to the activity.Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.mergePriority(Priority value) Priority metadata.mergeRetryPolicy(RetryPolicy value) The retry policy for the activity.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up.Search attributes for indexing.mergeStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.mergeStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker.mergeTaskQueue(TaskQueue value) Task queue to schedule this activity on.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.removeCompletionCallbacks(int index) Callbacks to be called by the server when this activity reaches a terminal state.removeLinks(int index) Links to be associated with the activity.setActivityId(String value) Identifier for this activity.setActivityIdBytes(com.google.protobuf.ByteString value) Identifier for this activity.setActivityType(ActivityType value) The type of the activity, a string that corresponds to a registered activity on a worker.setActivityType(ActivityType.Builder builderForValue) The type of the activity, a string that corresponds to a registered activity on a worker.setCompletionCallbacks(int index, Callback value) Callbacks to be called by the server when this activity reaches a terminal state.setCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state.Header for context propagation and tracing purposes.setHeader(Header.Builder builderForValue) Header for context propagation and tracing purposes.setHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.Defines how to resolve an activity id conflict with a *running* activity.setIdConflictPolicyValue(int value) Defines how to resolve an activity id conflict with a *running* activity.setIdentity(String value) The identity of the client who initiated this requestsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this requestDefines whether to allow re-using the activity id from a previously *closed* activity.setIdReusePolicyValue(int value) Defines whether to allow re-using the activity id from a previously *closed* activity.Serialized arguments to the activity.setInput(Payloads.Builder builderForValue) Serialized arguments to the activity.Links to be associated with the activity.setLinks(int index, Link.Builder builderForValue) Links to be associated with the activity.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.setOnConflictOptions(OnConflictOptions.Builder builderForValue) Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.setPriority(Priority value) Priority metadata.setPriority(Priority.Builder builderForValue) Priority metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A unique identifier for this start request.setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this start request.setRetryPolicy(RetryPolicy value) The retry policy for the activity.setRetryPolicy(RetryPolicy.Builder builderForValue) The retry policy for the activity.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for an activity completion.setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits time an activity task can stay in a task queue before a worker picks it up.Search attributes for indexing.setSearchAttributes(SearchAttributes.Builder builderForValue) Search attributes for indexing.setStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.setStartDelay(com.google.protobuf.Duration.Builder builderForValue) Time to wait before making the first activity task available for dispatch.setStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker.setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum time an activity is allowed to execute after being picked up by a worker.setTaskQueue(TaskQueue value) Task queue to schedule this activity on.setTaskQueue(TaskQueue.Builder builderForValue) Task queue to schedule this activity on.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.setUserMetadata(UserMetadata.Builder builderForValue) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.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<StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
setField
public StartActivityExecutionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
clearField
public StartActivityExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
clearOneof
public StartActivityExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
setRepeatedField
public StartActivityExecutionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
addRepeatedField
public StartActivityExecutionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartActivityExecutionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
mergeFrom
public StartActivityExecutionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartActivityExecutionRequest.Builder>- Throws:
IOException
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public StartActivityExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getIdentity
The identity of the client who initiated this request
string identity = 2;- Specified by:
getIdentityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request
string identity = 2;- Specified by:
getIdentityBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request
string identity = 2;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request
string identity = 2;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the client who initiated this request
string identity = 2;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Specified by:
getRequestIdin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public StartActivityExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getActivityId
Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Specified by:
getActivityIdin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Specified by:
getActivityIdBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public StartActivityExecutionRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
hasActivityType
public boolean hasActivityType()The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
hasActivityTypein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The activityType.
-
setActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5; -
setActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5; -
mergeActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5; -
clearActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5; -
getActivityTypeBuilder
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5; -
getActivityTypeOrBuilder
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypeOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
hasTaskQueuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
getTaskQueuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6; -
setTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6; -
mergeTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6; -
clearTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6; -
getTaskQueueBuilder
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6; -
getTaskQueueOrBuilder
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
getTaskQueueOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
hasScheduleToCloseTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
setScheduleToCloseTimeout
public StartActivityExecutionRequest.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
setScheduleToCloseTimeout
public StartActivityExecutionRequest.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
mergeScheduleToCloseTimeout
public StartActivityExecutionRequest.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
clearScheduleToCloseTimeout
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasScheduleToStartTimeout
public boolean hasScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
hasScheduleToStartTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public com.google.protobuf.Duration getScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The scheduleToStartTimeout.
-
setScheduleToStartTimeout
public StartActivityExecutionRequest.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
setScheduleToStartTimeout
public StartActivityExecutionRequest.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
mergeScheduleToStartTimeout
public StartActivityExecutionRequest.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
clearScheduleToStartTimeout
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
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 interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public com.google.protobuf.Duration getStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
getStartToCloseTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The startToCloseTimeout.
-
setStartToCloseTimeout
public StartActivityExecutionRequest.Builder setStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
setStartToCloseTimeout
public StartActivityExecutionRequest.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
mergeStartToCloseTimeout
public StartActivityExecutionRequest.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
clearStartToCloseTimeout
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
hasHeartbeatTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public com.google.protobuf.Duration getHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The heartbeatTimeout.
-
setHeartbeatTimeout
public StartActivityExecutionRequest.Builder setHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
setHeartbeatTimeout
public StartActivityExecutionRequest.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
mergeHeartbeatTimeout
public StartActivityExecutionRequest.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
clearHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
hasRetryPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
mergeRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
clearRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
getRetryPolicyBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
getRetryPolicyOrBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasInput
public boolean hasInput()Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
hasInputin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
getInputin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The input.
-
setInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12; -
setInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12; -
mergeInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12; -
clearInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12; -
getInputBuilder
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12; -
getInputOrBuilder
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
getInputOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getIdReusePolicyValue
public int getIdReusePolicyValue()Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Specified by:
getIdReusePolicyValuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for idReusePolicy.
-
setIdReusePolicyValue
Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Parameters:
value- The enum numeric value on the wire for idReusePolicy to set.- Returns:
- This builder for chaining.
-
getIdReusePolicy
Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Specified by:
getIdReusePolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The idReusePolicy.
-
setIdReusePolicy
Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Parameters:
value- The idReusePolicy to set.- Returns:
- This builder for chaining.
-
clearIdReusePolicy
Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Returns:
- This builder for chaining.
-
getIdConflictPolicyValue
public int getIdConflictPolicyValue()Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Specified by:
getIdConflictPolicyValuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for idConflictPolicy.
-
setIdConflictPolicyValue
Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Parameters:
value- The enum numeric value on the wire for idConflictPolicy to set.- Returns:
- This builder for chaining.
-
getIdConflictPolicy
Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Specified by:
getIdConflictPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The idConflictPolicy.
-
setIdConflictPolicy
Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Parameters:
value- The idConflictPolicy to set.- Returns:
- This builder for chaining.
-
clearIdConflictPolicy
Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Returns:
- This builder for chaining.
-
hasSearchAttributes
public boolean hasSearchAttributes()Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
hasSearchAttributesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15; -
setSearchAttributes
public StartActivityExecutionRequest.Builder setSearchAttributes(SearchAttributes.Builder builderForValue) Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15; -
mergeSearchAttributes
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15; -
clearSearchAttributes
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15; -
getSearchAttributesBuilder
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15; -
getSearchAttributesOrBuilder
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasHeader
public boolean hasHeader()Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
hasHeaderin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The header.
-
setHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16; -
setHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16; -
mergeHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16; -
clearHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16; -
getHeaderBuilder
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16; -
getHeaderOrBuilder
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasUserMetadata
public boolean hasUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
hasUserMetadatain interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the userMetadata field is set.
-
getUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
getUserMetadatain interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The userMetadata.
-
setUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17; -
setUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17; -
mergeUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17; -
clearUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17; -
getUserMetadataBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17; -
getUserMetadataOrBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
getUserMetadataOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
hasPriorityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
getPriorityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The priority.
-
setPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18; -
setPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18; -
mergePriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18; -
clearPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18; -
getPriorityBuilder
Priority metadata.
.temporal.api.common.v1.Priority priority = 18; -
getPriorityOrBuilder
Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
getPriorityOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksList
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksListin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksCount
public int getCompletionCallbacksCount()Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksCountin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksin interfaceStartActivityExecutionRequestOrBuilder
-
setCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
setCompletionCallbacks
public StartActivityExecutionRequest.Builder setCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addCompletionCallbacks
public StartActivityExecutionRequest.Builder addCompletionCallbacks(Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addCompletionCallbacks
public StartActivityExecutionRequest.Builder addCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addAllCompletionCallbacks
public StartActivityExecutionRequest.Builder addAllCompletionCallbacks(Iterable<? extends Callback> values) Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
clearCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
removeCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
getCompletionCallbacksBuilder
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
getCompletionCallbacksOrBuilder
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksOrBuilderList
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksOrBuilderListin interfaceStartActivityExecutionRequestOrBuilder
-
addCompletionCallbacksBuilder
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
addCompletionCallbacksBuilder
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
getCompletionCallbacksBuilderList
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19; -
getLinksList
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksListin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksCount
public int getLinksCount()Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksCountin interfaceStartActivityExecutionRequestOrBuilder
-
getLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksin interfaceStartActivityExecutionRequestOrBuilder
-
setLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
setLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addAllLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
clearLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
removeLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
getLinksBuilder
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
getLinksOrBuilder
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksOrBuilderList
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksOrBuilderListin interfaceStartActivityExecutionRequestOrBuilder
-
addLinksBuilder
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
addLinksBuilder
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
getLinksBuilderList
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20; -
hasOnConflictOptions
public boolean hasOnConflictOptions()Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
hasOnConflictOptionsin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the onConflictOptions field is set.
-
getOnConflictOptions
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
getOnConflictOptionsin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The onConflictOptions.
-
setOnConflictOptions
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21; -
setOnConflictOptions
public StartActivityExecutionRequest.Builder setOnConflictOptions(OnConflictOptions.Builder builderForValue) Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21; -
mergeOnConflictOptions
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21; -
clearOnConflictOptions
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21; -
getOnConflictOptionsBuilder
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21; -
getOnConflictOptionsOrBuilder
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
getOnConflictOptionsOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasStartDelay
public boolean hasStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
hasStartDelayin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the startDelay field is set.
-
getStartDelay
public com.google.protobuf.Duration getStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
getStartDelayin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The startDelay.
-
setStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22; -
setStartDelay
public StartActivityExecutionRequest.Builder setStartDelay(com.google.protobuf.Duration.Builder builderForValue) Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22; -
mergeStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22; -
clearStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22; -
getStartDelayBuilder
public com.google.protobuf.Duration.Builder getStartDelayBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22; -
getStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
getStartDelayOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
setUnknownFields
public final StartActivityExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-
mergeUnknownFields
public final StartActivityExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder>
-